init: seed collective memory repo
This commit is contained in:
31
shared/long-term/AGENTS.md
Normal file
31
shared/long-term/AGENTS.md
Normal file
@@ -0,0 +1,31 @@
|
||||
# AGENTS.md (shared/long-term)
|
||||
|
||||
## 工作根路径
|
||||
- 当前工作根路径 = 本文件所在目录(`memory-repo/shared/long-term/`)。
|
||||
|
||||
## 目录类型
|
||||
- 类型:`long-term`。
|
||||
|
||||
## 目录作用
|
||||
- 存放 durable facts、稳定项目知识、经验教训与已确认决策。
|
||||
|
||||
## 查询规则
|
||||
- 该目录是群体长期记忆来源之一,但权威查询仍必须通过远程 MCP/QMD。
|
||||
- 本地读取结果只能作草稿或故障降级参考。
|
||||
|
||||
## Git 规则
|
||||
- 修改前必须先同步:`git fetch --prune` + `git pull --rebase`。
|
||||
- 禁止并发大规模改动长期共享文件。
|
||||
- 仅允许 promote 提炼写入,不直接搬运未经验证原始记录。
|
||||
- 冲突不自动乱合并,必须人工/受控逻辑处理。
|
||||
|
||||
## 可见性状态机
|
||||
- push 前:本地可见。
|
||||
- push 后未索引:已提交未群体可见。
|
||||
- fetch + qmd update 后:群体可见。
|
||||
- 群体召回只认远程 MCP。
|
||||
- 本地结果仅作草稿/fallback。
|
||||
|
||||
## Promote 规则
|
||||
- 原始记录先在 `daily/ tasks/ agents/`。
|
||||
- 稳定事实再写入 `projects/ lessons/ decisions/`。
|
||||
0
shared/long-term/decisions/.gitkeep
Normal file
0
shared/long-term/decisions/.gitkeep
Normal file
0
shared/long-term/lessons/.gitkeep
Normal file
0
shared/long-term/lessons/.gitkeep
Normal file
0
shared/long-term/projects/.gitkeep
Normal file
0
shared/long-term/projects/.gitkeep
Normal file
Reference in New Issue
Block a user