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

[View on GitCafe](https://git.cafe/stienswout/t3code/commit/1cf9ac936a1d706dc68fbb41e34adcf4446eb281)

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

Visibility: public

Requested revision: 1cf9ac936a1d706dc68fbb41e34adcf4446eb281

Requested commit: 1cf9ac936a1d706dc68fbb41e34adcf4446eb281

Commit: 1cf9ac936a1d706dc68fbb41e34adcf4446eb281

Tree: 7433ffdab3736e4e420c94bac42a140145c216dd

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

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

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