Repository navigation
doc(writ): kept snapshots -- reconcile against the ref that produced each entry, and the lifecycle schedule replanned - #976
Merged
Conversation
…uced each entry; lane 5 stops on it Ruled 2026-09-27 while lane 5 (#924) was stopped before any code: reconcile runs against the git ref that produced each entry, and a lifetime keeps its layer snapshots as worktrees so links can target them, superseding the 2026-08-08 ruling that links target the origin. Four rulings: a private ref namespace pins each snapshot, not tags; snapshots are writable; an edit is retained on retain/<host>/<date>, a branch cut from the pinned commit, and the developer takes it back by a pull request; a plain reconcile always retains and restores the record only when asked, by a command flag, breaking the no-command-flags rule knowingly. The sparse checkout covers every scope directory. The owner's note: reconcile's narration carries a simple choice -- retain, toss, and optionally a pull request to the branch of origin or elsewhere. Five rulings remain, the replan of #916 among them. docs/plans/feature/847-kept-snapshots.md holds the design as a draft. Lane 5's plan records the stop and the superseded question; 5.1 and 10 section 3.1 carry dated notes; the lifecycle plan records the flag exception. Two pre-existing lines in 5.1 are rewrapped to 120 columns. Part of #916, lane 5; #847. Claude-Session: https://claude.ai/code/session_01SqQVFZz7AdiLZkGoAcUqRW
… writes only its own refs into a clone Stated by the owner 2026-09-28 as an invariant of the kept-snapshots design: writ never merges, commits to, moves or pushes any branch except its own retain/* branches, so every change that reaches HEAD, the default branch or main is a merge the maintainer makes, by a pull request. 5.1's kept-snapshots note states it, section 3.1 points at it, and the plan refers to it. Two rulings the same day: upgrade moves a layer's links to its new snapshot as well as refreshing copies (revises lane 11, #928); refs, retain branches and locked worktree registrations live in the registered layer clone, whoever owns it (an exception to #792, scoped to refs/devlore/, retain/ and locked worktree registrations). Three remain. Part of #916, lane 5; #847. Claude-Session: https://claude.ai/code/session_01SqQVFZz7AdiLZkGoAcUqRW
… retired, and the work placed on #916 The last design rulings, 2026-09-28: reconcile's words against the ref are linked, copied, stale, absent, dangling, edited, changed and unpinned, and it exits 0 exactly when the system matches the record ("when the system matches the record, we exit 0; otherwise we exit 1"); live is retired, every layer pinned whoever owns its clone; and the work lands inside #916, the scope lanes first. The plan carries the words table, the lane table and the agreement that #960 folds into lane 17 (#971), with personal#236 waiting on it. The lanes: 16 (#846) and 17 (#971) in PR D; 11 and 12 revised in PR E; 18 (#972) and 5 revised in PR B'; 13 revised in PR F; 19 in noblefactor-ops (#250). Lane 5's plan points at its new place; 5.1 and section 3.1 record the words and the retirement of live. Part of #916; #847. Claude-Session: https://claude.ai/code/session_01SqQVFZz7AdiLZkGoAcUqRW
…ture/924-reconcile-repair
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documentation only. The design the owner ruled on 2026-09-27 and 2026-09-28, recorded on develop before any lane
builds it: #847, kept snapshots.
sparse, writable worktree of every scope directory, pinned by a private ref under
refs/devlore/. Links targetthe snapshot for every layer; live is retired.
retain/<host>/<date>, a branch cut from the pinned commit; restore is a flag;the narration carries the choice: retain, toss, and optionally a pull request.
refs/devlore/,retain/and locked worktree registrationsinto a clone.
its own
retain/*branches.exactly when the system matches the record.
5, 11, 12 and 13 revised; writ deploy leaves the links of removed sources dangling and drops them from the record: reconcile then reports a clean machine #960 folds into writ deploy pins each layer by a private ref and links into a sparse snapshot of every scope directory #971.
Files:
docs/plans/feature/847-kept-snapshots.md(the design, draft),docs/plans/task/924-reconcile-repair.md(lane 5, stopped and replanned), dated notes in
docs/architecture/5.1-reconciliation.mdand10-command-line-interface.md§3.1 and their status files, and the lifecycle plan's note on the flag exception.Closes no issue. Part of #916 and #847.
Test plan
Time
Computed by the algorithm of noblefactor-ops#188 at merge.
https://claude.ai/code/session_01SqQVFZz7AdiLZkGoAcUqRW