Record the I2 results and verification on the task card

Why: closure requires the results section filled with the acceptance
evidence map.
Evidence: R1-R4 rows reference the merged PRs and named tests.
Impact: none.
Refs: I2 closure
This commit is contained in:
2026-10-07 11:37:45 +00:00
parent 0212d2e50b
commit a7772dca82
+3 -3
View File
@@ -72,9 +72,9 @@
## 结果与验证(完成后填写)
- 结果:
- 验证:<结论摘要 PASS/FAIL/SKIP/NOT_RUN 逐项;逐条证据由 make evidence 写入上方证据表>
- 影响与剩余项:
- 结果:I2 三个增量全部落地。增量一(agent-intent #9):SemanticScorer 语义端口(歧义时按 examples 打分裁决,错误保持 Ambiguous 并交 L2)+ CommandGenerator 生成端口(validateGenerated fail-closed,幻觉回 fallback)+ IntentSpec.Examples。增量二(agent-intent #10):corpus MetricsOf 产出 precision/recall(TP/FP/FN),EXPECTATION_HIT 计入命中、错配同时计 FP+FN,11 用例多轮夹具全绿。增量三(Backend #83):intentsem 包——EmbeddingScorer(复用 RAG SwitchingEmbedder,input+examples 批量取向量取最大余弦)与 LightGenerator(轻量模型路由,目录-only 系统提示,严格 JSON 命令数组解析,流/解析错误上抛走库侧 fail-closed);intentgate SetSemantic/SetGenerator(双 nil 还原 I1 识别器);app 装配双开关 runtime.intentSemantic/runtime.intentGenerator(注册默认 false,EffectRestart)。级联:Native#23、Squad#27、Backend#84 把嵌套 intent pin 收齐到 343b1e6。
- 验证:R1-R4 验收均 PASS——① 语义裁决:TestSemanticRerankResolvesAmbiguous / TestGateSemanticResolvesAmbiguous(过阈 matched、不达阈/平分保持 ambiguous、错误交 L2);② 生成器:TestGeneratorValidStartBecomesMatched / TestGateGeneratorProducesCommands(合法 start → matched+Commands;unknown spec/kind/slot → fail-closed);③ 指标:intentctl eval 11/11 绿并输出指标行;④ 默认关闭 parity:TestIntentSlowLaneFlagsDefaultOff(Schema 注册双 bool 默认 false)+ gate 双 nil 还原测试。证据:agent-intent/backend/native/squad 各仓 CI 在各自 merge 前 success(GATE);Dev 分支 check-pins pins ok、make test exit=0(收据经 make evidence 入卡);lint-boundaries ok(intentsem 登记为 agent-intent 适配器;baseline 新增 backend/app→backend/intentsem 边)。
- 影响与剩余项:默认行为零变化(慢通道 opt-in)。开启语义需配置 embedding 端点;开启生成走轻量档(空回落主档)。剩余项转后续:慢通道开启态的端到端灰度与阈值调参(随 RDM MS1 插件语料一并);SetSlot/Cancel/Handoff 命令的运行时消费(I1 已记录为 Router v1 边界外)。至此库分期 I1/I2 完成,下一步按总案推进 N2/N3/Q2/Q3 或 MS1 下游。
## 合入与清理