state-hub/workplans/STATE-WP-0072-workstream-caller-remediation.md
codex 3cb256ef5c
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s
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
2026-08-25 20:22:27 +02:00

2.5 KiB

id type title domain repo status owner topic_slug planning_priority planning_order created updated state_hub_workstream_id
STATE-WP-0072 workplan Workstream caller remediation (second sweep) infotech state-hub finished codex custodian high 72 2026-07-09 2026-07-09 e5b1ba1b-6302-5699-a888-819d017e710f

STATE-WP-0072 — Workstream caller remediation

Parent: STATE-WP-0070 (phase-2 legacy retirement).
Research: research/20260709-workstream-caller-sweep.md

Goal

Eliminate remaining production HTTP callers that hit legacy workstream_id query/body params or /workstreams/* paths, so 8-hour legacy-meter windows show declining GET /workstreams/* counts.

Task: state-hub dashboard and CLI

id: STATE-WP-0072-T01
status: done
priority: high
state_hub_task_id: "6d2f85d4-6fb5-58d1-be96-8cb37c9726d8"
  • dashboard/src/workstreams/[id].md — tasks fetch uses ?workplan_id=
  • custodian_cli.py — task/progress POST bodies use workplan_id
  • docs/onboarding.md — curl example uses /workplans/

Done when no state-hub runtime file POSTs or GETs legacy workstream paths/params.

Task: Daily triage prompt (the-custodian + activity-core projection)

id: STATE-WP-0072-T02
status: done
priority: high
state_hub_task_id: "0bd0bd0a-4d43-5342-a5bc-ff431bcdcd10"
  • the-custodian/runtime/prompts/daily_statehub_wsgi_triage.md/workplans/index, ?workplan_id=
  • activity-core/k8s/railiance/21-custodian-runtime.yaml — matching prompt text

Done when prompt no longer references /workstreams/workplan-index.

Task: Cross-repo progress/decision POST bodies

id: STATE-WP-0072-T03
status: done
priority: medium
state_hub_task_id: "9bff3e4a-34a3-5c3b-854e-495762dd2f51"
  • wise-validator/src/wisevalidator/reporter.pyworkplan_id on progress POST
  • agentic-resources/session_memory/curate/decisions.py — drop workstream_id dual-write
  • Update tests in both repos

Done when tests pass and POST bodies use workplan_id only.

Task: Verify and capture meter evidence

id: STATE-WP-0072-T04
status: done
priority: high
state_hub_task_id: "afb558e6-5bb3-511d-b481-47356f06fca4"
  1. rg confirm no missed runtime callers in fixed repos.
  2. python scripts/capture_legacy_meter_evidence.py (8h window).
  3. Update docs/evidence/workstream-caller-inventory-20260709.md checklist.
  4. Archive workplan when evidence captured.

Done when 8h capture committed and STATE-WP-0072 finished.