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

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

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

Visibility: public

Requested revision: 9bb6ab317a7353621fd26a32c5e97fdf0c2e02e1

Requested commit: 9bb6ab317a7353621fd26a32c5e97fdf0c2e02e1

Commit: 9bb6ab317a7353621fd26a32c5e97fdf0c2e02e1

Tree: 92a9c2ac69d495e95c7c742245999e6cef3aa980

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

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

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