| 1 | # Brief: first live gate run failed at open (systematic debugging) |
| 2 | |
| 3 | Branch `live-open-failures` from main cd359d8. Paul ran |
| 4 | scripts/try-equipo.sh for real on docs-t1 (5 Claude + 2 Codex dedicated |
| 5 | homes confirmed; RUN LIVE GATE authorized). Every tuple failed at open in |
| 6 | ~42 s, before any model turn. Find the ROOT causes (superpowers |
| 7 | systematic-debugging: evidence first, no guess fixes), fix, test. |
| 8 | |
| 9 | Paul's terminal output (verbatim, abridged): |
| 10 | |
| 11 | claude-Engineering: open: claude_process_failed: exit=-1 signal=9 stderr=: runner.invalid |
| 12 | (same for every Claude specialist; claude-Coordinator: coordinator launcher open: … same) |
| 13 | codex-Engineering: open: provider_account_containment |
| 14 | (same for every Codex specialist) |
| 15 | codex-Coordinator: open: coordinator launcher open: provider_policy_rejected |
| 16 | every */certification.json calibration: provider_policy_rejected |
| 17 | |
| 18 | Evidence (read-only): ~/.local/share/equipo/try/run-2425960409/ |
| 19 | (direct-live.json, evidence/*/{capture,tuple-completed,certification}.json; |
| 20 | codex-Coordinator/capture.json has the app-server frames incl. the config |
| 21 | readback, id equipo:3). Saved setup: ~/.local/share/equipo/try/state.json, |
| 22 | bindings: ~/.local/share/equipo-runner/bindings.json, runner.env beside it. |
| 23 | Leads, unverified: `runner.invalid` is runnerproto.ErrInvalid |
| 24 | (internal/runnerproto/validate.go:17), so something in the Claude open path |
| 25 | validates a runner-protocol value and the process gets SIGKILLed; |
| 26 | provider_account_containment for Codex comes from lease.Validate |
| 27 | (codex/launcher.go:450) — e.g. app-server writing sqlite/log files into the |
| 28 | home, or the coordinator's run changing the home before the specialists; |
| 29 | Codex coordinator policy rejection is probably readConfig vs the observed |
| 30 | 0.165.0 config (e.g. allow_login_shell true, approvals_reviewer). |
| 31 | |
| 32 | HARD RULES (Paul's credentials): |
| 33 | - Never read, print, copy or hash the CONTENTS of any file in |
| 34 | ~/.local/share/equipo/accounts/* (auth.json, .credentials.json, |
| 35 | .claude.json, sqlite). Names, sizes, modes and mtimes are fine. |
| 36 | - Never launch claude or codex against those homes and never sign in. |
| 37 | You MAY run the pinned binaries in ~/.local/share/equipo/try/bin with a |
| 38 | fresh EMPTY home under $TMPDIR (inside bwrap like the launcher) to |
| 39 | reproduce process-level failures; that makes no authenticated calls. |
| 40 | - Do not run the live gate. Do not modify ~/.local/share/equipo* except |
| 41 | nothing at all: read-only. |
| 42 | - Network allowed for go modules. No copy-review server. |
| 43 | |
| 44 | Deliver: |
| 45 | - One root cause per symptom, with evidence (file:line, frame, or a |
| 46 | reproduction). If a cause depends on real authenticated behaviour you |
| 47 | cannot observe, say exactly what to capture next and add only safe |
| 48 | diagnostics (no secrets in errors: the Claude stderr is already "", |
| 49 | make sure the real cause is reported instead of runner.invalid). |
| 50 | - Fixes that keep the policy strict: tolerate only observed, documented |
| 51 | 0.165.0 / 2.1.312 behaviour, refuse everything else, tests with recorded |
| 52 | frames. |
| 53 | - Error text for the guide: the `forge` phase label is shown when |
| 54 | privateDir(~/.local/share/equipo-runner) fails; name the real path. |
| 55 | - Targeted tests, then ONE full `make -k ci`; fix and rerun at most twice. |
| 56 | Commit subject < 80 chars, body `Co-Authored-By: Astra <noreply@openai.com>`, |
| 57 | push `live-open-failures`. Go caches at defaults, scratch under $TMPDIR |
| 58 | removed. Write CONTROLLER-REPORT-live-open-failures.md with causes, |
| 59 | fixes and confidence per symptom. Print a five-line summary. |
| 60 | |