aeebbee282
Project CI / AI game creator shell Rust crates (pull_request) Successful in 5m7s
Project CI / AI game creator shell Rust lane 2/2 (pull_request) Successful in 5m47s
Project CI / AI game creator shell Rust lane 1/2 (pull_request) Successful in 6m55s
Project CI / Backend tests (pull_request) Successful in 8m46s
Project CI / Frontend tests (pull_request) Successful in 3m39s
Project CI / AI game creator shell web tests (pull_request) Successful in 3m7s
Project CI / Repository checks (pull_request) Successful in 7m14s
Project CI / Native shell tests (pull_request) Successful in 8m41s
`src/export/mod.rs`:`pub(crate) use registry::{…}` 里 `Loaded` 在任何档都无人使用(只在 registry.rs 内部用),`content_hash` 只被 `xhs_minitool/registry.rs` 的测试调用 → 收敛为 `use registry::{load_or_create, save, RegistryError};` + `#[cfg(test)] use registry::content_hash;`(未新增 allow)。
`src/export/draft/xhs_minitool/script.rs`:`NpmScript.package_json_relative` 在所有非测试构建中只写不读(`missing_error()` 自行用 `package_json_relative(cwd)` 重算),仅两处测试断言读它;非 serde 字段、不属线协议 → 删除字段与初始化,并把两条断言改为经同一生产函数断言(`assert_eq!(package_json_relative(script.cwd_relative), …)`),断言强度不变、未删用例。
验证:Windows 生产口径(三编辑器 feature)由 2 error 回到 **0 warning / EXIT 0**;`cargo fmt --all --check` rc=0。
背景:这两处属 master 新增的导出模块,是本分支 Windows 门禁 `all(not(test), windows)` 把它们从 warning 升格为 error;Linux/CI 档不受影响。