Add the optional intent gate port with the squadintent adapter, CLI wiring, and pin cascade

Details (original message):
Add the optional intent gate port with the squadintent adapter, CLI wiring, and pin cascade.
This commit is contained in:
weichen
2026-09-29 16:05:33 +00:00
parent be5959d89a
commit f3d000f6a6
17 changed files with 737 additions and 31 deletions
+7
View File
@@ -39,3 +39,10 @@
- `deps/development-guidelines` 固定 `26b562d2e34fbc560711296a309c91c74ffc55b1`。
- 执行方式为 manual。
- 回退该规范挂载时,同时确认 Agent-Native 子模块路径是否已迁移;只还原规范 gitlink 不会把 `deps/agent-native` 移回根目录。
### 2026-09-29 追加:agent-intent 可选意图闸门
- 新增 `deps/agent-intent`(固定 `55780ae2cce4ae98d8b0557b8234af8833a7c522`);`deps/error-code-system` 前进到 `dbeed2f1b67eb417ce089e7033a228578fbbeb03`(`squad.intent_refused`,追加式);`deps/agent-native` 前进到 `c659dc17d5086a8128999011994fc2dbe73419d3`(其仓内新增 intentgate 装饰器)。
- 依赖边界新增:唯 `squadintent` 与 cli 组合根可 import agent-intent;`squad`/`server`/`store` 不感知意图;未配置意图时引擎行为与原实现一致。
- 接入与验证记录见 [docs/records/2026-09-29-intent-gate-adoption.md](../docs/records/2026-09-29-intent-gate-adoption.md);跨仓测试报告见 Agent-Intent 仓 docs/records。
- 回退:删 `squadintent/` 与 cli 接线、go.mod 两行、submodule 与 `.gitmodules` 条目、一致性脚本对应段;可将 agent-native 回退到 `cc8a6a7`(其 intentgate 为可选包,不回退亦可编译)。