github Ruya-AI/cozempic v1.8.35

latest releases: v1.8.39, v1.8.38, v1.8.37...
5 months ago

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).

Don't miss a new cozempic release

NewReleases is sending notifications on new releases.