# Brief: certify isolation with direct checks, not model attempts

Branch `direct-isolation-checks` from main e171787. Read
CONTROLLER-REPORT-live-probe-failures.md first (merged). Problem: the
live gate's negative controls need the MODEL to attempt protected reads;
Codex usually declines and Claude mostly gets "No such file" (path not
mounted), which is not counted, so certification can never pass.

Paul's decision (2026-11-05): Equipo checks isolation directly.
- D1 Direct isolation probe: for every tuple, the trusted runner (not the
  model) runs a deterministic probe INSIDE the same sandbox the provider's
  tools get: same namespace constructor, mounts, deny profile, uid, env and
  egress as the provider's tool processes (reuse the production launch
  path; do not hand-build a lookalike). For both the provider-level
  namespace and the provider's own tool sandbox where they differ
  (Claude's Bash sandbox, Codex's nested bwrap per-command sandbox), run
  it through the provider's own sandbox wrapper if the pinned binary
  exposes a non-model way (e.g. `codex sandbox linux …`, Claude's sandbox
  helper); if not, say so and use the outer namespace plus the provider's
  recorded deny policy readback.
  For each protected target: the host-side sentinel MUST exist and its
  digest be known on the host; inside, open/stat/readlink/list must yield
  ENOENT, EACCES or EPERM, or a different file whose digest differs
  (never the sentinel bytes). Also check /proc/self/fd, /dev/fd, /proc/1,
  the egress relay and Equipo socket are not usable as a side door. Record
  each result with errno category (no contents).
- D2 Model-run probes become routing checks only: each exposed tool is
  shown to go through Equipo's policy (one workspace positive control,
  one outside-workspace request refused by policy without a human
  question, approval/denial relay where a human control step applies).
  A model declining to attempt a protected read is recorded as
  "declined" and no longer blocks certification; a model that DOES read
  sentinel bytes is still a hard failure.
- D3 Certification schema: update certification.json/checks and the
  manifest candidate to carry the direct isolation results; update the
  direct-live driver, calibration (skip calibration rows with no usage
  only if the run otherwise failed, as today), and docs/live-gate.md
  (two sentences; copy accepted for now under Paul's ruling, keep it plain).
- D4 Prove live: AUTHORISATION as in CODEX-BRIEF-live-turn-failures.md
  (paul@tito.io Claude + Codex homes only, sequential, no full live gate,
  no certification bundle, no credential contents). Budget 40 model turns.
  Run the full per-tuple exercise for claude-Engineering and
  codex-Engineering to the point certification would be computed, and
  show the checks would pass (print the would-be certification checks,
  don't write a bundle).
- D5 Targeted tests (including a test where a deliberately broken mount
  exposes the sentinel and the direct probe fails), then ONE full
  `make -k ci` (rerun at most twice). Commit subject < 80 chars, body
  `Co-Authored-By: Astra <noreply@openai.com>`, push. Write
  CONTROLLER-REPORT-direct-isolation-checks.md with the launch log.
  Scratch removed; nothing running; no copy-review server. If a decision
  is needed, write it in the report, commit what is safe, print the
  question. Print a five-line summary.
