tools(agent-loop): two-agent loop scripts, hooks, prompts, nightly lessons

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jesse_Chen
2026-10-13 12:42:49 +08:00
co-authored by Claude Opus 5.5
parent 66de04c6ff
commit cf9793f0c0
24 changed files with 1208 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
<!-- reviewed-through: (none yet) -->
# 每晚复盘的教训(LESSONS)
由 agent 循环的每晚复盘(`tools/agent-loop/nightly-review.sh`,北京时间 23:30)维护,参照 yetone/magpie 的 `LESSONS.md`。复盘当天进入 `origin/staging` 的提交与 agent 交接评论,找"修了又修、不该合、验证太薄"的模式。
每条格式:**规则一句话** → 为什么 → 证据(提交短 SHA、issue 号、BUG 号)→ `出现:N 天(日期)`。同一条出现满 3 天,列入下方「待产品负责人拍板升级」,由产品负责人决定是否写进 `AGENTS.md`;复盘本身不改 `AGENTS.md`。
## 待产品负责人拍板升级
(暂无)
## 教训
(暂无)