feat: 增加模板确定性打包命令

This commit is contained in:
que01 committed 2026-10-16 14:01:45 +08:00
1 parent 58370224b5
commit cddf836f4f
4 files changed
+231 -2

No files matched your search

+1 -1
View File
@@ -360,7 +360,7 @@ Phase 0 执行记录(2026-10-16):
### Phase 1:包契约和确定性导出
- [ ] 扩展 packages/template-contract,定义 package schema、rendererRef、preview/bootstrap、资源和兼容矩阵;
- [ ] 实现 template:pack,生成稳定清单和 checksum;
- [x] 实现 `template:pack`,生成稳定清单和 checksum;当前覆盖 3 个仓库模板,测试重复导出目录和 archive checksum 一致;
- [ ] 实现 package-discovered template:conformance;
- [ ] 为每个当前模板补齐真实 manifest、可见字段、编辑绑定、空态和 fixture;
- [ ] 把版本漂移、缺资源、未知 binding、未消费字段和不兼容 renderer 变成阻断 issue;