固化 Match-3 生产者、视觉、音频与双 Judge 证据闭包。 将《山海行纪》r1.1 绑定新的不可变 release,并以生产预检现场核验 bundle、Registry/2 和 25 项 Writer 快照。 同步地图1平衡锁值、跨游戏回归修复、验收契约与 SoT 证据。
47 lines
1.8 KiB
JSON
47 lines
1.8 KiB
JSON
{
|
||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||
"$id": "https://wanxiang.ai/contracts/play-loop/actor-selection-attempt.schema.json",
|
||
"title": "ActorSelectionAttemptV1",
|
||
"description": "ActorSelectionAttempt/1。封存一次 ActorView/4 到 ActorSelection/2 的模型选择;pair 计划只生成一个 attempt,不能伪造成两个 Actor request。",
|
||
"type": "object",
|
||
"required": [
|
||
"schemaVersion", "attemptId", "actorViewRef", "actorViewHash", "selectionRef",
|
||
"selectionHash", "selection", "accepted", "error", "attemptHash"
|
||
],
|
||
"properties": {
|
||
"schemaVersion": { "const": "ActorSelectionAttempt/1" },
|
||
"attemptId": { "type": "string", "pattern": "^attempt-[1-9][0-9]*$" },
|
||
"actorViewRef": { "type": "string", "minLength": 1 },
|
||
"actorViewHash": { "$ref": "#/$defs/sha256" },
|
||
"selectionRef": { "type": "string", "minLength": 1 },
|
||
"selectionHash": { "$ref": "#/$defs/sha256" },
|
||
"selection": { "$ref": "actor-selection-v2.schema.json" },
|
||
"accepted": { "type": "boolean" },
|
||
"error": {
|
||
"anyOf": [
|
||
{ "type": "null" },
|
||
{
|
||
"type": "object", "required": ["code", "message"],
|
||
"properties": {
|
||
"code": { "type": "string", "minLength": 1 },
|
||
"message": { "type": "string", "minLength": 1 }
|
||
},
|
||
"additionalProperties": false
|
||
}
|
||
]
|
||
},
|
||
"attemptHash": { "$ref": "#/$defs/sha256" }
|
||
},
|
||
"additionalProperties": false,
|
||
"allOf": [
|
||
{
|
||
"if": { "properties": { "accepted": { "const": true } }, "required": ["accepted"] },
|
||
"then": { "properties": { "error": { "type": "null" } } },
|
||
"else": { "properties": { "error": { "type": "object" } } }
|
||
}
|
||
],
|
||
"$defs": {
|
||
"sha256": { "type": "string", "pattern": "^[0-9a-f]{64}$" }
|
||
}
|
||
}
|