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

[View on GitCafe](https://git.cafe/flambo/t3code/commit/9a115a80554d73d41b49f60ce556f717812ec5a2)

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

Visibility: public

Requested revision: 9a115a80554d73d41b49f60ce556f717812ec5a2

Requested commit: 9a115a80554d73d41b49f60ce556f717812ec5a2

Commit: 9a115a80554d73d41b49f60ce556f717812ec5a2

Tree: e1cc24d8fa3e94fb12cae2c54d0a9a0973eab1b5

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

- [1d4ccdbe45bd48a4b7eb6f76135ff90caaf0ecfe](https://git.cafe/flambo/t3code/commit/1d4ccdbe45bd48a4b7eb6f76135ff90caaf0ecfe?format=markdown)

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