Skip to content

v0.4.1 — Handoff extraction and tail-preserving truncation

Choose a tag to compare

@phense phense released this 04 Sep 10:16
· 95 commits to main since this release

Patch release for the Claude compaction handoff, from a second live /compact smoke on 2026-09-04.

Fixed

  • Handoff extraction ignores tags quoted in the prose. The <summary> block of Claude's compact_summary is now bounded by tags on lines of their own (the first <summary> starting a line after the first </analysis> ending one, up to the last </summary> ending a line). In a session that discussed this very mechanism, the previous first-occurrence match stored analysis remainder plus a summary fragment because the prose quoted <summary> and </summary> inline.
  • Truncated handoffs keep their tail. Over handoff_max_chars, and over the render budget at SessionStart, the middle of the handoff is cut out instead of its end, so the summary's pending work, current state, and next exact action survive alongside its objective. The …[truncated] marker stands on a line of its own between head and tail.

612 tests pass. See CHANGELOG.md for the full 0.4.x history.