oficina / equipo Public

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

Plain git — no account needed to clone.

Download

Download this file

1# Mac slice F: live witness runbook (task 18)
2
3This runs only after the parent has merged and deployed a release that contains slice F (`scripts/upgrade-thin.sh`, per AGENTS.md). Nothing in it is the build controller's to start. Each step says whose it is.
4
5Rulings in force: D1 is no (a Mac that holds a Claude credential runs checks sandboxed or not at all). D2 keeps `paulequipo` (Paul, 2026-11-28).
6
7## Before you start
8
9| # | Check | Whose |
10|---|---|---|
11| 0.1 | The release that carries slice F is deployed to production, and its copy is accepted through the project's own path. Pending copy blocks release once `make copy-release-check` reads PENDING. | parent |
12| 0.2 | Tito Studio has self-updated to that release. The Machines page shows it at protocol 37. | read-only: parent or agent |
13| 0.3 | The Studio's P2 is `denied`. If it is not, checks there wait under D1 and step 3 cannot reach Ready. Diagnose read-only as paulca first, and fix before going on. | read-only: agent; any fix: parent |
14| 0.4 | The owner sets `EQUIPO_MAC_ENGINEERING=1` for the production instance and restarts it, as AGENTS.md describes. | parent (owner's setting) |
15
16## The witness
17
181. **The Machines page shows the Studio at 37**, with P1 to P7, the home guard and the taint.
19 - If the home guard fails, the page names the change. Today it will ask for `chmod 700 ~`, because `paulequipo`'s home is `drwxr-x---` with group `staff`. **Paul runs it, as `paulequipo`.**
20 - A taint on the instance record or in the runner's state means no model connection. The production enrolment is fresh, so none is expected.
212. **Paul taps "Add Claude to Tito Studio" and signs in.** This is Paul's step: his sign-in, sealed to the Studio.
22 - F1 to F7 then run. They can take up to about 50 minutes on the small model, and the Studio's turns are held while they run.
23 - The Machines page shows F1 to F7. `claude` appears in the Studio's tags once F1 to F4, F6 and F7 pass.
24 - F5 decides whether Engineering gets sandboxed Xcode access. Without it, the Mac makes changes and its checks build them.
253. **The Woodstar swipe-back witness.** Either start a fresh "Fix the Woodstar iOS swipe-back bug" task, or re-run `tklkbx5vid3y` from `82a4a0cc`. Paul or the agent starts it as a team member. Pass means every one of these happens:
26 - docs-t1 prepares the base (`prepare_base`, then `base`);
27 - Engineering runs on Tito Studio, with `xcode_access` as F5 decided, and the step says "Made on Tito Studio";
28 - the candidate is relayed to docs-t1, which pushes it;
29 - checks run on the Studio and record `xcodebuild test`, or Woodstar's gate, with a real exit code and 200 lines;
30 - review runs on docs-t1;
31 - any fix round runs on the Studio and resumes the kept session;
32 - one ask to the implementer is answered from the Studio;
33 - Ready to merge asks Paul, and nothing auto-merges. **Merging is Paul's.**
34
35 A Woodstar build that fails for Woodstar's own reasons still passes, provided the failure is reported honestly.
364. **Read-only checks afterwards, as paulca.** Use `ssh -o BatchMode=yes tito-studio 'bash -s'` with the sandbox off, and never read `paulequipo`'s files.
37 - No marked processes are left: `ps -axo user,pid,command | grep equipo-runner`, and no Engineering process of `paulequipo` is left from the attempt.
38 - The worker's step directories are swept. List only, by `ls -led` of the state root.
39 - On the Machines page, the outbound transfer is closed.
40
41## Things only the Mac can show (watch for them during the witness)
42
43The full list is in `MAC-SLICE-F-PROGRESS.md`, under "Only the Mac can show". The ones most likely to stop the witness are below. Each of them fails closed, so the symptom is a probe or step that waits or fails, never an unsafe run.
44
45- **The CLI may not ask for Bash.** If the CLI does not ask the permission tool for every Bash command, every F probe fails.
46- **The CLI's refusal wording may differ.** If its permission-denied wording differs from what F6 expects, F6 fails.
47- **The fixture may not build read-only.** If `xcodebuild` cannot build the fixture from a read-only directory, F5 fails and changes are made without Xcode access.
48- **The Keychain listing may stall.** If the login Keychain listing prompts or fails in a launchd session, the sign-in is refused and the Machines page names the item.
49- **The sweep's process reads may fail.** `proc_pidpath`, `getsid`, `kern.proc`, `kern.boottime` and `kern.bootsessionuuid` are unproven on 27.2. If one fails, a stop stays unproven ("Restart the Mac to clear it").
50- **The project may be too large.** A large Woodstar repository may hit the 64 MB pack bound, giving `workspace_too_large`.
51
52## If something goes wrong
53
54| Symptom | Next step | Whose |
55|---|---|---|
56| A step on the Studio stays unfinished, and the page says "Restart the Mac to clear it" | Restart Tito Studio | Paul (sudo or the Mac's power) |
57| A Keychain item is named on the Machines page | Remove it in Keychain Access as `paulequipo` | Paul |
58| `credential_unproven` on the page | Restart the Mac | Paul |
59
60Report the witness on the branch's amadan discussion, with the task link, the step lines, the check output, and the read-only `ps` result.
61