Repository navigation
Description
Context
While continuing #959 / PR #2070, the two interactive policy-write boundary cases failed locally at attacks: expected one Claude / two Pi ATTACK-RESULT records, received zero. An independent clean control at main 8c4d191e761bec31f3267d3b612a77712692f54a reproduces the same failures without the voice changes.
The fixture selects the host interpreter through Bun.which("python3") and embeds that absolute path in generated worker code (tests/fixtures/policy-boundary-probe.ts:217, :253-254). When PATH selects a tool-manager installation beneath the host home directory, the real confined shell reports exit 127 and that interpreter path as unavailable. The outer fixture itself exits successfully; the meaningful nonempty attack assertion correctly rejects the missing probe. The interpreter file exists on the host, so host-only discovery is insufficient evidence that it is usable inside the worker.
A command-scoped PATH choosing system Python reaches and passes both Claude and Pi interactive attack assertions with all existing guards intact. Complete control results are retained with the source PR. No production boundary or assertion has been changed. This differs from #1710's root/nested-procfs mount failure: this reproduction runs as an ordinary user and reaches the worker and the tool result.
Scope
Make the offline integrated fixture select or qualify an interpreter that actually runs inside its existing confined worker. Keep the execution and protected-policy assertions meaningful and retain a clear diagnostic for an unavailable interpreter.
Acceptance criteria
- Reproduce with PATH preferring a host-home Python and retain the actual confined tool result plus the missing-attack assertion.
- Qualify a worker-visible interpreter or fail explicitly before claiming attack execution; test the unsupported interpreter path deliberately.
- Run both real Claude and Pi interactive cases and assert nonempty descriptor/mapping/proc attack receipts, unchanged policy bytes and membership, and the permitted neighboring edit.
- Preserve offline namespaces/preloads, worker mounts, native write refusals and the existing attack assertions. Do not expose the host home directory or treat exit 127 / absent records as passing proof.
Out of scope
Production worker mount policy, provider behavior, global PATH configuration, root-host support, changing the voice adapters or weakening assertion/deadline guards.
Contract impact
Fixture-only; no product contract or delivery change selected. Source/citation verification and implementation scoping are recorded below.
Verification
Unchanged main control: 26 passed / two interactive failures across the policy boundary and runtime-record files. Rebased voice branch: 149 passed / the same two interactive failures across eleven files. A retained real fixture JSON identifies the failing shell result as exit 127 for the host-home interpreter. Repeat with PATH selecting system Python, without changing source, native mounts, namespace/preload guards or assertions; retain both complete adapter outcomes.
Triage 2026-10-17 at main 9d5cd00b7646ffee951c7a29a38717989f7fd868: both host-side interpreter selections are still present at the cited fixture lines. The retained real-worker exit-127 result and command-scoped system-interpreter control establish the failure boundary without a new worker authority or product ruling. Scope is the existing offline fixture's interpreter qualification and truthful unsupported-path diagnosis; the brief is ready. Preserve p2. This cross-adapter fixture repair does not deliver the voice outcome; it is part of #736's host-isolation outcome.
2026-10-24: attached natively to #736 after #736's browser children moved to the new nested epic and freed capacity; replaced the earlier standalone-by-reference wording.
Activity