Skip to content

test(canary): D-30 普通模型 canary 达标——typed 参数契约迁移验收收口(#112) - #148

Merged
Danceiny merged 3 commits into
feat/session-hotel-train-doctorfrom
issue/112-canary
Sep 5, 2026
Merged

test(canary): D-30 普通模型 canary 达标——typed 参数契约迁移验收收口(#112)#148
Danceiny merged 3 commits into
feat/session-hotel-train-doctorfrom
issue/112-canary

Conversation

@Danceiny

@Danceiny Danceiny commented Sep 4, 2026

Copy link
Copy Markdown
Owner

Closes #112

摘要

D-30 的最后一道门(普通模型 canary)通过,typed 参数契约迁移全面验收完成:

  • 新增 ts/scripts/typed-contract-canary.ts 运行器(入仓复用,后续任何契约迁移照跑):真实 LLM × 投影后工具 JSON Schema × 强制 tool_choice,量「参数一次成型」;validateJsonSchemaValue 与 defineTool 同款校验;不执行工具零副作用;隔离 stateRoot。
  • 实测(普通档 MiniMax-M2.7,founder 配置的 LLM 三件套):10 用例 10/10 一次成型 100%(达标线 90%)——覆盖 flyai 机/火/酒(带档期+摸底)/weather/hotel_search 自然表达/session_search/anything/github/web。
  • 二级观察:无时间锚点卡时模型裸猜年份(2024/2025)——由既有时间锚点卡 + 过去日期闸在真实会话纠正,非 D-30 缺陷。
  • 文档:D-30 全面清偿入 arch §10.2 存档 + §9/roadmap/stage1 同步。

验证

  • canary 实跑在案(本 PR 分支,输出 10/10 PASS);tsc 绿;分支基线 d1403e9(含全部迁移提交)。

合并顺序:建议 #125(若未合)→ 本 PR;内容为验收收口,无生产行为变更。

…N Schema,强制 tool_choice 量「参数一次成型」;validateJsonSchemaValue 与 defineTool 同款校验;不执行工具零副作用;隔离 stateRoot;达标线 ≥90%,不达标不合入
…canary.ts 运行器:真实 LLM(MiniMax-M2.7)× 投影后工具 JSON Schema × 强制 tool_choice,10 用例 10/10 一次成型 100%(达标线 90%);不执行工具零副作用,隔离 stateRoot;二级观察:无锚点卡时模型裸猜年份由既有时间锚点卡+过去日期闸纠正(非 D-30 缺陷);D-30 全面清偿入 §10.2 存档,§9/roadmap/stage1 同步
@Danceiny
Danceiny merged commit d5f5267 into feat/session-hotel-train-doctor Sep 5, 2026
3 checks passed
@Danceiny
Danceiny deleted the issue/112-canary branch September 5, 2026 05:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant