When should I compact manually?
Before starting a fresh subtask: /compact with a keep-directive naming decisions and invariants, dropping the tangent explicitly.
Glossary · Compaction
Summarize the past to afford the future.
The short answer
Compaction summarizes a near-full conversation into a high-fidelity seed and restarts a fresh window with it, the standard lever for long-horizon tasks that exceed any context window.
Done well it preserves decisions, open threads, and invariants while dropping resolved subtasks and verbose tool dumps. Done blindly (auto-compact at 80–95%) it paraphrases exact code into lossy prose at the worst moment, so manual compaction with keep/drop directives beats automatic.
Compaction, working
Candidates are ranked and packed into a fixed budget by value per token; the rest stays on disk.
11 of 14 served, 3,310 of 4,096 tokens.
anvaya-mind-rs/crates/mind-services/src/quorum.rs · mind-types/src/config.rsIn Anvaya
Questions
Before starting a fresh subtask: /compact with a keep-directive naming decisions and invariants, dropping the tangent explicitly.
Decisions + why, open threads, invariants and hard constraints. Drop resolved subtasks, verbose outputs, abandoned attempts.
For open-ended work it helps; for structured spec→implement→verify flows, explicit fresh sessions still give tighter control.
23.4 MB median own-process memory, measured across 1030 runs (994 verified) and fourteen harnesses. One command installs the harness and the Mind together. Nothing leaves your machine on the Ollama path.
Developer beta. macOS on Apple Silicon and Linux on x86_64 or arm64. Memory figure: --no-mind, macOS/ARM, n=3 per cell. Pre-1.0, pricing not set.