feat: add situation graph update API route

This commit is contained in:
2026-08-02 08:32:18 +01:00
parent cb77f955ed
commit a948910ba8
3 changed files with 379 additions and 5 deletions
+10 -5
View File
@@ -4,17 +4,22 @@
- Current tracked start-case route for the v0.4 graph orchestration path.
- Covered by `tests/app/api/cases-start-route.test.js`.
- `app/api/cases/update/route.js`
- Current tracked update-case route for the v0.4 graph orchestration path.
- Delegates to `updateCase(body, { applyProposal: true })`.
- Covered by `tests/app/api/cases-update-route.test.js`.
- `app/api/start-case/route.js`
- Earlier experiment / duplicate start route.
- No repository UI/test references were found.
- Deleted from the working tree during UI connection cleanup.
- `app/api/update-case/route.js`
- Untracked future `updateCase` work.
- Not referenced by the current UI.
- Leave untracked for the current milestone.
- Earlier experimental duplicate update route.
- Removed from the working tree during route consolidation.
- Current UI status
- `components/scenario-form.jsx` now calls `/api/cases/start` for the main experimental flow.
- `/api/analyse` remains available for compatibility.
- No active UI path currently calls `/api/update-case`.
- `/api/cases/update` is the active tracked update route.
- `/api/analyse` remains available for legacy one-shot analysis.
- No UI changes were required for this route milestone.