Skip to content

fix(server): recover pruned thread worktrees - #29

Merged
asfires merged 1 commit into
mainfrom
t3code/recover-pruned-thread-worktree
Aug 13, 2026
Merged

asfires merged 1 commit into
mainfrom
t3code/recover-pruned-thread-worktree

Conversation

@asfires

@asfires asfires commented Aug 13, 2026

Copy link
Copy Markdown
Owner

A restart can prune a merged thread worktree while a queued follow-up still references it. The provider then respawns in a missing cwd and leaves the thread failed.

Recreate missing T3-managed worktrees before provider startup, using the latest ready checkpoint when the local branch was pruned. Recovery reruns the project setup script and refuses to reuse a branch checked out by another worktree.

Verified with 53 focused ProviderCommandReactor tests, server typecheck, and targeted lint.

Model: GPT-5.6-Sol
Harness: Codex via T3 Code

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:L labels Aug 13, 2026
@asfires
asfires merged commit 5806daf into main Aug 13, 2026
6 of 10 checks passed
@asfires
asfires deleted the t3code/recover-pruned-thread-worktree branch August 13, 2026 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant