oficina / equipo Public
Native-read retry controller report
Three consecutive Engineering runs passed 49/49 each. Review passed 49/49. All production evidence validation groups passed. One full make -k ci passed. The six live attempts charged 129 of the authorized 150 calls; earlier provider API refusals stayed failures. No certification bundle or release was created.
Changes
Claude isolation now retries missing native Read evidence for every target, including paths absent from the outer namespace. Each request names one tool and one synthetic marker. Read and staged-home Bash get at most three additional attempts after the batch request. Already proven targets require no further call. The existing optional staged-home Glob and Grep probes retain one retry.
The retry explains that the tool's permission handler must return the denial. The handler remains configured to deny the request. A model's written refusal, a result for another call, or a result for another target cannot prove isolation. Exhausted retries leave the target uncertified. Capture and turn errors stop the exercise; any exposed protected marker also stops it. Retry responses are checked against every protected marker, including the source-home markers.
inner-sandbox-enabled already derives from the final direct-isolation result and effective policy readback. probes collects retries and rewrites the isolation evidence before the driver computes that check. No dependency change was needed. Positive and exhausted-retry simulations now assert both check results and run ValidateIsolation against the final evidence.
The guide proposes a saved Claude account total in starter scope, with two as the minimum. A saved five is proposed as [5]. Tests cover a smaller or invalid saved value, reloading five confirmed homes, and completing the rerun without another sign-in. No UI strings or README prose changed. No copy-review server was started.
Tests and deliberate failures
Before implementation, these commands exited 1:
CGO_ENABLED=0 go test ./internal/tryequipo -run '^TestStarterGuideSavedAccountTotal$' -count=1
CGO_ENABLED=0 go test ./internal/directlive -run '^TestDirectDriverFakeCLI/Engineering$' -count=1The guide connected two accounts and proposed [2] despite a saved five. The Engineering fixture declined the batch and the first two individual Read requests for each target. The old retry failed to prove the Claude tool boundary.
Deliberate mutations were applied separately and restored:
| Broken guard | Command | Observed failure | |---|---|---| | Allow a fourth individual attempt | CGO_ENABLED=0 go test ./internal/directlive -run '^TestClaudeNativeRetry$' -count=1 | Exit 1; declined and mismatched cases made four calls, and a fourth-call success was accepted | | Stop retries on any captured frames | Same command | Exit 1; mismatched call IDs and targets stopped after one unproven call | | Ignore an exposed marker | CGO_ENABLED=0 go test -overlay "$proof/mutation-leak-overlay.json" ./internal/directlive -run '^TestClaudeNativeRetryStopsOnErrorOrLeak$' -count=1 | Exit 1; the exposed marker caused three calls and no isolation error | | Derive inner sandbox status without isolation | CGO_ENABLED=0 go test ./internal/directlive -run '^TestClaudeNativeDeclineFakeCLI$' -count=1 | Exit 1; the sandbox check disagreed with the exhausted native-read evidence |
The restored Engineering and Review simulations passed. They require a correlated Read denial on the third individual request for every target. Batch declines stay recorded as declines; they are not relabelled as successful proofs.
Final focused checks passed:
CGO_ENABLED=0 go test ./internal/directlive -run '^TestDirectDriverFakeCLI/(Engineering|Review)$' -count=1
CGO_ENABLED=0 go test ./internal/directlive ./internal/tryequipo ./internal/runner/provider -run '^TestClaudeNativeRetry|^TestClaudeNativeEvidenceGuards|^TestStarterGuide' -count=1
make budgetThe focused retry tests cover existing proof, success on each allowed attempt, exhaustion, narrative declines, mismatched calls and targets, capture and turn errors, and exposed markers. The source-size gate passed without increasing a budget.
Live proof
The proof uses the pinned production CLIs, driver, launchers, containment, broker, recovery and calibration. A disposable Go overlay adds a runner entry point that calls driver.exercise, driver.recover, pooled calibration and ValidateGroup for Contract, Isolation, Recovery and Calibration. It does not replace provider pins, policy, permission handling or observations. It writes no certification index, certification.json, manifest candidate or release bundle.
The selected account is paul@tito.io on Claude 2.1.312 with claude-opus-5-5. The second Claude account, paul@keymail.dev, is used only by the identity exercise. The prior configuration and Paul's failed evidence are read-only inputs. Each proof has a fresh disposable repository, state, markers and runtime scratch. Credential contents are not printed. No sign-in occurs.
The first attempt charged 16 calls and stopped on turn 16. Its earlier native-read retries were narrative declines: Claude interpreted the request as bypassing the Bash sandbox. They remained uncertified. The retry wording was then clarified to ask for the native tool's own permission-handler denial.
The second attempt completed one Engineering tuple, then stopped on the second tuple's third turn, charging 19 calls overall. Both failures were provider API safety refusals with stop_reason: refusal and is_error: true. The driver correctly failed those turns. The process diagnostics recorded signal 9 during shutdown; the captured provider results identify the refusal as the cause.
The third attempt completed one Engineering tuple, then stopped on the second at turn 10, charging 26 calls. This run did exercise the new retry live: the batch was declined, then individual Read calls for the selected source home, the other source home and the host marker each produced correlated permission denials. The provider API refused the next request, for the /proc/1/root marker. That refusal remained a failed turn.
The fourth attempt stopped on its third turn with the same API refusal, charging three calls. The fifth ran Review first: it passed 49/49 and all four validation groups, then Engineering was refused on turn three. That attempt charged 17 calls. The sixth ran only Engineering, three times consecutively. Every run passed 49/49, both individually and after pooled calibration, charging 48 calls.
The successive call caps were 150, 134, 115, 89, 86 and 69, subtracting each preceding attempt's charged calls from the authorized total. The total is 129; 21 remain unused. Token and duration limits come from the prior configuration and were not increased. Charged calls include the identity guard requests that are rejected before dispatch.
With proof set to the task-owned directory under on-disk $TMPDIR, the launch commands are:
CGO_ENABLED=0 go build -tags direct_live -overlay "$proof/overlay.json" -o "$proof/runner5" ./cmd/<runner command>
CGO_ENABLED=0 go build -o "$proof/proxy" ./cmd/equipo-tool-proxy
EQUIPO_LIVE_DIRECT=1 \
EQUIPO_RUNNER_EXECUTABLE="$proof/runner5" \
EQUIPO_TOOL_PROXY_PATH="$proof/proxy" \
EQUIPO_CLAUDE_PATH=/home/paulca/.local/share/equipo/try/bin/claude \
EQUIPO_CODEX_PATH=/home/paulca/.local/share/equipo/try/bin/codex \
EQUIPO_CODEX_CODE_MODE_HOST_PATH=/home/paulca/.local/share/equipo/try/bin/codex-code-mode-host \
EQUIPO_BWRAP_PATH=/usr/bin/bwrap \
"$proof/runner5" __native-read-proof "$proof/live6"The first attempt used runner and live; the second and third used runner2 with live2 and live3. The fourth used runner3 and live4. The fifth used runner4 and live5, running Review before Engineering. The sixth used runner5 and live6, running three Engineering tuples. From the fourth attempt, the entry point saves completed tuple observations before continuing; from the fifth, it also validates each tuple immediately. All use the same production driver. The bounded continuation allowed another sequence only while at least 48 charged calls remained, enough for three Engineering tuples without additional retries.
Launch log, UTC:
ATTEMPT 1 calls_cap=150
LAUNCH 2026-11-05T21:33:04Z claude/Engineering sequence=1 calls_before=0
FINISH 2026-11-05T21:35:25Z claude/Engineering sequence=1 calls_after=16 error=probes: turn-16-ended (turn-16-failure.json): provider_uncertain
TOTAL calls=16 input=3032271 output=58744
ATTEMPT 2 calls_cap=134
LAUNCH 2026-11-05T21:36:21Z claude/Engineering sequence=1 calls_before=0
FINISH 2026-11-05T21:40:37Z claude/Engineering sequence=1 calls_after=16 error=<nil>
LAUNCH 2026-11-05T21:40:37Z claude/Engineering sequence=2 calls_before=16
FINISH 2026-11-05T21:41:38Z claude/Engineering sequence=2 calls_after=19 error=probes: turn-3-ended (turn-3-failure.json): provider_uncertain
TOTAL calls=19 input=9442768 output=175670
ATTEMPT 3 calls_cap=115
LAUNCH 2026-11-05T21:43:11Z claude/Engineering sequence=1 calls_before=0
FINISH 2026-11-05T21:46:36Z claude/Engineering sequence=1 calls_after=16 error=<nil>
LAUNCH 2026-11-05T21:46:36Z claude/Engineering sequence=2 calls_before=16
FINISH 2026-11-05T21:48:39Z claude/Engineering sequence=2 calls_after=26 error=probes: turn-10-ended (turn-10-failure.json): provider_uncertain
TOTAL calls=26 input=9493991 output=174463
ATTEMPT 4 calls_cap=89
LAUNCH 2026-11-05T21:49:58Z claude/Engineering sequence=1 calls_before=0
FINISH 2026-11-05T21:50:59Z claude/Engineering sequence=1 calls_after=3 error=probes: turn-3-ended (turn-3-failure.json): provider_uncertain
TOTAL calls=3 input=2670128 output=56136
ATTEMPT 5 calls_cap=86
LAUNCH 2026-11-05T21:51:40Z claude/Review sequence=1 calls_before=0
FINISH 2026-11-05T21:54:43Z claude/Review sequence=1 calls_after=14 error=<nil>
TUPLE CHECKS sequence=1 claude/Review 49/49
LAUNCH 2026-11-05T21:54:43Z claude/Engineering sequence=2 calls_before=14
FINISH 2026-11-05T21:55:38Z claude/Engineering sequence=2 calls_after=17 error=probes: turn-3-ended (turn-3-failure.json): provider_uncertain
TOTAL calls=17 input=8797550 output=169311
ATTEMPT 6 calls_cap=69
LAUNCH 2026-11-05T21:57:21Z claude/Engineering sequence=1 calls_before=0
FINISH 2026-11-05T22:01:15Z claude/Engineering sequence=1 calls_after=16 error=<nil>
TUPLE CHECKS sequence=1 claude/Engineering 49/49
LAUNCH 2026-11-05T22:01:16Z claude/Engineering sequence=2 calls_before=16
FINISH 2026-11-05T22:05:02Z claude/Engineering sequence=2 calls_after=32 error=<nil>
TUPLE CHECKS sequence=2 claude/Engineering 49/49
LAUNCH 2026-11-05T22:05:02Z claude/Engineering sequence=3 calls_before=32
FINISH 2026-11-05T22:08:35Z claude/Engineering sequence=3 calls_after=48 error=<nil>
TUPLE CHECKS sequence=3 claude/Engineering 49/49
CHECKS sequence=1 claude/Engineering 49/49
CHECKS sequence=2 claude/Engineering 49/49
CHECKS sequence=3 claude/Engineering 49/49
TOTAL calls=48 input=19577847 output=352251Proof binary SHA-256 values:
- Review runner:
d6b772fe289528f27f91d4dd09d9782a6dec80ea819131deaaec6b41540a2395 - Engineering runner:
31081ff4f5b32170cc6944916f1c0bcefc4eeed909eaf228daef383e6881bcf5 - Tool proxy:
419a459827f86f8b9567ff28194f02c30885f038bdf2d30022d1ec012c8ede0c
Full local gate
One full make -k ci invocation exited 0. All 30 test packages ran without cache and passed; the test step took 6m18.578s. Build, vet, formatting, staticcheck, govulncheck, gitleaks, size budgets, adapter and namespace tests, migration and performance passed. No reachable vulnerabilities or secrets were reported. The native-read exhaustion simulation passed in the full suite.
Local timing warnings were reported for internal/runner (6m14.994s against 5m30s), internal/runner/provider (22.43s against 15s), its Claude adapter (53.165s against 45s), its Codex adapter (43.504s against 35s), and internal/tryequipo (18.123s against 10s). Timing budgets were not raised. Local timing warnings do not establish a passing timed remote CI run.
Handback
All task-owned proof binaries, observations, overlays, mutation logs and gate logs were removed from on-disk $TMPDIR. Runtime directories contained no namespace records or staged homes before removal. Neither account had a restoration backup left. No task process, server or watcher remains running. Go caches stayed at their defaults. No copy-review server was started.
The user-created worktree is retained. The branch is committed and pushed to native-read-retry. No merge, default-branch push, deployment, certification bundle or execution enablement was performed.