Repository navigation
v0.4.1 — Handoff extraction and tail-preserving truncation
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'scompact_summaryis 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 atSessionStart, 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.