state-hub/workplans/STATE-WP-0072-workstream-caller-remediation.md
tegwick ef51b99ff5
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 5s
STATE-WP-0072: remediate remaining workstream HTTP callers
Research sweep captured in research/20260709-workstream-caller-sweep.md.
Migrate dashboard detail tasks query, custodian_cli POST bodies, and
onboarding curl to workplan-first paths; re-capture 8h legacy-meter evidence.
2026-07-09 01:48:53 +02:00

2.2 KiB

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

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
  • 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
  • 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
  • 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
  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.