Repository navigation
Description
Out of scope
No standing trust rule publication, settings controls, global clear or provider transcript edits.
Context
Part of #3596.
createPolicyProposals (packages/ui-server/src/brain/policy-proposal.ts:91) already protects file publication, and createGovernanceWrites (packages/ui-server/src/governance/event-writes.ts:92) owns durable host evidence. The new review must reference exact occurrence identities rather than clearing by source or timestamp.
Read the reviewed implementation design and requested gpt-6-astra review/disposition. The ADR and implementation plan are now on main. #3600 collection, #3601 immutable verdicts, #3604 bounded history and #3602 live admission are implemented. Source pointers in this readiness refresh were verified against tree-identical source at main 29203c43424f1916e7b5d079db4b97da5dbb3ed4; complete selected candidate and automatic main proof for #3602 are now verified, including both actual provider-history guards and the native backend matrix. ROADMAP.md “What binds future work”, the provider-history decision, G6 and the protected policy-writer boundary apply.
The existing internal prepareSafetyReview and commitSafetyReview (packages/ui-server/src/governance/safety-reviews.ts:75, packages/ui-server/src/governance/safety-reviews.ts:103) retain host-issued handles, body-bound retries, transaction-time expiry, immutable facts and reserved audit capacity. They do not establish a live human or expose a route. createSessionSafetyRoutes (packages/ui-server/src/routes/session-safety.ts:7) and WS safety handlers remain read-only; SAFETY_READ_CAPABILITIES keeps mutation flags false. Reuse this persistence and the existing owner/auth/origin guards rather than a model tool or caller-supplied actor.
The implementation must keep historical retry receipts separate from a fresh aggregate when later input arrives. Recheck live password-mode human authority at the actual queued transaction and response boundary; a prior request principal is not current authorization. Audit adopted canonical history eligibility as well as directly bound collections, preserving retirement/generation fences and individual finalized-only decisions.
Scope
- Expose a bounded owner-only finalized-trigger review endpoint/receipt with exact immutable ID, request-body-bound idempotency and current auth/brain/session identity.
- Resolve only the selected finalized trigger with a committed human verdict; return current aggregate revision and remaining restrictions.
- Keep agents/voice/non-qualified ambient modes read-only and handle auth loss, retirement and duplicate decisions truthfully.
Acceptance criteria
- A live password-mode owner can resolve finalized A while all later B/C stay unresolved; no source/range/session-wide clear is accepted.
- Open streams/tunnels, delayed tool input and unknown completion cannot be resolved; the server enforces this regardless of UI state.
- Delegated agents, model calls, voice, forged card/principal fields, non-qualified ambient modes, revoked owners and another history's IDs cannot mutate.
- Identical retries return the same durable fact; conflicting-body reuse, deletion and changed authority cannot create a new verdict.
- A failed/delayed verdict never loosens admission before commit; only complete detector coverage and zero unresolved entries restores normal.
Verification
Real HTTP/WS principal-boundary and SQLite write-worker fixtures; finalized/open exposure cases, durable verdict restart, conflicting retry, deletion/revocation and A/B/C admission races.
Every behavioral implementation needs meaningful failing-first/mutation receipts and the relevant real runtime/browser proof. Run contribution preflight before opening a PR; missing/cancelled selected hosted proof is not green. No tests may require an API key or external network.
Contract impact
Implement the reviewed optional schema/API/history additions and the relevant effective-taint behavior. Update integration contracts and API reports in the same implementing commit with CONTRACT metadata and a minor changeset. The G6 default/coverage and effective-state semantic break follows the recorded breaking-before-1.0 ruling and breaking label; preserve mixed-version fallback.
Blocked by #3601
Blocked by #3602
Triage 2026-11-05 at main 35217d283b849b5ef81700d5d4c2ec7486405d12: verified source anchors and the published plan/review, retained all still-open output dependencies and existing native parent, and classified this requested but unscheduled work as priority: p2 without inventing a release milestone. The brief is complete with no independent needs gap; agent-ready may coexist with blocked, and this issue remains unpickable until its named outputs exist.
Readiness refresh 2026-11-07 at main 29203c43424f1916e7b5d079db4b97da5dbb3ed4: corrected delivered-plan and source-anchor drift, retained every original acceptance criterion and scope exclusion, and recorded concrete enforcing-boundary proof obligations. This is source/readiness evidence, not a new native qualification claim or issue claim.
Delivery verified 2026-11-07: PR #3661 merged as 1619741f291f525d17cde4970a5ada40644117c1, parent 29203c43424f1916e7b5d079db4b97da5dbb3ed4, tree 9e0e2c1b87ad7309c24c398b8701da5bcb87d8e0. Candidate run 42364845217 and automatic main run 42366571419 each passed all nine selected categories freshly. All seventeen actual job checkouts per run, both actual provider-history guards, and Claude/Pi first/warm native cells under UID 1000 and UID 0 were independently verified. The deliberate automatic-index negative control failed its intended assertion and its wrapper verified owned cleanup; it is not a failed healthy qualification. Squash ancestry/parent/tree, #3603 closure and both 0.45.0 milestones were read back. All five original acceptance criteria are satisfied. The root claim safety-3603-owner-api-parent-20261107 is released; #3605 and #3606 remain their own slices, and the combined gpt-6-astra epic review remains required after implementation. No acceptance criterion is dropped or moved.
Activity
schlessera commentedon Nov 6, 2026
Unblocked: #3601, #3602 are closed, so
scripts/sync-project.tsis removing theblockedlabel.schlessera commentedon Nov 7, 2026
Claiming #3603 for the authorized #3596/#3597 continuation. Claim token:
safety-3603-owner-api-parent-20261107. Intended branch:feat/3603-owner-safety-review-20261107. #3601 and #3602 are delivered; #3602 complete selected candidate and automatic-main proof are verified. I will preserve all five acceptance criteria, implement the password-mode owner boundary with real transport/write-race proof, and qualify the exact candidate before cooperative delivery.Collision scan at the verified main source found shared closure with #3054, #3056, #3059, #3069, #3116, #3336, #3393, #3437, #3458, #3464 and #3581; direct path overlap with #3622. This claim owns only #3603 and will preserve those PRs.
schlessera commentedon Nov 7, 2026
Delivery verified 2026-11-07: PR #3661 merged as
1619741f291f525d17cde4970a5ada40644117c1, parent29203c43424f1916e7b5d079db4b97da5dbb3ed4, tree9e0e2c1b87ad7309c24c398b8701da5bcb87d8e0. Candidate run 42364845217 and automatic main run 42366571419 each passed all nine selected categories freshly. All seventeen actual job checkouts per run, both actual provider-history guards, and Claude/Pi first/warm native cells under UID 1000 and UID 0 were independently verified. The deliberate automatic-index negative control failed its intended assertion and its wrapper verified owned cleanup; it is not a failed healthy qualification. Squash ancestry/parent/tree, #3603 closure and both 0.45.0 milestones were read back. All five original acceptance criteria are satisfied. The root claimsafety-3603-owner-api-parent-20261107is released; #3605 and #3606 remain their own slices, and the combined gpt-6-astra epic review remains required after implementation. No acceptance criterion is dropped or moved.