Repository navigation
Description
Initial marker receipt clarification (2026-11-21)
The initial tests directly drove bindings and spawned their marker from the test. They establish the host-boundary logic defect, but are not installed-backend dispatch qualification. The installed Pi probe is now prepared; its local attempt failed 0 pass / 2 fail before inference at the nested worker namespace guard. Hosted Pi proof and guarded installed-Claude proof remain required. No earlier receipt is counted as native qualification.
Blocked by #4313
Native Claude qualification requires the enforced offline boundary in PR #4314. PR #4315 remains draft until guarded installed-backend proof is available; the local Pi nested-worker attempt is unqualified and must be proven in hosted CI.
Out of scope
No change to the independently qualified origin/tunnel proxy admission in #3609, no blanket rejection of a tool's own input collection, and no new trust exemption.
Context
Found during the bug-class audit of #4270's independent review. commitOutwardPlan (packages/ui-sdk/src/server/outward-policy.ts:77-94) recomputes standing authority but treats approved:true as retained exact-input authority. Its shared safetySnapshotRefusal (packages/ui-sdk/src/server/admission-safety.ts:35-41) compares scope, policy hash and authority epoch, but not evidence/trust revisions. Both installed backend paths can await host input collection after the card and before this commit (packages/ui-backend-pi/src/permission-gate.ts:222-225; packages/ui-backend-claude/src/permission-hooks.ts:429-433,578-587).
The source pattern and binding-level counterexample are confirmed at main 63bb400. Real writer/collector tests hold the post-card input phase in Claude hook, Claude callback and Pi; an independent new WebFetch trigger commits during that wait, and the actual offline process marker still executes. All three fail POST_CARD_INDEPENDENT_TRIGGER_CANNOT_REUSE_APPROVAL. The own-input distinction remains required: a tool's own pre-dispatch input signal can legitimately advance the revision, so replacing the comparison with unconditional equality can refuse every otherwise valid approved call. The proxy fix independently binds its exact own occurrence and excludes only that occurrence from the immutable evidence marker; tool admission needs its own causal qualification.
Scope
Qualify the post-card, post-input-collection boundary for both backend per-use outward actions, including non-proxy/legacy paths. Establish whether an independent signal committed or pending during that wait can reuse the card, while the exact tool's own signal remains distinguishable.
Acceptance criteria
- Demonstrate an actual keyless backend dispatch test with a held input-collection or index/lock wait; record whether an independent new trigger or trust revision invalidates the card.
- Prove an otherwise unchanged approved call survives only its own input collection; never ignore unrelated signals from the same origin or operation window.
- If the runtime counterexample exists, fix the shared boundary and every backend call site, with meaningful restored mutations, real dispatch proof and provider-history guards.
- Otherwise record the existing runtime fence that prevents it and a regression that would fail if that fence were removed.
Verification
No API key or external network. Use installed backend keyless harnesses and actual host collection/dispatch, not only a snapshot predicate. Existing local namespace restrictions mean missing runtime proof cannot be called green.
Contract impact
The runtime defect is confirmed. A causal own-input mechanism must preserve unchanged approvals while invalidating independent evidence and trust changes. Any host callback/schema/semantic change follows the safety ADR, append-only provider-history decision and same-commit contract/changeset rules.
Part of #3596; related to #3609. Binding-level reproduction is established; installed-backend qualification remains pending. This is not a disposition rejecting any of #4270's four proxy/publisher findings, which are being fixed in that PR.
2026-11-20: folded held-wait backend reproduction into the specification, removed needs: repro, attached the issue to #3596 and committed it to milestone 0.45.0.
Activity
schlessera commentedon Nov 20, 2026
Claim
safety-epic-followups-20261120, branchfix/safety-epic-followups-20261120, dedicated checkout from main63bb400b31403ee319926d38e223711a9bf0e7e1. Failing-first real writer/collector and held-wait backend tests confirm the issue. Shared proof collisions are being checked; proposed implementation avoids #4270/#4273's source files, with any necessary shared contract edit to be coordinated before review.schlessera commentedon Nov 21, 2026
2026-11-21 receipt clarification: the initial marker was spawned by the test after directly invoking the bindings. Those cases are host-boundary integration evidence, not installed-backend dispatch qualification. The issue body now says so. The installed Pi probe is prepared, but its local attempt is 0 pass / 2 fail before inference at the nested worker namespace guard; hosted proof remains required. Guarded Claude proof is blocked by #4313 / PR #4314, now recorded as a native dependency. PR #4315 stays draft.