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.
This commit is contained in:
parent
3f1eac7bab
commit
ef51b99ff5
7 changed files with 228 additions and 12 deletions
81
workplans/STATE-WP-0072-workstream-caller-remediation.md
Normal file
81
workplans/STATE-WP-0072-workstream-caller-remediation.md
Normal file
|
|
@ -0,0 +1,81 @@
|
|||
---
|
||||
id: STATE-WP-0072
|
||||
type: workplan
|
||||
title: "Workstream caller remediation (second sweep)"
|
||||
domain: infotech
|
||||
repo: state-hub
|
||||
status: finished
|
||||
owner: codex
|
||||
topic_slug: custodian
|
||||
planning_priority: high
|
||||
planning_order: 72
|
||||
created: "2026-07-09"
|
||||
updated: "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
|
||||
|
||||
```task
|
||||
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)
|
||||
|
||||
```task
|
||||
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
|
||||
|
||||
```task
|
||||
id: STATE-WP-0072-T03
|
||||
status: done
|
||||
priority: medium
|
||||
```
|
||||
|
||||
- `wise-validator/src/wisevalidator/reporter.py` — `workplan_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
|
||||
|
||||
```task
|
||||
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`.
|
||||
Loading…
Add table
Add a link
Reference in a new issue