# Stabilize Claude turn event ordering and native event logging · gitcafe/t3code

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

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

Visibility: public

Requested revision: 1542b00db21f7586354adcc2ffd4f1e2a20bd02b

Requested commit: 1542b00db21f7586354adcc2ffd4f1e2a20bd02b

Commit: 1542b00db21f7586354adcc2ffd4f1e2a20bd02b

Tree: f703fe82747ac87c57f27eb8a93b12cee64ff625

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Stabilize Claude turn event ordering and native event logging

- Preserve active turn state when `session.started`/`thread.started` arrive mid-turn
- Emit `message.delta` from assistant text when stream deltas are missing, then complete the message
- Add Claude native SDK NDJSON observability logging and wire its log path in server layers
- Expand ingestion/adapter tests to cover mid-turn lifecycle and delta fallback behavior

```

## Parents

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

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