Files
llm-intelligence/memory/README.md
phamnazage-jpg 77e6610fd2
Some checks failed
CI / test (push) Has been cancelled
chore: prepare repository for publishing
2026-05-13 14:42:45 +08:00

60 lines
1.4 KiB
Markdown
Raw Permalink 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.
# llm-intelligence daily memory rules
`memory/YYYY-MM-DD.md` 是项目单日归档文件,不是实时工作缓冲区。
## 初始化规则
- 如果当天文件不存在,先创建:
- 标题:`# llm-intelligence Daily Memory - YYYY-MM-DD`
- 说明:项目单日归档,不是实时 WAL
- 主体:`## Entries`
- 第一次写入也要遵守同样结构,不要直接从一个裸 section 开始。
## 追加规则
- 只在 `## Entries` 后面追加新时间块
- 每次追加一个完整时间块,不回改历史块
- 默认流程:
1. `read` 当前文件
2. 保留旧内容
3. 在末尾追加一个新块
4.`write` 全量重写
## 标题格式
统一使用:
`## HH:MM - <actor> - <topic>`
`<actor>` 只允许:
- `main`
- `cron`
- `review`
- `verifier`
- `worker`
## 小节格式
每个时间块只使用这四个小节:
- `### Context`
- `### Evidence`
- `### Outcome`
- `### Next`
## 角色写法约束
- `cron`:调度结果、失败原因、是否需要人工介入
- `review`:关键发现、风险等级、建议动作
- `verifier`命令、证据、PASS/FAIL
- `main`:用户决策、任务切换、阶段结论
- `worker`:局部实现进展、阻塞、交接点
## 不要写的内容
- 不要粘贴大段原始日志
- 不要复制整篇报告
- 不要把任务状态真相写在这里,任务状态以 `TASKS.md` 为准
只保留高价值摘要,以及可追溯的文件路径、命令、报告位置。