Two Kinds of Memory
Описание и применение
Команды могут быстро находить код и получать обоснования решений, используя virage для семантического поиска и kms для хранения решений.
Задача
Teams struggle to locate code and understand why it’s structured a certain way, leading to repeated searches and re‑decisions.
Результат
Teams can locate code in seconds and access documented rationale, reducing redundant searches and clarifying design intent.
Рабочий процесс
- 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.
Доказательства
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".
- Дата записи: 2026-09-14T18:45:47.847Z