Repository navigation
Description
Problem and goal
Implement resumable collection only behind #9084 fence and non-reused immutable generation-qualified keys. Tombstone first, wait grace, then plain-delete captured old key; do not depend on provider conditional-delete. Prioritize largest reclaimable files and independently reclaim chunks. Without fence/non-reuse proof keep delete disabled.
Version and design basis
Version: V3. Settled design: https://github.com/developing-today/code/blob/main/doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-c/versioned-design.md#9137-gc-s214s215-s219 (section: #9137 GC (S2.14–S2.15, S2.19)).
Tier: recommended.
Statement IDs: S2.14, S2.15, S2.19
Enables: large-object storage reclamation
Scope and ownership
Parent: #9137 (native component/meta parent).
pkgs/id/crates/id-store/src/gc.rs(new; owner: C9137-02)pkgs/id/crates/id-store/tests/gc.rs(new; owner: C9137-02)
Hard dependencies (native blockers): C9137-01 — atomic generation fence implementation and passing interleaving model; 9084 — authoritative ref predicate and physical deletion precondition
Soft sequencing (not blockers): none
Test / evidence first
Create or validate pkgs/id/crates/id-store/tests/gc.rs first. Proposed command: cargo test --manifest-path pkgs/id/Cargo.toml -p id-store --test gc
Oracle: model — expected Restart/page races and delayed stale delete leave g+1 intact; referenced generations survive; no-delete mode selected absent fence/non-reuse; largest reclaimable candidate is first.; verifier: Reference-generation model plus actual key-resolution fixture and deterministic size-priority fixture..
Done and rollback
Done when the declared oracle passes and test/evidence output plus changed-file summary is attached. Research evidence: not applicable.
Rollback: Pause sweep and preserve tombstones/candidate manifests; restore from retained generation only after verifying refs.
Manifest SHA-256 approval binding: 3b5bce3523945bf5adaa28739f0b90b7b70ff1d6522b4ac827246654e8ff6b06.
Acceptance criteria
- The resumable generation-conditional large-object collector is built per the settled design section cited in the body (parent design(atlas): garbage collection for shared stores — large-file priority, segment reclamation #9137): an interrupted collection resumes and only reclaims objects whose generation condition still holds.
- 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-3594
dezren39 commentedon Nov 14, 2026
Agent note — task 17019 preflight recorded (lane any-a): C9137-02 native blockers #9084 + #10156 OPEN — task self-blocked
Native-blocker preflight (fresh, 2026-11-14T17:17Z):
Result: the blocker gate is NOT clear. Per the packet's mandatory preflight instruction, no implementation was performed and task 17019 is self-blocked as a broker dependency block on #9084 + #10156; the broker returns it to the pool automatically when both issues close, and the preflight then re-runs fresh.
dezren39 commentedon Nov 17, 2026
🤖 Agent note · already done — task 19128 (lane code-b)
pkgs/id/crates/id-store/tests/gc.rs, model oracle: restart/page races leave g+1 intact, largest reclaimable candidate first).dezren39 commentedon Nov 17, 2026
agent-note:v1
lane: openchamber-scheduled-lane (code-h), worker repo-worker-code, queue task 17019
state: blocked (reason_class: blocked)
preflight: native blockers checked 2026-11-17T17:47Z — #9084 OPEN, #10156 OPEN. Both remain open, so no implementation was started (C9137-02 stays out of scope).
resume: when both #9084 and #10156 are closed, requeue or re-claim task 17019 and run the mandatory preflight again before implementing.
dezren39 commentedon Nov 18, 2026
agent-note:v1
state: triaged
task: 20491
lane: code-h
stage: terminal
Fresh check confirms #10170 is OPEN and its existing implementation task 17019 remains the canonical owner. Both native blockers, #9084 and #10156, are still OPEN. No duplicate follow-on created. Queue task 20491 completed as triaged; bookkeeping deferred to fleet reconciliation.
dezren39 commentedon Nov 20, 2026
agent-note:v1
state: blocked
task: 17019
worker: repo-worker-code
lane: oc-code-03
origin: openchamber-scheduled-lane
stage: native_blocker_preflight
Fresh native blocker preflight (2026-11-20 17:49Z): #9084 and #10156 are both OPEN. Per the mandatory preflight packet, no implementation or rollout is authorized while either blocker remains open. Task 17019 is self-blocked with both native issues recorded; no repository files changed.
developing-today-fleet commentedon Nov 29, 2026
🤖 Census note — 2026-11-29 (lane CEN-C09, full issue census)
State verified today: both native blockers from the preflights remain open and unchanged.
Blockers (verified OPEN 2026-11-29): #9084 (content plane) and #10156 (C9137-01 generation fence).
Next step: when both close, build the resumable generation-conditional collector at pkgs/id/crates/id-store/src/gc.rs + tests (tombstone first, grace wait, plain-delete captured old key only; delete stays disabled without fence/non-reuse proof).
Census fixes: removed duplicate priority/low — priority/normal stands (body tier: recommended; two priority labels is a defect).
Verdict: blocked — detail complete; two live gates.
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; no acceptance-criteria section.Actions taken: labels added:
kind/enhancement,app/atlas; 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 30, 2026
🤖 P0.4a stale-edge prune — Felix lane 0640-PA, 2026-11-30 (Refs #17071)
blockedByedge to design(pm-stack): content-addressed media/data plane — R2 dedup, reference-based access, GC when the last reference drops #9084 (closed) via the dependencies API (HTTP 200, verified by re-query).blockedBystill lists open Specify authoritative generation fence with #9084 #10156, so the blocked labels (status/blocked,queue/blocked) are retained unchanged.developing-today-fleet commentedon Nov 30, 2026
🤖 P3.1 reparenting — Felix lane 0640-WO, 2026-11-30 (Refs #17071). This issue's native parent #9137 is closed and has no parent or named successor epic of its own, so under the P0–P3 playbook's destination rule (successor epic or top-level) it is detached to top-level via the GraphQL
removeSubIssuemutation. Verified post-move: parent is null. No state, labels, or priority band changed.