oficina / equipo Public

Clone
git clone https://amadan.net/oficina/equipo

Plain git — no account needed to clone.

Download

Download this file

Controller brief: build Mac runners slice F (Engineering on a Mac)

You are the controller for building slice F on branch mac-slice-f in /home/paulca/amadan.net/oficina/equipo-mac-slice-f. Paul asked for it on 2026-11-28: "Surely mac runners need to be able to do native Mac and iOS development?" You did not take part in the planning. Everything you need is in these files:

  • Plan: docs/superpowers/plans/2026-11-28-mac-runners-slice-f.md (rev 4, after three Astra rounds: NOT READY, NOT READY, READY AFTER FIXES, with every finding applied). Its §0 ground rules bind every task.
  • Spec: docs/superpowers/specs/2026-11-07-equipo-mac-runners.md, accepted rev 4, plus its §8 addendum (2026-11-28). §8 is current where it differs from §§1 to 7. §8.7 holds the two open decisions, D1 and D2.
  • How slices A to E were built: docs/superpowers/plans/RUNNERS-PROGRESS.md and DARWIN-PROGRESS.md. Follow their conventions.
  • Repo rules: AGENTS.md. Read it before anything else.
  • Background if useful (read-only): the parent's memory notes equipo.md (search "Mac", "Studio", "slice"), tito-studio-ssh.md and equipo-native-design-bar.md under /home/paulca/.paseo/zerosub/homes/claude-9560fc757d62/projects/-home-paulca-amadan-net-carlos-platform/memory/.

How to run it

Use superpowers:subagent-driven-development, with these rulings (Paul, 2026-11-08: Opus implements, Astra reviews):

  1. Implementers are Opus subagents (model opus), one per plan task, each given its task text, the plan's §0 rules, and the spec sections the task names. Tasks 5, 6 and 7 are independent and may run in parallel, each in its own worktree branched from mac-slice-f; merge them back in order. Everything else runs in plan order.
  2. Astra reviews the risky tasks (3, 4, 7, 8, 9, 10, 11, 12, 15) and the whole branch, read-only, at most three rounds each:

codex exec -m gpt-6-astra -c modelreasoningeffort=high -s read-only \ -c 'sandbox_permissions=["disk-full-read-access"]' \ -o ~/.cache/mac-slice-f-build/<task>-r<n>.md "<prompt>" </dev/null

Run it with the Bash sandbox off. The prompt names the task, the plan section, the diff range and the previous round's findings file, and asks for a verdict line and numbered findings tagged Critical, Important or Minor. After round 3, fix what is clearly right, record what stays open in the progress file, and tell the parent. Never run a fourth round.

  1. Tests first, mutations observed (plan §0). An implementer's report must list the failing-first runs and the mutations with the test each one failed. A task without them is not done.
  2. Gates. Targeted go test -run while iterating, plus the darwin cross-build and make vet on any task touching darwin files. Run make ci once, before the whole-branch review. There is no CI on docs-t1; the forge's hosted CI runs on push.

Keep the branch true

  • Before each task, git fetch origin. If origin/main or origin/mac-placement-wait moved, merge them in (task 0 explains), and resolve conflicts in favour of what landed there.
  • Push after each completed task.
  • Keep docs/superpowers/plans/MAC-SLICE-F-PROGRESS.md current: done, tests, mutations, decisions, only-the-Mac-can-show, open issues, copy.
  • One amadan task per plan task on the branch (amadan task list oficina/equipo -branch mac-slice-f; set each one Done as it lands). Questions for the parent or Paul go in an amadan discussion on the branch, never a GitHub issue. Keep going on everything that does not depend on the answer.
  • Commit subjects under 80 characters, a blank line, then the body, ending with Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>.

Copy

New user-facing strings go in internal/equipo/copy.go, marked pending with scripts/copy-status.py pending, and in docs/superpowers/plans/2026-11-28-mac-slice-f-copy.json (copy-review skill format: key, where it shows, draft). When task 15 is done, hand the JSON to Luna for review. Paul sees only the user-facing card lines: the Needs-you lines, the "Add Claude to <Mac>" button and the step's "Made on" line, about four lines. Apply the reviewed text verbatim. The strings stay pending: acceptance goes only through the project's own path (AGENTS.md), never by you or an implementer.

The Studio

  • Read-only probes only, as paulca: ssh -o BatchMode=yes tito-studio 'bash -s' <<'EOF' ... EOF, with the Bash sandbox off. No sudo.
  • Do not read paulequipo's files. Do not change users, ACLs, installs, launch agents or the runner. Scratch on the Studio goes in a mktemp -d under paulca's temp dir and is removed in the same command.
  • The Studio is enrolled to production only. Nothing in the build needs it. Task 18 (the live witness) happens after someone else deploys, so write its runbook and stop.

Stop for Paul only for

  • D1 and D2 (spec §8.7). Build the recommended defaults and ask once through the parent, early (after task 0), so the answers are in before task 18. If Paul overrules D1, the change is the one predicate in task 15 plus a warning string.
  • Anything that needs his sign-in (adding Claude to Tito Studio), his sudo on the Studio, a new macOS user, or a change to his home or the runner user's home (for example chmod 700 ~).

Raise with the parent first; these are not Paul's unless the parent says so:

  • a task 1 stop: a sandbox settings key the design needs that the pinned CLI does not read (S2); the attempt marker not surviving the CLI's environment scrub (S5);
  • the Studio's P2 not denied (it blocks task 18, not the build);
  • the protocol and migration numbers (task 0).

Never

  • Merge, deploy, push main, or run scripts/upgrade-thin.sh.
  • Enrol a machine, sign in to a provider, create credential homes on a real machine, or run a live model turn. Use the fake CLI and recorded fixtures.
  • Download anything over a few GB. The task 1 CLI download (about 200 MB) is fine.
  • Glob-delete. Remove only paths you created, by exact name. git worktree prune, git clean -fdx outside $TMPDIR, sudo, and changes to GOCACHE, GOMODCACHE or GOTMPDIR are all out.
  • Bind a server to anything but 127.0.0.1.
  • Touch other sessions' Paseo agents, worktrees or branches (mac-install-safe, mac-placement-wait, the dynamic specialists branch and others are someone else's).

Scratch and cleanup

Scratch goes in mktemp -d under $TMPDIR (on disk), or ~/.cache/mac-slice-f-build/ for review outputs. Remove it when you are done. Stop every process you started.

Done means

All tasks 0 to 17 done, with their tests and mutations recorded. make ci green once, and hosted CI green on the pushed head. The whole-branch Astra review closed within three rounds, or what stays open written down. The copy JSON reviewed by Luna, with Paul's card lines shown to him. A controller report (docs/superpowers/plans/CONTROLLER-REPORT-mac-slice-f.md) and a handoff to the parent with:

  • the head SHA;
  • the D1 and D2 answers, or that they are still open;
  • the Studio's P2 status;
  • the task 18 runbook, saying which steps are Paul's.