# Guard provider lifecycle updates to primary thread and active turn · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/872b90737211f883b73879e3feae5563140a8fbe)

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

Visibility: public

Requested revision: 872b90737211f883b73879e3feae5563140a8fbe

Requested commit: 872b90737211f883b73879e3feae5563140a8fbe

Commit: 872b90737211f883b73879e3feae5563140a8fbe

Tree: 7541835a1320ecfe63b181542a21316c71319701

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Guard provider lifecycle updates to primary thread and active turn

- Ignore auxiliary/non-active turn completions for session lifecycle and checkpoints
- Restrict runtime thread/turn IDs to provider IDs in contracts
- Add regression tests and ADR for lifecycle ownership rules

```

## Parents

- [0b8e098c105297bc9564dc8bb792af21ec91ba4a](https://git.cafe/pingdotgg/t3code/commit/0b8e098c105297bc9564dc8bb792af21ec91ba4a?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/872b90737211f883b73879e3feae5563140a8fbe?format=markdown)
