docs(STATE-WP-0079): propose retirement strangler and disposition
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s

Parent prj-state-hub-retirement SHR-WP-0001 stream S4.
This commit is contained in:
tegwick 2026-08-09 21:22:51 +02:00
parent 5927591be8
commit 462f4a47d2

View file

@ -0,0 +1,106 @@
---
id: STATE-WP-0079
type: workplan
title: "State Hub retirement strangler and disposition execution"
domain: infotech
repo: state-hub
status: proposed
owner: codex
topic_slug: infotech
created: "2026-08-09"
updated: "2026-08-09"
parent_project: prj-state-hub-retirement
parent_workplan: SHR-WP-0001
related:
- STATE-WP-0074
- SHR-INV-0001
- RMGR-WP-0001
- HUB-WP-0004
---
# State Hub retirement strangler and disposition execution
## Goal
Execute the **keep/move/replace/retire** dispositions from
`prj-state-hub-retirement/inventory` via strangler adapters and owner handoffs,
without adding new permanent authorities here. End state: freeze window with no
normal traffic, then archive.
## Freeze policy for new scope
```task
id: STATE-WP-0079-T01
status: todo
priority: high
```
Document and enforce: changes during retirement must preserve compatibility,
enable extraction, reduce scope, or fix operational risk — not establish new
permanent ownership (INTENT retirement status).
## Capability strangler plan
```task
id: STATE-WP-0079-T02
status: todo
priority: high
```
Group SHR-INV-0001 items into cutover slices (repo/work → repo-manager;
messages/progress/projections → hub-core; catalogs → owners; retire aliases).
Per slice: adapter flag, owner API, rollback.
## Register CLI and GOAL.md support
```task
id: STATE-WP-0079-T03
status: todo
priority: medium
```
Adapt `statehub register` / scaffolding so `prj-` repos with `GOAL.md` and
`repo_flavor: project` are valid without inventing durable-product `INTENT.md`
(residual from SHR-WP-0001-T01).
## Execute move/replace slices
```task
id: STATE-WP-0079-T04
status: todo
priority: high
```
Implement strangler handoffs coordinated with RMGR-WP-0001 and HUB-WP-0004.
Compatibility tests for each dispositioned route family.
## Retire legacy surfaces
```task
id: STATE-WP-0079-T05
status: todo
priority: medium
```
Complete retirement of suggestions, workstream aliases, and other `retire`
inventory items once meters/callers allow. Keep historical rows archive-readable.
## Stabilization window and archive prep
```task
id: STATE-WP-0079-T06
status: todo
priority: high
```
With T06 gates: zero normal read/write window, final dump, backup/restore
evidence, stop service, archive repo read-only. Residuals → live owners.
## Acceptance
- [ ] Freeze policy documented
- [ ] Strangler plan covers all inventory capabilities
- [ ] prj-/GOAL.md register path works
- [ ] Move/replace slices evidenced with tests/counts
- [ ] Retire list closed or residual-owned
- [ ] Stabilization + archive prep ready for project retirement