Repository navigation
Description
Blocked by #2834
Context
#2834 skips the journal observation after a call proven read-only in its actual execution path, from evidence the backend reports through the server-only StartTurnRequest.toolExecution. The Claude backend reports none, so every Claude result is observed as before. Its built-ins (Read, Grep, Glob) run in the worker next to project settings hooks and the brain's project MCP server (mcp__brain__*), which can run brain-owned code on any tool event; its host bridge tools (mcp__brain-ui__*) run in the host, but the same worker-side hooks still run around them.
Scope
- Establish when a Claude worker provably runs no project hook and no brain-owned MCP code for a call: which settings sources the hosted turn loads, whether the CLI reloads them mid-session, and what the host can verify.
- Report
host_bridgeformcp__brain-ui__reads, andworker_readfor built-in reads, only under that proof.
Out of scope
- Any change to the journal schedule itself, which ui-server: a full native journal observation runs after every tool result and delays the next request (230–860 ms per call) #2834 settled.
Acceptance criteria
- The proof conditions are recorded in
docs/decisions/governed-writable-workers.mdbeside the ui-server: a full native journal observation runs after every tool result and delays the next request (230–860 ms per call) #2834 classification. - A Claude call with a project hook configured, or through the brain's project MCP server, reports no evidence, by a test that fails if it does.
- A proven Claude read skips its observation on the native fixture, measured with
scripts/prove-native-host.ts --observation-timing.
Verification
bun run test packages/ui-server packages/ui-backend-pi packages/ui-backend-claude, and bun scripts/prove-native-host.ts --observation-timing for the backend changed.
Contract impact
None expected: the evidence travels in the existing @internal StartTurnRequest.toolExecution.
Follow-up from #2834.
Evidence and conservative completion
#2834 is open: StartTurnRequest.toolExecution and the proposed evidence schedule are implementation-branch inputs, not a current-main API claim. Start from its delivered classification and verify the exact installed runtime/loader source; model documentation or a configured flag alone is not proof. Cover all settings sources, reload paths and code introduced during a turn. Missing or mutable evidence conservatively retains observation.
If the runtime cannot prove a stable empty code/hook set, a documented negative conclusion with source evidence is an acceptable investigation outcome; do not emit read evidence or weaken capture to meet latency targets. Any qualifying implementation must include a negative mutation proving configured or later-loadable code cannot be classified as a proven read. No provider-facing history change or new public seam is authorized.
2026-10-25 triage at main 827861e1fa71cd4a26b52f1ef0f96b849381acdf: Completed the conservative, source-verifiable investigation/conditional implementation brief and documented a valid negative outcome. Added the real #2834 prerequisite; no capability or hook-free runtime proof is assumed. Preserve the existing priority.
Activity
schlessera commentedon Oct 25, 2026
2026-10-25 triage at main
827861e1fa71cd4a26b52f1ef0f96b849381acdf: Completed the conservative, source-verifiable investigation/conditional implementation brief and documented a valid negative outcome. Added the real #2834 prerequisite; no capability or hook-free runtime proof is assumed. Preserve the existing priority.schlessera commentedon Oct 25, 2026
Unblocked: #2834 is closed, so
scripts/sync-project.tsis removing theblockedlabel.schlessera commentedon Nov 15, 2026
Claimed for implementation. Claim token:
claim-71d40e77. Branch:docs/2875-claude-tool-evidence.path: docs/decisions/governed-writable-workers.md is also changed by open PRs #4002, #4018, #4041, #4050, #4056, #4060; the rest are closure reports only
docs(backends): record why Claude reports no tool execution evidence (#…
schlessera commentedon Nov 16, 2026
Merged in #4074 as
4541b40acthrough the integration lease (orchestrator merge queue for 0.45.0). Candidate confirmation passed on the exact head; the squash's own main run carries the post-merge heavy categories.