oficina / equipo Public

Clone
git clone https://amadan.net/oficina/equipo

Plain git — no account needed to clone.

Download

Download this file

1# Certification gaps, 2026-11-05
2
3The certification checks now require successful workspace tool controls and
4captured Claude native-read refusals. Hook events are requested in Claude's
5launch policy. The evidence records the provider launch separately from the
6isolation probe launch. All 18 policy entries remain uncertified. No live model
7request, account-home inspection, certificate, merge or deployment was made.
8
9## G1: tool routing
10
11Workspace routing requires `pass`; `declined` is accepted only outside the
12workspace. Zero exposed tools fail. The driver, inventory check, Go evidence
13validator and Python release checker enforce these rules. Claude's hidden
14permission callback is no longer incorrectly required in its exposed inventory.
15The release checker also includes the existing candidate/render tool pair.
16
17Before launching any provider, the disposable routing setup selects the
18repository's actual HEAD commit or creates a real empty commit object if the
19repository is unborn. It moves no branch and runs no hook. Candidate, render
20and review submissions reuse that hash. The setup also supplies concrete
21reproduction input and a workspace source digest for answer submissions. The positive turn permits human
22approvals; the negative turn still denies them. Native workspace controls now
23need these approvals because of G3.
24
25Codex `write_stdin` gets a process waiting for input. Its proof requires the
26observed process-start call, returned session ID, matching input call, echoed
27marker and successful process exit. A completed call without that setup cannot
28pass this control.
29
30The fixed prerequisite list identifies `read_mcp_resource`: the pinned Equipo
31server exposes tools and no resources. The prompt first asks for available
32resources. A missing prerequisite is recorded as `not-exercisable` with its
33reason and still fails certification. This change grants no unreviewed routing
34exemptions. If the live catalog exposes this unusable tool, the controller must
35review an explicit exclusion or provide a real resource before certifying that
36tuple. A model decline cannot make it pass.
37
38## G2: hook visibility
39
40The installed Claude executable matched the pinned SHA-256
41`4f4178ce41d83e23341ebfbaecdbcf8ea6bf7baea0690025abe49eeec3a5d01d`.
42Read-only inspection of that executable found the `--include-hook-events`
43option registration and the stream emitters. No provider process was needed.
44
45The emitters use `type: system` and subtypes `hook_started`, `hook_progress`
46and `hook_response`. Each carries `hook_id`, `hook_name` and `hook_event`.
47Progress also carries stdout, stderr and output; response adds outcome and an
48optional exit code. These observations agree with the existing captured-event
49fixtures. The checker continues to reject every `hook_` subtype, including events
50found after resume or recovery.
51
52The flag is part of the constructed argv and policy hash. A regression test
53removes it, rebuilds the policy, checks that the hash changes, and requires the
54launcher to reject the changed policy. All nine Claude inventory hashes were
55updated; no entry gained certification authority.
56
57## G3: observed native isolation
58
59For every protected target, including the workspace symlink, the evidence must
60contain a correlated `Read` call and error result that records permission denial
61or Equipo's callback refusal. Tool names, input paths and call IDs must match.
62Missing calls, unmatched results, successful reads and unrelated errors fail.
63Any claimed `Glob` or `Grep` refusal also requires captured evidence. Their
64absence cannot substitute for the mandatory Read proof.
65
66The former calls to `ProbeNativeReadPolicy` no longer produce certification
67proof. Native workspace allow rules became ask rules, so the existing callback
68can refuse symlink paths before asking the person. The callback fixture verifies
69that refusal and that it cannot be approved. A successful Read through the
70symlink remains a certification failure. Whether pinned Claude applies these
71rules as intended still requires the separate live verification below.
72
73## G4: evidence and funding
74
75`NamespaceManifest` now identifies the provider's own recorded launch. The
76probe's separate manifest hash is retained as `probe_namespace_manifest`.
77`provider-launch.json` binds the attempt key, launch policy hash and namespace
78manifest. The release checker compares these fields with the record, then
79compares the isolation record with its hashed artifact: targets, reports,
80wrapper, native proofs and provider-launch reference must agree.
81
82Each staged marker has a fresh random name and independent random contents.
83The selected-home path is `/home/runner/<random marker>`, with matching proc-root,
84self-root and workspace-symlink aliases. The account validator accepts only a
85small regular marker file with the exact name grammar, private permissions,
86single link and current owner. Source markers are not copied into the staged
87home. Model leak detection includes the new staged contents.
88
89The currency verdict is rewritten after the complete journal scan at shutdown
90and again after recovery. The final pooled calibration still runs afterward.
91Malformed provider frames get a separate `provider-frames-json` failure instead
92of being counted as evidence of a currency cap. Display costs remain allowed.
93
94Output funding is now 23 × 50,000 = 1,150,000 tokens per job, project headroom
95and team headroom. A 50,000-token reservation covers twice a 25,000-token output
96turn, allowing for reasoning-heavy Codex turns. The calibration proposal uses
97274 completed turns plus 34 full reservations: (274 + 34) × 50,000 = 15,400,000
98output tokens, rounded up to 16,000,000. Input remains 50,000,000 for calibration
99and 5,750,000 per job. Calls remain 500 and duration remains 7,200 seconds.
100These are planning allowances, not measured live maxima or automatically raised
101limits. Old default values are re-proposed; custom values remain selected and
102the existing funding confirmation still applies.
103
104## G5: verification
105
106Failing tests preceded the fixes. Initial assertions reproduced workspace
107acceptance of declines, missing hook-event argv, workspace callback bypass,
108computed native proof without a captured call, unrelated namespace hashes,
109source-marker reuse, malformed-frame currency classification and old output
110funding. The process-routing and staged-home integration regressions also failed
111before their fixes.
112
113Focused checks used `CGO_ENABLED=0 go test` with these packages and test groups:
114
115- `./internal/directlive`: WorkspaceRouting, RoutingControls, ToolRouting,
116 CodexRouting, CodexWriteStdin, ClaudeNativeIsolation, StagedMarker,
117 FinalCurrency, NonJSON, Subscription, ClaudeHook and ClaudeRecoveryHook.
118- `./internal/runner/provider`: Routing, DirectLiveGate, DirectIsolation,
119 Isolation, ClaudeNativeEvidence, ClaudeIsolationRejectsComputedProof,
120 NamespaceManifestMustMatchProviderLaunch and RuntimeRandomIsolationMarker.
121- `./internal/runner/provider/claude`: HookEvents, HookEventFlagBoundToPolicy,
122 NativeIsolationPolicy and ProtectedPermissionNeverAsks.
123- `./internal/tryequipo`: FundingProposedDefaults.
124- `./internal/runner/provider/providertest`: ReleaseIsolationGuards.
125- `./internal/equipotest`: RunnerReleaseContract.
126- `./internal/release`: PlanWorkflowReleasePolicyInventory.
127
128The complete fake Engineering exercise passed in 57.893 seconds. Its fixtures
129now use an initialized disposable Git repository and emit routing results and unique
130native-call IDs. These synthetic observations remain ineligible as live evidence.
131
132Seventeen temporary Go source overlays deliberately broke the guards. Each final
133mutation command returned exit 1 with an assertion failure, using
134`CGO_ENABLED=0 go test -overlay <overlay> <package> -run '^<test>$' -count=1`.
135
136| Deliberate break | Failing regression |
137| --- | --- |
138| Accept a workspace decline in the parser | TestWorkspaceRoutingCannotDecline |
139| Accept a declined workspace control in the inventory | TestRoutingControls |
140| Accept an empty routing inventory | TestRoutingControls |
141| Accept a workspace decline in a certificate | TestRoutingWorkspaceDeclineFails |
142| Omit hook-event argv | TestHookEventsAndNativeAskPolicy |
143| Remove the workspace ask rules | TestHookEventsAndNativeAskPolicy |
144| Ignore the native result's call ID | TestClaudeNativeEvidenceGuards |
145| Accept computed native status without frames | TestClaudeIsolationRejectsComputedProof |
146| Ignore the provider namespace-manifest match | TestNamespaceManifestMustMatchProviderLaunch |
147| Reuse source bytes as the staged marker | TestStagedMarkerIsIndependent |
148| Classify non-JSON as a currency cap | TestNonJSONIsNotCurrencySignal |
149| Skip the final currency scan | TestFinalCurrencyIncludesLateFrames |
150| Ignore malformed frames | TestFinalCurrencyIncludesLateFrames |
151| Accept redacted null frames | TestRedactedMalformedFrameFailsSeparately |
152| Skip candidate creation in an unborn repository | TestRoutingCreatesRealCandidateInUnbornRepository |
153| Restore the old job output default | TestFundingProposedDefaults |
154| Ignore the process-start prerequisite | TestCodexWriteStdinRoutingPrecondition |
155
156The first attempted call-ID mutation still left an unmatched call incomplete,
157so the test correctly continued to pass. The corrected mutation removed the
158correlation guard completely and the regression failed. No production mutation
159was retained. Python tests also reject record/artifact mismatches, launch-record
160mismatches and declined workspace controls while accepting matching fixtures.
161
162The first full `make -k ci` exited 2. Its test step ran uncached in 5m20.794s
163and found stale fixtures in two packages: the expected Claude argv omitted the
164new flag, the workspace parity fixture still expected allow rules, and the
165containment fixture still used the old marker name. Those fixtures now assert
166the intended policy. All other gate lanes passed, including migration and
167performance. Cold boot was 105ms against 500ms. Local timing warnings were
168provider 20.569s against 15s and Codex 38.687s against 35s.
169
170Review also found that the evidence reader represents malformed JSON as null.
171A new failing regression now requires null and other non-object frames to fail
172the separate frame-validity check. The restored targeted checks pass. The
173first permitted rerun exited 0. Its full test step ran 28 packages uncached in
1745m30.886s; all passed. Local timing warnings were provider 20.692s against 15s,
175Claude 45.358s against 45s, and Codex 38.742s against 35s. Performance passed,
176with cold boot at 117ms.
177
178While that rerun was in progress, a failing regression found that the guide
179creates an unborn repository. Candidate setup now creates a real commit object
180before any model starts and reuses it without moving a branch. The regression
181and the complete fake Engineering exercise pass; the latter took 42.396s with
182an unborn fixture repository. The second and final permitted full rerun exited 0 on the final code.
183All 28 test packages ran uncached and passed in 6m7.779s. Build, vet,
184formatting, static analysis, vulnerability and secret scans, reference checks,
185size budgets, provider and namespace checks, migration and performance passed.
186Cold boot was 125ms against 500ms, and every screen stayed within 150ms.
187
188That final run reported timing warnings: runner 6m6.175s against 5m30s,
189provider 21.218s against 15s, Claude 46.454s against 45s, and Codex 39.642s
190against 35s. These are warnings locally and would fail with CI timing
191enforcement enabled. No passing remote gate is claimed. There were exactly
192three full `make -k ci` invocations: the required run and two permitted reruns.
193
194## Live verification after Paul's current run
195
196Run the newly built policy in a separately authorized full gate after the
197current run finishes. Existing results use the old hashes and cannot certify
198this policy.
199
2001. Confirm Claude emits hook events with the new argv and that complete streams,
201 including resume and recovery, contain none under the disabled-hook policy.
2022. Capture actual Read refusals for every protected target, especially the
203 workspace symlink. Confirm a normal workspace Read succeeds after approval.
204 Any symlink success is a real failure; do not override the verdict.
2053. Exercise each exposed tool's positive control, including candidate/render
206 submissions and Codex's running-process input. Resolve the explicit missing
207 resource prerequisite if that tool is exposed. Check outside refusals still
208 occur without a human approval question.
2094. Confirm provider-launch hashes match the saved launch records, random staged
210 markers are distinct from source markers, and both direct and model probes
211 target the staged filename.
2125. Check complete-stream and recovery currency verdicts, and measure actual
213 reasoning output against the proposed funding before certifying any tuple.
214
215No README prose or app-facing copy was changed. No copy-review server was started.
216All task-created scratch files, mutation overlays and logs were removed after
217the results were recorded here. No task process or server remains. The delivery
218branch is `certification-gaps`, based on the supplied brief after main 0938dd2.
219No merge, default-branch push, deployment or live-account change was made.
220