01Write: persist outside the windowStanding knowledge lives in files the agent reads every session (AGENTS.md, CLAUDE.md, .anvaya/mind/). Anvaya Mind goes further: session outcomes become typed nodes (Decision, Pattern, BugFix, Approach) with half-lives, so the standing context improves instead of rotting.
02Select: retrieve at the moment of needSix-stage Prism retrieval (keyword FTS, file + symbol semantic search, recency, graph expansion, bug-boost) plus intent bias, then submodular Quorum packing under a 2000/4096-token budget. The agent gets the few nodes that matter, not the whole graph.
03Compress: keep only what the step needsThe shipped default is a context guard plus macro compaction: each tool output is capped at 30% of the window with an explicit re-fetch marker, and a two-stage summary fires at 80% with hard-drop at 95%. Micro-fold (disk artifact offload) measured −11.0% median uncached and stays gated pending promotion; retired meso variants are published as negative results.
04Isolate: keep unrelated work apartSubagents get fresh windows and return 1–2K summaries; tool outputs are capped before they enter context; the daemon watches files so indexing never pollutes the loop. Noise never reaches the model.