Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

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 init to create configuration.
  • 3. Execute virage index to 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