[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

@@ -1,5 +1,20 @@
# Current Status — NT8 SDK
**Last Updated:** 2026-08-23 (GAP-047 Part 1 offline re-scoring study complete; decision proposed)
**Last Updated:** 2026-08-23 (GAP-047 Part 2 runtime designed weights implemented)
---
## 2026-08-23 — GAP-047 Part 2 IMPLEMENTED, fresh gate freeze required
Kilocode executed `TASK_GAP047_PART2_WEIGHT_RUNTIME_PROMPT.md`. The runtime scoring fix is intentionally minimal: `ConfluenceScorer` now uses the designed baseline weights for the five non-core factors (`0.20/0.15/0.15/0.20/0.15`) while leaving scoring normalization, overrides, calculators, grade thresholds, and NinjaScript/adapter files unchanged.
Evidence:
- `src/NT8.Core/Intelligence/ConfluenceScorer.cs` changed only the five approved baseline weight constants.
- `tests/NT8.Core.Tests/Intelligence/ConfluenceScorerTests.cs` now asserts total default weight is 5.85, reproduces the 2026-08-18 worked example at weighted score 0.727 / Grade B, and verifies `UpdateFactorWeights()` still overrides the baseline.
- `verify-build.bat`: passed, 514/514 tests.
- `dotnet test tests\NT8.Core.Tests\NT8.Core.Tests.csproj --configuration Release --no-build --verbosity minimal`: passed, 425/425.
- `deployment\deploy-to-nt8.bat`: completed; backup `deployment\backups\20260823_135331`; `NinjaTrader.Custom.dll` was not present to invalidate.
Next required action: run the normal manual NT8 compile/deploy hygiene when starting NinjaTrader, then capture a fresh Gate 3 configuration freeze/baseline before collecting any gate evidence because trade-qualification behavior changed. No SIM trade is required to prove correctness for this platform-neutral `NT8.Core` change.
---