Repository navigation
Description
Out of scope
No source-specific transport, Settings UI, policy writer duplication or global-clear endpoint.
Context
Part of #3596.
The durable occurrence collector from #3600 is on main da1f3abd1a81f74dc8118fa0f0fa2df279966e44 (PR #3621). appendSafetyEvent (packages/ui-server/src/governance/safety-store.ts:190) retains each host occurrence identity and lifecycle; readSafetyProjection (packages/ui-server/src/governance/safety-store.ts:236) reduces compact durable identities independently of detail pages. createGovernanceWrites (packages/ui-server/src/governance/event-writes.ts:86) overlays pending writes and failed-recording restrictions. The empty safety_decisions table and finalized-identity guard are the foundation for this child, not a product verdict writer.
Read the repository plan, the ADR, and the review disposition. ROADMAP.md “What binds future work”, provider-history append-only, conditional G6 supersession and the protected policy-writer boundary apply. The maintainer's dated ruling in #3596/#3597 and the ADR authorizes the breaking-before-1.0 effective-state change. HTTP owner authorization, live admission integration and transport/UI remain later children.
Scope
- Implement durable per-trigger safe-verdict references and a revisioned aggregate independent of paginated evidence.
- Track pending additions restrictively, committed-only safe verdicts, idempotency/conflicting retry receipts and durable failure/coverage latches.
- Support restart, finalized exposure checks, retention compaction and history retirement without rewriting original evidence.
Acceptance criteria
- Resolving finalized A leaves B and C, even from the same origin, unresolved. Only complete zero-unresolved detector history restores normal.
- Open/uncertain exposures cannot be resolved, and no range/source-wide/session-wide clear is accepted.
- New/pending occurrences win review races; failed recording leaves a restriction latch until reconciled recovery rather than disappearing from pending state.
- Repeated identical request IDs return their original receipt; changed-body reuse, already-resolved state and retired sessions have explicit bounded outcomes.
- Restart and pruning preserve aggregate count, coverage and monotonic revision without deriving normal from a partial history page.
Verification
Real SQLite/write-worker, restart/failure and concurrent-admission fixtures; a mutation dropping a later occurrence must fail on the remaining-restriction assertion.
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 #3600
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.
Context refresh 2026-11-05: #3600 delivered; replaced obsolete first-source suppression and missing-plan claims with main collector anchors. All five original acceptance criteria remain unchanged.
Current implementation and verification — 2026-11-06
PR #3633 now carries e585b42a406f8f0dd95a89fb34b91c5ee5a554e4, tree cdfd61e5628f6cb253149ef97569a81c228bfcde, on delivered base 5766d7b5fbee2754a2d54339ebfab9bb5584216e. All five original criteria remain. The independent review's sole P2 queued-expiry finding was corrected across preparation, verdict, replay and terminal-retention clocks. Four real queue regressions failed before that correction; the independent four-probe fixture and restored terminal-time mutation pass afterward. Safety implementation/tests are unchanged across base refreshes; historical49d/a119receipts retain their original identities.
Previous complete run42131653674 failed the existing Activity midnight day-bucket fixture. Supporting #3634 delivered its single-helper correction through #3635 at the current base, with all eight selected categories, sixteen actual execution checkouts and the exact squash parent/tree verified. Both #3600 and #3634 are closed. The failed earlier confirmation is not reused as passing proof. This is a new combined candidate with current100focusedtests/540assertions, all five preflight gates (794tests/5456assertions) and strict typecheck passing.
Parent claim safety-3601-expiry-parent-20261105 is complete and released after automatic-main reconciliation. Complete supported-host candidate proof, matching-tree squash and automatic-main proof are verified below. Supporting #3634 is fully reconciled; issue and PR retain milestone 0.45.0. No owner endpoint, source transport, global clear or Settings UI is added.
Blocked by #3634
Refresh2026-11-06: supporting fixture delivered; updated actual combined head/base and current proof while preserving the criteria and failed historical receipts.
Delivered and candidate-qualified — 2026-11-06
PR #3633 merged as cfbfcab18b869f829da803dec39f23fd55935074. Actual parent 5766d7b5fbee2754a2d54339ebfab9bb5584216e and tree cdfd61e5628f6cb253149ef97569a81c228bfcde exactly match the tested combined candidate. Run42140585451, attempt1, passed all nine selected categories freshly, with all seventeen actual job checkouts/parents/tree independently verified. Both provider-history suites and all five queued-clock regressions pass. Every original criterion has concrete runtime proof; source review, mutations and old failed confirmations retain their own identities. Closure and both0.45.0 milestones are verified.
Supporting #3634's candidate and automatic-main proof are fully reconciled. Automatic main run 42143573145, attempt 1, passed all nine selected categories freshly. All seventeen actual job checkouts independently match squash cfbfcab18b869f829da803dec39f23fd55935074 and the recorded parent/tree; both complete provider-history suites and all five queued-clock regressions pass again. Root released only parent claim safety-3601-expiry-parent-20261105 after final closure and milestone readback. #3602 and #3604 are delegated from delivered main; no later admission, human authorization, transport or UI criterion is counted as implemented by this storage slice.
Activity
schlessera commentedon Nov 5, 2026
Unblocked: #3600 is closed, so
scripts/sync-project.tsis removing theblockedlabel.schlessera commentedon Nov 5, 2026
Claim
safety-3601-verdicts-20261105: assignment read back; implementing only #3601 onfeat/3601-safe-verdicts-20261105, from verified mainda1f3abd1a81f74dc8118fa0f0fa2df279966e44(treeb5d12564313cde43f9d7fbcd4eaa5d72f0283551). No competing #3601 claim or implementation PR was present. Collision scan reports shared proof/import closure with existing PRs, including #3622; no other verdict implementation is being resumed. Root retains #3600 claim and main-proof reconciliation. This worker will open a draft only; no confirmation, watch or merge. Context/citations are being refreshed without changing the five original criteria.schlessera commentedon Nov 5, 2026
Draft implementation handoff: PR #3633, head
49dba536bb848f33a64d446ca36173ceb85dc99d, treef017bc5e516f8d5ee455c4df3c5749b8818dd5c9, baseda1f3abd1a81f74dc8118fa0f0fa2df279966e44.All five original criteria are implemented with local runtime evidence: A/B/C isolation; explicit finalized-only single-ID eligibility; restrictive committed/pending/failed-recording races; durable exact replay/conflict/already-resolved/retired outcomes; and restart/pruning preservation of aggregate, coverage and revision. The compact projection remains independent of detail pages. No owner endpoint, source transport, global clear or Settings UI was introduced.
Final proof: 75 focused tests passed (21 new review cases), including real FULL writers and genuine deferred-FK COMMIT failures; 15 restored mutations fail their intended assertions; strict typecheck passed with an 8 GiB Node heap; committed-head
check:pr --base origin/mainpassed, including 794 fast invariants. API report regeneration produced no diff, and changeset-package/full pending-plan checks passed. The minor changeset names the pre-1.0 G6 break.Qualification remains open: both provider-history attempts failed before capture qualification (Pi explicitly reports denied bubblewrap namespace creation; Claude's installed process exited before capture assertions). No native/offline guard was weakened. Root owns supported-host proof, independent source review, exact-candidate CI, release milestones, confirmation and integration. This worker did not confirm, watch or merge; root's #3600 claim and main-proof reconciliation are untouched. Local hashes, source archive, binary patch, exact mutation identities and all passing/failing logs are retained for the private handoff.
Releasing only claim
safety-3601-verdicts-20261105and this invocation's assignment. The issue remains open under Refs pending root qualification.schlessera commentedon Nov 5, 2026
Taking over the existing #3601 draft #3633 under parent claim
safety-3601-expiry-parent-20261105, branchfeat/3601-safe-verdicts-20261105. The implementation worker released its claim; independent review found one P2 queued-expiry defect at49dba536bb848f33a64d446ca36173ceb85dc99d. I will reproduce and fix the complete preparation/commit/replay/retention clock path, then qualify the corrected candidate. All five original criteria remain. #3600 is fully delivered and reconciled; no new authorization ruling is needed.schlessera commentedon Nov 6, 2026
Unblocked: #3600, #3634 are closed, so
scripts/sync-project.tsis removing theblockedlabel.schlessera commentedon Nov 6, 2026
Completed and releasing only parent claim
safety-3601-expiry-parent-20261105. #3633 is merged atcfbfcab18b869f829da803dec39f23fd55935074; exact candidate and automatic-main runs both pass all nine selected categories. All seventeen job checkouts, both provider-history suites and the five clock regressions were independently verified in each run. All five original criteria, closure and issue/PR 0.45.0 milestones are reconciled. No later child is claimed by this release.