Merge: docs PRD schema corrections (planck feedback)
This commit is contained in:
@@ -509,14 +509,14 @@ Helper function `paliad.can_see_scenario(scenario_id)` mirrors the existing `pal
|
|||||||
Transaction:
|
Transaction:
|
||||||
1. INSERT into paliad.projects (carrying step-2 + step-3 payloads, + scenario notes)
|
1. INSERT into paliad.projects (carrying step-2 + step-3 payloads, + scenario notes)
|
||||||
SET origin_scenario_id = <scenario.id>
|
SET origin_scenario_id = <scenario.id>
|
||||||
2. INSERT into paliad.project_parties from step-2 payload
|
2. INSERT into paliad.parties from step-2 payload
|
||||||
3. For each scenario_proceeding (depth-first, parent before child):
|
3. For each scenario_proceeding (depth-first, parent before child):
|
||||||
a. INSERT scenario_flags as projects.scenario_flags (parent-level only;
|
a. INSERT scenario_flags as projects.scenario_flags (parent-level only;
|
||||||
children become sub-projects via parent_project_id)
|
children become sub-projects via parent_project_id)
|
||||||
b. For each filed scenario_event: INSERT paliad.deadlines row with
|
b. For each filed scenario_event: INSERT paliad.deadlines row with
|
||||||
status='done', completed_at=actual_date, audit_reason='via Litigation Builder promotion'
|
status='done', completed_at=actual_date, audit_reason='via Litigation Builder promotion'
|
||||||
c. For each planned scenario_event: INSERT paliad.deadlines row with
|
c. For each planned scenario_event: INSERT paliad.deadlines row with
|
||||||
status='open', due_date=computed (or actual_date override)
|
status='pending', due_date=computed (or actual_date override)
|
||||||
d. Skipped events: not inserted (no deadline row)
|
d. Skipped events: not inserted (no deadline row)
|
||||||
4. UPDATE paliad.scenarios SET status='promoted', promoted_project_id=<new>
|
4. UPDATE paliad.scenarios SET status='promoted', promoted_project_id=<new>
|
||||||
5. Navigate to /projects/<new>
|
5. Navigate to /projects/<new>
|
||||||
@@ -636,7 +636,7 @@ Dead code to delete (verify with grep before deletion):
|
|||||||
- `frontend/src/client/verfahrensablauf.ts` (replaced by builder.ts orchestration)
|
- `frontend/src/client/verfahrensablauf.ts` (replaced by builder.ts orchestration)
|
||||||
- `frontend/src/client/views/verfahrensablauf-state.ts` (replaced by scenario-backed state)
|
- `frontend/src/client/views/verfahrensablauf-state.ts` (replaced by scenario-backed state)
|
||||||
- `frontend/src/client/views/verfahrensablauf-state.test.ts`
|
- `frontend/src/client/views/verfahrensablauf-state.test.ts`
|
||||||
- `frontend/src/client/verfahrensablauf-detail-mode.ts` (replaced by per-triplet Detailgrad)
|
- ~~`frontend/src/client/verfahrensablauf-detail-mode.ts`~~ — KEEP. Builder imports `filterByDetailMode` from it; per-triplet Detailgrad reuses this module.
|
||||||
- Existing scratch tab content in `frontend/src/client/procedures.ts` (4-tab toggling logic, mode routing)
|
- Existing scratch tab content in `frontend/src/client/procedures.ts` (4-tab toggling logic, mode routing)
|
||||||
|
|
||||||
**Kept**:
|
**Kept**:
|
||||||
|
|||||||
Reference in New Issue
Block a user