Development record
2026-10-27 — The worktree store's notes-entry API (NewNotesEntry, NotesEntries, WriteNew, ReadFile, Flush), built ahead of its one named caller, the sweep's patch salvage in spc-2610230730269295, leaves the store stack and is kept on the local branch park/store-notes-entry until that caller is built, decided by the technical facilitator's session abcd-e8 on the product thinker's standing delegation of 2026-10-27. Grounds: AGENTS.md's wired-or-it-isn't-done rule refuses an exported API no production code calls, the review of 2026-10-27 found none on the store or the sweep branch, and dcn-2610231114308486 covers only PruneOne, PreRemove and Row.Path. The step that builds the salvage cherry-picks it back with its caller, and fixes the kind-suffix collision the review found (a worktree named x-salvage lists as x's salvage entry). <!-- record-lint: forward-looking -->
2026-10-27 — The worktree store's notes-entry API (NewNotesEntry, NotesEntries, WriteNew, ReadFile, Flush), built ahead of its one named caller, the sweep's patch salvage in spc-2610230730269295, leaves the store stack and is kept on the local branch park/store-notes-entry until that caller is built, decided by the technical facilitator's session abcd-e8 on the product thinker's standing delegation of 2026-10-27. Grounds: AGENTS.md's wired-or-it-isn't-done rule refuses an exported API no production code calls, the review of 2026-10-27 found none on the store or the sweep branch, and dcn-2610231114308486 covers only PruneOne, PreRemove and Row.Path. The step that builds the salvage cherry-picks it back with its caller, and fixes the kind-suffix collision the review found (a worktree named x-salvage lists as x's salvage entry).
Frontmatter
| id | dcn-2610271946266365 |
|---|---|
| type | decision |
| date | 2026-10-27 |
.abcd/work/decisions/dcn-2610271946266365-the-worktree-store-s-notes-entry-api.md
open on GitHub ↗ · commit history ↗
mentions2
- dcn-26102311143084862026-10-23 — The worktree store's PruneOne, its PreRemove hook and Row's absolute path land in step 2 with no production caller, as the API the sweep (spc-2610230730269295) calls: its removal is the store's prune core called per worktree, with its liveness probe as the last check before each removal, and its rows need each worktree's absolute path. They stay uncalled only until the sweep lands, which the merge order puts after the store's step 2; if the sweep's plan changes so that nothing calls them, they are removed rather than left as scaffolding. Facilitator, on the technical delegation. <!-- record-lint: forward-looking -->
- spc-2610230730269295`abcd sweep`: one dry run over every leftover, and `--apply` for what is provably spent