# Persist thread runtime mode and handle mode-switch session restarts · screen/t3code-personal

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

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

Visibility: public

Requested revision: 689dda59e997337103c76ed93af0574dcc554d26

Requested commit: 689dda59e997337103c76ed93af0574dcc554d26

Commit: 689dda59e997337103c76ed93af0574dcc554d26

Tree: 449afaae49ff8f37ca9f611396abf186a11b70a9

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Persist thread runtime mode and handle mode-switch session restarts

- Add `thread.runtime-mode.set` -> `thread.runtime-mode-set` flow in decider/reactors/projectors
- Persist runtime mode on thread/session projections with new DB migrations
- Update provider and Codex integration tests to verify thread continuity across mode changes

Co-authored-by: codex <codex@users.noreply.github.com>

```

## Parents

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

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