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

@@ -18,6 +18,40 @@ BEFORE market open Monday, with time left to re-arm calmly. If read-first
findings suggest this can't be done safely and verified in the available
window, say so explicitly rather than rushing a deploy.
## SAFETY FINDING (resolved 2026-08-17, DEC-20260817-04)
RegimeManager, TrendRegimeDetector, and VolatilityRegimeDetector
(src\NT8.Core\Intelligence\) are instantiated in
NT8StrategyBase.InitializeSdkComponents() but are NOT called anywhere in
the live signal path today — confirmed by direct read of
NT8StrategyBase.cs, SimpleORBStrategy.cs, and FactorCalculators.cs. The
regime/volatility values actually used for signal generation are computed
independently: inline SMA20/50 math in BuildStrategyContext() and
pure-function ATR-ratio math inside VolatilityRegimeFactorCalculator /
TrendAlignmentFactorCalculator, which read from context.CustomData and
have no side effects.
RegimeManager.UpdateRegime(), TrendRegimeDetector.DetectTrend(), and
VolatilityRegimeDetector.DetectRegime() DO mutate internal state on every
call (bar history, current-regime dictionaries, transition logs) and are
currently unused/dead code. DASH-002 telemetry MUST NOT call any of these
three methods (nor VolatilityRegimeDetector.UpdateRegimeHistory(), which
also mutates state) for periodic sampling — doing so would make telemetry
the first real consumer of state nothing else reads, which could corrupt
assumptions if a future task wires these classes into the live decision
path.
Note: the read-only getters (GetCurrentRegime(), GetCurrentTrendRegime(),
GetCurrentTrendStrength(), GetRegimeDuration(), GetTransitions(),
GetRecentTransitions()) are safe to call but will return defaults
(null / TrendRegime.Range / VolatilityRegime.Normal) since nothing
populates their backing dictionaries today — they are not a shortcut to
real data. Telemetry must instead sample from the same side-effect-free
sources already used for signal-time logging: the inline regime calc in
BuildStrategyContext, the existing IFactorCalculator.Calculate() pure
functions, and/or TrendRegimeDetector.CalculateTrendStrength() /
VolatilityRegimeDetector.CalculateVolatilityScore() called directly
(these are pure calculators, not the stateful Detect*/Update* methods).
## READ-FIRST
1. Locate where factor scores (Setup, Trend, Volatility, Timing,
ExecutionQuality, NarrowRange, OrbRangeVsAtr, GapDirectionAlignment,