[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:
@@ -71,10 +71,12 @@ Both can run at the same time; neither touches runtime behavior.
|
||||
|
||||
**Play 3 — Review GAP-048 output.** Confirm the four overloaded KillSwitch paths and four overloaded GradeFilter paths now log distinguishable reasons, that existing log-line formats are unchanged (only the reason string), and that the existing test suite still passes. Mark SPRINT_BOARD entry done.
|
||||
|
||||
**Play 4 — Review GAP-047 output.** This is a study, not a change — read the re-scoring report (equal-weight vs. designed-weight composite against historical STATE:/SIGNAL_DETAIL: lines). Confirm it reports the pre/post GAP-049 telemetry populations separately, per the task's caveat. Do NOT apply any weight change from this yet; it's an input to a future decision, not an approved fix.
|
||||
**Play 4 — Review GAP-047 output and apply runtime weights. DONE 2026-08-23.**
|
||||
Part 1: Kilocode built `tools/rescore/rescore_weights.py`, scanned 182 session logs, reproduced the required worked example exactly (equal=0.640, designed=0.727), and reported the STATE telemetry population (923 samples, direction-degraded per GAP-049) separately from the real signal population (81 samples), per the task's caveat. Independently re-derived the headline numbers from the raw distribution tables in `GAP-047_weight_rescore_output.md` rather than trusting the summary — they check out, including that the signal population's "25 cross into A" figure is a gross count net of a small number of downgrades (consistent with the report's own note that some real signals score worse under designed weights).
|
||||
Part 2: DEC-20260823-01 was accepted, and `TASK_GAP047_PART2_WEIGHT_RUNTIME_PROMPT.md` applied the five designed baseline weights in `ConfluenceScorer.cs` with no normalization, calculator, threshold, or adapter/NinjaScript changes. Automated proof now covers default total weight 5.85, the worked example at 0.727 / Grade B, and `UpdateFactorWeights()` override behavior. A fresh gate freeze is required before gate evidence after this scoring-policy change.
|
||||
|
||||
**Play 5 — Runner trail fix (DEC-18 accepted). DONE 2026-08-21, source-verified.**
|
||||
Kilocode implemented Option 0: removed the `OnBarUpdate()` `SetStopLoss` call on the runner signal, added no new `SetTrailStop` call, removed the stale `Diag_Breakeven` draw, cited NT8's own API docs on the mutual-exclusivity behavior. Independently re-read the changed code directly (not just the report) — confirmed. Build/tests/deploy all passed, hash matches. Two low-priority follow-ups logged in the process (GAP-056: breakeven params now fully inert, not scaler-scoped as previously assumed; GAP-057: no test seam for NT8 managed-order call assertions) — see `decisions.md` DEC-20260821-01. **Not committed yet** — sits on top of the still-unreconciled DASH-002 diff from Section 0; recommend two separate commits (DASH-002 first, GAP-054 second) when the operator is ready to commit.
|
||||
**Play 5 — Runner trail fix (DEC-18 accepted). DONE 2026-08-21, source-verified. Committed 2026-08-23 as its own isolated commit (`28c30bc`), exactly as recommended in Section 0.**
|
||||
Kilocode implemented Option 0: removed the `OnBarUpdate()` `SetStopLoss` call on the runner signal, added no new `SetTrailStop` call, removed the stale `Diag_Breakeven` draw, cited NT8's own API docs on the mutual-exclusivity behavior. Independently re-read the changed code directly (not just the report) — confirmed. Build/tests/deploy all passed, hash matches. Two low-priority follow-ups logged in the process (GAP-056: breakeven params now fully inert, not scaler-scoped as previously assumed; GAP-057: no test seam for NT8 managed-order call assertions) — see `decisions.md` DEC-20260821-01. The DASH-002 reconciliation from Section 0 is also resolved — committed as `d84949c` ahead of the GAP-054 commit, working tree is clean.
|
||||
|
||||
**Play 6 — Validate GAP-054 before any live exposure. STILL PENDING — this is the next actual step.**
|
||||
NinjaTrader needs to be reopened for a manual NinjaScript compile, then a SIM trade run reaching +25 ticks or more, confirming no `BREAKEVEN runner stop ->` line appears and the runner's exit is materially better than entry + 1 tick (a trail stop in the execution grid, not a fixed stop), and that the scaler leg's target behavior is unchanged. Only after this passes is GAP-054 done and RUNNER-001 unblocked.
|
||||
@@ -110,7 +112,7 @@ This is a separate, later step — not part of today's six tasks. Once GAP-054,
|
||||
|
||||
- [x] Section 1 decisions recorded — all accepted 2026-08-19
|
||||
- [ ] GAP-048 taxonomy: implemented, tested, SPRINT_BOARD updated
|
||||
- [ ] GAP-047 Part 1: study delivered, read, weight-change decision explicitly deferred (not silently applied)
|
||||
- [x] GAP-047 Part 1/2: study delivered, DEC-20260823-01 accepted, runtime designed weights implemented and tested
|
||||
- [ ] GAP-054 runner trail: implemented, validated on sim/replay before any live gate run
|
||||
- [ ] GAP-055 persistence: implemented, restart/rollover-boundary test passed
|
||||
- [ ] GAP-045/046 all three parts: implemented on NQ, including the post-sizing Tier 1 reorder and the MNQ tick-table check
|
||||
|
||||
Reference in New Issue
Block a user