固化 Match-3 生产者、视觉、音频与双 Judge 证据闭包。 将《山海行纪》r1.1 绑定新的不可变 release,并以生产预检现场核验 bundle、Registry/2 和 25 项 Writer 快照。 同步地图1平衡锁值、跨游戏回归修复、验收契约与 SoT 证据。
76 lines
2.9 KiB
JSON
76 lines
2.9 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://wanxiang.ai/contracts/play-loop/proof-obligation-resolution.schema.json",
|
|
"title": "ProofObligationResolutionV1",
|
|
"description": "ProofObligationResolution/1。封存 proof 默认义务、brief 提升和可信 interaction 提升的确定性并集。",
|
|
"type": "object",
|
|
"required": [
|
|
"schemaVersion", "proofProfileId", "proofRegistryVersion", "taskBindingHash",
|
|
"acceptanceRequestHash", "interactionBindingStatus", "interactionBindingRef",
|
|
"interactionBindingFileHash", "interactionBindingHash", "briefRuleMatches",
|
|
"interactionRuleMatches", "requiredObligationIds", "resolutionHash"
|
|
],
|
|
"properties": {
|
|
"schemaVersion": { "const": "ProofObligationResolution/1" },
|
|
"proofProfileId": { "type": "string", "pattern": "^[a-z][a-z0-9-]*\\.[a-z][a-z0-9-]*$" },
|
|
"proofRegistryVersion": { "type": "string", "minLength": 1 },
|
|
"taskBindingHash": { "$ref": "#/$defs/sha256" },
|
|
"acceptanceRequestHash": { "$ref": "#/$defs/sha256" },
|
|
"interactionBindingStatus": { "enum": ["absent", "verified"] },
|
|
"interactionBindingRef": { "anyOf": [{ "type": "string", "minLength": 1 }, { "type": "null" }] },
|
|
"interactionBindingFileHash": { "anyOf": [{ "$ref": "#/$defs/sha256" }, { "type": "null" }] },
|
|
"interactionBindingHash": { "anyOf": [{ "$ref": "#/$defs/sha256" }, { "type": "null" }] },
|
|
"briefRuleMatches": {
|
|
"type": "array",
|
|
"items": { "type": "string", "minLength": 1 },
|
|
"uniqueItems": true
|
|
},
|
|
"interactionRuleMatches": {
|
|
"type": "array",
|
|
"items": { "type": "string", "minLength": 1 },
|
|
"uniqueItems": true
|
|
},
|
|
"requiredObligationIds": {
|
|
"type": "array",
|
|
"minItems": 1,
|
|
"items": { "type": "string", "pattern": "^[a-z][a-z0-9-]*\\.[a-z][a-z0-9-]*$" },
|
|
"uniqueItems": true
|
|
},
|
|
"resolutionHash": { "$ref": "#/$defs/sha256" }
|
|
},
|
|
"additionalProperties": false,
|
|
"allOf": [
|
|
{
|
|
"if": {
|
|
"properties": { "interactionBindingStatus": { "const": "absent" } },
|
|
"required": ["interactionBindingStatus"]
|
|
},
|
|
"then": {
|
|
"properties": {
|
|
"interactionBindingRef": { "type": "null" },
|
|
"interactionBindingFileHash": { "type": "null" },
|
|
"interactionBindingHash": { "type": "null" },
|
|
"interactionRuleMatches": { "maxItems": 0 }
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"if": {
|
|
"properties": { "interactionBindingStatus": { "const": "verified" } },
|
|
"required": ["interactionBindingStatus"]
|
|
},
|
|
"then": {
|
|
"properties": {
|
|
"interactionBindingRef": { "type": "string", "minLength": 1 },
|
|
"interactionBindingFileHash": { "$ref": "#/$defs/sha256" },
|
|
"interactionBindingHash": { "$ref": "#/$defs/sha256" },
|
|
"interactionRuleMatches": { "type": "array" }
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"$defs": {
|
|
"sha256": { "type": "string", "pattern": "^[0-9a-f]{64}$" }
|
|
}
|
|
}
|