bankai/compact
G5 — memory compaction (Rich-Hickey-compatible: dep-free, no LLM, no datalog).
Tier + retire: Closed tasks leave the ACTIVE set (so prime/load stays
bounded and relevant) but move to .bankai/archive.jsonl — still queryable by
hash via inspect. A summary memory is recorded.
This is the Letta/Anthropic “core vs archival” pattern (still retrievable, just not in the prompt), NOT lossy LLM summarization — which the consolidation literature (Mem0/Letta/Anthropic/Zero-Mem) explicitly warns against. Summarization is the AGENT’s job; bankai is a pure data tool.