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

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

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

Visibility: public

Requested revision: 02c89a5af618d4b9a231d29d42fe254c699d44b1

Requested commit: 02c89a5af618d4b9a231d29d42fe254c699d44b1

Commit: 02c89a5af618d4b9a231d29d42fe254c699d44b1

Tree: 32cd079fb05c4018d05c3f8935c0d1bf742e51d4

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

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

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