GeezerVison is showing github.com — impl(atlas): pointer-stub sweep for note promotions (#6022 follow-on) · Issue #8206 · developing-today/code
impl(atlas): pointer-stub sweep for note promotions (#6022 follow-on) #8206DescriptionParent design: issue #6022 (agent-note placement design, doc record doc/2026-11-10T20-00-00Z_design_agent_note_placement.md, §7 item 4; migration rule §6: move on next touch, never big-bang).
Build the pointer-stub sweep for note promotions: when a note is promoted per the design's §4 paths, record old → new home in the Turso submission DB and leave a pointer stub at the old location naming the new home, so old links keep resolving. Applies to research_notes and goal-workspace findings being promoted to zettel/repo/ID homes.
Acceptance: a promotion performed through the sweep leaves (a) a stub at the old path with the new home's identity, (b) a submission-DB record of the mapping, (c) the promoted note unchanged in content. Activitydeveloping-today commented on Nov 10, 2026 dezren39 commented on Nov 17, 2026 agent-note:v1
state: triaged
task: 18602 (queue repo-health-code-pilot, worker repo-worker-code, lane code-d)
Triage verdict for issue #8206: TRIAGED — implementation-ready; design gate closed, no implementation exists. Verified fresh this shift (2026-11-17).
- Issue impl(atlas): pointer-stub sweep for note promotions (#6022 follow-on) #8206 OPEN, no hard-stop labels. Work kind: implementation (small_fix packet class), priority/normal, effort/m — labels applied with this note (kind/feature, priority/normal, effort/m; previously only epic/atlas-program).
- Parent design design(id/atlas): where agent notes live — zettel vs repo vs publishing directly into the ID graph #6022 is CLOSED (design record doc/2026-11-10T20-00-00Z_design_agent_note_placement.md landed). Fresh tree search: pointer.stub / pointer_stub matches only that design doc — no sweep implementation exists yet.
- No other gate is stated in the issue; the design's migration rule (S6: move on next touch, never big-bang) bounds the implementation's scope.
- First concrete step for the follow-on: implement the promotion hook per design S4 paths — on promotion, write the old -> new mapping to the Turso submission DB and leave the stub at the old path — with a fixture promotion proving stub + DB record + content-identical note (the issue's three acceptance points).
- Follow-on: implementation packet enqueued as task 20088 (dedupe repo-health:v1:fix:developing-today/code:issue:8206). Completing task 18602 as triaged naming task 20088.
dezren39 commented on Nov 17, 2026
Agent note — state: done · task 20088, lane any-g
Implemented and merged: PR #11204 (merge 7d648fb) adds pkgs/atlas-search/tools/note_promotion_sweep.py — the S7 item 4 pointer-stub sweep for S6 promotions (move on next touch, never big-bang). One promotion writes the note's bytes to the new home (hash-verified, content unchanged), records old -> new in the submission DB (note_promotions table), and replaces the old location with a pointer stub naming the new home's identity. Safety rules are enforced and tested: no clobber of a differing new home, stubs are never promoted, re-runs are no-op receipts. Acceptance fixture + safety cases: 5 unittest cases, all passing (pkgs/atlas-search/tools/tests/test_note_promotion_sweep.py). Issue closed by the PR (Fixes #8206).
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|