Files
cnc_wams/完善wasm/working/40-静态发布双构建可复现性Gate实施记录.md
2026-07-10 21:26:42 -04:00

30 lines
995 B
Markdown
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.
# 静态发布双构建可复现性 Gate 实施记录
## 目标
本文件落实 `ACC-052/INT-039`,证明相同输入连续执行 static build 会产生相同发布树,而不只是单次构建无缓存污染。
## 实现
新增 `verify_static_release_reproducibility.mjs`
1. 对首次 parity build 的 dist 生成规范化树摘要;
2. 再次执行标准 `npm run build`
3. 对第二次 dist 生成同一摘要并要求完全相等。
摘要覆盖相对路径、目录/文件/符号链接类型、权限、符号链接目标和文件 SHA-256有意排除 mtime 等非语义元数据。
## 验证输出
```text
static_release_entry_count=1120
static_release_file_count=976
static_release_tree_sha256=c9c23107a84d478948b6f3c790793685942486e686370387d00dcf78b9c23183
static_release_reproducibility=ok
web_software_parity_gate=ok
```
## 结论
`ACC-052/INT-039` 完成。Web static release 对当前输入连续双构建可复现,摘要 gate 已进入 parity/release 链。