Repository navigation
docs(m10): 评测模板机器触发候选注入的 issue、接口变更稿与文档修订文案 (#429) - #430
Merged
Merged
Conversation
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.
概要
新增 issue #429(评测模板机器触发:可选参数注入候选 commit 与服务令牌,里程碑归属 m10「评测模板与快速启动」),并随 issue 附两份设计交付物。本 PR 不改任何代码,只含流程文件与设计稿:
.agents/flow/issues/m10-candidate-launch-override.*plans/2026-11-25-m10-candidate-launch-override/openapi-change.mdplans/2026-11-25-m10-candidate-launch-override/docs-5-14-revision.mddocs/design/eval-platform-architecture.md§5.14 的中英替换文案(实施时落库)接口变更摘要(详见 issue #429)
POST /api/v1/eval-templates/{id}/launch:新增可选asset_override(repo_url/ref/commit/asset_paths/asset_types,整体替换、缺省继承模板)与lineage;commit 为权威身份,服务端断言resolved_commit == commit;202 响应新增asset块与可能的warnings;新增 422 错误码candidate_commit_mismatch / asset_source_unresolved / asset_ref_unresolved。GET /api/v1/eval-runs/{id}/status:新增asset回显;GET .../results:新增asset与lineage回显。POST/GET/DELETE /api/v1/service-tokens与服务令牌鉴权(launch 需eval:launch,status/results 需eval:read,支持模板白名单与并发/预算上限)。决策依据(2026-11-25 与需求方确认)
D1 HE 适配平台契约;D2 launch 支持可选注入参数(代码仓 + commit);D3 晋升由 HE 提 PR 人工裁决,平台不管;D4 平台只给测量,裁决在 HE;D5 自进化评测模板不开启 bad case 上报。里程碑与 roadmap 不新增条目,工作挂在既有 m10 下推进。
门禁
node scripts/verify-flow.mjs:ok;verify-flow --diff origin/main:oknode scripts/run-gates.mjs --mode doc-quick:6 叶全绿