feat: add workplan aliases and legacy meter

Adds preferred workplan REST/event surfaces, legacy-meter telemetry and weekly review summaries, documentation/dashboard terminology updates, dashboard API loading fixes, and close-out sync for STATE-WP-0052 and STATE-WP-0054.
This commit is contained in:
tegwick 2026-06-04 08:25:31 +02:00
parent 355f80b078
commit 166aedfa8d
43 changed files with 1851 additions and 145 deletions

View file

@ -63,7 +63,7 @@ Current loaders:
| File | API endpoint |
|---|---|
| `summary.json.py` | `/state/summary` |
| `workstreams.json.py` | `/workstreams/` |
| `workstreams.json.py` | `/workplans/` |
| `contributions.json.py` | `/contributions/` |
| `decisions.json.py` | `/decisions/` |
| `domains.json.py` | `/domains/` |
@ -144,7 +144,7 @@ The dashboard has 30+ pages organised in four navigation groups:
| Page | Route | Purpose |
|---|---|---|
| Workstreams | `/workstreams` | All workstreams with Workstream Health Index |
| Workplans | `/workstreams` | All workplans with Workplan Health Index; route name remains compatibility-backed |
| Decisions | `/decisions` | Decision log with resolve-in-place form |
| Dependencies | `/dependencies` | Dependency graph explorer |
| Extensions | `/extensions` | Extension point registry |
@ -163,8 +163,11 @@ The dashboard has 30+ pages organised in four navigation groups:
All shared components live in `src/components/` and are imported as ES modules:
### `config.js`
Exports two constants used by every live-polling page:
- `API = "http://127.0.0.1:8000"` — the FastAPI base URL
Exports shared runtime configuration used by every live-polling page:
- `API` — the FastAPI base URL. It defaults to `http://127.0.0.1:8000`
outside the browser, derives from the dashboard host in browser sessions, and
can be overridden with `?api_base=...`, `globalThis.STATE_HUB_API_BASE`, or
`localStorage.stateHubApiBase`.
- `POLL = 15_000` — polling interval in milliseconds
### `entity-modal.js`