Brief: try-equipo review fixes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+46
−0
docs/superpowers/plans/CODEX-BRIEF-try-equipo-3.md+46 −0
CI failed — run details
Intent
diff --git a/docs/superpowers/plans/CODEX-BRIEF-try-equipo-3.md b/docs/superpowers/plans/CODEX-BRIEF-try-equipo-3.md| new file mode 100644 |
| index 00000000..bc6ad149 |
| --- /dev/null |
| +++ b/docs/superpowers/plans/CODEX-BRIEF-try-equipo-3.md |
| @@ -0,0 +1,46 @@ |
| +# Brief: try-equipo review fixes (Opus: REQUEST CHANGES) |
| + |
| +Same worktree and branch, at ec4370e. Fix all of the following. Controller |
| +decisions are fixed. |
| + |
| +Critical |
| +- C1: sign-in and live-gate children must be able to read the terminal. |
| + Do not put them in a background process group (drop `Setpgid` for those, |
| + or run them as the terminal's foreground group with `Ctty`); keep |
| + process-group kill for everything else. Test that a child reading |
| + `/dev/tty` is not stopped. |
| +- C2: headless sign-in. Use `codex login --device-auth`. Pass `SHET_BRIDGE` |
| + through to the sign-in children. Connect the official CLI's own stdout |
| + and stderr directly to `/dev/tty` so Paul sees its code or link; the |
| + script itself never reads, captures or stores them (ruling: showing the |
| + provider's own sign-in output to the person signing in is fine). |
| +- C3: copy `codex` and the `codex-code-mode-host` found beside the resolved |
| + `codex` (after checking their pinned hashes), and Claude, into a private |
| + `try/bin`, and use those copies everywhere; refuse any executable inside |
| + an interactive or ZeroSub home with a clear message. |
| +- C4: run the live `go test` with `-timeout=0` (or the calibration seconds |
| + plus a margin). |
| + |
| +Important |
| +- I1: every refusal prints its cause and the next step; the command never |
| + exits 1 silently. |
| +- I2: before the run, check each home with the provider's own open and |
| + validate; start a sign-in for any that report account maintenance. |
| +- I3: remove `change-source-*` and `change-policy-*` scratch on resume and |
| + at driver start. |
| +- I4: probe every other connected home (both `claude-other` and |
| + `codex-other`). |
| + |
| +Minor (apply all) |
| +- M1 count only confirmed homes toward the minimum and let Paul drop an |
| + unconfirmed one; M2 use the system home for the base folder or refuse |
| + up front; M3 remove stale refresh comments and unreachable refresh |
| + branches; M4 capture `go test` stderr into the gate log; M5 check process |
| + start time as well as PID; M6 record tools that cannot take a path as |
| + not applicable rather than not certified, with a test. |
| + |
| +Targeted tests, then `make ci` once in the background to completion (it |
| +must pass). Commit with `--author "codex <codex~paul@keymail.dev>"`, subject |
| +under 80 characters, push. Same rules: no real sign-ins or provider runs, |
| +no other agents, no copy-review server, scratch under `$TMPDIR` removed, |
| +tests must not require TMPDIR. Print a three-line summary. |