为项目维护 HOT/WARM/COLD 三级授权工作记忆,内建隐私控制与擦除授权闸门。
记忆
memory-review
试用Review daily memory logs and consolidate durable knowledge into the existing memory hierarchy. Use for scheduled or manual knowledge review, especially when deciding whether to update an existing canonical document, create a genuinely new document, skip a duplicate, defer an unstable signal, or propose merging overlapping documents.
它能做什么
Review daily memory logs and consolidate durable knowledge into the existing memory hierarchy. Use for scheduled or manual knowledge review, especially when deciding whether to update an existing canonical document, create a genuinely new document, skip a duplicate, defer an unstable signal, or propose merging overlapping documents.
技能文档
Memory Review
Turn daily logs into a small, current knowledge base. Treat daily logs as evidence, not as the authority.
Required workflow
-
Read references/spec.md before any write.
-
Read the workspace
AGENTS.mdandMEMORY.mdfor current hierarchy and owner rules. -
Build the deterministic scan plan:
python3 skills/memory-review/scripts/memory_review.py scan \ --root . \ --output /tmp/memory-review-scan.json -
Read every file in
changed_sources. Ignore*-memory-review.md; the scanner excludes them. -
Extract only durable signals. Exclude transient status, unverified ideas, routine execution logs, and secrets.
-
Resolve every signal against existing memory before writing. Use exact references,
memory_search,rg, and the helper when useful:python3 skills/memory-review/scripts/memory_review.py candidates \ --root . --query "主题或结论" -
Create a decision plan using the schema in the spec. Validate it before editing:
python3 skills/memory-review/scripts/memory_review.py validate-plan \ --root . --plan /tmp/memory-review-decisions.json -
Apply decisions in this order:
update_existingskip_duplicatereview_mergecreate_newdefer
-
Verify the diff, references, and current conclusion. A second run over unchanged inputs must not change canonical memory.
-
Write the report and execution log, then commit scan state only after all writes and checks succeed:
python3 skills/memory-review/scripts/memory_review.py commit-state \
--root . --scan /tmp/memory-review-scan.json
Hard rules
- Update-first: prefer the best existing canonical document over creating a near-synonym.
- Never create a third document when two candidates already overlap; emit
review_mergeinstead. - Resolve conflicts; do not append mutually contradictory conclusions as if both were current.
- Knowledge and hot memory outrank daily logs unless newer verified evidence explicitly supersedes them.
- Do not automatically edit
AGENTS.md,MEMORY.md,TOOLS.md,USER.md,SOUL.md, orENVIRONMENT.md. Record a proposal unless the current request explicitly authorizes that edit. - Do not put dates in new
memory/knowledge/filenames. Git history tracks time. - Do not advance state after partial failure.
- Do not send reports unless the caller or cron prompt specifies a destination.
Outputs
- Report:
memory/daily/YYYY-MM/YYYY-MM-DD-memory-review.md - Execution log:
data/exec-logs/memory-review/YYYY-MM-DD.md - State:
data/exec-logs/memory-review/state.json - Canonical targets:
memory/knowledge/,memory/glossary.md,memory/projects/,memory/post-mortems.md
相关技能
把雅思阅读做题结果自动转成结构化 JSON,并上传到你的线上复盘页面。
会话结束时把记忆、项目文档和工作空间规范一起核对回代码现状。
每日日记生成技能。触发时机:每次会话结束前或完成重要任务后。输出位置:memory/daily/YYYY-MM/YYYY-MM-DD.md。使用方法:加载 skill 后读取 references/spec.md 获取详细规范。
Persistent memory across sessions — local-first, no account needed. Automatically recalls past decisions, code, and tasks before each prompt, and saves session checkpoints. Also provides manual tools for searching, recording, and querying memory via Bash commands.
多视角对抗式审查。full/lean 模式在已部署 reviewer agents 时并行 spawn;缺失/异常 agents 或 spawn 失败时自动降级 solo,参考文件不可读时使用内置 rubric fallback。触发方式:/story-review、/审查、「审查一下」「帮我审一下」。