# Split send state into explicit worktree and turn phases · gitcafe/t3code

[View on GitCafe](https://git.cafe/gitcafe/t3code/commit/58692df0d2b33cba8fe63df53f4bd04b311071b5)

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

Visibility: public

Requested revision: 58692df0d2b33cba8fe63df53f4bd04b311071b5

Requested commit: 58692df0d2b33cba8fe63df53f4bd04b311071b5

Commit: 58692df0d2b33cba8fe63df53f4bd04b311071b5

Tree: a832828aedd1b8c4d88fcbeca9e6a1632281e316

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Split send state into explicit worktree and turn phases

- Replace boolean `isSending` with `sendPhase` state
- Show "Preparing worktree..." status before first-turn dispatch
- Keep composer editable while preventing duplicate sends and restore input on pre-send failures

```

## Parents

- [68585d4638b594cc79423ad74dff0ea0608fcb46](https://git.cafe/gitcafe/t3code/commit/68585d4638b594cc79423ad74dff0ea0608fcb46?format=markdown)

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