mirror of
https://github.com/Yuyi-Oak/BlueArchiveToolkit.git
synced 2026-09-18 07:24:55 +08:00
Rust contract fixtures
本目录保存 Go bat-api 对 Rust bat.sock / snapshot JSON 的跨语言
contract fixture。JSON 由 Rust 代码路径产出后归一化,只替换本机路径、版本号、
时间戳和 release URL token,不改字段名、层级、null 语义或数字类型。
覆盖范围:
catalog.status可用与不可用响应。resource.manifest第一页分页响应,包含 release/publication/mapping/manifest identity 和 generation 绑定字段;生产请求必须回传 attestation 的expected_verification_generation。release.attestation当前 official health/publication proof,默认 fixture freshness window 为 7260 秒(默认 3600 秒验证周期和 60 秒失败重试周期)。- 对应 release 的
official-sync-snapshot.json。 launcher_metadata与game_main_config_bootstrap的 Go mirror 解码。- Rust Glossary domain/feature contract V1、SQLite persistence schema V2 的 query 响应,覆盖 alias、approved review、source provenance 和完整 history。
这些 fixture 只用于 schema / mirror 回归,不代表真实资源版本,也不替代 live daemon socket 或完整发布切换验证。