Skip to content

Guard live Treehouse worktrees across spawn and reboot - #2890

Open
unhexquadium wants to merge 4 commits into
kunchenguid:mainfrom
unhexquadium:fm/fm-spawn-reboot-worktree-guard-reimpl
Open

Guard live Treehouse worktrees across spawn and reboot#2890
unhexquadium wants to merge 4 commits into
kunchenguid:mainfrom
unhexquadium:fm/fm-spawn-reboot-worktree-guard-reimpl

Conversation

@unhexquadium

Copy link
Copy Markdown

Reimplements a lost handoff branch from the accepted design.\n\n- Refuse fresh fm-spawn worktree leases that match any recorded local task worktree.\n- Re-register pid-less durable Treehouse lease guards for recorded local worktrees during bootstrap after reboot.\n- Cover both guard paths with behavioral tests.

@greptile-apps

greptile-apps Bot commented Aug 23, 2026

Copy link
Copy Markdown

Confidence Score: 5/5

The PR appears safe to merge, with no concrete blocking or independently actionable non-blocking issue identified.

The new guard paths fail closed for registration errors, serialize state updates with Treehouse’s advisory lock, preserve remote filesystem separation, and retain a post-allocation metadata collision check.

Reviews (1): Last reviewed commit: "no-mistakes(document): Document Treehous..." | Re-trigger Greptile

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