mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-07-27 22:45:03 +00:00
Next.js refuses two different slug names for one dynamic segment, and #410 already owns `/api/projects/[projectId]/workstreams/[workstreamId]`. Adding `[projectWorkstreamId]` beside it was a hard boot/build failure that took the whole app down, not just these routes — `next dev` refused to start. The URL shape is unchanged; the id in that segment is now the catalogue `workstream.id` throughout, so `/workstreams/9` and `/workstreams/9/stages` name the same workstream. `findLadder` translates to the `project_workstream.id` the writes take, once per request, at the edge — keeping that id out of URLs entirely. ADR-0021 records the trade-off. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| adr | ||
| backend-asks | ||
| design | ||
| runbooks | ||
| wip | ||
| wireframes/ara-projects | ||