# Fix Claude resume cursor to only persist valid session UUIDs · flambo/t3code

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

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

Visibility: public

Requested revision: b51fd9496be874397ff65f0f9e834b2c82b26acb

Requested commit: b51fd9496be874397ff65f0f9e834b2c82b26acb

Commit: b51fd9496be874397ff65f0f9e834b2c82b26acb

Tree: 2cd06081819ae8ee9cccfb2ca3aa1fdf76adea36

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Fix Claude resume cursor to only persist valid session UUIDs

- Stop synthesizing `resume` from generated thread IDs
- Persist resume session ID from query messages when available
- Validate resume/sessionId values as UUIDs before reuse
- Add tests for valid UUID resume passthrough and no synthesized resume

```

## Parents

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

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