games-development-ai/contracts/play-loop/reference-asset-registry.schema.json
lili 87777975c7 feat(w-axis): R1 生成可信闸代码收口(actor/judge闭合+W-GOLD-LIVE+full_gate+三批闸门)
actor/judge prompt eval 闭合: actor 3.0.5 正文强化+baseline(7轮); judge 3.0.14 正文强化+anyTerms同义词补全+baseline(judge-a 13轮/judge-b 33轮); registry/checker 版本对齐+顺序锚点 fail-closed 双保险
W-GOLD-LIVE live_prompt: play-loop 契约开口(request/3+provenance/3+ReferenceAssetRecord/1+Registry/1+迁移清单15条); cheap_verify 切v3+消费对账六闸(只消费active)+生成prompt注入接线(0 active不注入); Node runner playtest-v3.cdp.cjs 升/3+绊线恢复; 真模型回归验向后兼容
full_gate+三批基线: full_gate.py 集成runner串六子门+降级+22测; baseline_gates.py fresh25阈值+historical11预期表(2 needs_human交创始人定标)+shadow20框架+38测
注: registry cheap-system 登记 1.8.0→1.8.1 同步此前在途 cheap-system.md frontmatter 升版(修 pre-commit 版本漂移); cheap_verify/cheap_studio/validate/test_acceptance_v3/test_cheap_service_driver 为在途M含本会话叠加+此前W-AXIS在途(同一线无法hunk分离); 3红测试根因与raw审计未入本提交
2026-07-25 18:47:47 -07:00

34 lines
2.3 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://wanxiang.ai/contracts/play-loop/reference-asset-registry.schema.json",
"title": "ReferenceAssetRegistryV1",
"description": "ReferenceAssetRegistry/1。ReferenceAssetRecord/1 的持久注册表/索引结构,权威源为金标 SoT docs/architecture/产品/游戏内容金标.md §7。records 内 recordId 必须全局唯一(JSON Schema 无法表达跨元素字段唯一性,由 validate.py 语义层 _semantic_validate_reference_asset_registry 强制)。当前阶段(registryVersion 带 migration-list 后缀)只是金标 SoT 迁移清单的机器可读编码,不是可供新 live 消费的机器注册表:消费者接线与 formal registry 封存(registryHash 等)由 W-GOLD-LIVE 后续检查点落地,届时 schema 升版引入;任何新增或扩大消费都必须等对应持久记录变成 active。sourceOfTruth 固定指向金标 SoT,防止注册表与标准定义漂移。",
"type": "object",
"required": ["schemaVersion", "registryVersion", "sourceOfTruth", "records"],
"properties": {
"schemaVersion": { "const": "ReferenceAssetRegistry/1" },
"registryVersion": {
"description": "注册表快照版本。迁移清单阶段形如 <日期>.migration-list;正式机器注册表阶段另起版本线。",
"type": "string",
"minLength": 1
},
"sourceOfTruth": {
"description": "标准定义 SoT 引用(金标 §7),注册表条目与之冲突时以 SoT 为准。",
"type": "string",
"minLength": 1
},
"records": {
"description": "ReferenceAssetRecord/1 记录列表;recordId 唯一性由语义层强制。",
"type": "array",
"items": { "$ref": "reference-asset-record.schema.json" }
},
"migrationNotes": {
"description": "迁移清单阶段注释表:key 为 recordId,value 为该记录的占位项说明与迁移要求(如占位 hash/assetRef 待绑定的具体内容)。仅服务迁移登记透明度,不构成记录模型字段;正式 active 消费以记录本身为准。",
"type": "object",
"propertyNames": { "pattern": "^[A-Za-z0-9_][A-Za-z0-9._-]*$" },
"additionalProperties": { "type": "string", "minLength": 1 }
}
},
"additionalProperties": false
}