固化 Match-3 生产者、视觉、音频与双 Judge 证据闭包。 将《山海行纪》r1.1 绑定新的不可变 release,并以生产预检现场核验 bundle、Registry/2 和 25 项 Writer 快照。 同步地图1平衡锁值、跨游戏回归修复、验收契约与 SoT 证据。
53 lines
3.2 KiB
JSON
53 lines
3.2 KiB
JSON
{
|
||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||
"$id": "https://wanxiang.ai/contracts/play-loop/collection-proof.schema.json",
|
||
"title": "CollectionProofV1",
|
||
"description": "CollectionProof。runner 完整事实账;JudgePackage 只能从这里做允许投影,SingleRollProof 通过原始字节 hash 单向引用。",
|
||
"type": "object",
|
||
"required": [
|
||
"schemaVersion", "packageType", "runId", "roll", "gameId", "genre", "templateRoute",
|
||
"proofProfileId", "proofRegistryVersion", "taskBindingHash", "acceptanceRequestHash",
|
||
"evidenceMode", "artifactHash", "briefHash", "requestedSeed", "actualSeed", "policySeed",
|
||
"environment", "actor", "actions", "frames", "events", "briefRuleMatches",
|
||
"obligationCandidates", "objectiveProgress", "unboundEventObservations", "provenance",
|
||
"firstPlay", "errors"
|
||
],
|
||
"properties": {
|
||
"schemaVersion": { "const": "playtest/3" },
|
||
"packageType": { "const": "CollectionProof" },
|
||
"runId": { "type": "string", "minLength": 1 },
|
||
"roll": { "type": "integer", "minimum": 1, "maximum": 2 },
|
||
"gameId": { "type": "string", "minLength": 1 },
|
||
"genre": { "enum": ["narrative", "trpg", "heritage", "puzzle", "sim-business"] },
|
||
"templateRoute": { "type": "string", "pattern": "^_template-[a-z0-9-]+$" },
|
||
"proofProfileId": { "type": "string", "minLength": 1 },
|
||
"proofRegistryVersion": { "type": "string", "minLength": 1 },
|
||
"taskBindingHash": { "$ref": "#/$defs/sha256" },
|
||
"acceptanceRequestHash": { "$ref": "#/$defs/sha256" },
|
||
"evidenceMode": { "const": "native" },
|
||
"artifactHash": { "$ref": "#/$defs/sha256" },
|
||
"briefHash": { "$ref": "#/$defs/sha256" },
|
||
"requestedSeed": { "type": "integer", "minimum": 0 },
|
||
"actualSeed": { "type": "integer", "minimum": 0 },
|
||
"policySeed": { "type": "integer", "minimum": 0 },
|
||
"environment": { "$ref": "playtest-evidence-v3.schema.json#/$defs/environmentV3" },
|
||
"actor": { "$ref": "single-roll-fact-v3.schema.json#/$defs/runnerActor" },
|
||
"actions": { "type": "array", "minItems": 1, "items": { "$ref": "playtest-evidence-v3.schema.json#/$defs/actionRecord" } },
|
||
"frames": { "type": "array", "minItems": 1, "items": { "$ref": "single-roll-fact-v3.schema.json#/$defs/evidenceFrame" } },
|
||
"events": { "type": "array", "minItems": 1, "items": { "$ref": "game-event.schema.json" } },
|
||
"briefRuleMatches": { "type": "array", "items": { "type": "string" }, "uniqueItems": true },
|
||
"obligationCandidates": { "type": "array", "minItems": 1, "items": { "$ref": "judge-package.schema.json#/$defs/candidate" } },
|
||
"objectiveProgress": { "anyOf": [{ "type": "object" }, { "type": "null" }] },
|
||
"unboundEventObservations": { "type": "array", "items": { "type": "object" } },
|
||
"provenance": {
|
||
"type": "object", "required": ["requestHash", "manifestHash"],
|
||
"properties": { "requestHash": { "$ref": "#/$defs/sha256" }, "manifestHash": { "$ref": "#/$defs/sha256" } },
|
||
"additionalProperties": false
|
||
},
|
||
"firstPlay": { "$ref": "playtest-evidence.schema.json#/$defs/firstPlay" },
|
||
"errors": { "type": "array", "items": { "type": "string" } }
|
||
},
|
||
"additionalProperties": false,
|
||
"$defs": { "sha256": { "type": "string", "pattern": "^[0-9a-f]{64}$" } }
|
||
}
|