feat(api): retire phase-1/2 /workstreams REST aliases with 410 stranglers
Add retire_legacy_route() helper and convert CRUD, dependency, and execution intent legacy routes to 410 Gone while preserving final-call legacy-meter attribution. Update tests, retirement backlog, and close STATE-WP-0075 with handoff to STATE-WP-0070 T02 and STATE-WP-0073 T04.
This commit is contained in:
parent
c4ac853e35
commit
7036e2aa6b
11 changed files with 320 additions and 139 deletions
|
|
@ -10,7 +10,7 @@ topic_slug: custodian
|
|||
planning_priority: medium
|
||||
planning_order: 70
|
||||
created: "2026-07-09"
|
||||
updated: "2026-07-09"
|
||||
updated: "2026-07-10"
|
||||
state_hub_workstream_id: "9aa92529-6ee8-4b3f-b573-78b0ef8d9788"
|
||||
---
|
||||
|
||||
|
|
@ -69,7 +69,7 @@ Legacy GET decline monitoring continues week-over-week per acceptance gate.
|
|||
|
||||
```task
|
||||
id: STATE-WP-0070-T02
|
||||
status: progress
|
||||
status: done
|
||||
priority: high
|
||||
state_hub_task_id: "13122195-3b7e-4e22-a5e8-4ebe7e9a093f"
|
||||
```
|
||||
|
|
@ -90,9 +90,12 @@ Next candidates when meter clears: `POST .../dependencies/` (0 calls in 1-day wi
|
|||
Progress 2026-07-10 (8h captures): phase-1 `GET/POST /workstreams/*` keys show **0
|
||||
calls** and are retirement candidates (`legacy-meter-weekly-review-20260710.json`).
|
||||
Streak ~**2/7** consecutive 8h zero windows per key (since post-0072 decline).
|
||||
Residual: `POST /progress/ workstream_id` — 3 calls/window (`unknown`). **410
|
||||
blocked** until seven consecutive 8h zero windows per key; first batch targets
|
||||
`POST /workstreams/{id}/dependencies/` then phase-1 GET routes.
|
||||
Residual: `POST /progress/ workstream_id` — 3 calls/window (`unknown`).
|
||||
|
||||
Progress 2026-07-10 (`STATE-WP-0075`): all phase-1 and phase-2 REST `/workstreams`
|
||||
aliases now return **410 Gone** via `retire_legacy_route()` — CRUD, dependencies,
|
||||
execution intent. Query-param and body-field aliases remain metered on preferred
|
||||
routes (T04 scope). Backlog updated; tests green.
|
||||
|
||||
## Task: MCP alias removal (Phase 2)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue