1.7 KiB
1.7 KiB
Implementation Plan
Execution Order
- Start and implement
07-02-care-service-workspace(新增健康照护后台管理页). - Start and implement
07-02-care-execution-workspace(护理服务执行工作台). - Start and implement
07-02-emergency-incident-workspace(安全应急事件工作台). - Start and implement
07-02-elder-bed-context-optimization(老人床位联动优化). - Start and implement
07-02-operations-dashboard-integration(运营看板整合优化). - Review parent acceptance criteria after all children are complete.
Per-Child Gate
Before starting each child:
- Read its
prd.md. - For complex children, add or refresh
design.mdandimplement.md. - Load
trellis-before-devand relevant backend/frontend/shared specs.
Before finishing each child:
- Run
pnpm lint. - Run
pnpm type-check. - Run
pnpm build. - Run
pnpm db:generateand review SQL when schema changes are made. - Confirm default workspace seed data is real persisted data when seed examples are added.
Parent Completion Gate
The parent task is complete only after:
- Each child task is completed or explicitly moved out of scope by the user.
- The dashboard reflects completed module data.
- Existing elder, bed, admission, auth, settings, and audit workflows still pass validation.
- Final
pnpm lint,pnpm type-check, andpnpm buildpass.
Risk Notes
- Schema migrations across multiple children can conflict if implemented out of order.
- Default seed file already has active edits; every child that touches it must read it before editing.
- Permission additions must keep role seeding idempotent.
- Dashboard integration should not start before the data sources exist.