Today marks a milestone for CaseMgr — we shipped per-case context loading, a feature that lets AI agents automatically recover their working context after Claude Code’s context window compaction.
The Problem
When you’re deep in a coding session with Claude Code, the context window eventually fills up. Claude compacts it — summarizing the conversation to free space. But that summary loses the details: which tasks were active, what environment you were debugging in, the client requirements you were referencing.
Most AI memory systems (like Soul v5.0) handle this at session boundaries — loading context at start, saving at end. But they’re blind to mid-session compaction. Your AI agent suddenly doesn’t know what it was working on.
Our Solution: Context Cases
CaseMgr now lets you link cases together as “context.” When compaction happens, a PostCompact hook automatically fires and reloads:
- Your current case’s active tasks and work state
- Notes and knowledge from all linked context cases
- Case descriptions and project context
The key insight: CLAUDE.md is the bootstrap, CaseMgr is the knowledge base. Keep your instruction files small and static. Put everything dynamic into CaseMgr cases and link them as context.
What Else We Shipped This Week
- wa CLI v2.0 — Migrated into the monorepo, consolidated tool names from dots to hyphens for Claude.ai compatibility
- OAuth 2.0 for MCP — Claude.ai can now connect to CaseMgr natively via browser-based OAuth authorization
- Tool consolidation — Reduced from 222 to 184 MCP tools by merging duplicate create/list operations
- Cloudflare Turnstile — Bot protection on login and registration
- PubSub broadcasts — Real-time UI updates when MCP operations modify data
- Case Plan Models documentation — 17 public models with Mermaid diagrams on the website
- Dark theme — All documentation pages match the CLI landing page aesthetic
- Product gating — Billing tools hidden from users without the billing product
- Sticky case header — No more scrolling to see the case name and status
What’s Next
We’re working on making the dual-nav problem go away (Phoenix and WordPress currently serve separate menus), improving the case detail UI with collapsible sections and better mobile support, and expanding the public model library with more CMMN workflow templates that users can instantiate with one click.
If you’re building with AI agents and want persistent, case-driven context management, try CaseMgr — it’s free to get started.
Leave a Reply