Skip to content

v1.8.35

Choose a tag to compare

@junaidtitan junaidtitan released this 24 Jun 09:57
· 57 commits to main since this release
b50056f

Fix: resume-corruption data-loss (#147)

A guard terminate-first reload could leave claude --resume unable to parse the transcript — "Failed to resume session". Root cause: terminating Claude mid-write leaves a torn trailing JSON line, and the deferred writer (per #106) skips the write and left that line unrepaired.

This release:

  • Automatic repair on the guard reload path — a torn trailing line is dropped (a .torn.bak is kept) so the resume succeeds.
  • cozempic doctor --fix — new unresumable-session check repairs any session already affected, in one command.

Conservative + safe: only ever drops a provably-unparseable trailing line, never a valid one. Fleet-reviewed; full suite (1757 tests) green.

Recover an already-broken session: cozempic doctor --fix (after upgrading).