# Run setup script after promoting local draft threads · screen/t3code-personal

[View on GitCafe](https://git.cafe/screen/t3code-personal/commit/9e04bad0a504dafbf19182fb0ec361c55018c780)

Repository: [screen/t3code-personal](https://git.cafe/screen/t3code-personal)

Visibility: public

Requested revision: 9e04bad0a504dafbf19182fb0ec361c55018c780

Requested commit: 9e04bad0a504dafbf19182fb0ec361c55018c780

Commit: 9e04bad0a504dafbf19182fb0ec361c55018c780

Tree: b9c01db9a86696e5d073e9c78af91deae18a3d04

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Run setup script after promoting local draft threads

- allow `runProjectScript` for local draft threads when explicitly enabled
- move setup script execution to run after server thread creation
- gate setup script on worktree/base-branch availability and pass resolved worktree cwd

```

## Parents

- [a574d9c936adcf0a8ccc9b10d8f65e0127d13adc](https://git.cafe/screen/t3code-personal/commit/a574d9c936adcf0a8ccc9b10d8f65e0127d13adc?format=markdown)

[Source at this commit](https://git.cafe/screen/t3code-personal/tree/9e04bad0a504dafbf19182fb0ec361c55018c780?format=markdown)
