STATE-WP-0070: record staged T03/T04 removals + merge gate in workplan

Documents the unmerged state-wp-0070-legacy-retirement branch (T03 full,
T04 low-risk half), the deferred field-alias + flows/workstream.yaml, and
the 7th-zero-window merge gate. Task statuses unchanged until merge.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
tegwick 2026-07-13 10:08:38 +02:00
parent 6d3de59436
commit bd1fa2a289

View file

@ -10,7 +10,7 @@ topic_slug: custodian
planning_priority: medium
planning_order: 70
created: "2026-07-09"
updated: "2026-07-10"
updated: "2026-07-13"
state_hub_workstream_id: "9aa92529-6ee8-4b3f-b573-78b0ef8d9788"
---
@ -97,6 +97,17 @@ aliases now return **410 Gone** via `retire_legacy_route()` — CRUD, dependenci
execution intent. Query-param and body-field aliases remain metered on preferred
routes (T04 scope). Backlog updated; tests green.
**Staged 2026-07-13 (branch `state-wp-0070-legacy-retirement`, unmerged):** T03
removal committed (`ef62cb3`) — deleted `create_workstream`, `list_workstreams`,
`update_workstream`, `update_workstream_status` MCP tools + `state://workstreams/{topic_slug}`
resource + dead helpers (`_LEGACY_MCP_*`, `_meter_legacy_mcp`, `_attach_legacy_deprecation`,
`_legacy_mcp_deprecation`, `_update_workplan_legacy_impl`). `TOOLS.md` keeps a
retired→preferred migration map. Full suite green (495 passed). **Merge gate:
7th documented zero-usage window** — meter shows 0 across all phase-3 keys, but
only ~3 discrete 8h zero windows are captured in `docs/evidence/` (per-day
snapshots, not 7 windows). Hold merge until the weekly-review sweep accrues the
7th window.
## Task: MCP alias removal (Phase 2)
```task
@ -161,6 +172,16 @@ at max. Dashboard `apiFetch` now sends `X-StateHub-Component: state-hub.dashboar
`dist/` rebuilt. MCP alias removal (T03) still gated on 7 consecutive 8h zero
windows (streak ≥3 since 2026-07-10 decline).
**Staged 2026-07-13 (branch `state-wp-0070-legacy-retirement`, unmerged):**
low-risk half committed (`6d3de59`) — dropped the redundant `open_workstreams`
mirror from `/state/summary` (schema, router, MCP reader, dashboard consumers,
tests). Full suite green. **Deferred (still have live callers, not
retirement-ready):** (1) `workstream_id` query/body field alias on preferred
routes — external session-close curls/scripts fleet-wide still send it, so
removal waits one more cycle after briefs/scripts refresh fleet-wide; (2)
`flows/workstream.yaml``/flows/workstream/{id}` routes are still served and
tested. Merge gate same as T03: 7th documented zero-usage window.
## Task: Closeout and fleet gate
```task