Files
persionalBrand/.codex-tasks/campus-food-template-epic/PROGRESS.md
T

28 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.
# 进度
- 任务:阿成校园餐第二视觉模板
- 形态:epic
- 进度:3/3
- 当前:第二模板制作、renderer 接入、切换链路和全量回归已完成,等待用户在微信开发者工具验收。
- 真相文件:`SUBTASKS.csv`
## 固化流程
新模板必须经过:原型提取 → `template.json` → 独立 renderer → Runtime Workspace 适配 → fixture → API/构建门禁 → 发布切换验收。原型 mock 数据只用于设计参考,不进入生产。
## 本轮完成
- 修正 seed:personal 使用 `linjing-editorial`,food 使用 `acheng-campus-food`,doors 使用 `linjing-editorial`。
- 收紧视觉模板行业兼容性:林境仅支持 personal、doors;阿成仅支持 food。
- 接入阿成首页、菜单和主理人页 renderer,并保留 Runtime Workspace 数据来源。
- 增加 `acheng-campus-food-visual.json`,覆盖 7 个页面状态。
- `validate:templates`、`typecheck`、miniapp fixture、visual fixture、admin build、format check 已通过。
- API 集成测试已通过:37/37;测试使用隔离 schema,并验证模板兼容性、发布与 brandSlug 隔离。
## 验收切换
- `brandSlug=default-brand`:food 行业,使用 `acheng-campus-food`,首页、菜单、主理人页分别使用 `acheng-home`、`acheng-offerings`、`acheng-profile`。
- `brandSlug=linran-brand`:personal 行业,使用 `linjing-editorial`。
- `brandSlug=linjing-doors`:doors 行业,使用 `linjing-editorial`。
- 新模板流程已固化在本文件和 `templates/acheng-campus-food/`:原型提取、声明、独立 renderer、Runtime Workspace、fixture、构建与 API 门禁、切换验收。