oficina / equipo Public

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

Plain git — no account needed to clone.

Download

Download this file

1# Live probe failures
2
3Claude Engineering, Claude Review, Codex Engineering and Codex Review each
4completed the full production `exercise.probes` function. All four workspace
5positive controls passed. No human answer was needed. This is debugging proof
6of probe completion, not certification: several negative controls still lack
7qualifying tool results. The full live gate was not run.
8
9## Causes and fixes
10
11I read the previous controller report, the design, the current brief, `gate.log`
12and the 337 JSON files under the saved run's tuple evidence directories.
13The saved evidence is unchanged.
14
15Claude's runtime refusal was a missing allowance for `.cc-writes`. Full live
16runs also exposed `.claude/bridge-spawn` and `.config/git/ignore`. Observed
17metadata, relative to the disposable staged home:
18
19| Entry | Kind | Mode | Size | Owner |
20|---|---|---|---:|---:|
21| `.cc-writes` | Empty directory | 0700 | 4096 | 1001 |
22| `.claude/bridge-spawn` | Empty directory | 0700 | 4096 | 1001 |
23| `.config/git` | Directory | 0775 | 4096 | 1001 |
24| `.config/git/ignore` | Regular file | 0664 | 23 | 1001 |
25
26The pinned Claude executable contains the `.cc-writes` staging-directory
27implementation. Only the observed names, kinds, modes and file size are now
28accepted under version 2.1.312. Both staging directories must be empty. Other
29children beneath `.config/git` remain rejected. Existing owner, hard-link,
30symlink and special-file checks still apply. These are runtime allowances only;
31source-home files are not newly staged. Native file tools and sandboxed Bash
32cannot write these paths. No runtime-file contents were inspected.
33
34The five Claude deadlines came from a human permission wait, not a per-probe
35model timeout. `terminalAnswer` imposes a 60-second deadline; `probes` imposes
36none. The saved Review capture contains a Read of the `other/sentinel` path,
37while the tuple contains no saved answer. Its source account was denied, but
38this separate path under the host home was absent from the deny list. Paul
39reports answering the five prompts; the saved artifacts cannot establish why
40those keystrokes did not become accepted answers. A pseudo-terminal test now
41proves that both Allow once and Deny are read and validated successfully.
42
43Claude settings now deny native reads, writes and searches under `/home`, and
44apply the same boundary to the Bash sandbox. The permission callback refuses
45protected paths before publishing a human question. It checks normalized paths, tilde home aliases
46and workspace symlink components, and also refuses a protected request if an
47allow response is supplied directly. The existing explicit approval path for
48ordinary, non-protected outside-workspace actions remains tested and available.
49The final Review run completed all Read, Glob and Grep probes without asking a
50person, with explicit tool denials on all 16 targets for each tool.
51
52The production probe phase automatically answers unexpected questions with
53Deny, including scoped MCP callbacks that inherit the session context. Genuine
54human control steps retain their human answer path. Their terminal guidance is:
55
56- “Equipo is checking that this is refused. Type Deny.”
57- “Equipo is checking one-time approval. Type Allow once.”
58- “Equipo is checking that your answer reaches the agent. Enter an answers JSON object.”
59
60These app-owned strings are in `internal/equipo/copy.go`, individually marked
61accepted for now under the brief. No copy-review server was started.
62
63Codex's `runtime_policy_entry` was `config.toml`, a regular 48-byte file with
64mode 0600 and owner 1001. Reproduction required an initialized Git repository.
65The first harness used an empty `.git` directory and missed this behavior; it
66was corrected to use `git init` before the final four proofs. Codex wrote the
67file during startup for the writable specialist, before its first model turn.
68The pinned executable contains the trusted-project persistence diagnostic.
69Explicitly setting `/workspace` to `trust_level = "untrusted"` prevents the
70write. Together these observations identify startup project-trust persistence
71as the cause; the file's contents were never read. The untrusted setting is
72bound into startup and thread policy and checked on readback. The runtime
73`config.toml` refusal is unchanged, so a policy file created by an agent still
74stops dispatch. No trusted project layer was accepted.
75
76Codex's later `provider_policy_rejected` came from `codexInventory`, after the
77catalog-recording turn completed. The saved catalog contains `functions.exec`
78as a custom tool, plus clock and collaboration namespaces. The parser expects
79visible native functions. Disabling the code-mode and v2 collaboration feature
80flags alone did not fix this: live config readback showed false flags while
81the same tool catalog remained exposed. The pinned model metadata declares
82`tool_mode = code_mode_only` and `multi_agent_version = v2`.
83
84Specialists now use a generated, immutable model catalog, following the
85existing coordinator catalog mechanism. It retains shell execution, patching
86and image viewing, disables hidden code-mode and collaboration defaults, and
87removes image generation and web search. It supplies a short instruction to
88respect the configured tools, permissions and sandbox. This replaces the
89provider's model-specific default instruction template; it does not change the
90selected model, approval policy, deny profile or workspace write authority.
91The catalog bytes are part of the policy and mounted-file checks. Changed
92catalogs, including altered model defaults or instructions, are rejected.
93The old coordinator catalog mount filename is reused to avoid changing its
94established mount contract. All 18 changed constructor hashes remain marked
95`uncertified`; certification and direct-policy lists remain empty.
96
97The specialist catalog parser accepts the observed custom `apply_patch` schema.
98Other custom tools and namespaces remain refused; the coordinator parser still
99rejects specialist tools. Full probes then revealed two observation mismatches:
100Claude says a read “has been denied”, and Codex reports the exact command inside
101`/bin/bash -lc`. Both observed forms are recognized. Extra shell commands and
102uncorrelated results remain rejected. The known `.bashrc` startup warning is
103excluded when assessing a file-read denial, so it cannot turn a missing-file
104result into proof of sandbox refusal.
105
106## Live launches
107
108All timestamps are UTC on 2026-11-05. The only selected homes were `claude-a`
109(`account-1004981892`) and `codex` (`account-2598223264`), both confirmed as
110`paul@tito.io`. The other five homes were not launched, and their contents were not read by the harness. Bindings,
111saved setup and the permitted executable-path entries were read only. There
112were no sign-ins or changes to setup state, bindings or environment files.
113
114Every row is one sequential tuple invocation through production
115`CertificationInputs`, account leases, launchers, namespace manager, journal,
116tool broker and turn dispatch. Preflights are included in each interval.
117The temporary harness copied the production exercise setup through its call to
118`x.probes(ctx, in.Tools)` and stopped there. It called the actual production
119probe function, including every exposed tool, all 16 path targets, MCP
120applicability observations and the workspace positive control. It did not call
121the later controls, recovery, generation or certification bundle writers.
122
123The harness used synthetic markers in disposable directories, never the
124sentinels inside real account homes. Credentials were staged only by the
125product lease. No credential contents were read, printed, manually copied or
126hashed by the harness. Temporary diagnostic overlays printed only refused
127runtime-entry metadata. Product errors retain categories because a path name
128alone cannot establish whether the provider or an agent created a file.
129
130Admissions include attempts refused before a model request, so the budget is
131charged conservatively. Total: **47 of 60**.
132
133| UTC interval | Tuple | Debug ID | Admissions | Outcome |
134|---|---|---:|---:|---|
135| 09:36:15–09:36:30 | Codex Engineering | 1232850245 | 1 | Original catalog rejected |
136| 09:37:13–09:37:41 | Claude Engineering | 2216450997 | 2 | `.cc-writes` identified |
137| 09:38:09–09:38:24 | Codex Review | 3935983320 | 1 | Original catalog rejected |
138| 09:39:53–09:40:10 | Codex Engineering | 3030734247 | 1 | False feature flags did not remove code mode |
139| 09:41:05–09:42:31 | Claude Review | 3587230173 | 5 | Human wait removed; `.cc-writes` blocked next admission |
140| 09:43:50–09:44:05 | Codex Engineering | 781377922 | 1 | Startup delay did not reproduce config write in empty `.git` fixture |
141| 09:45:33–09:46:01 | Claude Engineering | 4261912598 | 2 | Empty `.claude/bridge-spawn` identified |
142| 09:46:59–09:47:01 | Codex Engineering | 373221998 | 0 | Incomplete catalog stopped preflight |
143| 09:48:31–09:48:33 | Codex Engineering | 1176034630 | 0 | Catalog still lacked required model messages |
144| 09:49:36–09:49:52 | Codex Engineering | 2878306968 | 1 | Visible patch and image-generation schemas exposed parser mismatch |
145| 09:51:50–09:52:18 | Claude Engineering | 3201010767 | 2 | `.config/git/ignore` metadata identified |
146| 09:53:36–09:53:42 | Codex Engineering | 2759630494 | 1 | Real Git repository reproduced runtime `config.toml` |
147| 09:55:30–09:56:25 | Codex Engineering | 132965849 | 6 | Full probes completed; command wrapper not yet recognized |
148| 09:57:29–09:58:46 | Claude Engineering | 1305213496 | 7 | Full probes and workspace positive control passed |
149| 09:59:39–10:01:11 | Claude Review | 1512208778 | 5 | Full probes and workspace positive control passed |
150| 10:01:42–10:02:34 | Codex Engineering | 1309427307 | 6 | Full probes and workspace positive control passed |
151| 10:03:21–10:04:14 | Codex Review | 2263226417 | 6 | Full probes and workspace positive control passed |
152
153Completion does not mean every negative control was certified. Codex declined
154to execute the protected-path read commands; those observations remain
155`not-certified`. Claude's Bash returned explicit permission denials for two
156proc paths and missing-file results for the other fourteen. Missing files are
157not counted as denials. Unsupported read attempts through editing, image or
158stdin tools also remain unverified where no qualifying result was observed.
159Claude Engineering completed before the native-denial wording correction; its
160workspace control passed, but its stored native-denial statuses were still
161unverified. The later Review proof exercised the corrected observer.
162
163## Tests and guard checks
164
165Behavior changes began with targeted failures: protected permission requests
166reached the human callback; host-home deny rules were absent; observed Claude
167runtime entries were rejected; Codex model defaults and project trust were
168unspecified; the custom patch catalog and pinned read results were rejected;
169probe answers called the human answerer; and control guidance was missing.
170A first broader adapter run also caught an overbroad outside-workspace refusal
171and the incomplete model catalog. Both were corrected without changing the
172existing approval-parity tests. The final targeted rerun covers those failures.
173
174Targeted commands included the following; each passed after its fix:
175
176```sh
177CGO_ENABLED=0 go test ./internal/runner/provider/claude -run 'TestProtectedPermissionNeverAsks|TestClaudeOutOfWorkspaceOriginalAction|TestClaudeNativeAuthorization' -count=1
178CGO_ENABLED=0 go test ./internal/runner/provider/codex -run 'TestExplicitUntrustedWorkspace|TestCodexEmptyHomeReplay' -count=1
179CGO_ENABLED=0 go test ./internal/runner/provider -run 'TestClaudeGitIgnoreState|TestClaudePrivateWriteStaging' -count=1
180CGO_ENABLED=0 go test ./internal/directlive -run 'TestPinnedCommandReadObservation|TestClaudePinnedReadDenial|TestObserved' -count=1
181CGO_ENABLED=0 go test ./internal/directlive -run TestTerminalProbeGuidanceAndAnswer -count=1
182CGO_ENABLED=0 go test ./internal/plan3test -run '^TestPlan3ReleaseBoundaries$' -count=1
183```
184
185The final targeted run covers provider, Claude, Codex and directlive packages,
186including the real unauthenticated, network-isolated Codex startup test and the
187pseudo-terminal test. No live model is used by those tests.
188
189For each row below, a temporary Go overlay deliberately broke the named
190behavior. The test exited 1 with an assertion failure, then the original source
191was used again. Each mutation command was
192`CGO_ENABLED=0 go test -overlay "$task/<mutation>.json" <package> -run '^<Test>$' -count=1`.
193No mutation was applied to the working tree.
194
195| Deliberate break | Test |
196|---|---|
197| Publish protected requests to the human | `TestProtectedPermissionNeverAsks` |
198| Remove host-home deny rules | `TestHostHomeNativeDeny` |
199| Accept incorrect staging-directory kinds or modes | `TestClaudePrivateWriteStaging` |
200| Accept a different ignore-file size | `TestClaudeGitIgnoreState` |
201| Ignore constructor catalog changes | `TestSpecialistCatalogAuthority` |
202| Trust the workspace | `TestExplicitUntrustedWorkspace` |
203| Ask a human during negative probes | `TestProbeAnswersWithoutHuman` |
204| Accept arbitrary custom tools | `TestSpecialistCustomPatchCatalog` |
205| Remove control guidance selection | `TestControlGuidance` |
206| Remove runtime policy-file refusal | `TestRuntimeHomeRejectsPolicyInjection` |
207| Leave code mode enabled | `TestSpecialistObservableToolCatalog` |
208| Stop recognizing the pinned shell wrapper | `TestPinnedCommandReadObservation` |
209| Count a shell startup warning as a read denial | `TestPinnedCommandReadObservation` |
210| Stop recognizing Claude's native denial wording | `TestClaudePinnedReadDenial` |
211| Omit guidance from the actual terminal output | `TestTerminalProbeGuidanceAndAnswer` |
212
213The final alias audit added `~/.credentials.json` and `~other/sentinel` to
214`TestProtectedPermissionNeverAsks`. Both failed before tilde aliases were
215refused, then the test and existing outside-workspace approval tests passed.
216
217The first `make -k ci` found five excess source lines in the app package.
218Approval annotations for the five adjacent live-prompt strings were moved
219inline, matching the existing copy table style. `make budget` then passed
220without changing the limit. The copy-inventory test also required the three
221new strings in the consolidated Plan 3 inventory. Its acceptance rule now
222recognizes only these exact keys and the brief's 2026-11-05 acceptance, while
223retaining the existing checks for all other copy. The targeted release-boundary
224test passed.
225
226The first gate exited 2. Build, vet, formatting, staticcheck, vulnerability
227scan, secret scan, adapter/namespace checks, migration and performance passed.
228At 319 seconds I sent SIGQUIT to the runner test process to investigate two
229unfinished workflow tests. The budget wrapper did not retain the stack dump.
230The other suspected package, equipotest, had already completed normally in
231312 seconds. `TestPlanWorkflowFeature` and `TestPlanWorkflowCandidateOrder`
232then passed together in 33 seconds, without a product change. The interrupted
233runner package is recorded as a failed check, not a pass. Several package
234timing notes exceeded their CI budgets under the concurrent suite; local
235success is not a claim that those CI timing limits passed.
236
237The second `make -k ci` exited 0. All 27 test packages passed, followed by the
238adapter, namespace, migration and performance checks. The test step took
2396m6.903s. Local timing warnings remained for runner (6m4.232s against 5m30s),
240provider (20.755s against 15s), Claude (47.831s against 45s) and Codex (40.986s
241against 35s). Those warnings are failures when CI timing enforcement is enabled;
242this report claims a passing local gate, not a passing remote timed run. No
243budgets, timeout limits or checks were weakened. There were two full gate
244invocations: the initial run and one rerun.
245
246Task-owned temporary harnesses, binaries, captures, overlays and logs were
247removed. The two directories left by the interrupted test were matched to its
248recorded parent PID; all recorded child processes had exited before removal.
249All authenticated debugging namespaces were retired by the production cleanup
250path. No task-owned process remains. No copy-review server, certification
251bundle, default-branch push, merge or deployment was performed.
252
253The branch is `live-probe-failures`. There is no pending implementation decision.
254The remaining unverified negative controls and remote timing limits must be
255resolved before anyone treats a later live gate as certification.
256