[GAP-047]: runtime confluence weights complete

- ConfluenceScorer.cs: apply designed factor baseline weights

- ConfluenceScorerTests.cs: cover 5.85 total weight, worked example, and overrides

- TASK_GAP047_PART2_WEIGHT_RUNTIME_PROMPT.md: add accepted runtime prompt

- docs/00-governance: record DEC implementation and fresh-freeze requirement

- SPRINT_BOARD.md: mark GAP-047 Part 2 implemented

Build: clean | Tests: 514 passing; Core 425 passing | Deploy: backup 20260823_135331
This commit is contained in:
2026-08-23 13:55:57 -04:00
parent cbf45dfa3b
commit 80c5f53bb9
8 changed files with 260 additions and 19 deletions

View File

@@ -41,12 +41,13 @@
- **Decided 2026-08-19:** collision resolved via MNQ (staged separately, DEC-20260819-01); MaxTradeRisk is per-position (total). Tier 1 check reorders to post-sizing. Implement and validate on NQ first — MNQ cutover is a later, separate step.
- Prompt: `TASK_GAP045_GAP046_RISK_GUARDS_PROMPT.md` (Part 3 rewritten 2026-08-19, now fully actionable).
**[GAP-047] Confluence factor weights pre-populated to 1.0 — Part 1, offline re-scoring study** | Stage 1 | ✅ PART 1 COMPLETE — decision proposed 2026-08-23
**[GAP-047] Confluence factor weights pre-populated to 1.0** | Stage 1 | ✅ PART 2 IMPLEMENTED — fresh freeze required
- `ConfluenceScorer.cs` ~108–117 / ~410–419: the calculators' designed weights (0.20/0.15/0.15/0.20/0.15) are unreachable dead code. Every `STATE:` factor reads `x1.00`.
- Designed total weight 5.85 vs actual 10.00. Grade A reachable on factors 1–5 alone under the design; close to structurally unreachable under equal weights.
- Live example: 0.640 (C) as logged vs 0.727 (B) under designed weights. **Leading hypothesis for GAP-034a and for the low trade rate.**
- Part 1 is analysis only against existing `STATE:` / `SIGNAL_DETAIL:` lines — no runtime change, no risk.
- Prompt: `TASK_GAP047_WEIGHT_RESCORE_PROMPT.md`. Evidence: `tools/rescore/GAP-047_weight_rescore_output.md` / `.json`; proposed decision: DEC-20260823-01. Part 2 (the runtime change) must be staged separately after operator acceptance.
- Part 1 (offline study) complete 2026-08-23: `TASK_GAP047_WEIGHT_RESCORE_PROMPT.md`, evidence `tools/rescore/GAP-047_weight_rescore_output.md`/`.json`, commit `cbf45df`.
- **Part 2 implemented 2026-08-23 (DEC-20260823-01):** replaced the five wrong `1.0` literals with the designed values. Composite normalization already correct (dynamic `weightedScoreSum/totalWeight`) — verified, unchanged. No SIM trade required to validate; fully tested in `NT8.Core`.
- Prompt: `TASK_GAP047_PART2_WEIGHT_RUNTIME_PROMPT.md`. Verification: `verify-build.bat` 514/514, Core Release no-build 425/425, deploy backup `20260823_135331`. Fresh gate config freeze needed before any gate evidence collected after this lands.
**[GAP-055] `MaxDailyTrades` does not survive a strategy restart** | Stage 0 | ✅ READY
- In-memory counter only (`SimpleORBStrategy.cs` ~39). CME trading date 2026-08-17 took two trades under `MaxDailyTrades=1` across two NT8 sessions; the second session's `DayPnL=$271.96 → $545.44` proves NT8 treated them as one day.