Two Kinds of Memory
Description and use
Teams can quickly locate code and retrieve decision rationales using virage for semantic search and kms for curated decision storage.
Problem
Teams struggle to locate code and understand why it’s structured a certain way, leading to repeated searches and re‑decisions.
Outcome
Teams can locate code in seconds and access documented rationale, reducing redundant searches and clarifying design intent.
Workflow
- 1. Install virage and kms via npm or plugin marketplace.
- 2. Run
virage initto create configuration. - 3. Execute
virage indexto build a vector index of the repo. - 4. Query code locations with
virage query "how does authentication work?". - 5. For explanations, run
kms query "why is authentication split?"to retrieve captured decisions. - 6. Review and update decisions in kms if missing or contradictory.
Evidence
virage index finds all three in seconds — every file touching auth, ranked by relevance, whether or not "auth" shows up in a variable name.
kms query for "why" questions. They answer different questions, "where is this" and "why is it this way".
- Record date: 2026-09-14T18:45:47.847Z