Skip to content

fix(spawn): use treehouse get --lease for durable crewmate worktrees#124

Open
nickolastheodoulou wants to merge 3 commits into
kunchenguid:mainfrom
nickolastheodoulou:fix-treehouse-lease
Open

fix(spawn): use treehouse get --lease for durable crewmate worktrees#124
nickolastheodoulou wants to merge 3 commits into
kunchenguid:mainfrom
nickolastheodoulou:fix-treehouse-lease

Conversation

@nickolastheodoulou

Copy link
Copy Markdown

The previous subshell-mode treehouse get could reclaim a worktree while a long-running crewmate was still using it, causing FileNotFoundError mid-flight. Use treehouse get --lease to reserve the worktree durably and cd into it explicitly. Teardown already calls treehouse return.

Discovered while integrating the kimi-cli harness from #123.

The previous subshell-mode 'treehouse get' could reclaim a worktree
while a long-running crewmate was still using it, causing FileNotFoundError
mid-flight. Use 'treehouse get --lease' to reserve the worktree durably
and cd into it explicitly. Teardown already calls 'treehouse return'.

Refs: firstmate PR kunchenguid#123 kimi-cli harness adapter
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