diff --git a/docs/evidence/workstream-caller-status-20260711.md b/docs/evidence/workstream-caller-status-20260711.md new file mode 100644 index 0000000..6499c1b --- /dev/null +++ b/docs/evidence/workstream-caller-status-20260711.md @@ -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) \ No newline at end of file diff --git a/workplans/STATE-WP-0070-workplan-terminology-phase2-retirement.md b/workplans/STATE-WP-0070-workplan-terminology-phase2-retirement.md index a6e32f5..79e7aaa 100644 --- a/workplans/STATE-WP-0070-workplan-terminology-phase2-retirement.md +++ b/workplans/STATE-WP-0070-workplan-terminology-phase2-retirement.md @@ -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