| 1 | # Brief: revise Equipo plan 2 after review round 1 |
| 2 | |
| 3 | Edit `docs/superpowers/plans/2026-11-02-equipo-plan-2-runner.md` in this |
| 4 | worktree to resolve every finding in |
| 5 | `docs/superpowers/plans/REVIEW-FINDINGS-plan-2-runner-R1.md`, using the |
| 6 | decisions below. Verify each change against the code and the installed Paseo |
| 7 | packages, as the original brief required. |
| 8 | |
| 9 | ## Decisions (made by the controller; do not reopen) |
| 10 | |
| 11 | - **P1-1:** a per-attempt Unix socket in a 0700 runner directory. Task 17's |
| 12 | assertion becomes "no TCP or inet listener". The attempt capability reaches |
| 13 | the tool through a 0600 file whose path is in the tool's environment, never |
| 14 | in argv. Test with the real `tool` verb under a fake harness. |
| 15 | - **P1-2:** the reviewer's Linux inspector, as specified in the findings, |
| 16 | built in Task 15 and wired in Task 17, with the real-subprocess test. |
| 17 | - **P1-3:** read isolation is **required**. Add a `ReadIsolation` capability |
| 18 | to the provider preflight; dispatch is refused for any provider or mode |
| 19 | that cannot deny reads of the runner state directory, the Amadan |
| 20 | credential, the Paseo home credentials and `~/.ssh`. Verify what each |
| 21 | provider supports from its installed CLI and documentation: Claude Code's |
| 22 | sandbox deny-read settings, and Codex's sandbox (`-s`, and |
| 23 | `sandbox_permissions`; check whether omitting `disk-full-read-access` |
| 24 | confines reads). Record the finding per provider in the plan. Add a |
| 25 | live-gate sentinel test per path. If a provider cannot be confined, the |
| 26 | plan says so plainly and that provider is ineligible; do not weaken the |
| 27 | gate. |
| 28 | - **P2s 1-8:** as the findings propose. For P2-8, Task 18 measures a real |
| 29 | turn and sets the project limits from it; per-turn reservations are |
| 30 | bounded; cached input is reported separately. |
| 31 | - **Cuts (apply all):** cross-machine Git bundles and chunked blobs (docs-t1 |
| 32 | only); lost-enrolment-response recovery; EventSource live refresh and |
| 33 | Journey pagination (use a plain periodic page refresh for live views); the |
| 34 | owner provider/family allowlist (moves to plan 4; the review-family rule |
| 35 | stays). |
| 36 | - **P3s:** apply all that are a sentence or a test; list any you leave with |
| 37 | the reason. |
| 38 | |
| 39 | ## Rules |
| 40 | |
| 41 | - Edit only the plan file. Do not commit or push. No product code. |
| 42 | - Do not spawn Anthropic-model reviewers or other agents. Do not start Paseo |
| 43 | agents. |
| 44 | - No `.claude/HANDOFF.md`. Scratch under `$TMPDIR`, removed at the end. |
| 45 | - Add a "Round 1 dispositions" section: one line per finding. |
| 46 | - Print a five-line summary, including the read-isolation result for Claude |
| 47 | and for Codex. |
| 48 | |