Repository navigation
Recover and retire proven copies of declared lane files - #183
Merged
Merged
Conversation
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.
A governed lane can retain staged, unstaged, or untracked copies of files already declared in its stack, leaving both publication and release blocked. Add
worktree retire-copy LANE --reason REASONto preview path-by-path proof against one declared commit, then apply the exact digest after confirming writers have stopped.The command independently verifies staged and working contents, preserves the original index, binary patches and untracked archive, verifies durable recovery before cleanup, and safely resumes interrupted cleanup. It leaves branch tips, lane registration, leases and retention locks unchanged. Push and release refusals now name the preview command. Native recovery-ref hooks remain enforced; unsupported files, ambiguous history, foreign ownership and changed inputs refuse without discarding work.
Validation: 28 new fixture tests and 35 compatibility checks pass, including native retire → release → push, crash recovery, unique staged data, Git history substitution, and hook refusal. An additional 12 module and documentation checks pass. Independent review is READY on 6a2548c; version guard and added-content privacy scan pass. Version 0.47.25. Full PR CI: 20/20 checks passed on the reviewed head, first attempt.