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

51 lines
2.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 工作空间预览读取同一运行时契约。
- [x] Admin 工作空间预览展示 Runtime Workspace 的 schema、模块、能力和公开业务统计。
- [x] 小程序首页和案例列表优先消费 `/public/workspace`,保留静态降级基线。
### 后续阶段
- [ ] Phase 2:标准模块库。
- [x] 建立小程序核心模块注册表、变体清单和未知模块降级策略。
- [x] 兼容旧模板模块 key,并将运行时模块状态注入首页和案例列表页面。
- [x] 更新基础 Design Tokens 到林境门作视觉基线,后续主题通过 Runtime Workspace 覆盖。
- [x] 首页已抽取 `FounderCard`、`TrustProof`、`OfferingList` 标准模块。
- [x] 首页已抽取 `BrandHero`、`TrustManifesto` 标准模块。
- [x] 建立 `OfferingDetail` 与 `InquiryForm` 标准模块骨架,待页面接入。
- [x] 建立 `Records`、`Profile`、`SuccessSummary` 用户链路模块骨架。
- [x] 建立林境门作模板 fixture 和标准模块 / 页面完整性检查。
- [x] 建立固定页面状态、视口和视觉锚点清单,可供后续截图回归执行。
- [ ] Phase 3:模板中心、安装快照、升级和回滚。
- [ ] Phase 4:Capability Plugin。
- [ ] Phase 5:林境门作与第二行业双模板验证。
- [ ] Phase 6:Stitch 到 Manifest 的转换流水线。
## 当前交付门槛
在 Phase 1 的 API 契约、测试和客户端消费完成前,不新增第二个行业页面,也不继续扩展行业专属固定 WXML。当前 API 契约已建立,下一步优先补测试和客户端消费。