chore: checkpoint remaining pre-gate worktree changes

- governance: stage v7.0 review prompts, run book, roadmap/current-status/decision updates, and sprint board state

- adapters: capture DASH/trailing-drawdown/state-telemetry strategy work already present in the worktree

- tools: capture dashboard console/KPI parser updates, logtriage notes, and runnersweep output

Build: previously clean | Tests: previously 511 passing | Includes all open staged files
This commit is contained in:
2026-08-21 14:53:15 -04:00
parent 28c30bca82
commit d84949caa3
31 changed files with 4844 additions and 142 deletions

View File

@@ -52,6 +52,12 @@ Then open:
http://127.0.0.1:8765/
```
The alternate trading-terminal view is available at:
```text
http://127.0.0.1:8765/console.html
```
Live read-only server launch:
```powershell
@@ -72,7 +78,7 @@ http://127.0.0.1:8765/
3. Click `Select triage.json` and choose the generated file.
4. Review the five views.
For live mode, launch `server.py`; the browser polls `/api/state` automatically every 5 seconds.
For live mode, launch `server.py`; `index.html` polls `/api/state` automatically every 5 seconds and `console.html` polls every 2 seconds.
## Live Server Config
@@ -149,10 +155,14 @@ Webhook/notification failures are logged to stderr and never crash or block the
## Views
`index.html` is the triage board for deciding whether a silent session was a strategy decision or an operational defect.
`console.html` is the alternate trading-console page. It consumes the same read-only `/api/state` payload and shows live strategy status, session readiness, provenance-backed trade rows, count-only grade distribution, PNL_UPDATE curve data, real FactorType score breakdowns, and raw log tail data. Fields that are not emitted by the runtime, such as entry/exit price and per-trade P&L, are explicitly marked unavailable instead of being inferred.
1. Gate progress: trades banked against the 20-trade minimum, elapsed session days, current traded-session streak, and diagnostic count.
2. Daily timeline: one row per session, color-coded as traded, silent, or config violation.
3. Trade detail: grade, score, entry/exit fields, and scaler versus runner P&L attribution when present in TOOL-001 trade records.
4. Provenance health: sentinel/default-value counts per provenance field across trade records.
3. Trade detail: grade, score, and provenance fields when present in TOOL-001 trade records.
4. Provenance health: sentinel/default-value counts per field across trade records.
5. Config integrity: `ConfigHash` and `CodeVersion` timeline with drift markers.
## Data Contract