docs: rescan rebased documentation hierarchy

This commit is contained in:
Turtle
2026-08-05 12:46:38 +08:00
parent 012bb0a549
commit 8af3babaea
304 changed files with 1091 additions and 1983 deletions

View File

@@ -2,5 +2,5 @@
# side as of the last confirmed-consistent state. Both languages carry equal authority;
# after editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write packages/guard/README.md
README.md: b7375fd2bb12ae0cec94b13e6a1012c6f143bdad
README.zh.md: 7092f50b05516a2fb358c5d6f496b967ebdc6819
README.md: 8da2f2ddcc1432e7963e600b35549f5e26121af2
README.zh.md: aa8b5bd1f7d10d90d1dc84d07a7aad81bfb4259c

View File

@@ -1,11 +1,9 @@
# guard/:循环健康 guard 家族
# guard/ — 循环卫生 guard 家族
[English](README.md) | 中文
这组行为 guard 插件监视 agent loop智能体循环中的效模式,并提醒模型调整方向。这里只有一个**产品**包,不设接口/实现 seamguard 是现有核心 seam`tools/post-execute``agent/prompt-submit``agent/status`的自包含消费方,非可替换能力。
行为 guard 插件监视 agent loop智能体循环中的效模式,并推动模型回到正轨。guard 是 core seam 的自包含消费方,非可替换能力。
| 包 | 职责 | ctx |
| 包 | 职责 | ctx key |
|---|---|---|
| `repeat-tool-guard/` | 当 agent 对完全相同的工具调用反复循环时给出提示 | 监听 `ctx.tools` 的 waterfall即瀑布式事件 |
提示以 `additionalContexts` 形式附在 `tools/post-execute` 决策中传递agent loop 会在该步骤的工具结果之后,将其追加为有日志记录、来源为插件的 `user/message` 事件(参见[工具包](../core/tools)。因此guard 告诉模型的所有内容都能从会话日志中重建。
| [`repeat-tool-guard/`](repeat-tool-guard/README.md) | 针对重复工具调用的建议性提醒 | 监听工具和 agent 事件 |