# Improve session restart handling and server logging · screen/t3code-personal

[View on GitCafe](https://git.cafe/screen/t3code-personal/commit/981cf405612932afa8a0b98b8c98474ef7e1015d)

Repository: [screen/t3code-personal](https://git.cafe/screen/t3code-personal)

Visibility: public

Requested revision: 981cf405612932afa8a0b98b8c98474ef7e1015d

Requested commit: 981cf405612932afa8a0b98b8c98474ef7e1015d

Commit: 981cf405612932afa8a0b98b8c98474ef7e1015d

Tree: 77f358d2b39ba5f0104d2f6d8bf9e7cfaf9a0388

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Improve session restart handling and server logging

- add structured lifecycle logs for Codex thread open/resume and provider session restarts
- introduce persistent server file logging layer and tighten WebSocket server startup/finalizer ordering
- preserve env-based boolean overrides in dev runner and stop forcing WS event logging in dev
- enrich provider session listing from persisted bindings and fix Claude rate-limit/task-id event mapping
- update orchestration and dev-runner tests for runtime-mode restart and env-flag behavior

```

## Parents

- [689dda59e997337103c76ed93af0574dcc554d26](https://git.cafe/screen/t3code-personal/commit/689dda59e997337103c76ed93af0574dcc554d26?format=markdown)

[Source at this commit](https://git.cafe/screen/t3code-personal/tree/981cf405612932afa8a0b98b8c98474ef7e1015d?format=markdown)
