Mac runners spec rev 4: accepted, per-person Mac user, labelled checks
Paul's two rulings after the controller verified rev 3 (460f31b). A runner on a shared Mac runs as a non-admin user named for its owner, equipo-<person-handle> (equipo-paul on tito-studio), never a shared equipo user, because each runner holds its owner's model sign-ins and runner identity and Unix permissions separate people; Paul's one-time steps, P4, P7 and the witness now name equipo-paul. If P2 fails, checks still run on the Mac labelled "ran outside the sandbox" on the badge, in the timeline and on Ready to merge, never a pass in disguise; the slice 4c auto-merge treats them as passed only for repositories the task's creator owns (noted, not designed here). No decisions remain open.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
1 file changed,
+53
−39
docs/superpowers/specs/2026-11-07-equipo-mac-runners.md+53 −39
CI failed — run details
diff --git a/docs/superpowers/specs/2026-11-07-equipo-mac-runners.md b/docs/superpowers/specs/2026-11-07-equipo-mac-runners.md| index 1e8733e4..8d91cb54 100644 |
| --- a/docs/superpowers/specs/2026-11-07-equipo-mac-runners.md |
| +++ b/docs/superpowers/specs/2026-11-07-equipo-mac-runners.md |
| @@ -1,7 +1,8 @@ |
| # Equipo: Mac runners for thin v1 |
| -Status: rev 3, 2026-11-07, after Astra's rounds 1 and 2 (9852fc8, 0f6eaa6) |
| -and the controller's steer. Written by Claude (Fable 5.1) from the |
| +Status: rev 4, ACCEPTED by Paul 2026-11-07 (his two rulings in §7), |
| +after Astra's rounds 1 and 2 (9852fc8, 0f6eaa6) and the controller's |
| +verification of rev 3 (460f31b). Written by Claude (Fable 5.1) from the |
| approved thin v1 spec (`2026-11-06-equipo-thin-v1.md`), the slice 1 to 4 |
| logs and the code at `thin-v1-slice4` (ca0a65c). Not implemented. Facts |
| about `srt`, Claude Code and Codex were read from their current docs on |
| @@ -346,26 +347,31 @@ macOS user, native refresh, one account" are hypotheses until probe P3 |
| answers them with sentinel items. Checks-only (slices D, E) needs no |
| account on the Mac at all; Engineering (F) waits for P3. |
| -### 3.5 A dedicated macOS user: recommended, yes |
| - |
| -Run the runner as a standard (non-admin) macOS user `equipo`. The box is |
| -shared, so Unix permissions must be the hard boundary around Paul's and |
| -others' homes, with Seatbelt denies as the second layer; the runner's |
| -Keychain, DerivedData, simulators and caches stay out of his account; |
| -and a process sweep can fall back to "every process of user `equipo` |
| -outside the runner". The dedicated user still owns the runner's own |
| -enrolment key and state, which §2 bounds. Probe P4 verifies, rather than |
| -assumes, that other homes on tito-studio are unreadable by `equipo` |
| -(`ls` and a sentinel read against each `/Users/*`), and the installer |
| -refuses to enrol while a readable foreign home exists. |
| - |
| -Paul must, once: create the user (System Settings, Users & Groups, |
| -Standard); add it to the developer group (`sudo dscl . append |
| -/Groups/_developer GroupMembership equipo`); log it in with fast user |
| -switching and leave it logged in, sleep off while plugged in; open a |
| -terminal as that user, paste the install command, tap the link. Xcode's |
| -licence and `DevToolsSecurity` are machine-wide and already accepted; |
| -the installer runs `xcodebuild -runFirstLaunch`. |
| +### 3.5 A dedicated macOS user per person (Paul's ruling) |
| + |
| +A runner on a shared Mac runs as a standard (non-admin) macOS user named |
| +for its owner, `equipo-<person-handle>`: on tito-studio, `equipo-paul`. |
| +Never a shared `equipo` user: each runner holds its owner's model |
| +sign-ins and runner identity, and Unix permissions are what separate |
| +people. The box is shared, so those permissions are the hard boundary |
| +around Paul's and others' homes, with Seatbelt denies as the second |
| +layer; the runner's Keychain, DerivedData, simulators and caches stay |
| +out of his own account; and a process sweep can fall back to "every |
| +process of user `equipo-paul` outside the runner". The dedicated user |
| +still owns the runner's own enrolment key and state, which §2 bounds. |
| +Probe P4 verifies, rather than assumes, that other homes on tito-studio |
| +are unreadable by `equipo-paul` (`ls` and a sentinel read against each |
| +`/Users/*`), and the installer refuses to enrol while a readable foreign |
| +home exists or while it is running as a user not named `equipo-*`. |
| + |
| +Paul must, once: create the user `equipo-paul` (System Settings, Users & |
| +Groups, Standard); add it to the developer group (`sudo dscl . append |
| +/Groups/_developer GroupMembership equipo-paul`); log it in with fast |
| +user switching and leave it logged in, sleep off while plugged in; open |
| +a terminal as that user, paste the install command, tap the link. |
| +Xcode's licence and `DevToolsSecurity` are machine-wide and already |
| +accepted; the installer runs `xcodebuild -runFirstLaunch`. A second |
| +person on the same Mac repeats this as `equipo-<their-handle>`. |
| ## 4. The macOS sandbox, per step kind |
| @@ -424,10 +430,15 @@ state dir and in another `/Users/*` home, to open a TCP connection and a |
| DNS lookup, and to read a sentinel Keychain item, all under the §4.4 |
| checks profile. Checks on the Mac are enabled only when every attempt is |
| denied; a denial that depends on Unix permissions rather than Seatbelt |
| -is recorded as such. A successful Woodstar build is not evidence. If P2 |
| -fails, the honest fallback is the §2 bound (a worker can lie only about |
| -its own steps, and cannot push) plus a visible "ran outside the sandbox" |
| -label, and Paul decides whether that is acceptable for his own Mac. |
| +is recorded as such. A successful Woodstar build is not evidence. **If |
| +P2 fails, checks still run on the Mac** (Paul's ruling), labelled "ran |
| +outside the sandbox": the step and task carry `checks_sandbox: none`, |
| +the label shows on the checks badge, in the task timeline and on the |
| +Ready to merge card, and it is not a pass in disguise. The bound of §2 |
| +holds (a worker can lie only about its own steps and cannot push). The |
| +coordinator's auto-merge (slice 4c) treats such checks as passed only |
| +for repositories the task's creator owns; that rule is noted here and |
| +designed there. |
| ### 4.4 Profiles |
| @@ -576,14 +587,14 @@ stay, especially Linux termination before Retry. |
| - P3 `claude /login` with `HOME` set to an empty dir: Keychain item or |
| file; whether a second home gets a second identity; sentinel Keychain |
| items readable from inside the shell sandbox or not. |
| -- P4 home permissions of every `/Users/*` as `equipo`; `launchctl |
| +- P4 home permissions of every `/Users/*` as `equipo-paul`; `launchctl |
| bootstrap gui/$UID` as non-admin; fast-user-switch and sleep. |
| - P5 `srt -- codex exec` under `workspace-write`: nested Seatbelt. |
| - P6 group SIGKILL during `xcodebuild test`: what survives; is `simctl |
| shutdown` needed before the tree can be removed. |
| -- P7 `npm install -g @anthropic-ai/sandbox-runtime` as `equipo`. |
| +- P7 `npm install -g @anthropic-ai/sandbox-runtime` as `equipo-paul`. |
| -**Witness** (slice E): staging worker under `equipo` with its own state |
| +**Witness** (slice E): staging worker under `equipo-paul` with its own state |
| root, enrolled as a worker of the staging owner; re-judge the Woodstar |
| witness task `tklkbx5vid3y` at `82a4a0cc`. Pass: the checks step records |
| `xcodebuild test` (or Woodstar's gate), a real exit code, 200 lines of |
| @@ -603,18 +614,21 @@ by relay; Review stayed on the primary. Zero model turns. The live |
| | F Mac Engineering and Review | native permission port with its tests, Claude sandbox settings, sessions per step, pinning in anger, return packs and primary push, M9, live Woodstar swipe-back built and tested on the Mac | 3 days | |
| | G Codex on the Mac | after slice 5 and P5 | parked | |
| -**Decisions for Paul, two:** |
| +**Paul's rulings, 2026-11-07:** |
| -1. The dedicated `equipo` user on tito-studio (§3.5): recommended yes, |
| - four one-time steps. Running as his own user would make Seatbelt the |
| - only wall around his home and share his Keychain with the runner. |
| -2. If P2 shows that repository code run by Xcode's services escapes the |
| - sandbox and we cannot deny it: accept checks on the Mac with a |
| - visible "ran outside the sandbox" label, bounded by §2 (a worker can |
| - lie only about its own steps and cannot push), or keep "Checks can't |
| - run here" until Apple or `srt` closes it. |
| +1. **Dedicated user: yes, one per person.** A runner on a shared Mac |
| + runs as a non-admin user `equipo-<person-handle>` (`equipo-paul`), |
| + never a shared `equipo` user: each runner holds its owner's model |
| + sign-ins and runner identity, and Unix permissions separate people |
| + (§3.5). |
| +2. **If P2 fails, checks still run on the Mac,** labelled "ran outside |
| + the sandbox" on the checks badge, in the timeline and on Ready to |
| + merge; never a pass in disguise. The slice 4c auto-merge treats them |
| + as passed only for repositories the task's creator owns (§4.3). |
| -**Risks.** P2 may fail and force decision 2. P3 may limit the Mac to one |
| +No decisions remain open. |
| + |
| +**Risks.** P2 may fail and bring ruling 2 into play. P3 may limit the Mac to one |
| Claude account; checks-only does not care, Engineering's Review label |
| stays honest. A shared Mac is a shared CPU: one step at a time per |
| worker, `caffeinate` only while a step runs. Pack relay through the |