fix(workplans): adopt ADR-007 derived identifiers for unregistered records
These workplans exist only in the retired local hub. Their random pre-ADR-007 identifiers are refused by C-06 as stale references, so they cannot be registered. Deriving from the canonical record id takes no identity from anything: central does not hold them and the old ids die with the cache. Records central already holds were deliberately left untouched. Refs CUST-WP-0068-T06 Assistant: claude-code Assistant-Model: opus Assistant-Process: 2583210@bnt-lap001 Assistant-Session: f2bff2d5-e9b2-4338-92ca-10282a927006
This commit is contained in:
parent
2b2016f1df
commit
3cb256ef5c
8 changed files with 48 additions and 48 deletions
|
|
@ -11,7 +11,7 @@ planning_priority: high
|
|||
planning_order: 75
|
||||
created: "2026-07-10"
|
||||
updated: "2026-07-10"
|
||||
state_hub_workstream_id: "b3f4f2cd-f6f4-4518-bc66-6b9f4be9349d"
|
||||
state_hub_workstream_id: "a7fc6116-6587-5c17-9a64-d47634aa6a59"
|
||||
---
|
||||
|
||||
# STATE-WP-0075 — Workstream REST route 410 stranglers
|
||||
|
|
@ -38,7 +38,7 @@ Preferred `/workplans/*` routes remain the only functional surface.
|
|||
id: STATE-WP-0075-T01
|
||||
status: done
|
||||
priority: high
|
||||
state_hub_task_id: "a8908d16-3966-4819-a9f9-96697ec8b6a3"
|
||||
state_hub_task_id: "cce857a7-cdec-5ceb-a8e4-b0c54498fe41"
|
||||
```
|
||||
|
||||
1. Add `retire_legacy_route()` to `api/services/legacy_compat.py` — meter usage,
|
||||
|
|
@ -53,7 +53,7 @@ Done when all 410 stranglers share one code path for metering and headers.
|
|||
id: STATE-WP-0075-T02
|
||||
status: done
|
||||
priority: high
|
||||
state_hub_task_id: "f62b7f22-0f84-4a4b-83d7-5df6d9d93c47"
|
||||
state_hub_task_id: "819494cf-5539-5c2e-897b-9650835c6aee"
|
||||
```
|
||||
|
||||
Return **410 Gone** on:
|
||||
|
|
@ -71,7 +71,7 @@ Keep `/workplans/*` handlers unchanged.
|
|||
id: STATE-WP-0075-T03
|
||||
status: done
|
||||
priority: high
|
||||
state_hub_task_id: "5bf41f1a-a8d9-4514-b0c7-5db84050bd3f"
|
||||
state_hub_task_id: "cac01081-f78e-5d55-90d1-5b486fb9b9f6"
|
||||
```
|
||||
|
||||
Return **410 Gone** on:
|
||||
|
|
@ -85,7 +85,7 @@ Return **410 Gone** on:
|
|||
id: STATE-WP-0075-T04
|
||||
status: done
|
||||
priority: high
|
||||
state_hub_task_id: "19ebaaa8-5720-4773-a9c6-02f4e1c88e0d"
|
||||
state_hub_task_id: "df8e19fb-93ad-5b00-ab62-431d27d9c8a0"
|
||||
```
|
||||
|
||||
1. Update `tests/test_legacy_meter.py` and `tests/test_routers_core.py` for 410
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue