28 lines
764 B
Markdown
28 lines
764 B
Markdown
|
|
# 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
|
||
|
|
|
||
|
|
1. Schema compiles and generates client successfully.
|
||
|
|
2. Reset/reseed produces runnable dataset.
|
||
|
|
3. Integrity verification passes for FK/index and state initialization rules.
|
||
|
|
4. Phase 01 gates complete.
|