固化 Match-3 生产者、视觉、音频与双 Judge 证据闭包。 将《山海行纪》r1.1 绑定新的不可变 release,并以生产预检现场核验 bundle、Registry/2 和 25 项 Writer 快照。 同步地图1平衡锁值、跨游戏回归修复、验收契约与 SoT 证据。
62 lines
2.4 KiB
JSON
62 lines
2.4 KiB
JSON
{
|
||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||
"$id": "https://wanxiang.ai/contracts/play-loop/interaction-profile-registry.schema.json",
|
||
"title": "InteractionProfileRegistry",
|
||
"description": "InteractionProfileRegistry/1。可信编排器据此在 Writer 前选择交互规则;游戏、Actor 和 Writer 不得改写。",
|
||
"type": "object",
|
||
"required": ["schemaVersion", "registryVersion", "profiles", "registryHash"],
|
||
"properties": {
|
||
"schemaVersion": { "const": "InteractionProfileRegistry/1" },
|
||
"registryVersion": { "const": "2026-07-15.v1" },
|
||
"profiles": {
|
||
"type": "object",
|
||
"required": ["match3.orthogonal-swap-v1"],
|
||
"properties": {
|
||
"match3.orthogonal-swap-v1": { "$ref": "#/$defs/match3Profile" }
|
||
},
|
||
"additionalProperties": false
|
||
},
|
||
"registryHash": { "$ref": "#/$defs/sha256" }
|
||
},
|
||
"additionalProperties": false,
|
||
"$defs": {
|
||
"sha256": { "type": "string", "pattern": "^[0-9a-f]{64}$" },
|
||
"match3Profile": {
|
||
"type": "object",
|
||
"required": ["id", "genre", "proofProfileId", "templateRoute", "solver"],
|
||
"properties": {
|
||
"id": { "const": "match3.orthogonal-swap-v1" },
|
||
"genre": { "const": "puzzle" },
|
||
"proofProfileId": { "const": "puzzle.match-board" },
|
||
"templateRoute": { "type": "string", "pattern": "^_template-[a-z0-9-]+$" },
|
||
"solver": {
|
||
"type": "object",
|
||
"required": ["id", "version", "configHash", "config"],
|
||
"properties": {
|
||
"id": { "const": "match3-orthogonal-swap" },
|
||
"version": { "const": "1.0.0" },
|
||
"configHash": { "$ref": "#/$defs/sha256" },
|
||
"config": {
|
||
"type": "object",
|
||
"required": [
|
||
"adjacency", "minimumRunLength", "requireDifferentClasses",
|
||
"requireNewRun", "requireSwappedEndpoint"
|
||
],
|
||
"properties": {
|
||
"adjacency": { "const": "orthogonal" },
|
||
"minimumRunLength": { "const": 3 },
|
||
"requireDifferentClasses": { "const": true },
|
||
"requireNewRun": { "const": true },
|
||
"requireSwappedEndpoint": { "const": true }
|
||
},
|
||
"additionalProperties": false
|
||
}
|
||
},
|
||
"additionalProperties": false
|
||
}
|
||
},
|
||
"additionalProperties": false
|
||
}
|
||
}
|
||
}
|