Add 8-hour default window for legacy-meter deploy monitoring
Expose hours query param on /legacy-meter/summary and weekly-review; capture_legacy_meter_evidence.py defaults to --hours 8 (--days 7 for weekly retirement gate). Re-capture post-deploy evidence with tighter window.
This commit is contained in:
parent
674479dcc7
commit
e302ca9f59
7 changed files with 252 additions and 90 deletions
|
|
@ -35,7 +35,8 @@ git log -1 --oneline # expect 5a92923 or newer
|
|||
statehub fix-consistency --all --remote --api-base http://127.0.0.1:8000
|
||||
|
||||
# 4. Verify legacy-meter attribution (from any host with hub API access)
|
||||
python ~/state-hub/scripts/capture_legacy_meter_evidence.py --days 7
|
||||
python ~/state-hub/scripts/capture_legacy_meter_evidence.py
|
||||
# Default 8-hour window; use --days 7 for weekly cadence
|
||||
# Expect component bucket state-hub.fix-consistency; declining GET /workstreams/*
|
||||
```
|
||||
|
||||
|
|
@ -47,8 +48,8 @@ python ~/state-hub/scripts/capture_legacy_meter_evidence.py --days 7
|
|||
(`POST /consistency/sweep/remote-all` exit_code 0, 2026-07-08T23:08Z)
|
||||
- [x] Weekly legacy-meter review shows `state-hub.fix-consistency` (not only `unknown`)
|
||||
(`docs/evidence/legacy-meter-weekly-review-20260709.json`, 5 attributed calls)
|
||||
- [ ] `GET /workstreams/*` 7-day window counts trend down week-over-week
|
||||
(deploy complete 2026-07-09; re-capture after one full week for ≥50% drop gate)
|
||||
- [ ] `GET /workstreams/*` counts trend down in 8-hour capture windows post-deploy
|
||||
(default `capture_legacy_meter_evidence.py`; weekly `--days 7` for retirement gate)
|
||||
|
||||
## Rollback
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue