GeezerVison is showing github.com — Fenced reference-aware graph garbage collection · Issue #10253 · developing-today/code
Fenced reference-aware graph garbage collection #10253DescriptionProblem and goal
Fence references with a deletion-generation tombstone and CAS against reference-index generation/retention; consume #9137 and #9084 semantics before physical shared-object removal.
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-a-graph/versioned-design.md#9-9130--moderation-deletion-and-gc (section: 9. #9130 — moderation, deletion, and GC).
Tier: contingent. Start trigger: Do not enable shared-object physical deletion until #9137 and #9084 contracts are available and the adapter has fenced atomic compare-and-delete.
Statement IDs: S5.48, S5.53
Enables: GC cannot race a fresh reference or let an older worker delete after a newer retain/reference generation.
Scope and ownership
Parent: #9130 (native component/meta parent).
pkgs/id/crates/id-store/src/graph_gc.rs (new; owner: A-GRAPH-9130-02)
pkgs/id/crates/id-store/tests/graph_gc_fencing.rs (new; owner: A-GRAPH-9130-02)
Hard dependencies (native blockers): A-GRAPH-9130-01 — Distinct deletion/retention state machine.; A-GRAPH-9125-02 — Rebuildable reference-index generation and storage transaction boundary.; 9137 — GC retention/large-object collection policy and fencing interface.; 9084 — Reference-vs-copy semantics and authority boundary for shared objects.
Soft sequencing (not blockers): none
Test / evidence first
Create or validate pkgs/id/crates/id-store/tests/graph_gc_fencing.rs first. Proposed command: cargo test -p id-store --test graph_gc_fencing
Oracle: model — expected Interleaved reference creation, stale GC worker, restart and policy retention never remove referenced/retained bytes; an old fence cannot delete after generation advance.; verifier: Independent concurrent reference/GC state model with CAS/fence generation oracle..
Done and rollback
Done when the declared oracle passes and test/evidence output plus changed-file summary is attached. Research evidence: not applicable.
Rollback: Keep physical GC disabled and preserve all existing objects; remove only the new planner/executor and fencing index.
Manifest SHA-256 approval binding: 3b5bce3523945bf5adaa28739f0b90b7b70ff1d6522b4ac827246654e8ff6b06.
Activitydeveloping-today commented on Nov 14, 2026 dezren39 commented on Nov 14, 2026
Agent note — task 17093 preflight outcome: BLOCKED on native blockers (lane code-a, 2026-11-14)
Mandatory triage/preflight for slice A-GRAPH-9130-02, performed per the task spec — no implementation attempted, no production rollout authorized or started.
Native blockers (task spec, confirmed against this issue's GitHub blocked-by graph at 2026-11-14T18:20Z) — all OPEN:
All blockers remain open, so task 17093 has self-blocked exactly as prescribed (fleet queue block 17093 --reason-class blocked with --blocked-by-issue naming all four, blocker: "waiting on native issue blockers"). Work stays paused until every blocker closes; the block re-serves the preflight when they clear. dezren39 commented on Nov 17, 2026
🤖 Agent note · already done — task 19188 (lane code-b)
- Already routed (verified fresh this shift): the A-GRAPH-9130-02 work packet for this issue is queue task 17093, standing dep-blocked on its native blockers (A-GRAPH-9130-01 state machine, A-GRAPH-9125-02 reference-index generation, design(atlas): garbage collection for shared stores — large-file priority, segment reclamation #9137 GC fencing interface, design(pm-stack): content-addressed media/data plane — R2 dedup, reference-based access, GC when the last reference drops #9084 reference-vs-copy authority — design(pm-stack): content-addressed media/data plane — R2 dedup, reference-based access, GC when the last reference drops #9084 re-verified OPEN today). No new packet; another would duplicate task 17093.
- Priority: normal, Effort: m — set on the issue now (the issue carried no labels; one new id-store module
graph_gc.rs plus fencing tests). Tier is contingent by the issue's own start trigger: no shared-object physical deletion until the design(atlas): garbage collection for shared stores — large-file priority, segment reclamation #9137/design(pm-stack): content-addressed media/data plane — R2 dedup, reference-based access, GC when the last reference drops #9084 contracts and fenced atomic compare-and-delete exist.
dezren39 commented on Nov 17, 2026 Native-blocker preflight by repo-worker-code (2026-11-17): #9084 OPEN, #10234 OPEN, #10238 OPEN, #9137 CLOSED. Task 17093 self-blocked on the open blockers. No implementation performed; contingent research trigger not started. This is not production rollout authorization. dezren39 commented on Nov 18, 2026 Agent note (repo-worker-code, code-f scheduled lane): triage verdict
Verified 2026-11-18T08:47Z. #10253 is OPEN and blocked by open native blockers:
- design(pm-stack): content-addressed media/data plane — R2 dedup, reference-based access, GC when the last reference drops #9084 (reference vs copy semantics), OPEN
- Rebuildable ordered triple indexes and streaming scans #10234 (A-GRAPH-9125-02, rebuildable reference index), OPEN
- Deletion requests, moderation queue and local true-delete states #10238 (A-GRAPH-9130-01, deletion/retention state machine), OPEN
- design(atlas): garbage collection for shared stores — large-file priority, segment reclamation #9137 (GC retention policy), CLOSED, satisfied
No implementation started and no research trigger opened. Resume when #9084, #10234 and #10238 close. dezren39 commented on Nov 20, 2026
Preflight/triage only — no implementation performed. Fresh blocker revalidation:
dezren39 commented on Nov 23, 2026
Native blocker preflight (2026-11-23): #9084 is OPEN; #9137, #10234, and #10238 are CLOSED. Per the task packet, I performed no implementation and blocked queue task 17093 on the four native issue refs. The queue dependency recheck returned HTTP 403 for all four lookups, so its dependency state remains fail-closed pending its next retry.
Resume this slice only after every native blocker is closed.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|