Skip to content

feat: release replay desks through verified recovery - #180

Merged
Yehonal merged 2 commits into
mainfrom
fix/desk-release
Nov 16, 2026
Merged

Yehonal merged 2 commits into
mainfrom
fix/desk-release

Conversation

@Yehonal

@Yehonal Yehonal commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator

A stack could not be archived while its source branch remained checked out in a replay desk, and the refusal offered no native way to release that desk. New replay desks are now registered and shown by worktree list. Stack archive names the new stack release-desk remedy.

Release previews bind the selected desk and snapshot to a plan digest. Apply requires that digest and confirmation that writers have stopped, preserves the tip, raw index, staged and working contents in verified local recovery refs, then removes the checkout while retaining the source branch. Legacy desks require explicit path selection. Unsupported data, changed identity, active ownership or stale inputs are preserved by refusal; interrupted removals resume from their recorded intent. Writer confirmation is an operator attestation.

The worktree list path retains observational diagnostics and the journal-mode refusal. Nested release previews and applies preserve the caller's authorization context; apply uses a separate nonce only for recovery-ref publication.

Validation: 34 desk and diagnostic fixture tests passed with a minimal PATH, including staged/unstaged recovery, legacy selection, identity changes, interrupted removal, retry after Git prune, and nested authorization. Twelve module/documentation checks and the version guard passed. Independent review READY on 40ddbb4. Version 0.47.22.

@Yehonal
Yehonal merged commit 61b9ba7 into main Nov 16, 2026
39 of 40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant