Skip to content

fix: preserve foreign live lanes during stack capture - #177

Merged
Yehonal merged 1 commit into
mainfrom
fix/foreign-live-capture
Nov 16, 2026
Merged

Yehonal merged 1 commit into
mainfrom
fix/foreign-live-capture

Conversation

@Yehonal

@Yehonal Yehonal commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator

Capturing a lane's commits could mark it captured before checking its lease, then remove another owner's active checkout. Keep foreign lanes with live or unverified leases unchanged while recording the intended stack ownership, and name the owner in the kept-lane diagnostic.

Apply the same protection under the registry lock before ledger recovery, moved-path repair and pending cleanup in stack add, capture and classify. Same-owner capture and explicit release/GC retain their existing behavior. Update the guides, including removal of a residual raw-push fallback suggestion.

Validation: 11 regression fixtures verify registry, lease, checkout files/modes, index, branch and recovery refs, including a moved pending lane and an interrupted release. Existing lifecycle/preflight regressions and 12 module/documentation checks pass. Version 0.47.19; independent review READY on the exact head. Merge requires 20/20 CI.

@Yehonal
Yehonal merged commit bf8a8e8 into main Nov 16, 2026
20 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