docs: workstream caller status evidence; STATE-WP-0070 T04 progress
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s

This commit is contained in:
tegwick 2026-07-12 00:21:06 +02:00
parent 90447b4258
commit 34016ee9ac
2 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,40 @@
# Workstream legacy caller status — 2026-07-11
Parent: `STATE-WP-0070` T03/T04
## Meter snapshot
| Window | `GET /workstreams/{workstream_id}` | `POST /progress/ workstream_id` |
| --- | ---: | ---: |
| 7-day (weekly review) | 10,335 (`unknown`) | 14 (`unknown`) |
| 8-hour (live) | **0** | **0** |
Weekly volume is **historical** (pre-2026-07-08 fix-consistency and dashboard
migrations). No legacy REST keys show traffic in the current 8h window.
## Confirmed historical callers (remediated in tree)
1. **`consistency_check.py`** — was `GET /workstreams/{id}` per workplan; now `/workplans/`
2. **Dashboard JS** — was `apiFetch("/workstreams/")`; src migrated; **`dist/` rebuilt 2026-07-11**
3. **`validate_repo_adr.py`**, **`custodian_cli.py`** — migrated to `/workplans/`
4. **`activity-core` resolver** — migrated to `/workplans/index`
5. **`the-custodian/runtime`** — triage prompt + `actions.py` now emit `workplan_id` (2026-07-11)
## Why attribution was `unknown`
Dashboard browser `fetch()` does not send `X-StateHub-Component`. Remote scripts
before identity-header deploy also lacked headers.
## Remaining gate
Seven consecutive **8-hour** zero windows per legacy key before MCP alias
removal and T05 closeout. MCP metering trustworthy after dev-hub MCP restart
(2026-07-10) and pytest guard (`STATEHUB_MCP_LEGACY_METER=off`).
## Recommended follow-up
- Remote SHA audit: confirm all fix-consistency hosts ≥ post-`STATE-WP-0072`
- Add optional `X-StateHub-Component: state-hub.dashboard` to `apiFetch` for
future regressions
- Retry `make -C railiance-platform forgejo-backup` when railiance01 websocket
is stable (unrelated to REST callers)

View file

@ -149,6 +149,12 @@ Brief generator fixed (`consistency_check.py` → `workplan_id:`); briefs
regenerate on each repo's next fix-consistency sweep. Expect this key to decay
to zero once briefs refresh fleet-wide.
Progress 2026-07-11: caller audit (`docs/evidence/workstream-caller-status-20260711.md`)
— 8h meter shows **0** legacy REST traffic; weekly ~10k is pre-07-08 history.
Fixed `the-custodian/runtime/actions.py` + daily triage prompt to emit
`workplan_id`; rebuilt dashboard `dist/` (removed stale `extensions.html`
`/workstreams/` caller).
## Task: Closeout and fleet gate
```task