Context cleaning for Claude Code — prune bloated sessions, protect Agent Teams from context loss, auto-guard with tiered pruning
Stars
185
Forks
11
Watchers
185
Open Issues
7
Overall repository health assessment
No package.json found
This might not be a Node.js project
fix: v1.4.1 — MCP/plugin context window detection (was hardcoded 200K, now detects 1M)
5cde413View on GitHubfix: MCP server and estimate_tokens now detect actual context window (200K/1M) instead of hardcoding 200K
32be93cView on GitHubfix: add digest to shell completions, handle missing MEMORY.md (v1.4.0)
f3296b8View on GitHubrefactor: remove dead code — failure_patterns, precompact_instructions, JSONL injection fallback
6756258View on GitHubfix: memdir injection, regex expansion, promotion threshold (v1.4.1)
99bfc7fView on GitHubfeat: Track 4 — digest injection, compaction survival loop, hook wiring (v1.4.0)
9f501ceView on GitHubfeat: Track 1-3 — critical bug fixes, new strategies, behavioral digest Phase 1 (v1.4.0)
2f97f81View on GitHubfeat: guard startup cleanup, updater fixes, MCP maintenance, behavioral digest design doc (v1.3.1)
bdd74daView on GitHubfix: clean guard startup message, silence per-cycle checkpoint noise (v1.3.1)
3748f39View on GitHubfeat: writer-safe live prune + sidecar session store (v1.3.0)
a411aa8View on GitHubfix: fail silently on all permission errors in npm postinstall (v1.2.8)
7f70d34View on GitHubfeat: image-strip (aggressive, keep last 20%), fix scattered progress-collapse (v1.2.7)
c7c14a2View on GitHubfeat: tool-use-result-strip strategy — strips toolUseResult envelope field, 5-50% savings on edit-heavy sessions (v1.2.6)
20ea8ebView on GitHubfeat: track first installs via counter ping on first CLI run + npm postinstall (v1.2.5)
1d2631bView on GitHub