DR-075 — Procurement `procurement/[id]/*` route family re-keys to form-first; the `templates` list/create routes retire, detail + field CRUD re-path to `[id]/fields/*`
Retired/tombstoned S504. Delivered and closed: id-145 archived (51/51 subtasks), route dispositions shipped; the deliberate-survivor rationale lives at the action sites. Retire owner-ratified S504. Substance home: canonical:app/procurement/[id]/templates/page.tsx:53,:80,:330 + app/api/procurement/[id]/route.ts:26 + app/api/q-a-pairs/[id]/workspace/route.ts:25. Original ADR text retained below; this id stays on disk so citations resolve and the number is never re-issued.
Status: accepted · S474 (ratified by Liam; source: id-147 {147.3} TECH §6; blast-radius: journal 145.23 S470/S474)
[id] = form_instances.id. The [id] route re-keys to a form_instance detail (no
roll-up, no child-forms list; keeps tender-docs + question-stats); templates/route.ts
(list/create) retires outright; the [templateId] detail + field-CRUD routes re-path onto
[id]/fields/*; the workflow-state transition consolidates into the [id] PATCH.
Surviving [templateId]-pathed routes are deliberate: fill (landed earlier, not
re-scoped), completions/[completionId]/download (re-keyed in place), and auto-map —
their templateId segment now binds form_instances.id. Delivered and closed with id-145
(51/51); provenance: {147.3} TECH §6, journal 145.23. (Retitled S499 — the original
title said the whole sub-collection retires; the body and shipped routes say otherwise.)