Files
persionalBrand/docs/template-runtime-progress.md
T

40 lines
1.6 KiB
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.
# 模板运行时实施进度
关联决策:`docs/adr/0005-template-runtime-and-stitch-pipeline.md`
## 当前分支
`feat/template-runtime-platform`
## 阶段状态
### Phase 0:冻结林境门作基线
- [x] 静态小程序提交基线版本 `8489c8c`。
- [ ] 固定各页面测试 fixture 和截图基准。
- [ ] 清理远程图片依赖或建立本地资源清单。
### Phase 1:Runtime Workspace
- [x] 新增共享 `TemplateManifest`、`ModuleManifest`、`CapabilityManifest` 类型。
- [x] 新增 `RuntimeWorkspace`、Offering、Inquiry 和 Capability 运行时类型。
- [x] 新增模板声明的基础校验函数。
- [x] 在 API 增加运行时工作空间公开接口字段(`/public/workspace`)。
- [x] API 工作空间输出统一导航、模块、Offering、表单和能力结构。
- [x] 增加公开工作空间契约结构测试。
- [x] 集成测试覆盖运行时 schemaVersion、导航、模块、Offering、表单、能力和主题。
- [ ] 增加 API 授权、品牌隔离和 schema 版本测试。
- [ ] 让 Admin 与小程序读取同一运行时契约。
### 后续阶段
- [ ] Phase 2:标准模块库。
- [ ] Phase 3:模板中心、安装快照、升级和回滚。
- [ ] Phase 4:Capability Plugin。
- [ ] Phase 5:林境门作与第二行业双模板验证。
- [ ] Phase 6:Stitch 到 Manifest 的转换流水线。
## 当前交付门槛
在 Phase 1 的 API 契约、测试和客户端消费完成前,不新增第二个行业页面,也不继续扩展行业专属固定 WXML。当前 API 契约已建立,下一步优先补测试和客户端消费。