# Certification gaps, 2026-11-05

The certification checks now require successful workspace tool controls and
captured Claude native-read refusals. Hook events are requested in Claude's
launch policy. The evidence records the provider launch separately from the
isolation probe launch. All 18 policy entries remain uncertified. No live model
request, account-home inspection, certificate, merge or deployment was made.

## G1: tool routing

Workspace routing requires `pass`; `declined` is accepted only outside the
workspace. Zero exposed tools fail. The driver, inventory check, Go evidence
validator and Python release checker enforce these rules. Claude's hidden
permission callback is no longer incorrectly required in its exposed inventory.
The release checker also includes the existing candidate/render tool pair.

Before launching any provider, the disposable routing setup selects the
repository's actual HEAD commit or creates a real empty commit object if the
repository is unborn. It moves no branch and runs no hook. Candidate, render
and review submissions reuse that hash. The setup also supplies concrete
reproduction input and a workspace source digest for answer submissions. The positive turn permits human
approvals; the negative turn still denies them. Native workspace controls now
need these approvals because of G3.

Codex `write_stdin` gets a process waiting for input. Its proof requires the
observed process-start call, returned session ID, matching input call, echoed
marker and successful process exit. A completed call without that setup cannot
pass this control.

The fixed prerequisite list identifies `read_mcp_resource`: the pinned Equipo
server exposes tools and no resources. The prompt first asks for available
resources. A missing prerequisite is recorded as `not-exercisable` with its
reason and still fails certification. This change grants no unreviewed routing
exemptions. If the live catalog exposes this unusable tool, the controller must
review an explicit exclusion or provide a real resource before certifying that
tuple. A model decline cannot make it pass.

## G2: hook visibility

The installed Claude executable matched the pinned SHA-256
`4f4178ce41d83e23341ebfbaecdbcf8ea6bf7baea0690025abe49eeec3a5d01d`.
Read-only inspection of that executable found the `--include-hook-events`
option registration and the stream emitters. No provider process was needed.

The emitters use `type: system` and subtypes `hook_started`, `hook_progress`
and `hook_response`. Each carries `hook_id`, `hook_name` and `hook_event`.
Progress also carries stdout, stderr and output; response adds outcome and an
optional exit code. These observations agree with the existing captured-event
fixtures. The checker continues to reject every `hook_` subtype, including events
found after resume or recovery.

The flag is part of the constructed argv and policy hash. A regression test
removes it, rebuilds the policy, checks that the hash changes, and requires the
launcher to reject the changed policy. All nine Claude inventory hashes were
updated; no entry gained certification authority.

## G3: observed native isolation

For every protected target, including the workspace symlink, the evidence must
contain a correlated `Read` call and error result that records permission denial
or Equipo's callback refusal. Tool names, input paths and call IDs must match.
Missing calls, unmatched results, successful reads and unrelated errors fail.
Any claimed `Glob` or `Grep` refusal also requires captured evidence. Their
absence cannot substitute for the mandatory Read proof.

The former calls to `ProbeNativeReadPolicy` no longer produce certification
proof. Native workspace allow rules became ask rules, so the existing callback
can refuse symlink paths before asking the person. The callback fixture verifies
that refusal and that it cannot be approved. A successful Read through the
symlink remains a certification failure. Whether pinned Claude applies these
rules as intended still requires the separate live verification below.

## G4: evidence and funding

`NamespaceManifest` now identifies the provider's own recorded launch. The
probe's separate manifest hash is retained as `probe_namespace_manifest`.
`provider-launch.json` binds the attempt key, launch policy hash and namespace
manifest. The release checker compares these fields with the record, then
compares the isolation record with its hashed artifact: targets, reports,
wrapper, native proofs and provider-launch reference must agree.

Each staged marker has a fresh random name and independent random contents.
The selected-home path is `/home/runner/<random marker>`, with matching proc-root,
self-root and workspace-symlink aliases. The account validator accepts only a
small regular marker file with the exact name grammar, private permissions,
single link and current owner. Source markers are not copied into the staged
home. Model leak detection includes the new staged contents.

The currency verdict is rewritten after the complete journal scan at shutdown
and again after recovery. The final pooled calibration still runs afterward.
Malformed provider frames get a separate `provider-frames-json` failure instead
of being counted as evidence of a currency cap. Display costs remain allowed.

Output funding is now 23 × 50,000 = 1,150,000 tokens per job, project headroom
and team headroom. A 50,000-token reservation covers twice a 25,000-token output
turn, allowing for reasoning-heavy Codex turns. The calibration proposal uses
274 completed turns plus 34 full reservations: (274 + 34) × 50,000 = 15,400,000
output tokens, rounded up to 16,000,000. Input remains 50,000,000 for calibration
and 5,750,000 per job. Calls remain 500 and duration remains 7,200 seconds.
These are planning allowances, not measured live maxima or automatically raised
limits. Old default values are re-proposed; custom values remain selected and
the existing funding confirmation still applies.

## G5: verification

Failing tests preceded the fixes. Initial assertions reproduced workspace
acceptance of declines, missing hook-event argv, workspace callback bypass,
computed native proof without a captured call, unrelated namespace hashes,
source-marker reuse, malformed-frame currency classification and old output
funding. The process-routing and staged-home integration regressions also failed
before their fixes.

Focused checks used `CGO_ENABLED=0 go test` with these packages and test groups:

- `./internal/directlive`: WorkspaceRouting, RoutingControls, ToolRouting,
  CodexRouting, CodexWriteStdin, ClaudeNativeIsolation, StagedMarker,
  FinalCurrency, NonJSON, Subscription, ClaudeHook and ClaudeRecoveryHook.
- `./internal/runner/provider`: Routing, DirectLiveGate, DirectIsolation,
  Isolation, ClaudeNativeEvidence, ClaudeIsolationRejectsComputedProof,
  NamespaceManifestMustMatchProviderLaunch and RuntimeRandomIsolationMarker.
- `./internal/runner/provider/claude`: HookEvents, HookEventFlagBoundToPolicy,
  NativeIsolationPolicy and ProtectedPermissionNeverAsks.
- `./internal/tryequipo`: FundingProposedDefaults.
- `./internal/runner/provider/providertest`: ReleaseIsolationGuards.
- `./internal/equipotest`: RunnerReleaseContract.
- `./internal/release`: PlanWorkflowReleasePolicyInventory.

The complete fake Engineering exercise passed in 57.893 seconds. Its fixtures
now use an initialized disposable Git repository and emit routing results and unique
native-call IDs. These synthetic observations remain ineligible as live evidence.

Seventeen temporary Go source overlays deliberately broke the guards. Each final
mutation command returned exit 1 with an assertion failure, using
`CGO_ENABLED=0 go test -overlay <overlay> <package> -run '^<test>$' -count=1`.

| Deliberate break | Failing regression |
| --- | --- |
| Accept a workspace decline in the parser | TestWorkspaceRoutingCannotDecline |
| Accept a declined workspace control in the inventory | TestRoutingControls |
| Accept an empty routing inventory | TestRoutingControls |
| Accept a workspace decline in a certificate | TestRoutingWorkspaceDeclineFails |
| Omit hook-event argv | TestHookEventsAndNativeAskPolicy |
| Remove the workspace ask rules | TestHookEventsAndNativeAskPolicy |
| Ignore the native result's call ID | TestClaudeNativeEvidenceGuards |
| Accept computed native status without frames | TestClaudeIsolationRejectsComputedProof |
| Ignore the provider namespace-manifest match | TestNamespaceManifestMustMatchProviderLaunch |
| Reuse source bytes as the staged marker | TestStagedMarkerIsIndependent |
| Classify non-JSON as a currency cap | TestNonJSONIsNotCurrencySignal |
| Skip the final currency scan | TestFinalCurrencyIncludesLateFrames |
| Ignore malformed frames | TestFinalCurrencyIncludesLateFrames |
| Accept redacted null frames | TestRedactedMalformedFrameFailsSeparately |
| Skip candidate creation in an unborn repository | TestRoutingCreatesRealCandidateInUnbornRepository |
| Restore the old job output default | TestFundingProposedDefaults |
| Ignore the process-start prerequisite | TestCodexWriteStdinRoutingPrecondition |

The first attempted call-ID mutation still left an unmatched call incomplete,
so the test correctly continued to pass. The corrected mutation removed the
correlation guard completely and the regression failed. No production mutation
was retained. Python tests also reject record/artifact mismatches, launch-record
mismatches and declined workspace controls while accepting matching fixtures.

The first full `make -k ci` exited 2. Its test step ran uncached in 5m20.794s
and found stale fixtures in two packages: the expected Claude argv omitted the
new flag, the workspace parity fixture still expected allow rules, and the
containment fixture still used the old marker name. Those fixtures now assert
the intended policy. All other gate lanes passed, including migration and
performance. Cold boot was 105ms against 500ms. Local timing warnings were
provider 20.569s against 15s and Codex 38.687s against 35s.

Review also found that the evidence reader represents malformed JSON as null.
A new failing regression now requires null and other non-object frames to fail
the separate frame-validity check. The restored targeted checks pass. The
first permitted rerun exited 0. Its full test step ran 28 packages uncached in
5m30.886s; all passed. Local timing warnings were provider 20.692s against 15s,
Claude 45.358s against 45s, and Codex 38.742s against 35s. Performance passed,
with cold boot at 117ms.

While that rerun was in progress, a failing regression found that the guide
creates an unborn repository. Candidate setup now creates a real commit object
before any model starts and reuses it without moving a branch. The regression
and the complete fake Engineering exercise pass; the latter took 42.396s with
an unborn fixture repository. The second and final permitted full rerun exited 0 on the final code.
All 28 test packages ran uncached and passed in 6m7.779s. Build, vet,
formatting, static analysis, vulnerability and secret scans, reference checks,
size budgets, provider and namespace checks, migration and performance passed.
Cold boot was 125ms against 500ms, and every screen stayed within 150ms.

That final run reported timing warnings: runner 6m6.175s against 5m30s,
provider 21.218s against 15s, Claude 46.454s against 45s, and Codex 39.642s
against 35s. These are warnings locally and would fail with CI timing
enforcement enabled. No passing remote gate is claimed. There were exactly
three full `make -k ci` invocations: the required run and two permitted reruns.

## Live verification after Paul's current run

Run the newly built policy in a separately authorized full gate after the
current run finishes. Existing results use the old hashes and cannot certify
this policy.

1. Confirm Claude emits hook events with the new argv and that complete streams,
   including resume and recovery, contain none under the disabled-hook policy.
2. Capture actual Read refusals for every protected target, especially the
   workspace symlink. Confirm a normal workspace Read succeeds after approval.
   Any symlink success is a real failure; do not override the verdict.
3. Exercise each exposed tool's positive control, including candidate/render
   submissions and Codex's running-process input. Resolve the explicit missing
   resource prerequisite if that tool is exposed. Check outside refusals still
   occur without a human approval question.
4. Confirm provider-launch hashes match the saved launch records, random staged
   markers are distinct from source markers, and both direct and model probes
   target the staged filename.
5. Check complete-stream and recovery currency verdicts, and measure actual
   reasoning output against the proposed funding before certifying any tuple.

No README prose or app-facing copy was changed. No copy-review server was started.
All task-created scratch files, mutation overlays and logs were removed after
the results were recorded here. No task process or server remains. The delivery
branch is `certification-gaps`, based on the supplied brief after main 0938dd2.
No merge, default-branch push, deployment or live-account change was made.
