| 1 | # Brief: try-equipo re-check fixes (Opus: APPROVE AFTER FIXES) |
| 2 | |
| 3 | Same worktree and branch, at a7a507c. Fix the following. Controller |
| 4 | decisions are fixed. Network allowed; no live gate, no real sign-ins. |
| 5 | |
| 6 | Critical |
| 7 | - R1: `executablePath` (internal/tryequipo/executable.go:20) refuses any |
| 8 | source whose resolved path is inside `~/.codex`. On docs-t1 |
| 9 | `~/.local/bin/codex` resolves to |
| 10 | `~/.codex/packages/standalone/releases/0.165.0-x86_64-unknown-linux-musl/bin/codex`, |
| 11 | so the guide stops at prerequisites. Allow a SOURCE under |
| 12 | `<codex home>/packages/` when its sha256 matches the pin, then copy it |
| 13 | (and the `codex-code-mode-host` beside it) into `try/bin` as now. Keep |
| 14 | refusing: copied paths inside any home, anything else inside an |
| 15 | interactive or ZeroSub home (credentials, config, other dirs), and |
| 16 | unpinned hashes. Update `TestReviewPrivateExecutables` to cover: packages |
| 17 | source with matching hash accepted and copied; packages source with a |
| 18 | wrong hash refused; non-packages path inside the home refused; a symlink |
| 19 | from outside into packages accepted. Keep `EQUIPO_CODEX_PATH` working. |
| 20 | |
| 21 | Important |
| 22 | - R2: docs/live-gate.md:73 says the calibration duration controls the |
| 23 | timeout; the code uses `-timeout=0`. Make the doc match. |
| 24 | - R3: new strings added on this branch carry COPY REVIEW PENDING markers. |
| 25 | Paul's 2026-11-04 ruling covers them: change each to the exact marker |
| 26 | used on main in 59ec8f4 (`// COPY ACCEPTED FOR NOW (Paul, 2026-11-04; |
| 27 | iterate in context)`, or the docs equivalent used there). Remap any |
| 28 | `scripts/runner-reference-allowlist.json` line hashes the edits change. |
| 29 | - R4: finish with ONE full `make -k ci` run on the final tree and report |
| 30 | its result. If it fails, fix and rerun (at most twice more). |
| 31 | |
| 32 | Rules: commit with subject < 80 chars and body |
| 33 | `Co-Authored-By: Astra <noreply@openai.com>`, push to `try-equipo`. Go |
| 34 | caches at defaults, no copy-review server, scratch under `$TMPDIR` |
| 35 | removed, tests must not require TMPDIR. Print a three-line summary. |
| 36 | |