791 B
791 B
Phase 01 Overview: Schema and Runtime Foundation
Objective
Implement the canonical schema and reset/reseed capability that supports stage-native orchestration with award and live runtime primitives.
In Scope
- prisma schema rebuild for canonical entities
- indexes and constraints for hot paths
- reset/reseed strategy and scripts
- data integrity verification scripts
Out of Scope
- end-user UI behavior
- full router refit
Key Design Choice
This phase uses full reset/reseed and does not attempt compatibility bridges.
Exit Criteria
- Schema compiles and generates client successfully.
- Reset/reseed produces runnable dataset.
- Integrity verification passes for FK/index and state initialization rules.
- Phase 01 gates complete.