tools: 检索工具 typed 参数契约迁移(D-30)——23/23 工具五刀收官 - #124
Merged
Conversation
added 5 commits
September 4, 2026 17:01
…ob 迁 dsh typed ParameterSchemaSpec 平铺七字段(kind 枚举 required+六可选),模型可见逐字段 JSON Schema+execute 前宿主权校验(ToolArgsError→guardToolExecute 兜 ADR-13 ToolFailure 形状不变);迁移锁 smoke §12+channel-registry-tests §8(legacy blob/枚举外值入口即结构化拒绝);普通模型对参数形状不再靠猜。余量工具迁移与 flyai 普通模型 canary 记 D-30;六状态面同提交同步(arch §9/§10、roadmap 架构面增量、stage1 状态头)。run-all 全栈回归 ALL SUITES GREEN
)——平铺字段模型可见逐字段 schema;hotel(destination required)宿主权入口拒畸形参数,session 三意图无公共 required 保留 interpretArgs 容忍层(blob 归一照走业务闸,smoke 迁移锁钉死零 transport 短路路径);skills-contract 契约对齐(checkOut 字面量进参数描述);smoke/hbcli-e2e/channel-registry/skills-contract 全绿,run-all ALL SUITES GREEN;六状态面同提交同步(arch §9/§10、roadmap 增量、stage1 状态头);余量工具与普通模型 canary 记 D-30
…doctor/artifacts_list/fact_gate/agent_reach/turn_handoff_list/artifacts_read 平铺字段模型可见逐字段 schema;刀法总纲确立:有 required 字段的工具(artifacts_read path)宿主权入口拒 blob,全可选工具保留 interpretArgs 容忍层(doctor-tests blob 调用隐式锁);agent_reach 的 action 不设 enum——反射桥 D-4a' 透传上游新增渠道零改动;fact_gate 的 itinerary 保 object+additionalProperties:true,嵌套收紧归 #118 D-26;累计 11 工具迁移,tsc+smoke 全绿,run-all ALL SUITES GREEN;六状态面同提交同步(arch §9/§10、roadmap 增量、stage1 状态头)
…/anything/web/video/github 七工具 typed 参数契约迁移(issue #112)——trip_log 的 destination/start/evidence required 进 schema,evidence P0 溯源红线由宿主权闸;web_search 字符串 blob 形态退役(smoke §6 改锁宿主权拒绝);github_search 顶层 query 从对象形态变字符串字段;wish_pool 全可选保留容忍层;刀法总纲:required 具备宿主权即拒,全可选容忍层;累计 18 工具迁移,余 feasibility/motivation/companion 三个 payload 形态记 D-30;tsc+smoke 全绿,run-all ALL SUITES GREEN;六状态面同提交同步(arch §9/§10、roadmap 增量、stage1 状态头)
…lity(payload 结构化对象,嵌套权威在 unified 引擎契约不越层强约束)/motivation(profile 闭合对象,evidence P0 反伪造红线进嵌套 schema 由宿主权闸,smoke §1 断言适配宿主权前置拒绝)/companion(闭合对象 label/evidence required,additionalProperties:false 与负面清单同向);刀法总纲:required 具备宿主权即拒,全可选容忍层;evidence 类红线全数进 schema;tsc+smoke 全绿,run-all ALL SUITES GREEN;六状态面同提交同步(arch §9/§10、roadmap 增量、stage1 状态头);余量仅普通模型 canary(过闸才进发布面)记 D-30
This was referenced Sep 4, 2026
Danceiny
merged commit Sep 4, 2026
15e0c72
into
feat/session-hotel-train-doctor
0 of 3 checks passed
This was referenced Sep 4, 2026
Danceiny
added a commit
that referenced
this pull request
Sep 4, 2026
* feat(tools): flyai 检索工具 typed 参数契约第一刀(issue #112,D-30)——query json blob 迁 dsh typed ParameterSchemaSpec 平铺七字段(kind 枚举 required+六可选),模型可见逐字段 JSON Schema+execute 前宿主权校验(ToolArgsError→guardToolExecute 兜 ADR-13 ToolFailure 形状不变);迁移锁 smoke §12+channel-registry-tests §8(legacy blob/枚举外值入口即结构化拒绝);普通模型对参数形状不再靠猜。余量工具迁移与 flyai 普通模型 canary 记 D-30;六状态面同提交同步(arch §9/§10、roadmap 架构面增量、stage1 状态头)。run-all 全栈回归 ALL SUITES GREEN * feat(tools): D-30 第二刀——session/hotel/weather 三工具 typed 参数契约迁移(issue #112)——平铺字段模型可见逐字段 schema;hotel(destination required)宿主权入口拒畸形参数,session 三意图无公共 required 保留 interpretArgs 容忍层(blob 归一照走业务闸,smoke 迁移锁钉死零 transport 短路路径);skills-contract 契约对齐(checkOut 字面量进参数描述);smoke/hbcli-e2e/channel-registry/skills-contract 全绿,run-all ALL SUITES GREEN;六状态面同提交同步(arch §9/§10、roadmap 增量、stage1 状态头);余量工具与普通模型 canary 记 D-30 * feat(tools): D-30 第三刀——七高频工具 typed 参数契约迁移(issue #112)——session_login/doctor/artifacts_list/fact_gate/agent_reach/turn_handoff_list/artifacts_read 平铺字段模型可见逐字段 schema;刀法总纲确立:有 required 字段的工具(artifacts_read path)宿主权入口拒 blob,全可选工具保留 interpretArgs 容忍层(doctor-tests blob 调用隐式锁);agent_reach 的 action 不设 enum——反射桥 D-4a' 透传上游新增渠道零改动;fact_gate 的 itinerary 保 object+additionalProperties:true,嵌套收紧归 #118 D-26;累计 11 工具迁移,tsc+smoke 全绿,run-all ALL SUITES GREEN;六状态面同提交同步(arch §9/§10、roadmap 增量、stage1 状态头) * feat(tools): D-30 第四刀——query blob 清零,wish_pool/trip_log/flight_verify/anything/web/video/github 七工具 typed 参数契约迁移(issue #112)——trip_log 的 destination/start/evidence required 进 schema,evidence P0 溯源红线由宿主权闸;web_search 字符串 blob 形态退役(smoke §6 改锁宿主权拒绝);github_search 顶层 query 从对象形态变字符串字段;wish_pool 全可选保留容忍层;刀法总纲:required 具备宿主权即拒,全可选容忍层;累计 18 工具迁移,余 feasibility/motivation/companion 三个 payload 形态记 D-30;tsc+smoke 全绿,run-all ALL SUITES GREEN;六状态面同提交同步(arch §9/§10、roadmap 增量、stage1 状态头) * feat(tools): D-30 第五刀收官——23/23 工具 typed 参数契约迁移完成(issue #112)——feasibility(payload 结构化对象,嵌套权威在 unified 引擎契约不越层强约束)/motivation(profile 闭合对象,evidence P0 反伪造红线进嵌套 schema 由宿主权闸,smoke §1 断言适配宿主权前置拒绝)/companion(闭合对象 label/evidence required,additionalProperties:false 与负面清单同向);刀法总纲:required 具备宿主权即拒,全可选容忍层;evidence 类红线全数进 schema;tsc+smoke 全绿,run-all ALL SUITES GREEN;六状态面同提交同步(arch §9/§10、roadmap 增量、stage1 状态头);余量仅普通模型 canary(过闸才进发布面)记 D-30 --------- Co-authored-by: huangzhen.0505 <[email protected]>
Danceiny
added a commit
that referenced
this pull request
Sep 4, 2026
* feat(tools): flyai 检索工具 typed 参数契约第一刀(issue #112,D-30)——query json blob 迁 dsh typed ParameterSchemaSpec 平铺七字段(kind 枚举 required+六可选),模型可见逐字段 JSON Schema+execute 前宿主权校验(ToolArgsError→guardToolExecute 兜 ADR-13 ToolFailure 形状不变);迁移锁 smoke §12+channel-registry-tests §8(legacy blob/枚举外值入口即结构化拒绝);普通模型对参数形状不再靠猜。余量工具迁移与 flyai 普通模型 canary 记 D-30;六状态面同提交同步(arch §9/§10、roadmap 架构面增量、stage1 状态头)。run-all 全栈回归 ALL SUITES GREEN * feat(tools): D-30 第二刀——session/hotel/weather 三工具 typed 参数契约迁移(issue #112)——平铺字段模型可见逐字段 schema;hotel(destination required)宿主权入口拒畸形参数,session 三意图无公共 required 保留 interpretArgs 容忍层(blob 归一照走业务闸,smoke 迁移锁钉死零 transport 短路路径);skills-contract 契约对齐(checkOut 字面量进参数描述);smoke/hbcli-e2e/channel-registry/skills-contract 全绿,run-all ALL SUITES GREEN;六状态面同提交同步(arch §9/§10、roadmap 增量、stage1 状态头);余量工具与普通模型 canary 记 D-30 * feat(tools): D-30 第三刀——七高频工具 typed 参数契约迁移(issue #112)——session_login/doctor/artifacts_list/fact_gate/agent_reach/turn_handoff_list/artifacts_read 平铺字段模型可见逐字段 schema;刀法总纲确立:有 required 字段的工具(artifacts_read path)宿主权入口拒 blob,全可选工具保留 interpretArgs 容忍层(doctor-tests blob 调用隐式锁);agent_reach 的 action 不设 enum——反射桥 D-4a' 透传上游新增渠道零改动;fact_gate 的 itinerary 保 object+additionalProperties:true,嵌套收紧归 #118 D-26;累计 11 工具迁移,tsc+smoke 全绿,run-all ALL SUITES GREEN;六状态面同提交同步(arch §9/§10、roadmap 增量、stage1 状态头) * feat(tools): D-30 第四刀——query blob 清零,wish_pool/trip_log/flight_verify/anything/web/video/github 七工具 typed 参数契约迁移(issue #112)——trip_log 的 destination/start/evidence required 进 schema,evidence P0 溯源红线由宿主权闸;web_search 字符串 blob 形态退役(smoke §6 改锁宿主权拒绝);github_search 顶层 query 从对象形态变字符串字段;wish_pool 全可选保留容忍层;刀法总纲:required 具备宿主权即拒,全可选容忍层;累计 18 工具迁移,余 feasibility/motivation/companion 三个 payload 形态记 D-30;tsc+smoke 全绿,run-all ALL SUITES GREEN;六状态面同提交同步(arch §9/§10、roadmap 增量、stage1 状态头) * feat(tools): D-30 第五刀收官——23/23 工具 typed 参数契约迁移完成(issue #112)——feasibility(payload 结构化对象,嵌套权威在 unified 引擎契约不越层强约束)/motivation(profile 闭合对象,evidence P0 反伪造红线进嵌套 schema 由宿主权闸,smoke §1 断言适配宿主权前置拒绝)/companion(闭合对象 label/evidence required,additionalProperties:false 与负面清单同向);刀法总纲:required 具备宿主权即拒,全可选容忍层;evidence 类红线全数进 schema;tsc+smoke 全绿,run-all ALL SUITES GREEN;六状态面同提交同步(arch §9/§10、roadmap 增量、stage1 状态头);余量仅普通模型 canary(过闸才进发布面)记 D-30 --------- Co-authored-by: Danceiny <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #112
摘要(D-30,五刀)
interpretArgs容忍层(blob 归一后照走业务闸)。验证
npx tsc --noEmit绿;smoke 全绿(含 flyai live hit);./scripts/run-all-tests.shALL SUITES GREEN(5 连跑)余量
基线:feat/session-hotel-train-doctor(73af3ef)。合并顺序:本 PR → #113 栈 → #114 栈 → #115 栈。