oficina / equipo Public

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

Plain git — no account needed to clone.

Download

Download this file

Mac slice F: live witness runbook (task 18)

This 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.

Rulings 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).

Before you start

| # | Check | Whose | |---|---|---| | 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 | | 0.2 | Tito Studio has self-updated to that release. The Machines page shows it at protocol 37. | read-only: parent or agent | | 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 | | 0.4 | The owner sets EQUIPO_MAC_ENGINEERING=1 for the production instance and restarts it, as AGENTS.md describes. | parent (owner's setting) |

The witness

  1. The Machines page shows the Studio at 37, with P1 to P7, the home guard and the taint. - 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. - 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.
  2. Paul taps "Add Claude to Tito Studio" and signs in. This is Paul's step: his sign-in, sealed to the Studio. - 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. - The Machines page shows F1 to F7. claude appears in the Studio's tags once F1 to F4, F6 and F7 pass. - F5 decides whether Engineering gets sandboxed Xcode access. Without it, the Mac makes changes and its checks build them.
  3. 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: - docs-t1 prepares the base (prepare_base, then base); - Engineering runs on Tito Studio, with xcode_access as F5 decided, and the step says "Made on Tito Studio"; - the candidate is relayed to docs-t1, which pushes it; - checks run on the Studio and record xcodebuild test, or Woodstar's gate, with a real exit code and 200 lines; - review runs on docs-t1; - any fix round runs on the Studio and resumes the kept session; - one ask to the implementer is answered from the Studio; - Ready to merge asks Paul, and nothing auto-merges. Merging is Paul's.

A Woodstar build that fails for Woodstar's own reasons still passes, provided the failure is reported honestly.

  1. 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. - No marked processes are left: ps -axo user,pid,command | grep equipo-runner, and no Engineering process of paulequipo is left from the attempt. - The worker's step directories are swept. List only, by ls -led of the state root. - On the Machines page, the outbound transfer is closed.

Things only the Mac can show (watch for them during the witness)

The 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.

  • The CLI may not ask for Bash. If the CLI does not ask the permission tool for every Bash command, every F probe fails.
  • The CLI's refusal wording may differ. If its permission-denied wording differs from what F6 expects, F6 fails.
  • 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.
  • 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.
  • 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").
  • The project may be too large. A large Woodstar repository may hit the 64 MB pack bound, giving workspace_too_large.

If something goes wrong

| Symptom | Next step | Whose | |---|---|---| | 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) | | A Keychain item is named on the Machines page | Remove it in Keychain Access as paulequipo | Paul | | credential_unproven on the page | Restart the Mac | Paul |

Report the witness on the branch's amadan discussion, with the task link, the step lines, the check output, and the read-only ps result.