Repository navigation
Description
Problem and goal
Recover post-commit event delivery safely across restart with stable IDs and at-least-once semantics.
Version and design basis
Version: V2; V4 operations. Settled design: https://github.com/developing-today/code/blob/main/doc/2026-11-13T03-40-00Z_design_id-atlas-summit/crosscut/versioned-design.md#failure-recovery-and-version-rules (section: Failure, recovery, and version rules).
Tier: recommended.
Statement IDs: S0.12, S0.15, S0.17
Enables: Persist post-commit events within advertised transaction scope, replay by stable ID after restart, and expose quarantine/reconciliation when store and stream cannot commit atomically.
Scope and ownership
Parent: #9110 (native component/meta parent).
pkgs/id/crates/id-store/src/outbox.rs(new; owner: 9110-07)pkgs/id/tests/outbox_recovery.rs(new; owner: 9110-07)
Hard dependencies (native blockers): 9110-03 — Required output from slice 9110-03.; 9110-06 — Required output from slice 9110-06.
Soft sequencing (not blockers): none
Test / evidence first
Create or validate pkgs/id/tests/outbox_recovery.rs first. Proposed command: cargo test --manifest-path pkgs/id/Cargo.toml --test outbox_recovery
Oracle: model — expected Every committed operation is either delivered at least once or remains visibly pending/quarantined across restart; no unknown outcome is labeled rollback.; verifier: Crash-injected outbox state machine keyed by durable operation/event IDs..
Done and rollback
Done when the declared oracle passes and test/evidence output plus changed-file summary is attached. Research evidence: doc/2026-11-13T03-40-00Z_design_id-atlas-summit/crosscut/research.md; doc/2026-11-13T03-40-00Z_design_id-atlas-summit/crosscut/versioned-design.md.
Rollback: Disable outbox delivery only after preserving committed operation records for operator replay; never delete or replay with new IDs.
Manifest SHA-256 approval binding: 3b5bce3523945bf5adaa28739f0b90b7b70ff1d6522b4ac827246654e8ff6b06.
Acceptance criteria
- Durable outbox recovery and at-least-once hook delivery are added per the settled design section cited in the body (parent design(id): extensibility architecture — primitive/adapter/hook boundary spec + backend conformance #9110): post-commit events persist within the advertised transaction scope and replay by stable ID after restart.
- Evidence for the result (test run, live check, or the delivered artifact) is linked on this issue.
- Follow-on work, if any remains, is filed as its own issue and linked here.
Activity
developing-today commentedon Nov 14, 2026
CODE-3637
dezren39 commentedon Nov 14, 2026
agent-note:v1
state: blocked
task: 17058
lane: any-c
worker: repo-worker-code
Preflight for 9110-07 (#10214, Add durable outbox recovery and at-least-once hook delivery): verified fresh on 2026-11-14 that both native blockers remain OPEN — #10174 and #10192. No held / user/owned / do-not-merge / do-not-auto-edit labels on #10214, #10174, or #10192.
Per the task packet's mandatory preflight, no implementation was performed. Task 17058 is dep-blocked on #10174 and #10192 (broker-watched, TTL 3 days); it will return to the pool automatically when both blockers close.
dezren39 commentedon Nov 17, 2026
Agent note — triage (task 19153, lane any-c, 2026-11-17)
State: triaged (duplicate bulk-intake triage — routing of record stands).
Issue stays OPEN under task 17058's dep-block.
dezren39 commentedon Nov 17, 2026
agent-note:v1
lane: openchamber-scheduled-lane (code-h), worker repo-worker-code, queue task 17058
state: blocked (reason_class: blocked)
preflight: native blockers checked 2026-11-17T17:58Z — #10174 OPEN, #10192 OPEN. No implementation started (9110-07 stays out of scope).
resume: when #10174 and #10192 are closed, requeue or re-claim task 17058 and re-run the preflight.
dezren39 commentedon Nov 18, 2026
Agent note (repo-worker-code, code-f scheduled lane): triage verdict
Verified 2026-11-18T08:46Z. #10214 is OPEN and still blocked by its hard dependencies:
No implementation started. Resume when the #9110 slices land. Labels unchanged.
dezren39 commentedon Nov 20, 2026
Agent note — native-blocker preflight (task 17058, lane oc-code-04)
State: preflight complete; work PAUSED — both native blockers remain open; task 17058 self-blocked per the 9110-07 contract.
Fresh GitHub check (2026-11-20):
Per the packet, no implementation was performed and no production rollout is authorized. Revalidation of #10174 and #10192 releases the dep block.
dezren39 commentedon Nov 23, 2026
2 remaining items
dezren39 commentedon Nov 29, 2026
🤖 Census note — lane CEN-C10 (Xaltha seat), 2026-11-29. Full body + all comments re-read firsthand for Drew's issue census.
pkgs/id/crates/id-store/src/outbox.rs+pkgs/id/tests/outbox_recovery.rs: every committed operation is delivered at least once or remains visibly pending/quarantined across restart; no unknown outcome is labeled rollback.priority/normal(no priority label was set; recommended tier).developing-today-fleet commentedon Nov 29, 2026
Census 2026-11-29 (Felix): full recheck of this issue — details, labels, blockers, priority (rechecked from scratch; prior detail did not exempt it).
STRENGTHS:
GAPS FOUND:
FIXES I APPLIED:
REMAINS: nothing — ready for pickup
developing-today-fleet commentedon Nov 29, 2026
Issue census — 2026-11-29
Wave-2 residual pass. A parallel census note (
Census 2026-11-29 (Felix)) already covers this issue today, and wave 1 of this census audited the head of this group; their verdicts are not duplicated here. This note records only the residual fixes applied after re-verifying the live state (state, body, labels, recent comments) immediately before editing.Residual gaps found: no
kind/*label (a parallel census note today left it for the picking-up lane; set here from the title/body); noapp/*/area/*label although the owning project is clear from the title/body; noeffort/*label; no acceptance-criteria section.Actions taken: appended
## Acceptance criteria(original body text unchanged above it).Blocker recorded in this census note: the issue carries
status/blocked+queue/blocked; its Scope and ownership section names the parent and hard dependencies — the wait is on those, not on missing detail here.Priority:
priority/normalretained — matches the work's urgency as evidenced on the issue; no band change in this pass.developing-today-fleet commentedon Nov 29, 2026
Issue census — 2026-11-29 (addendum)
Mop-up for the wave-2 residual pass on this issue: the label edit failed on a transient GitHub stream error during the main pass and has now been applied — labels added:
kind/enhancement,app/id,effort/m. Everything else in the main census note on this issue stands as written.developing-today-fleet commentedon Nov 30, 2026
P1.2 stale-edge prune (Felix lane 0640-PG, #17071 P0–P3 plan)
Before: 2 native blockedBy edges. Removed 1 stale edge (#10174, CLOSED). After: 1 edge — #10192 (OPEN) remains, so
status/blocked/queue/blockedlabels stay.developing-today-fleet commentedon Nov 30, 2026
🤖 Reparented — Felix lane 0640-WA, 2026-11-30 (P3.1 tranche on code#17071, claim 7283429466).
This issue was a sub-issue of #9110, which is CLOSED. Under the P0–P3 playbook's P3.1 rule (open sub-issues must not roll up into a closed parent), it has been moved to #9106 — #9110's own parent, the open ID/Atlas extensibility epic — via the GraphQL
removeSubIssue/addSubIssuemutations, verified live (parent endpoint now reads #9106). No labels, state, or priority band were changed.