Files
collective-memory-repo/MEMORY.md

33 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# MEMORY.md
## 系统定义
- 写入通道:本地 Git 记忆仓库。
- 权威查询通道:远程 MCP/QMD。
- 本地检索角色:草稿与故障降级。
## 目录索引
- `shared/long-term/`长期共享记忆durable facts
- `agents/<agent-id>/`:智能体私域工作记忆。
- `tasks/<task-id>/`:任务级共享记忆。
- `daily/`append-only 原始观察。
- `policies/`:统一策略与 SOP。
## 记忆生命周期
1. capture原始事实写入 `daily/``tasks/``agents/`
2. review在任务上下文验证和去重。
3. promote沉淀稳定结论到 `shared/long-term/`
4. recall群体召回仅通过远程 MCP/QMD。
## 群体查询准则
- 所有群体结论必须可追溯到:`branch + commit_hash + synced_at + source_path + scope`
- 查询一致性顺序固定:`sync git -> qmd update/embed -> query`
## Migration Snapshot (2026-03-10)
- openclawd memory imported into:
- `shared/long-term/decisions/openclawd-infra-baseline.md`
- `shared/long-term/projects/openclawd-memory-index.md`
- `shared/long-term/projects/openclawd-project-status.md`
- `shared/long-term/lessons/openclawd-ops-lessons.md`
- task tracking: `tasks/openclawd-migration-2026-03/`
- group retrieval should use remote memory-gateway only.