- D1: Registry 3 prompt(策划/对抗/fix)+eval 骨架+registry 注册 - D2: agent-loop 2 schema + 4 模板 schema(对齐 gen_spike 真源, additionalProperties:false) - D3: 编排器+裁决引擎(judge D1-D10 决策表/账本幂等重放/预算闸熔断/eval 回流/批报告), 59 单测绿(mini-desktop) - D5: 玩家 CDP 取证 player_cdp.py(真点击/蛇形→驼峰映射/demo 三信号/三角合成判定), 9001 自测 PASS - (D4 后端件已在 9bf3d54 先行入库, 三条 mvn 两轮独立实跑全绿) - spec: 评审版(已拍板)+execution 版(已审定+建设期补充裁决 D4-a~d/D5-a~c/D2-a/D3-a) - W2 试点/种子 9003-9008/B4 四链路烟测 产物与总账/作战清单同步 - eval 种子: C1 spike 52 条转入 config.clicker-designer(inputs 52/labels 13) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
46 lines
2.3 KiB
JSON
46 lines
2.3 KiB
JSON
{
|
||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||
"$id": "https://wanxiang.ai/contracts/templates/runner.schema.json",
|
||
"title": "RunnerGameConfig",
|
||
"description": "runner(跑酷)模板 GameConfig 契约(HJ-AGENT-LOOP-EXEC-001 §6,owner=WS2)。GamePackage 契约(#4)gameConfig 字段的模板级细化。真源=docs/agent-specs/2026-06-09-generation-spike/gen_spike.py:44-81 TEMPLATES.runner(C1 spike 52/52 结构层已验口径),逐字段对齐;兼作 Prompt 治理门禁④静态校验对象。玩法:角色持续前进跳跃躲障,跑满 goalDistance 通关。诚实边界(§1.2/评审版 §5.4):v1 仅契约落盘、不跑批——runner runtime 未实现,本契约当前仅供结构层静态校验,不得据此宣称 runner 可玩。",
|
||
"type": "object",
|
||
"required": ["templateId", "title", "theme", "goalDistance", "obstacleLabel", "jumpLabel"],
|
||
"additionalProperties": false,
|
||
"properties": {
|
||
"templateId": {
|
||
"description": "玩法模板 ID,必须精确等于 \"runner\"(真源 _enum(\"runner\"):精确等值校验,防 LLM 跨模板串台)。",
|
||
"const": "runner"
|
||
},
|
||
"title": {
|
||
"description": "游戏标题,非空且非纯空白(真源 _is_str:len(strip)>0;pattern \\S 为其等价表达)。",
|
||
"type": "string",
|
||
"minLength": 1,
|
||
"pattern": "\\S"
|
||
},
|
||
"theme": {
|
||
"description": "主题/氛围描述,非空且非纯空白(真源 _is_str),为生成与对抗评审提供题文一致性语境。",
|
||
"type": "string",
|
||
"minLength": 1,
|
||
"pattern": "\\S"
|
||
},
|
||
"goalDistance": {
|
||
"description": "通关目标距离,整数且 100≤goalDistance≤2000 含边界(真源 _int_in(100,2000);布尔值不视为整数)。跑满即通关。",
|
||
"type": "integer",
|
||
"minimum": 100,
|
||
"maximum": 2000
|
||
},
|
||
"obstacleLabel": {
|
||
"description": "障碍物文案(贴合创意主题),非空且非纯空白(真源 _is_str)。",
|
||
"type": "string",
|
||
"minLength": 1,
|
||
"pattern": "\\S"
|
||
},
|
||
"jumpLabel": {
|
||
"description": "跳跃动作文案(贴合创意主题,如「冲刺跳」),非空且非纯空白(真源 _is_str)。",
|
||
"type": "string",
|
||
"minLength": 1,
|
||
"pattern": "\\S"
|
||
}
|
||
}
|
||
}
|