oficina / equipo Public
Brief: revise plan 2b after Opus round 1 (READY AFTER FIXES)
Edit docs/superpowers/plans/2026-11-03-equipo-plan-2b-direct.md only. Apply every finding below with these controller decisions (do not reopen). Verify against code and installed CLIs as before. No provider runs.
P2s
- Pin Claude's tools: an exact
--toolslist per specialist (Engineering: Bash, Read, Write, Edit, Glob, Grep; Review and Product: Read, Glob, Grep, Bash), plus our MCP tools; never WebFetch, WebSearch, Task/subagents or Skill. Assert it inTestClaudeLaunchPolicyand include it in the policy hash. - Codex approvals:
approvalPolicy:"on-request"withapprovalsReviewer:"user", and--strict-config. Approval requests for Equipo's own MCP tools are answered by the runner after broker validation (fence, attempt, tool, arguments); every other approval request is relayed to a person. Certify the deny profile and on-request together in Task 11b's live certification. - Claude stream-json input mode: Task 5 begins with an authorised recording run (at most two tiny runs on a home with allowance) that captures the stdin user envelope,
--session-idin that mode and per-turnresult.usagein one long-lived process; fixtures are pinned from that recording, not from the argv probes. - Credentials: Equipo connections use dedicated Equipo credential homes that the person signs in to once per account during enrolment (documented as Paul's step); shared interactive homes (ZeroSub homes,
~/.claude,~/.codex) are refused. Token refresh is allowed only for dedicated homes, through an egress allowlist entry for the provider's auth host. A new credential generation with the same identity between turns triggers a fresh preflight and bind, not containment or a dead connection; a different identity stops the step. - Check build cache: the module cache is read-only inside checks; the build cache is per check under attempt scratch; the host build cache is never mounted.
- CI: add a pinned bubblewrap 0.11.0 check to
runner-prerequisites. Task 2 must push and confirm the Amadan CI workers allow unprivileged user namespaces and pidfds; if they do not, the namespace tests run in a named CI job on a capable runner and the plan says which, never skipped. - Removal sweep: add everything listed (runner-flow.mjs and runnerflowtest.go, runnerreleasetest.go:50-99, Makefile:135-145, scripts/live-gate.sh:6-22, the process-gate tests containmentr{1,2,3}test.go, ciproctest.go, residualprocesstest.go, processlinuxtest.go) and a zero-dead-references gate over non-legacy files for
node|npm|\.mjs|paseo|equipo-runner|trial. - Split Task 11 into 11a (offline cutover and removal) and 11b (release and live certification). Migration 0018 sets
revoked_aton opensupervised_trialsand isolation-acknowledgement rows with an audit event, and drops nothing.
P3s (apply all)
- Keep the Go helper as PID 1 (reaper and relay owner); its pidfd exit is the proof. Drop
--as-pid-1for the harness. - Assert the real invariant: namespace membership is unchanged by a cgroup move.
- Hash Codex per-thread and per-turn RPC policy parameters into the attempt manifest; refuse per-turn overrides.
- Say the Claude identity check is trust-on-first-use in
TestAccountHomeBinding. - Add
/egressand the tool-socket path to both providers' inner deny lists. - Say where authenticated launch records live before 0018 (runner events).
- Pin one literal hash in
TestAmadanDescriptionLengthHashcomputed by Amadan's handler (the empty value issha256:66687aadf862bd776c8fc18b8e9f8e20089714856ee233b3902a591d0d5f2925; add one non-empty value computed with Python's hashlib and struct). - Set
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1andDISABLE_AUTOUPDATER(notCLAUDE_CODE_DISABLE_AUTO_UPDATE). - Note Go PDEATHSIG fires when the forking thread exits; lock the OS thread for the fork.
Append "Round 1 dispositions". No product code, commits or pushes; no agents; no copy-review server; scratch under $TMPDIR removed. Print a three-line summary.