# fix\(orchestration\): recreate missing worktrees before turns · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/846906b60b14ea93effd8c3f11e0288f3b514403)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: 846906b60b14ea93effd8c3f11e0288f3b514403

Requested commit: 846906b60b14ea93effd8c3f11e0288f3b514403

Commit: 846906b60b14ea93effd8c3f11e0288f3b514403

Tree: 6eccd9fdb4dfdc5f70f220a6f15def22e918d18e

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
fix(orchestration): recreate missing worktrees before turns

Prune stale git worktree registration and recreate the saved branch at the saved path before provider startup. Recovery remains best effort so normal provider errors still report when repair is impossible.

Finding: R10

Implemented by GPT-5.6 Sol in Codex.

```

## Parents

- [ae84cc4c6264bbccba8f49d29777f4574bca2228](https://git.cafe/pingdotgg/t3code/commit/ae84cc4c6264bbccba8f49d29777f4574bca2228?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/846906b60b14ea93effd8c3f11e0288f3b514403?format=markdown)
