|
| 1 | +# v1.15.7 |
| 2 | + |
| 3 | +> 发布日期:2026-07-31 |
| 4 | +> 类型:Patch |
| 5 | +
|
| 6 | +## 摘要 |
| 7 | + |
| 8 | +本版本发布 SkillRoute MCP 契约与 closeout/rebind 防复发修复:`skill_route` 的 MCP schema 改为按操作分支声明字段,避免客户端继续把 `contextBinding` 传给 `catalog/load_stage/status`;Context Binding 失败不再只返回裸 `CONTEXT_BINDING_PENDING/STALE`,而是返回可执行的 refresh/rebind/load_stage 恢复建议;Stop hook 的 closeout 阻断也会给出下一步 `load_stage` 参数。 |
| 9 | + |
| 10 | +## 主要变更 |
| 11 | + |
| 12 | +- `skill_route` MCP `inputSchema` 改为 per-op `oneOf`:`catalog/load_stage/status` 不接收 `contextBinding`,`commit/rebind` 必须接收 `contextBinding`。 |
| 13 | +- `REQUEST_FIELD_UNSUPPORTED` 返回 `SkillRouteRequestShapeErrorV1`,包含不支持字段、允许字段和下一步建议。 |
| 14 | +- `CONTEXT_BINDING_PENDING/STALE` 返回 `SkillRouteContextRecoveryV1` 与 `nextOperation`,覆盖缺 receipt、identity mismatch、stale receipt、mandatory source 未满足等路径。 |
| 15 | +- `status` 和 Stop closeout pending 返回 `SkillRouteNextActionV1`,明确下一次应调用 `load_stage` 还是 `rebind`,并附带可直接使用的参数。 |
| 16 | +- canonical progressive Skill route schema 增加 `rebind` 操作,host capability runtime/adapter digest 同步刷新。 |
| 17 | +- 回归测试覆盖 MCP schema、请求字段负例、stale receipt 恢复、closeout pending、Stop stale rebind 和 package release 路径。 |
| 18 | + |
| 19 | +## 验证 |
| 20 | + |
| 21 | +- `npm run test:skill-route-state` |
| 22 | +- `node scripts/test-mcp-servers.js` |
| 23 | +- `npm run test:skill-route` |
| 24 | +- `npm run test:context-read` |
| 25 | +- `npm run test:global-adapters-cli` |
| 26 | +- `npm run test:global-host-config` |
| 27 | +- `npm run test:package-projection` |
| 28 | +- `npm run test:pack-clean` |
| 29 | +- `npm run test:profile-governance` |
| 30 | +- `npm run test:release-metadata` |
| 31 | +- `npm run test:context-binding` |
| 32 | +- `npm run test:skill-route-closure` |
| 33 | +- `npm test` — `validation-20260731112755018-9ad8e1d5`,87/87 |
| 34 | +- `npm run test:audit` |
| 35 | +- `npm run test:package-release` — `validation-20260731113505903-4581ed7d`,62/62 |
| 36 | +- `npm run release:dry-run:all` — npmjs/GitHub registry dry-run 均 exitCode=0 |
| 37 | + |
| 38 | +## 发布说明 |
| 39 | + |
| 40 | +- npm 包名:`devcodex` |
| 41 | +- registry:`https://registry.npmjs.org/` |
| 42 | +- 发布分支:`main` |
| 43 | +- 发布路径:tag `v1.15.7` 触发 GitHub Actions `Publish to npm` |
0 commit comments