何时用
多人/多 Agent 要共享不断演进的理解——而不是每次 Chat 重贴历史。
结果
A Space filesystem shaped like:
raw/ # immutable evidence
wiki/
overview.md
index.md # living catalog
log.md # append-only timeline
topics/ entities/ analyses/ queries/ ...
runtime/ # optional routes / registries
.agents/skills/ # optional ops skills
AGENTS.md # how agents should navigate this knowledge Space步骤
- 单独开知识 Space(或在项目 Space 划清子树)。
- 写
wiki/overview.md(定位、受众、不做的事)。 - 建
wiki/index.md+wiki/log.md。 - 原料进
raw/(不改写 raw)。 - 蒸馏进 wiki 页(尽量更新 5–10 个已有页,而不是只 +1 文件)。
log.md只追加:变更、链接、置信度。- 维护
index.md作为查询面。 - 结构稳定时存档。
Agent 规则
- Semantic page first → confirm with
raw/evidence → then act - Don’t treat Chat as the catalog — update
index.md - Contradictions get an explicit page/section, not silent overwrite
- Minimize secrets/PII in wiki; keep credentials in Space env, not markdown
完成标准
- [ ] New teammates/agents can start from
AGENTS.md+wiki/index.md - [ ] Log shows recent compounding updates
- [ ] Raw evidence is linkable from wiki claims
外部百科证据
For Fandom / MediaWiki lore dumps into raw/ then distill to wiki/:
- wikis — HTTP API (
fff-wiki.neta.art), great for curl/agents - fandom-cli — local MediaWiki CLI alternative
别这样做
- Archive pipeline that only adds files and never updates pages
- Using Chat transcripts as the only memory
- Editing history inside
raw/