oficina / equipo Public
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
Setpgidfor those, or run them as the terminal's foreground group withCtty); keep process-group kill for everything else. Test that a child reading/dev/ttyis not stopped. - C2: headless sign-in. Use
codex login --device-auth. PassSHET_BRIDGEthrough to the sign-in children. Connect the official CLI's own stdout and stderr directly to/dev/ttyso 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
codexand thecodex-code-mode-hostfound beside the resolvedcodex(after checking their pinned hashes), and Claude, into a privatetry/bin, and use those copies everywhere; refuse any executable inside an interactive or ZeroSub home with a clear message. - C4: run the live
go testwith-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-*andchange-policy-*scratch on resume and at driver start. - I4: probe every other connected home (both
claude-otherandcodex-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 teststderr 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.