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

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

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

Visibility: public

Requested revision: fd21824aab919680420f1e0c492da63552dec0b4

Requested commit: fd21824aab919680420f1e0c492da63552dec0b4

Commit: fd21824aab919680420f1e0c492da63552dec0b4

Tree: b565a8095408e99426887f5198282c4325ce85b2

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

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

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