Releases
v1.4.0
v1.4.0 — Bug fixes, new strategies, behavioral digest
Compare
Sorry, something went wrong.
No results found
What's New
Track 1: Critical Bug Fixes
is_protected() guard on all 17 strategies — prevents stripping compact boundaries, marble-origami state, and other critical entries
isSidechain preserved in envelope-strip (was silently breaking subagent routing)
output_tokens included in token formula (both extract_usage_tokens and quick_token_estimate)
parentUuid + logicalParentUuid re-linking after message removals
Sibling tool_use protection prevents orphaned tool_results from parallel tool calls
Track 2: New Strategies
compact-summary-collapse (gentle, 85-95% savings) — removes pre-compaction messages already in the summary. First in all prescriptions.
attribution-snapshot-strip (gentle) — removes UI-only attribution metadata
Microcompact-aware trim — skips tool results already summarized by Claude's microcompact
Behavioral Digest
Extracts user corrections from sessions (regex-based FELT classification)
Persists rules to ~/.cozempic/behavioral-digest.json
Syncs active rules to Claude Code's native memory system — Claude actually reads and follows them
Explicit corrections activate immediately; implicit/preferences need 2 occurrences
CLI: cozempic digest show|update|clear|flush|inject
Hooks: SessionStart injects, PreCompact/Stop extract
Quick Wins
Cache efficiency metrics in cozempic diagnose (hit rate, read/create tokens)
Hook commands now parse transcript_path from payload (faster session resolution)
Stats
17 strategies (was 15)
273 tests (was 165, +108 new)
22 issues closed
You can’t perform that action at this time.