From ad447c55de7e0f0aee9daa2b0ed5680669184099 Mon Sep 17 00:00:00 2001 From: weichen Date: Tue, 29 Sep 2026 16:38:04 +0000 Subject: [PATCH] Append the catalog-driven orchestration round to the integration report. --- ...6-09-29-squad-native-integration-report.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docs/records/2026-09-29-squad-native-integration-report.md b/docs/records/2026-09-29-squad-native-integration-report.md index 336fa3c..22a2054 100644 --- a/docs/records/2026-09-29-squad-native-integration-report.md +++ b/docs/records/2026-09-29-squad-native-integration-report.md @@ -91,3 +91,22 @@ explain 摘录(route_blueprint 输入):`守卫 排除 guard.config_change - 回退:各仓删除对应适配器包 + 接线 + submodule(清单见各仓 docs/records 采纳记录),核心包零改动。 过程记录:Agent-Squad `docs/records/2026-09-29-intent-gate-adoption.md`;Agent-Native `docs/records/2026-09-29-intentgate-adoption.md`。 + +--- + +## 七、追加轮:目录驱动的编排(E2/E4 + G3–G5,组合 AI `3674dc4` ← N `292142a` ← S `5454f74`) + +本轮外挂意图在第一节基础上新增 `demo.run.status_query`(必填槽 run_id:pattern `run-\d+`、label 运行编号、提问建议"要查询哪个运行?请提供 run 编号")。 + +| 用例 | 输入 / 场景 | 实际结果 | 期望 | 判定 | +|---|---|---|---|---| +| 槽位归一+校验链 | `查询任务 RUN-42 的进度` | slot run_id 归一为 `run-42`,通过自定义 validator | 抽取→归一→校验链生效 | ✅ | +| 槽位非法区分 | `查询任务 42 的进度` | `InvalidSlots[run_id]="validator: 须以 run- 开头"`,不进 Missing | "给错了"与"没给"分离 | ✅ | +| 枚举/格式校验 | `环境: dev 日期: 明天` | env 枚举不合法、date 格式不合法,均进 InvalidSlots | 确定性校验 | ✅ | +| 目录渲染 | intentctl catalog | 目录含能力/必填槽位/提问建议;守卫 spec 不出现 | 规划者可消费 | ✅ | +| LLM 规划器/leader 提示词 | buildPrompt/leaderPrompt | 目录与提问建议注入;未配置时不出现 | G5 提问模板落地 | ✅ | +| 计划确定性校验 | 缺目录/未知意图/缺必填槽/枚举违规 | 四类全部 fail-closed 拒绝计划(错误含澄清建议) | 防领导幻觉闭环 | ✅ | +| E2E 混合步 F | `做一次混合演示`(蓝图=系统功能步+agent 步,EchoRunner) | completed 2 步:sys1 物化系统功能调用(intent_id/handler/slot 落盘),write1 走 agent 后端 | 系统功能不经智能体 | ✅ | +| E2E fail-closed G | 同输入但未注册 handler | failed:`handler "taskrun.query_status" 未注册(fail-closed,不静默降级)` | 不静默降级 | ✅ | + +三仓 vet/test/-race 全绿;既有 conformance 套件两轮均未改动即通过(等价回归持续成立);核心包 agent-intent 依赖 0 命中;一致性脚本全绿(Squad 8 项比对)。