refactor: 退役运行时视觉模块并泛化模板门禁

This commit is contained in:
que01 committed 2026-09-26 22:30:26 +08:00
1 parent 25d1fe983c
commit e2e2340bfe
56 files changed
+290 -1037

No files matched your search

@@ -0,0 +1,5 @@
id,task,status,acceptance_criteria,validation_command,completed_at,retry_count,notes
1,删除未使用的小程序视觉组件和动态模块 registry,DONE,没有模板引用的视觉组件与运行时分发代码已删除,pnpm --filter @personal-brand/miniapp test:fixture,2026-09-26,0,fixture 通过
2,移除 BrandModule API/Admin/发布快照链路,DONE,后台没有无效页面模块操作且 public workspace 不返回模块渲染指令,pnpm --filter @personal-brand/api test,2026-09-26,0,API 集成测试通过
3,移除 Prisma BrandModule 模型并更新模板服务/seed,DONE,数据库迁移和生成客户端一致,pnpm --filter @personal-brand/api exec prisma validate --schema prisma/schema.prisma,2026-09-26,0,迁移和 Prisma validate 通过
4,更新契约测试文档并执行全量验证,DONE,模板编译、API 测试、miniapp 测试和类型检查通过,pnpm typecheck && pnpm lint && pnpm test:template-compiler && pnpm validate:templates,2026-09-26,0,新增通用模板产物门禁;2 个模板自动发现并通过
1 id task status acceptance_criteria validation_command completed_at retry_count notes
2 1 删除未使用的小程序视觉组件和动态模块 registry DONE 没有模板引用的视觉组件与运行时分发代码已删除 pnpm --filter @personal-brand/miniapp test:fixture 2026-09-26 0 fixture 通过
3 2 移除 BrandModule API/Admin/发布快照链路 DONE 后台没有无效页面模块操作且 public workspace 不返回模块渲染指令 pnpm --filter @personal-brand/api test 2026-09-26 0 API 集成测试通过
4 3 移除 Prisma BrandModule 模型并更新模板服务/seed DONE 数据库迁移和生成客户端一致 pnpm --filter @personal-brand/api exec prisma validate --schema prisma/schema.prisma 2026-09-26 0 迁移和 Prisma validate 通过
5 4 更新契约测试文档并执行全量验证 DONE 模板编译、API 测试、miniapp 测试和类型检查通过 pnpm typecheck && pnpm lint && pnpm test:template-compiler && pnpm validate:templates 2026-09-26 0 新增通用模板产物门禁;2 个模板自动发现并通过