feat(memory): migrate openclawd vaults into collective layout

This commit is contained in:
hotwa
2026-03-10 15:58:32 +08:00
parent b5edc14629
commit 4a6d51147f
70 changed files with 4156 additions and 158 deletions

22
agents/codex/AGENTS.md Normal file
View File

@@ -0,0 +1,22 @@
# AGENTS.md (agents/codex)
## 工作根路径
- 当前工作根路径 = 本文件所在目录(`memory-repo/agents/codex/`)。
- 智能体仅在该目录维护自己的工作记忆。
## 目录类型
- 类型:`agent`
## 目录作用
- 智能体私域工作记忆:收件、当前上下文、草稿。
## 查询规则
- 群体共享记忆查询必须走远程 MCP/QMD。
- 本地检索仅用于未 push 草稿、故障降级和本地调试。
## Git 规则
- 修改前先 `git fetch --prune origin`,再 `git pull --rebase`
- 小步提交,避免与长期共享记忆同提交混改。
## Promote 规则
- 稳定结论通过 task 或 promote 流程进入 `shared/long-term/`