| 1 | # Brief: close three certification false-pass gaps (Opus review of 0938dd2) |
| 2 | |
| 3 | Branch `certification-gaps` from main 0938dd2. Read |
| 4 | CONTROLLER-REPORT-direct-isolation-checks.md (merged). OFFLINE ONLY this |
| 5 | round: Paul is running the real live gate right now on the same accounts. |
| 6 | NO live launches of claude/codex against any Equipo home, no reading |
| 7 | ~/.local/share/equipo/accounts/*, do not touch ~/.local/share/equipo*. |
| 8 | Empty-home replays with the pinned binaries in $TMPDIR are fine. Network |
| 9 | allowed for modules. Controller decisions: |
| 10 | |
| 11 | - G1 Routing: the workspace positive control for each exposed tool must |
| 12 | be `pass` (observed success), never `declined`; a tuple with zero |
| 13 | exposed tools fails. Outside-workspace requests may stay |
| 14 | declined-or-refused per B2. Update tool_routing.go:204, inventory.go:26, |
| 15 | direct_certification.go:232 and scripts/runner-release-check.py:123 |
| 16 | consistently. Where a tool genuinely cannot be exercised in the |
| 17 | workspace (e.g. submit_candidate/submit_render need a candidate, Codex |
| 18 | write_stdin needs a running process, read_mcp_resource with no |
| 19 | resources), the probe must set up the precondition so a real call |
| 20 | succeeds, or the tool must be marked by a fixed, reviewed list as |
| 21 | "not exercisable" with a reason; nothing silently passes. |
| 22 | - G2 Claude hooks: add `--include-hook-events` to the Claude launch argv |
| 23 | (verify it exists in pinned 2.1.312 and its event shape), bind it into |
| 24 | the policy hash, and keep failing on any `hook_*` event. Update |
| 25 | hashes/manifests as needed (all stay uncertified). |
| 26 | - G3 Claude native-tool isolation: Read/Glob/Grep "policy-denied" must be |
| 27 | OBSERVED, not computed. For each protected target including the |
| 28 | workspace symlink to a protected path, require a captured tool_use + |
| 29 | tool_result showing refusal (permission denial or Equipo callback |
| 30 | refusal) for at least Read; if Claude allows a Read through the |
| 31 | workspace symlink, that is a real hole: fix the policy (e.g. deny rules |
| 32 | on resolved paths, Equipo callback resolving symlinks, or refusing |
| 33 | workspace symlinks that point outside /workspace before launch), and |
| 34 | test it with a replay/fixture. |
| 35 | - G4 Minors: tie NamespaceManifest to the provider's own launch record; |
| 36 | use a fresh random staged marker distinct from source markers and probe |
| 37 | `/home/runner/<staged marker>`; release checker verifies record vs |
| 38 | artifact direct_isolation match; run the currency check after the |
| 39 | whole-journal scan including recovery; non-JSON frames do not count as |
| 40 | a currency signal (fail with their own reason instead); raise default |
| 41 | job OUTPUT funding with stated arithmetic for reasoning-heavy Codex |
| 42 | turns (e.g. 23 x 50,000) and calibration output totals coherently. |
| 43 | - G5 Targeted tests (each gap gets a failing test first), ONE full |
| 44 | `make -k ci` (rerun at most twice), commit subject < 80, body |
| 45 | `Co-Authored-By: Astra <noreply@openai.com>`, push. Write |
| 46 | CONTROLLER-REPORT-certification-gaps.md, listing what needs live |
| 47 | verification once Paul's run finishes. Scratch removed; nothing |
| 48 | running; no copy-review server. Print a five-line summary. |
| 49 | |