| 1 | # Direct isolation checks |
| 2 | |
| 3 | ## Round 3 |
| 4 | |
| 5 | Codex clean resume passed live. Claude's mounted-settings and complete-stream |
| 6 | hook evidence passed live and again against the final parser. Both authorized |
| 7 | subscription bindings pass the currency-cap check after replay corrected a |
| 8 | false match on `concurrency_limit`. The guide now proposes enough job funding |
| 9 | for the measured maximum, with margin, and larger calibration totals for the |
| 10 | full exercise family. No full live gate, certificate, index or manifest candidate |
| 11 | was created. Full certification remains unproven outside this debugging scope. |
| 12 | |
| 13 | ### C1: subscription limits |
| 14 | |
| 15 | Design sections 6.8 and 7 and plan 2b Task 11 distinguish subscription allowance |
| 16 | from metered API spending. Plan 2b explicitly requires calls, tokens, duration, |
| 17 | twice-max reservations and period headroom without a hard subscription currency |
| 18 | cap. This agrees with the controller's interpretation. |
| 19 | |
| 20 | The check now requires every configured certification binding to match exactly |
| 21 | one runner binding by ID, provider, account, source home and model, with Kind |
| 22 | `subscription`. It records the binding kinds and the authorized funding fields. |
| 23 | Missing, duplicate, mismatched, API or unknown bindings fail. Funding has only |
| 24 | call, token and time fields. Structured currency-cap configuration or provider |
| 25 | cap events fail the check; display-only `total_cost_usd` does not. Configuration, |
| 26 | settings, launch flags and captured streams, including recovery, contribute to |
| 27 | this evidence. No credential files are inspected by the evidence reader. |
| 28 | |
| 29 | The first live implementation matched the word currency inside concurrency. |
| 30 | Claude's result frames contain `subagent_stats.refused.concurrency_limit`, which |
| 31 | made the currency verdict fail. A failing regression test reproduced this. |
| 32 | The final parser checks named currency-cap keys and the pinned |
| 33 | `error_max_budget_usd` subtype. Replay of both complete captured streams passes. |
| 34 | The replay made no model request and did not replace the original observations. |
| 35 | |
| 36 | ### C2: Claude hooks and plugins |
| 37 | |
| 38 | The trusted driver reads the actual mounted settings through the provider |
| 39 | namespace at every open, including resume. It records their SHA-256, the |
| 40 | expected policy-settings SHA-256 and the failed write-open proving immutability. |
| 41 | The two live readbacks matched and were read-only. The settings require |
| 42 | `disableAllHooks: true`, both built-in plugins explicitly false, no enabled |
| 43 | plugin and no `hooks` key. Missing or null evidence fails. |
| 44 | |
| 45 | The pinned Claude 2.1.312 binary contains stream emitters with |
| 46 | `type: system` and subtypes `hook_started`, `hook_progress`, `hook_response`. |
| 47 | The adjacent fields include hook_id, hook_name and hook_event; progress and |
| 48 | response also carry output. These were identified in the installed pinned |
| 49 | executable, without running another provider command. The checker rejects all |
| 50 | `hook_` system events, including these three known types. |
| 51 | |
| 52 | Every init frame must report version 2.1.312 and explicit empty arrays for |
| 53 | plugins, skills and slash_commands. The live tuple had ten init frames, all |
| 54 | valid, and no hook event. Finalization reads the whole journal after provider |
| 55 | shutdown, so later resume or generation turns cannot leave an earlier pass |
| 56 | intact. Recovery adds its mounted readback and durable frames to the same |
| 57 | observation. Tests inject each hook subtype during recovery and require the |
| 58 | previous passing verdict to fail. Recovery itself was not exercised live. |
| 59 | |
| 60 | A fixture caught a storage bug during implementation: indenting a JSON settings |
| 61 | value changed the bytes used for its digest on recovery readback. Settings now |
| 62 | persist as exact bytes, encoded by JSON, preserving their original hash. The |
| 63 | full fake Engineering exercise passed after this correction. |
| 64 | |
| 65 | ### C3: funding arithmetic |
| 66 | |
| 67 | | Tuple measured in this round | Completed turns | Maximum input | Maximum output | Total input | Total output | |
| 68 | |---|---:|---:|---:|---:|---:| |
| 69 | | Claude Engineering, authorized exercise phases | 10 | 60,446 | 2,323 | 375,353 | 12,798 | |
| 70 | | Codex Engineering, initial turn and clean resume | 2 | 4,387 | 6 | 7,924 | 11 | |
| 71 | |
| 72 | Claude input includes ordinary input, cache reads and cache creation once. |
| 73 | The combined debug usage was 383,277 input and 12,809 output tokens. |
| 74 | Codex's two-turn sample does not measure its entire exercise family. |
| 75 | |
| 76 | The measured Claude reservation is ceil(2 × 60,446 / 1,000) × 1,000 = 121,000 |
| 77 | input and ceil(2 × 2,323 / 1,000) × 1,000 = 5,000 output. The job floor is |
| 78 | 23 × 121,000 = 2,783,000 input and 23 × 5,000 = 115,000 output. The former |
| 79 | 2,300,000 input default would fail on this run too. |
| 80 | |
| 81 | The new job proposal is 23 × 250,000 = 5,750,000 input and |
| 82 | 23 × 10,000 = 230,000 output. This gives more than twice the measured required |
| 83 | input reservation and twice the output reservation. Project and team headroom |
| 84 | use the same proposed job amounts. Output job funding therefore stays at the |
| 85 | old default; input increases. |
| 86 | |
| 87 | Calibration totals also need to cover all roles and the deliberately unknown |
| 88 | recovery and identity-guard charges. A conservative planning allowance is |
| 89 | 16 completed turns for each of 17 specialist tuples, plus two coordinator |
| 90 | turns: 274 completed turns. Allow another two full admission reservations per |
| 91 | specialist: 34 reservations. Using twice the measured maximum rounded to 1,000 |
| 92 | for every completed turn gives 274 × 121,000 + 34 × 250,000 = 41,654,000 input |
| 93 | and 274 × 5,000 + 34 × 10,000 = 1,710,000 output. This deliberately overcounts |
| 94 | some turns to allow margin. Proposed calibration totals are therefore |
| 95 | 50,000,000 input and 2,000,000 output, within the unchanged 500 calls and 7,200 |
| 96 | seconds. This is a funding estimate for the full family, not an observation that |
| 97 | all roles have already run or a guarantee against larger future usage. |
| 98 | |
| 99 | Saved values equal to the old defaults are re-proposed in the guide's prompts. |
| 100 | Custom values remain selected, and each prompt still accepts another value. |
| 101 | The final funding display and `RUN LIVE GATE` authorization remain mandatory. |
| 102 | No current run raises its configured limits. Insufficient job or period |
| 103 | headroom now returns the six exact values to enter on the next run. The new |
| 104 | message lives in `internal/equipo/copy.go` as `CopyCalibrationFunding`, marked |
| 105 | COPY REVIEW REQUIRED before release. No copy-review server was started. |
| 106 | |
| 107 | ### C4: live launch log and replay |
| 108 | |
| 109 | Both launches used production leases, policy construction, launchers, the Go |
| 110 | namespace helper and direct isolation probes. A temporary test overlay omitted |
| 111 | human controls, generation, accountChange, identity tampering and recovery. |
| 112 | Codex used an initial short turn and the production cleanResume path; Claude |
| 113 | ran the original probes, workspace control, both routing turns, namespace |
| 114 | checks, resume, lifetime checks, inventory and calibration. Policies, launch |
| 115 | flags and sandbox settings were unchanged. Source-home markers were synthetic |
| 116 | scratch fixtures, as in Round 2; the harness never read account-home contents. |
| 117 | Only production lease staging handled credentials. |
| 118 | |
| 119 | | UTC on 2026-11-05 | Tuple | Admissions | Outcome | |
| 120 | |---|---|---:|---| |
| 121 | | 11:57:09–11:57:31 | Codex Engineering, paul@tito.io, codex | 2 | Initial turn and same-session resume completed; direct isolation passed | |
| 122 | | 11:57:31–11:59:50 | Claude Engineering, paul@tito.io, claude-a | 10 | Authorized exercise completed; direct isolation, mounted hook evidence and resume passed | |
| 123 | |
| 124 | Exactly 12 of 12 admissions were used, sequentially. There were no rejected |
| 125 | launches or additional model requests. The fixed debug bounds were 12 calls, |
| 126 | 10,000,000 input, 1,000,000 output and 1,800 seconds; job and period funding |
| 127 | were 9,200,000 input and 920,000 output. Those bounds were chosen before launch |
| 128 | and were never increased. They are separate from the guide's new proposals. |
| 129 | |
| 130 | The Claude routing turn also exposed an existing parser gap: ask_person |
| 131 | received an extra path field and returned Equipo's exact schema-refusal text, |
| 132 | with a matching tool-use ID, is_error true and zero approval questions. |
| 133 | The original parser left this unverified. The narrow fix recognizes the existing |
| 134 | `CopyToolRejected` value only for a correlated Equipo MCP call. Unmatched IDs, |
| 135 | success replies, generic errors and any human question still cannot certify |
| 136 | automatic refusal. A failing test preceded the fix; captured-frame replay passed. |
| 137 | |
| 138 | | Check | Codex Engineering | Claude Engineering | |
| 139 | |---|---|---| |
| 140 | | clean-session-resume | live pass, same session ID | live pass | |
| 141 | | direct-isolation | live pass | live pass | |
| 142 | | no-hooks-plugins | live pass | live pass and final-parser replay pass | |
| 143 | | no-subscription-currency-cap | live pass and replay pass | final-parser replay pass | |
| 144 | | 23-reservations-per-job | live pass with fixed debug funding | live pass with fixed debug funding | |
| 145 | | tool-routing | not exercised in this round | original verdict not-certified; all routing observations pass or decline after the correlated refusal replay | |
| 146 | |
| 147 | Human approval controls, crash recovery, generation and account-change behavior |
| 148 | remain live-unproven in this scope. No replay or fixture is labelled as a full |
| 149 | passing certification. Paul's separately authorized full run is still required. |
| 150 | |
| 151 | ### C5: verification and cleanup |
| 152 | |
| 153 | New tests first failed compilation for the missing evidence helpers. Subsequent |
| 154 | assertion failures reproduced the concurrency false match, unrecognized schema |
| 155 | refusal, old funding defaults and recovery settings-byte mismatch. Restored |
| 156 | targeted tests passed. The fake CLI Engineering exercise passed in 28.668s, |
| 157 | including initial/resumed mounted readbacks, recovery and both new checks. |
| 158 | |
| 159 | Commands used, with CGO disabled: |
| 160 | |
| 161 | ```sh |
| 162 | CGO_ENABLED=0 go test ./internal/directlive ./internal/tryequipo -run 'TestSubscriptionCurrencyEvidence|TestClaudeHookEvidence|TestClaudeRecoveryHook|TestClaudeEquipoSchemaDenial|TestCalibration|TestDriverCalibration|TestFundingProposedDefaults|TestToolRouting|TestPolicyEvidence' -count=1 |
| 163 | CGO_ENABLED=0 go test ./internal/directlive -run '^TestDirectDriverFakeCLI/Engineering$' -count=1 |
| 164 | CGO_ENABLED=0 go test -overlay <replay-overlay> ./internal/directlive -run '^TestRound3Replay$' -count=1 -v |
| 165 | make budget |
| 166 | make -k ci |
| 167 | ``` |
| 168 | |
| 169 | Thirteen temporary source mutations each failed an assertion with exit 1 using |
| 170 | `CGO_ENABLED=0 go test -overlay <mutation-overlay> <package> -run <test> -count=1`. |
| 171 | No mutation touched the working source, and all overlays were removed. |
| 172 | |
| 173 | | Deliberate break | Failing test | |
| 174 | |---|---| |
| 175 | | Accept API binding kinds | TestSubscriptionCurrencyEvidence | |
| 176 | | Ignore observed currency caps | TestSubscriptionCurrencyEvidence/observed | |
| 177 | | Accept writable settings | TestClaudeHookEvidence/writable | |
| 178 | | Ignore mounted or expected digest mismatch | TestClaudeHookEvidence/hash, expected | |
| 179 | | Allow a hooks key | TestClaudeHookEvidence/hooks | |
| 180 | | Ignore disableAllHooks false | TestClaudeHookEvidence/hooks-enabled | |
| 181 | | Accept enabled plugins | TestClaudeHookEvidence/enabled | |
| 182 | | Ignore hook stream events | TestClaudeHookEvidence | |
| 183 | | Accept null/nonempty init arrays | TestClaudeHookEvidence | |
| 184 | | Omit recovery frames from hook proof | TestClaudeRecoveryHookInvalidatesEarlierPass | |
| 185 | | Suppress exact insufficient-funding error | TestCalibrationFundingRerun | |
| 186 | | Restore old proposed input funding | TestFundingProposedDefaults | |
| 187 | | Ignore a schema refusal's tool-use ID | TestClaudeEquipoSchemaDenial | |
| 188 | |
| 189 | The size gate initially caught three extra root-package lines. The new runtime |
| 190 | message now occupies one individually marked line in the existing copy block, |
| 191 | using one existing blank line. All 38 directories fit the unchanged budgets. |
| 192 | |
| 193 | The initial full gate failed staticcheck ST1005 because the new funding error |
| 194 | started with a capital letter, and the Plan 3 release-boundary inventory test |
| 195 | because the pending message lacked its review-inventory row. Both are fixed: the |
| 196 | error starts in lowercase and the exact pending text is in the existing Plan 3 |
| 197 | copy inventory. No review requirement was waived. The test step ran 27 packages |
| 198 | uncached in 5m27.005s, with one package failure. Local timing warnings were |
| 199 | provider 20.104s/15s, Claude 46.936s/45s and Codex 39.960s/35s. |
| 200 | |
| 201 | The second full `make -k ci` exited 0 on the final code. All 28 test packages |
| 202 | ran uncached and passed in 5m26.457s. Build, vet, formatting, staticcheck, |
| 203 | vulnerability and secret scans, reference checks, size budgets, provider and |
| 204 | namespace checks, migration and performance all passed. Cold boot measured |
| 205 | 107ms against 500ms; all screen measurements stayed within 150ms. Final local |
| 206 | timing warnings were provider 19.953s/15s, Claude 45.296s/45s and Codex |
| 207 | 38.609s/35s. These warnings would fail with CI timing enforcement enabled; no |
| 208 | passing remote gate is claimed. There were exactly two full invocations, the |
| 209 | initial gate and one rerun. |
| 210 | |
| 211 | All task scratch, debug binaries, captures, replay and mutation overlays and |
| 212 | logs were removed after the results were recorded here. No task process or |
| 213 | server remains. No copy-review server ran. Saved account bindings, setup state |
| 214 | and runner environment were unchanged, and the user worktree was retained. |
| 215 | Safe changes are committed and pushed on `direct-isolation-checks`; no merge, |
| 216 | default-branch push, deployment or certification bundle was made. |
| 217 | |
| 218 | No implementation decision is blocked. Before release, the controller still |
| 219 | needs to review the pending `CopyCalibrationFunding` message; Paul must run |
| 220 | the separately authorized full live gate for the excluded checks. |
| 221 | |
| 222 | ## Round 2 |
| 223 | |
| 224 | The two boundaries now have separate evidence. Both providers hid every tested |
| 225 | host marker. Their outer namespaces exposed the staged marker at the selected |
| 226 | home, the self-root alias and the workspace symlink, each recorded as |
| 227 | `expected-provider-home` with `safe: false`, never as an isolation pass. The |
| 228 | outer report excludes that expected visibility from its isolation verdict. |
| 229 | Codex's direct tool wrapper returned EACCES for all four staged-home aliases. |
| 230 | Claude Bash returned ENOENT for each of the three outer-visible aliases, with |
| 231 | correlated tool calls and results in the same exercise. The outer probe had |
| 232 | already denied the PID 1 alias. Read, Glob and Grep were refused by the same |
| 233 | native-policy function that runs before a human approval request. |
| 234 | |
| 235 | This is **not a completed certification**. The debugging scope excludes the |
| 236 | human controls, crash recovery, generation and account-change exercises. Codex |
| 237 | resume was not reached before the 30-admission limit. Claude's effective hook |
| 238 | settings remain unavailable, and the existing no-subscription-currency-cap |
| 239 | check remains hard-coded false. No live certificate, index or manifest candidate |
| 240 | was written, and no release authority changed. |
| 241 | |
| 242 | The harness used production account leases, policy construction, launchers, |
| 243 | namespace helpers, direct probes and exercise functions. Its temporary overlays |
| 244 | omitted the excluded phases, never changed the launch policy or sandbox, and |
| 245 | printed checks instead of writing a bundle. The controller executable was the |
| 246 | focused test harness with the production Go namespace entry point. All probe-file |
| 247 | contents read by the harness itself were synthetic markers in task scratch. |
| 248 | The actual source homes were handled only by the production lease. Thus the |
| 249 | source-home rows use synthetic host fixtures, not fresh measurements of markers |
| 250 | inside the real account homes. Paul's full run must supply those measurements. |
| 251 | |
| 252 | ### Routing |
| 253 | |
| 254 | Every exposed tool now receives a workspace control and an outside-workspace |
| 255 | request. Each record binds the tool, path, captured frames and approval-question |
| 256 | count. Declines are recorded without blocking routing. An attempted action with |
| 257 | an unrecognised result remains unverified. Outside refusals that reach the |
| 258 | question relay are not accepted as automatic policy denials. Any protected |
| 259 | marker bytes in either turn abort the exercise. |
| 260 | |
| 261 | The old per-target model matrix remains diagnostic data. It no longer gates |
| 262 | isolation or inventory coverage: the direct boundary proof and the new per-tool |
| 263 | routing records do. Missing routing observations, bad routing statuses, exposed |
| 264 | markers and missing Claude Bash proof still fail both validators. |
| 265 | |
| 266 | Claude's corrected routing exercise passed. Codex's final two live turns |
| 267 | completed; replay against the corrected pinned-event parser passed routing. |
| 268 | The parser now correlates patch changes and image outputs with their calls, |
| 269 | and recognises the Equipo MCP namespace. The initial parser had mislabeled |
| 270 | patch and MCP attempts as declines and could not recognise a successful image. |
| 271 | The replay used the actual captured frames and made no model call. It did not |
| 272 | rewrite the live run into a passing certificate. |
| 273 | |
| 274 | | Provider / tool | Workspace | Outside | |
| 275 | |---|---|---| |
| 276 | | Claude / `Bash` | pass | denied | |
| 277 | | Claude / `Read` | pass | declined | |
| 278 | | Claude / `Write` | pass | declined | |
| 279 | | Claude / `Edit` | pass | declined | |
| 280 | | Claude / `Glob` | pass | declined | |
| 281 | | Claude / `Grep` | pass | declined | |
| 282 | | Claude / `mcp__equipo__submit_candidate` | declined | declined | |
| 283 | | Claude / `mcp__equipo__ask_person` | pass | declined | |
| 284 | | Claude / `mcp__equipo__submit_render` | declined | declined | |
| 285 | | Codex / `apply_patch` | pass | declined | |
| 286 | | Codex / `exec_command` | pass | declined | |
| 287 | | Codex / `list_mcp_resource_templates` | pass | declined | |
| 288 | | Codex / `list_mcp_resources` | pass | declined | |
| 289 | | Codex / `mcp__equipo__ask_person` | pass | declined | |
| 290 | | Codex / `mcp__equipo__submit_candidate` | declined | declined | |
| 291 | | Codex / `mcp__equipo__submit_render` | declined | declined | |
| 292 | | Codex / `read_mcp_resource` | declined | declined | |
| 293 | | Codex / `request_user_input` | declined | declined | |
| 294 | | Codex / `view_image` | pass | declined | |
| 295 | | Codex / `write_stdin` | declined | declined | |
| 296 | |
| 297 | No human was asked during the routing probes. Each provider made one valid |
| 298 | ask_person call in its workspace routing turn; the probe answered deny |
| 299 | automatically. That proves routing, not the excluded human approval control. |
| 300 | All negative Codex routing requests were declined. Direct Codex sandbox checks |
| 301 | supply the independent isolation proof. |
| 302 | |
| 303 | ### Live launch log |
| 304 | |
| 305 | All times are UTC on 2026-11-05. Only `claude-a` and `codex`, each confirmed as |
| 306 | `paul@tito.io`, were used. Launches were sequential. Saved bindings, setup and |
| 307 | source homes were unchanged. Admissions include requests rejected before model |
| 308 | dispatch; the total is **30 of 30**. |
| 309 | |
| 310 | | UTC interval | Tuple | Admissions | Outcome | |
| 311 | |---|---|---:|---| |
| 312 | | 11:18:03 | Claude Engineering | 0 | Harness executable mismatch rejected before account use | |
| 313 | | 11:18:03 | Codex Engineering | 0 | Same containment rejection | |
| 314 | | 11:18:49–11:21:11 | Claude Engineering | 10 | All authorised original phases completed; direct boundaries passed; routing fixtures needed correction | |
| 315 | | 11:21:11–11:22:25 | Codex Engineering | 7 | Direct boundaries and workspace read passed; runtime guard stopped routing | |
| 316 | | 11:23:22–11:24:41 | Codex Engineering | 7 | Same guard; metadata-only diagnostic identified `.sqlite-maintenance.lock` | |
| 317 | | 11:24:41–11:25:35 | Claude Engineering | 4 | Fresh direct/Bash proof, corrected routing, resume and lifetime checks completed | |
| 318 | | 11:25:58–11:27:04 | Codex Engineering | 0 | Fresh production launch and direct probe; observed the lock's metadata after idle | |
| 319 | | 11:28:30–11:29:39 | Codex Engineering | 2 | Final routing turns completed after narrow lock fix; namespace/lifetime, inventory and calibration checks ran | |
| 320 | |
| 321 | The last Codex run seeded its requested tool names from the earlier observed |
| 322 | catalog to save a model turn. Its own current-session catalog then independently |
| 323 | matched those names (`exact-tool-inventory: pass`). No earlier session's result |
| 324 | was substituted for a current-session tool result. The final Claude run asked |
| 325 | Bash plainly for each staged target instead of repeating the old diagnostic |
| 326 | matrix. Neither supplemental run repeated the separate workspace-read control. |
| 327 | |
| 328 | The Codex lock appeared after about a minute idle: empty regular file, mode |
| 329 | 0664, UID/GID 1001, one hard link. No contents were read. The allowance applies |
| 330 | only to this exact staged-home name on pinned Codex 0.165.0. It requires an |
| 331 | empty regular file owned by the current user, one hard link, no special mode |
| 332 | bits, no execute bits and no world-write bit. Sources are not changed or |
| 333 | accepted as runtime state. Nonempty files, directories, symlinks, hard links, |
| 334 | other names, providers and versions remain refused. |
| 335 | |
| 336 | The first routing fixtures gave Glob a file instead of a directory and Bash |
| 337 | an absent outside path. The corrected fixtures use a directory for Glob, a PNG |
| 338 | for view_image, and the already measured staged marker for outside requests. |
| 339 | Claude's Bash ENOENT therefore has an outer-present counterpart. No model turn |
| 340 | returned a protected synthetic marker, including a post-run scan of all retained |
| 341 | turn captures. No generation, accountChange, sign-in or credential-content |
| 342 | exercise ran. |
| 343 | |
| 344 | ### Would-be checks |
| 345 | |
| 346 | This table reports observations, not a passing composite certificate. `first` |
| 347 | means the first authorised per-tuple exercise; `replay` means the final captured |
| 348 | routing events evaluated by the corrected parser. Supplemental runs did not |
| 349 | repeat every check. Unperformed required checks remain unproven. |
| 350 | |
| 351 | | Check | Claude Engineering | Codex Engineering | |
| 352 | |---|---|---| |
| 353 | | `account-version-readback` | pass | pass | |
| 354 | | `effective-policy-readback` | pass | pass | |
| 355 | | `inner-sandbox-enabled` | pass | pass | |
| 356 | | `immutable-settings` | pass | pass | |
| 357 | | `strict-mcp` | pass | pass | |
| 358 | | `exact-tool-inventory` | pass | pass | |
| 359 | | `no-hooks-plugins` | not-certified | pass | |
| 360 | | `equipo-broker-approval` | not-certified | not-certified | |
| 361 | | `person-native-approval` | not-certified | not-certified | |
| 362 | | `real-question-answer` | not-certified | not-certified | |
| 363 | | `stale-broker-denied` | not-certified | not-certified | |
| 364 | | `invalid-broker-denied` | not-certified | not-certified | |
| 365 | | `policy-escalation-denied` | not-certified | not-certified | |
| 366 | | `same-identity-generation-fresh-preflight-bind` | not-certified | not-certified | |
| 367 | | `same-identity-continued-availability` | not-certified | not-certified | |
| 368 | | `changed-identity-stops-step` | not-certified | not-certified | |
| 369 | | `direct-isolation` | pass | pass | |
| 370 | | `tool-routing` | pass | pass (replay) | |
| 371 | | `workspace-positive-control` | pass (first) | pass (first) | |
| 372 | | `private-network` | pass | pass | |
| 373 | | `host-loopback-denied` | pass | pass | |
| 374 | | `host-control-sockets-denied` | pass | pass | |
| 375 | | `host-services-absent` | pass | pass | |
| 376 | | `settings-write-denied` | pass | pass | |
| 377 | | `mcp-authority` | pass | pass | |
| 378 | | `tool-inventory-complete` | pass (new routing rule) | pass (replay, new routing rule) | |
| 379 | | `missing-tools-recorded` | pass | pass | |
| 380 | | `clean-session-resume` | pass | not-certified | |
| 381 | | `mid-turn-runner-kill` | not-certified | not-certified | |
| 382 | | `durable-replay` | not-certified | not-certified | |
| 383 | | `no-redispatch` | not-certified | not-certified | |
| 384 | | `unknown-usage-retained` | not-certified | not-certified | |
| 385 | | `pid1-go-helper-owner` | pass | pass | |
| 386 | | `pidfd-exit` | not-certified | not-certified | |
| 387 | | `detached-descendants-absent` | pass | pass | |
| 388 | | `cgroup-move-contained` | pass | pass | |
| 389 | | `active-cancellation` | pass | pass | |
| 390 | | `host-services-absent-after-exit` | pass | pass | |
| 391 | | `separate-bounded-admission` | pass | pass | |
| 392 | | `complete-input-output` | pass | pass | |
| 393 | | `usage-unknowns-recorded` | not-certified | not-certified | |
| 394 | | `twice-max-rounded-1000` | pass | pass | |
| 395 | | `23-reservations-per-job` | pass | pass | |
| 396 | | `project-period-headroom` | pass | pass | |
| 397 | | `team-period-headroom` | pass | pass | |
| 398 | | `configured-limits-unchanged` | pass | pass | |
| 399 | | `no-subscription-currency-cap` | not-certified | not-certified | |
| 400 | |
| 401 | Only Paul's full authorised run can exercise the following excluded phases: |
| 402 | |
| 403 | - Human approval controls: `person-native-approval`, `real-question-answer`, |
| 404 | `equipo-broker-approval`, `stale-broker-denied`, `invalid-broker-denied` and |
| 405 | `policy-escalation-denied`. The automatic routing callbacks do not replace them. |
| 406 | - Crash recovery: `mid-turn-runner-kill`, `durable-replay`, `no-redispatch`, |
| 407 | `unknown-usage-retained`, `pidfd-exit`, and the dependent |
| 408 | `usage-unknowns-recorded` calibration check. |
| 409 | - Generation: `same-identity-generation-fresh-preflight-bind` and |
| 410 | `same-identity-continued-availability`, plus the auxiliary |
| 411 | `identity-marker-tamper-denied` check. |
| 412 | - Account change: `changed-identity-stops-step`, using another connected account. |
| 413 | |
| 414 | Codex clean resume needs another admitted turn after the runtime fix. The |
| 415 | first Claude exercise exceeded its proposed 23-reservation job headroom; the |
| 416 | short supplemental exercise did not. The full run must calibrate the whole |
| 417 | family without retroactively increasing the debug limits. Hook readback and |
| 418 | the hard-coded currency-cap check are existing blockers independent of these |
| 419 | excluded phases. |
| 420 | |
| 421 | ### Verification |
| 422 | |
| 423 | Final review reproduced a marker-leak precedence bug: a correlated Bash errno |
| 424 | could overwrite `sentinel-exposed` from another frame in that turn. The new |
| 425 | `TestClaudeDenialCannotHideMarkerLeak` failed with `denied` before the fix and |
| 426 | passes after it. Marker exposure now takes precedence over the errno fallback. |
| 427 | |
| 428 | Failing tests were observed before the boundary, Bash-correlation, routing, |
| 429 | pinned-event parsing, legacy-matrix removal and lock changes. Some first runs |
| 430 | failed to compile because the new evidence fields/functions did not exist; |
| 431 | the later parser, matrix and runtime-lock tests failed assertions against the |
| 432 | previous behavior. |
| 433 | |
| 434 | Targeted checks passed: |
| 435 | |
| 436 | ```sh |
| 437 | CGO_ENABLED=0 go test ./internal/directlive ./internal/runner/provider ./internal/runner/provider/providertest ./internal/runner/containment ./internal/runner/provider/claude -run 'TestClaudeDenialCannotHideMarkerLeak|TestCodexRoutingPinnedFrames|TestToolRouting|TestRoutingCertificateGuards|TestIsolation|TestDirectIsolation|TestClaudeBashIsolation|TestNativeIsolation|TestReleaseIsolation|TestCodexMaintenanceLock|TestCodexLiveThreadState' -count=1 |
| 438 | CGO_ENABLED=0 go test ./internal/runner/provider ./internal/runner/provider/providertest ./internal/directlive -run 'TestDirectLiveGate|TestDirectIsolation|TestIsolation|TestRoutingCertificateGuards|TestLegacyModelProbes|TestReviewPathless|TestReleaseIsolation|TestToolRouting|TestCodexRouting' -count=1 |
| 439 | CGO_ENABLED=0 go test ./internal/directlive -run '^TestDirectDriverFakeCLI/Engineering$' -count=1 |
| 440 | CGO_ENABLED=0 go test ./internal/runner/provider -run 'TestAccountCodexRuntimeStateGuards|TestCodexMaintenanceLockMetadata|TestCodexLiveThreadState' -count=1 |
| 441 | CGO_ENABLED=0 go test ./internal/equipotest -run 'TestRunnerReleaseContractPackaging' -count=1 |
| 442 | make budget |
| 443 | ``` |
| 444 | |
| 445 | Temporary source overlays broke each new guard, then were discarded. Each |
| 446 | command used `CGO_ENABLED=0 go test -overlay <overlay> <package> -run <test> |
| 447 | -count=1` and failed an assertion with exit 1: |
| 448 | |
| 449 | | Deliberate break | Failing test | |
| 450 | |---|---| |
| 451 | | Remove the expected-provider-home classification | TestDirectIsolationExpectedHome | |
| 452 | | Accept missing Claude Bash proof | TestIsolationClaudeNeedsToolBoundary | |
| 453 | | Accept an unrelated Bash result | TestClaudeBashIsolationErrno | |
| 454 | | Accept a tool call without a matching result | TestToolRoutingRequiresCorrelatedResult | |
| 455 | | Ignore the patch result's call ID | TestCodexRoutingPinnedFrames | |
| 456 | | Let a Bash denial hide exposed marker bytes | TestClaudeDenialCannotHideMarkerLeak | |
| 457 | | Skip routing artifact validation | TestRoutingCertificateGuards | |
| 458 | | Return native-policy denial for every path | TestNativeIsolationPolicy | |
| 459 | | Accept nonempty/executable/world-writable maintenance locks | TestCodexLiveThreadState, TestCodexMaintenanceLockMetadata | |
| 460 | |
| 461 | The existing broken-mount test also passed, observing sentinel exposure through |
| 462 | a deliberately exposed production workspace mount. Python release-validator |
| 463 | fixtures cover expected outer visibility, missing Claude proof, a declined Bash |
| 464 | probe, exposed sentinels and side doors. No guard, timeout or size limit was |
| 465 | weakened. |
| 466 | |
| 467 | The first `make -k ci` exited 2: formatting and two previously unclassified |
| 468 | Python AST variable references failed, including the repository-reference test. |
| 469 | The references are now individually classified as Python test code; the scan |
| 470 | was not weakened. The test step took 5m10.834s. Build, vet, staticcheck, |
| 471 | vulnerability/secret scans, size budgets, namespace/adapter checks, migration |
| 472 | and performance passed. Timing warnings were provider 20.638s/15s, Claude |
| 473 | 46.897s/45s and Codex 39.782s/35s. Those are local warnings and would fail with |
| 474 | CI timing enforcement enabled. |
| 475 | |
| 476 | The second full gate exited 0. Its test step took 5m32.811s; local timing |
| 477 | warnings were provider 20.755s/15s, Claude 47.550s/45s and Codex 40.336s/35s. |
| 478 | The marker-leak precedence fix was added while that suite was running, so a |
| 479 | third and final permitted full gate checked the unchanged final code. |
| 480 | |
| 481 | The final `make -k ci` exited 0. All 28 test packages ran uncached and passed; |
| 482 | the test step took 5m12.725s. Every other gate step passed, including performance. |
| 483 | Final local timing warnings were provider 20.569s/15s, Claude 47.586s/45s and |
| 484 | Codex 40.809s/35s. No passing remote run with timing enforcement is claimed. |
| 485 | There were exactly three full invocations: the initial gate and two reruns. |
| 486 | |
| 487 | ### Handoff |
| 488 | |
| 489 | All task scratch, temporary harnesses, overlays, captures, logs and binaries |
| 490 | were removed. Every debugging runtime directory was empty before removal, and |
| 491 | no task process remains. No copy-review server was started. The user's worktree |
| 492 | is retained. The safe changes are committed and pushed on |
| 493 | `direct-isolation-checks`; no merge, default-branch push or deployment occurred. |
| 494 | The existing ignored `.claude/HANDOFF.md` records the remaining work. |
| 495 | |
| 496 | Question for the controller: authorise another focused Codex resume and |
| 497 | whole-exercise run, or proceed to Paul's full run after resolving the existing |
| 498 | hook-readback and currency-cap blockers? The 30-admission budget is exhausted; |
| 499 | none of the unproven checks above is relabelled as passed. |
| 500 | |
| 501 | ## Round 1 (historical) |
| 502 | |
| 503 | The boundary decision in this section was resolved by the round-2 brief. Its |
| 504 | launch log and test results are retained below as history. |
| 505 | |
| 506 | Certification is still blocked. The trusted direct probe can read the synthetic |
| 507 | marker in `/home/runner` in both providers' outer namespaces. Codex's own tool |
| 508 | sandbox blocks every tested marker and passes the side-door checks. These are |
| 509 | different boundaries: the outer namespace intentionally mounts the private |
| 510 | runtime home so the provider can authenticate. |
| 511 | |
| 512 | ## Decision needed |
| 513 | |
| 514 | Should the staged runtime home be certified at the provider's tool boundary, |
| 515 | while the outer namespace must hide credential sources and other host state, |
| 516 | or must the outer namespace also hide the staged home? I recommend the first, |
| 517 | with the distinction explicit in the evidence. The second needs a different |
| 518 | credential architecture; masking the home would stop the provider from signing |
| 519 | requests. This branch does not silently choose either interpretation. |
| 520 | |
| 521 | D4's full per-tuple passing proof is **not complete**. The authorized debugging |
| 522 | scope also excludes parts of the current exercise: `generation` reads and |
| 523 | rewrites the dedicated credential source, and `accountChange` needs another |
| 524 | account. Neither was run. Human approval controls and crash recovery were not |
| 525 | run after the isolation boundary required a decision. Their checks remain |
| 526 | unproven, rather than being marked passed. |
| 527 | |
| 528 | ## Safe changes |
| 529 | |
| 530 | The trusted runner now runs a fixed probe through the same `StartRecorded` |
| 531 | implementation used for provider launches. It attests the original launch |
| 532 | before replacing only its command, then retains the production mounts, UID, |
| 533 | environment, egress policy, Go PID 1, pinned binaries and cleanup path. The |
| 534 | namespace manifest binds the actual probe command as well as the original |
| 535 | policy. There is no model-accessible endpoint for choosing a probe command. |
| 536 | |
| 537 | Every synthetic target must be a nonempty regular file on the host, at most |
| 538 | 4096 bytes, with a SHA-256 digest checked before and after the probe. The probe |
| 539 | records open, stat, readlink and directory-list outcomes. It accepts a blocked |
| 540 | access or different file, and fails on exposed marker bytes. No file contents |
| 541 | are returned. Source markers, other-home markers, runner state, the staged |
| 542 | home, a workspace symlink, `/proc/self/root` and `/proc/1/root` are covered. |
| 543 | |
| 544 | File-descriptor checks reject accessible extra descriptors and require the |
| 545 | standard descriptors to be pipes. A visible `/proc/1/root` is accepted only |
| 546 | when it is the same root in the same mount namespace as the probe. Egress |
| 547 | checks require a refused CONNECT to a forbidden loopback destination. The |
| 548 | Equipo socket must reject a filesystem-resource request with its exact error |
| 549 | code. Timeouts, unexpected replies and unknown errors are not passes. |
| 550 | |
| 551 | Pinned Codex 0.165.0 exposes `codex sandbox`, without a `linux` subcommand. |
| 552 | The probe uses its `equipo` permission profile, `/workspace`, managed config, |
| 553 | and the same `-c` settings as the production launcher. Claude 2.1.312's CLI |
| 554 | help exposes no non-model sandbox entry point. Its evidence records |
| 555 | `unavailable-pinned-claude`, the outer observations and the mounted deny |
| 556 | settings. This is not a claim of independently measured Claude Bash isolation |
| 557 | or a full effective-settings readback. |
| 558 | |
| 559 | Evidence schema 2 carries the host marker digests, direct results, wrapper |
| 560 | coverage and `direct-isolation` check. The Go validator and release checker |
| 561 | reject incomplete or failed results, including missing layers and side-door |
| 562 | checks. The manifest candidate binds the direct-isolation artifact digest. |
| 563 | No release manifest, certified policy or installed release was changed. |
| 564 | |
| 565 | Model declines are recorded as `declined`; they no longer count as failed |
| 566 | protected-read attempts. Any observed synthetic marker bytes still abort the |
| 567 | exercise. Attempted reads without a qualifying policy refusal remain unverified. |
| 568 | D2's full per-tool workspace and outside-workspace routing exercise is still |
| 569 | unfinished. The new required `tool-routing` check has no passing producer yet, |
| 570 | so relaxing the treatment of declines cannot certify an untested tool surface. |
| 571 | The existing workspace positive control and tool inventory remain in place. |
| 572 | |
| 573 | Family calibration skips an empty usage row only when that tuple failed. |
| 574 | An empty successful row or an explicit unknown usage sample still prevents |
| 575 | calibration. The live-gate guide has the requested two-sentence update under |
| 576 | Paul's copy ruling. No app copy or README prose changed; no copy-review server |
| 577 | was started. |
| 578 | |
| 579 | ## Live launch log |
| 580 | |
| 581 | All times are UTC on 2026-11-05. Bindings and saved setup were read only. |
| 582 | Only `claude-a` (`account-1004981892`) and `codex` |
| 583 | (`account-2598223264`), both confirmed as `paul@tito.io`, were launched. |
| 584 | The other homes were not used. Credentials were staged only by the production |
| 585 | account lease. The harness did not read, print, copy or hash credential |
| 586 | contents, and did not change bindings, runner.env, saved setup or source homes. |
| 587 | |
| 588 | | UTC interval | Tuple | Admissions | Result | |
| 589 | |---|---|---:|---| |
| 590 | | 10:36:28–10:38:08 | Claude Engineering | 8 | Direct outer failure; model probes, positive control, resume and lifetime completed | |
| 591 | | 10:38:08–10:39:14 | Codex Engineering | 7 | Same phases completed; inner file targets blocked | |
| 592 | | 10:44:16–10:46:00 | Claude Engineering | 8 | Corrected socket observation; declines recorded; allowed phases completed | |
| 593 | | 10:46:00–10:47:12 | Codex Engineering | 6 | Wrapper failed; resume refused an unexpected runtime entry | |
| 594 | | 10:48:40–10:49:50 | Codex Engineering | 7 | Corrected wrapper invocation; model probes, positive control, resume and lifetime completed | |
| 595 | | 10:52:02–10:52:10 | Codex Engineering | 0 | Direct metadata check established inner PID 1's standard pipes and shared mount namespace | |
| 596 | | 10:54:47–10:54:52 | Claude Engineering | 0 | Final production direct probe: outer home exposed; side-door checks passed | |
| 597 | | 10:54:52–10:55:00 | Codex Engineering | 0 | Final production direct probe: outer home exposed; inner targets and side-door checks passed | |
| 598 | |
| 599 | Total: **36 of 40 admissions**, sequential. Admissions conservatively include |
| 600 | requests that could fail before reaching a model. Preflights are included in |
| 601 | each interval. CLI help was inspected separately with an empty disposable home; |
| 602 | those inspections made no model request and used no account. |
| 603 | |
| 604 | The failed Codex wrapper invocation placed `--strict-config` before `sandbox`. |
| 605 | The final command starts with `codex sandbox` and supplies the original explicit |
| 606 | settings and managed-config option. Its repeat completed. The unexpected |
| 607 | runtime entry from the failed run was not identified before disposable cleanup; |
| 608 | it must not be attributed to `.sandbox_migration`, which the existing guard |
| 609 | already permits. Runtime-entry allowances were not changed. |
| 610 | |
| 611 | The focused harness copied production exercise setup and called the production |
| 612 | direct probe, model probes, policy readback, namespace checks, clean resume, |
| 613 | lifetime, inventory and calibration functions. It omitted the forbidden |
| 614 | credential/account phases and the unperformed human and crash controls. The |
| 615 | last three runs stopped after the direct probe. No full live gate, index, |
| 616 | certification.json or manifest candidate was written. Temporary observation |
| 617 | files and captures were debugging scratch, not a certification bundle. |
| 618 | |
| 619 | The final model-probe observations were: |
| 620 | |
| 621 | | Provider | Policy denials | Declined | Not applicable | Unverified attempts | |
| 622 | |---|---:|---:|---:|---:| |
| 623 | | Claude | 41 | 26 | 39 | 11 | |
| 624 | | Codex | 0 | 52 | 91 | 0 | |
| 625 | |
| 626 | Both workspace positive controls passed. No model returned a synthetic marker |
| 627 | from a protected target. The direct outer probe returned `sentinel-exposed` |
| 628 | for the staged marker itself, its workspace symlink and its `/proc/self/root` |
| 629 | alias. Other host markers returned ENOENT; the outer PID 1 alias returned |
| 630 | EACCES. Inside Codex, all ten targets passed: six absent host markers returned |
| 631 | ENOENT, and four staged-home/alias targets returned EACCES. |
| 632 | |
| 633 | The harness printed every would-be certification check. The final relevant |
| 634 | values are recorded below; the zero-turn direct rerun only changes the direct |
| 635 | measurements, not the model or lifecycle observations. |
| 636 | |
| 637 | | Check | Claude Engineering | Codex Engineering | |
| 638 | |---|---|---| |
| 639 | | Direct outer isolation | not-certified | not-certified | |
| 640 | | Direct provider tool sandbox | unavailable | pass | |
| 641 | | Overall direct-isolation | not-certified | not-certified | |
| 642 | | Workspace positive control | pass | pass | |
| 643 | | Account/version and policy readback | pass | pass | |
| 644 | | Exact tool inventory | pass | pass | |
| 645 | | Tool inventory probe coverage | not-certified | pass | |
| 646 | | Per-tool routing | not exercised | not exercised | |
| 647 | | Namespace, immutable settings and host-service checks | pass | pass | |
| 648 | | Resume and lifetime controls | pass | pass | |
| 649 | | Full no-hooks/plugins readback | not-certified | pass | |
| 650 | | 23 reservations per job | not-certified | pass | |
| 651 | | No subscription currency cap | not-certified | not-certified | |
| 652 | | Human approval, broker/question controls and crash recovery | not exercised | not exercised | |
| 653 | | Credential generation and different-account checks | outside authorization | outside authorization | |
| 654 | |
| 655 | The no-currency-cap check is already hard-coded false in the existing driver. |
| 656 | Claude's measured usage also exceeded the debug job's proposed reservation |
| 657 | headroom. Neither was relabelled or funded retroactively. These results do not |
| 658 | support a claim that all certification checks would pass. |
| 659 | |
| 660 | ## Tests and guard failures |
| 661 | |
| 662 | New tests first failed for missing direct-probe behavior, acceptance of absent |
| 663 | direct evidence, silently skipped empty successful usage and rejection of the |
| 664 | measured inner PID 1 boundary. Targeted final commands: |
| 665 | |
| 666 | ```sh |
| 667 | CGO_ENABLED=0 go test ./internal/runner/containment ./internal/runner/provider ./internal/directlive -run 'TestDirectIsolation|TestIsolationChecks|TestModelProbe|TestCalibrationEmpty|TestDirectLiveGate|TestCoordinatorManifestExclusion|TestPinnedCommandReadObservation|TestClaudePinnedReadDenial' -count=1 |
| 668 | CGO_ENABLED=0 go test ./internal/directlive -run '^TestDirectDriverFakeCLI/Engineering$' -count=1 |
| 669 | CGO_ENABLED=0 go test ./internal/runner/provider/providertest -count=1 |
| 670 | CGO_ENABLED=0 go test ./internal/equipotest ./internal/tryequipo -run 'TestReleaseStampContract|TestRunnerReleaseContractPackaging|TestDirectReleaseRequiresCertification|TestReviewUnconfirmedExpiredAccountSignsIn' -count=1 |
| 671 | make budget |
| 672 | ``` |
| 673 | |
| 674 | All passed. The deliberately broken mount test places the host sentinel in the |
| 675 | production workspace mount and observes `sentinel-exposed`. Missing host |
| 676 | markers and changed launch policies are refused. The Python release validator |
| 677 | has separate tests for missing measurements, marker exposure, wrong policy and |
| 678 | visible side doors. Shared synthetic packaging data lives in `providertest` to |
| 679 | keep the existing test-size budget unchanged. |
| 680 | |
| 681 | Temporary overlays then broke these guards. Each named test failed with an |
| 682 | assertion, and the working tree implementation was left unchanged: |
| 683 | |
| 684 | | Deliberate break | Test | |
| 685 | |---|---| |
| 686 | | Accept an exposed marker | TestDirectIsolationBrokenMount | |
| 687 | | Accept a missing host sentinel | TestDirectIsolationMissingHostSentinel | |
| 688 | | Skip both original-launch attestation checks | TestDirectIsolationAttestation | |
| 689 | | Skip certificate direct-result validation | TestDirectIsolationCertificateGuards | |
| 690 | | Ignore marker bytes in model output | TestModelProbeDeclinedAndLeak | |
| 691 | | Skip empty successful usage | TestCalibrationEmptySuccessfulTupleFails | |
| 692 | |
| 693 | Each mutation used `CGO_ENABLED=0 go test -overlay <temporary-overlay.json> |
| 694 | <package> -run '^<Test>$' -count=1` and exited 1. The exposed-mount fixture |
| 695 | was also run without an overlay to establish the real probe failure. |
| 696 | |
| 697 | The first `make -k ci` exited 2. Release packaging tests failed because the |
| 698 | Python release checker still required schema 1. That checker now requires |
| 699 | schema 2 and validates the direct results and their manifest reference. |
| 700 | `TestReviewUnconfirmedExpiredAccountSignsIn/claude` also failed once with |
| 701 | `provider_account_busy`; its focused rerun passed without a product change. |
| 702 | The first full test step took 5m45.033s. Build, vet, formatting, staticcheck, |
| 703 | vulnerability and secret scans, size budgets, adapter/namespace checks, |
| 704 | migration and performance passed. The scan found no reachable vulnerability |
| 705 | and no secrets. No check or time limit was weakened. |
| 706 | |
| 707 | The second `make -k ci` also exited 2. All 28 test packages passed, but the |
| 708 | budget wrapper correctly rejected the new `providertest` package because it |
| 709 | had no timing hook. Adding its standard `TestMain` fixed that omission; a |
| 710 | focused run through the budget wrapper passed. Its full test step took |
| 711 | 5m9.325s. The remaining gate steps passed. |
| 712 | |
| 713 | The third and final permitted `make -k ci` ran all 28 test packages |
| 714 | successfully. The test step took 6m11.081s. The gate exited 0, including all remaining checks. |
| 715 | |
| 716 | Local timing warnings remain: runner 6m9.576s against 5m30s, provider 20.026s |
| 717 | against 15s, Claude 46.102s against 45s and Codex 39.3s against 35s. Those |
| 718 | warnings are failures when CI timing enforcement is enabled. This report |
| 719 | claims no passing remote timed run. There were three full gate invocations: |
| 720 | the initial run and the two permitted reruns. |
| 721 | |
| 722 | All task-owned harnesses, binaries, temporary captures, overlays and logs were |
| 723 | removed. The production cleanup path retired every debugging namespace and |
| 724 | removed its staged homes. No task executable remains running. The user-created |
| 725 | worktree is retained. No copy-review server, certification bundle, merge, |
| 726 | default-branch push or deployment was performed. |
| 727 | |
| 728 | The safe changes are committed and pushed on `direct-isolation-checks`. |
| 729 | The isolation-boundary decision and unfinished D2/D4 work remain as described |
| 730 | above; this is not a passing certification or a completed full-tuple proof. |
| 731 | |