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