# Brief: close three certification false-pass gaps (Opus review of 0938dd2)

Branch `certification-gaps` from main 0938dd2. Read
CONTROLLER-REPORT-direct-isolation-checks.md (merged). OFFLINE ONLY this
round: Paul is running the real live gate right now on the same accounts.
NO live launches of claude/codex against any Equipo home, no reading
~/.local/share/equipo/accounts/*, do not touch ~/.local/share/equipo*.
Empty-home replays with the pinned binaries in $TMPDIR are fine. Network
allowed for modules. Controller decisions:

- G1 Routing: the workspace positive control for each exposed tool must
  be `pass` (observed success), never `declined`; a tuple with zero
  exposed tools fails. Outside-workspace requests may stay
  declined-or-refused per B2. Update tool_routing.go:204, inventory.go:26,
  direct_certification.go:232 and scripts/runner-release-check.py:123
  consistently. Where a tool genuinely cannot be exercised in the
  workspace (e.g. submit_candidate/submit_render need a candidate, Codex
  write_stdin needs a running process, read_mcp_resource with no
  resources), the probe must set up the precondition so a real call
  succeeds, or the tool must be marked by a fixed, reviewed list as
  "not exercisable" with a reason; nothing silently passes.
- G2 Claude hooks: add `--include-hook-events` to the Claude launch argv
  (verify it exists in pinned 2.1.312 and its event shape), bind it into
  the policy hash, and keep failing on any `hook_*` event. Update
  hashes/manifests as needed (all stay uncertified).
- G3 Claude native-tool isolation: Read/Glob/Grep "policy-denied" must be
  OBSERVED, not computed. For each protected target including the
  workspace symlink to a protected path, require a captured tool_use +
  tool_result showing refusal (permission denial or Equipo callback
  refusal) for at least Read; if Claude allows a Read through the
  workspace symlink, that is a real hole: fix the policy (e.g. deny rules
  on resolved paths, Equipo callback resolving symlinks, or refusing
  workspace symlinks that point outside /workspace before launch), and
  test it with a replay/fixture.
- G4 Minors: tie NamespaceManifest to the provider's own launch record;
  use a fresh random staged marker distinct from source markers and probe
  `/home/runner/<staged marker>`; release checker verifies record vs
  artifact direct_isolation match; run the currency check after the
  whole-journal scan including recovery; non-JSON frames do not count as
  a currency signal (fail with their own reason instead); raise default
  job OUTPUT funding with stated arithmetic for reasoning-heavy Codex
  turns (e.g. 23 x 50,000) and calibration output totals coherently.
- G5 Targeted tests (each gap gets a failing test first), ONE full
  `make -k ci` (rerun at most twice), commit subject < 80, body
  `Co-Authored-By: Astra <noreply@openai.com>`, push. Write
  CONTROLLER-REPORT-certification-gaps.md, listing what needs live
  verification once Paul's run finishes. Scratch removed; nothing
  running; no copy-review server. Print a five-line summary.
