9.2 KiB
NT8 SDK — Sprint Board
Last Updated: 2026-08-16 Truth source: compiler output, test output, deployed-file comparisons, and runtime artifacts override board claims.
Current gate state
| Area | State | Evidence / required next step |
|---|---|---|
| Core source build | ✅ | dotnet test NT8-SDK.sln --configuration Release --verbosity minimal: build succeeded. |
| Automated tests | ✅ | 511 passed: 422 Core, 79 Integration, 10 Performance. |
| Provenance | ✅ | Gate 3 fix serializes grade, score, submitted runner mode, and ORB ticks from the accepted intent/submission data. |
| Scenario coverage | 🟡 | 5/8 genuine assertions; 3 explicitly deferred for missing seams. |
| Gate Run #2 | ❌ | Contaminated; provenance defects were identified after the run. |
| Gate Run #3 | ⏳ | Freeze capture succeeded: docs/gate-runs/gate3/baseline.json from freeze_20260816_170304; complete manual NinjaScript compile/re-arm and close GAP-034 before starting the clock. |
Gate deployment rule: Once RB-4.1 is recorded and Gate Run #2 begins, do not dual-deploy to the gate machine. Run GAP-025 and connection-seam work in branches only.
🟢 PARALLEL — Non-Algorithm Product Work (safe during Gate Run #3)
[DASH-001] Standalone Read-Only Dashboard | Sprint 5 (pulled forward) | 🔵 ACTIVE
- Scope:
tools\dashboard\— external app, readstrades_*.jsonl,provenance_*.json,settings_*.txt,session_*.logfrom disk. No NT8 assembly references, never compiled intoNinjaTrader.Custom.dll, no writes back to NT8. - v1 features: live trade state (session log tail), today's trades table (grade/score/runner-mode/session-tag), config/provenance panel (config_hash, EnableKillSwitch, TestMode, BarsPeriod), raw session log tail view.
- Explicit non-goal for v1: no control layer (pause/flatten/kill switch) — that's Sprint 6, different risk profile (writes to NT8).
- Zero-risk classification: safe to build, run, and iterate at any time, including while the gate strategy is armed. No timing-rule constraint applies.
- Approved: 2026-08-10 (Mo).
- Related:
docs/IDEAS_BACKLOG.md(n8n AM Briefing — related but separate item),NT8_SDK_Master_DocumentAppendix B (Command Center spec — source of feature inspiration for external version). - Extension (2026-08-16): Add outbound notification module to the dashboard's Python server (NOT to the NinjaScript strategy) using Apprise for unified Discord/Notifiarr/ntfy/etc. delivery. Alerts on FILL, SUBMIT, BREAKEVEN, CONNECTION LOST/RESTORED, daily P&L milestones. Bind server to 127.0.0.1 only, read-only endpoints, no POST/write routes. Poll interval must be explicit/configurable: 1-2s for live session-log tail, 5-10s for trades table/config panel.
[DASH-002] Continuous Confluence & Regime Telemetry | Weekend window 2026-08-16 | 🔵 ACTIVE
- Scope:
src\source change — addsEnableStateTelemetryparameter emitting periodic factor/regime state to session log (currently only logged at signal time). Additive observability only; existing SIGNAL/SUBMIT/FILL/PNL_UPDATE lines must remain byte-for-byte unaffected. - Requires gate strategy DISABLED for build+deploy+recompile. Confirmed disabled for this weekend window; must be verified clean and re-armed before Monday market open.
- Emission cadence to be proposed by Kilocode (wall-clock throttle, not per-primitive-bar) and approved before implementation.
- Prompt:
TASK_DASH-002_PROMPT.md. - decisions.md entry required once cadence is finalized.
🔵 ACTIVE — Gate 3 Preparation
[RB-4.1] Gate Run #3 Configuration Freeze | Human operator | 🔵 ACTIVE
- In SimSimple ORB, set and verify:
EnableDynamicStop=TRUE,RunnerActivationMode=Auto,RegimeGate=GradePenalty,MinTradeGrade=A,MaxDailyTrades=1,TestMode=FALSE,EnableFileLogging=TRUE,EnableVerboseLogging=TRUE, andLogDirectory=C:\\Users\\billy\\Documents\\NinjaTrader 8\\log\\nt8-sdk. - Export settings, retain the parameter hash and code-version stamp, and record
DEC-GATE3-CONFIGwith the gate start date. - Freeze evidence is archived in
docs/gate-runs/gate3/baseline.json(freeze_20260816_170304). - Remaining acceptance: manual NinjaScript compile/re-arm completed, GAP-034 closed, and the no-deploy rule is in force at gate start.
📋 QUEUE — no deploy to the gate machine during a run
[GAP-025] Runner No-Fill Anomaly Diagnosis | Sprint 2.7 | ⏳ QUEUED — branch-only during Gate Run #2
- Add diagnostic-only runner order/execution state logging.
- Diagnose the SIM fill sequence; this blocks live promotion, not Gate Run #2.
[GAP-022-FOLLOWUP] Connection-State Test Seam | Sprint 2.7 | ⏳ QUEUED — branch-only during Gate Run #2
- Add an injectable connection-state seam around
NT8StrategyBase. - Then implement the three deferred scenarios: news-day reduced sizing, mid-trade disconnect, and pre-entry disconnect.
[GAP-030] Historical ORB State Hydration | Sprint 2.7 | ⏳ QUEUED — branch-only during Gate Run #2
- On a late strategy enable, reconstruct only the current day's 09:30–10:00 ET opening-range high/low from loaded bars.
- Preserve the realtime replay guard: hydrated historical bars must never create an intent/order; only genuine post-hydration realtime bars may be evaluated.
- Add tests for correct range reconstruction and for zero historical-order submissions.
[GAP-007] Walk-Forward Validation | Sprint 2.7 | ⏳ QUEUED — only after a passing Gate Run #2 ruling
✅ COMPLETED — Sprint 2.7
[GAP-031] Trade Provenance Signal/Submission Wiring | ✅ 2026-08-03
- Trade JSONL now serializes confluence grade/score and ORB ticks from the accepted intent metadata and the exact runner mode resolved for submission.
- Release build passed with zero errors; 498 tests passed; deployed source and assembly hashes match. Manual NinjaScript compile remains part of RB-4.1.
[GAP-032] Session-Scoped MaxDailyTrades Enforcement | ✅ 2026-08-03
- Position-flat updates no longer reset trade eligibility; the accepted-intent count persists until trading-date rollover.
- Same-session rejection logs
MaxDailyTrades reached; next-session first entry is covered by tests. - Release build passed; 500 tests passed; deployed source and assembly hashes match. Manual NinjaScript compile remains part of RB-4.1.
[GAP-033] Session Historical-Readiness and Gate Safety Logging | ✅ 2026-08-03
- Session startup logs
BarsRequiredToTrade, resolvedDaysToLoad, and actual loaded bars for every data series at DataLoaded and Realtime transition. - Logs explicit 7-daily-bar NarrowRange and 5-daily-bar OrbRangeVsAtr readiness, warning without blocking when insufficient.
- Warns when
EnableKillSwitch=Falseon an account containingSimSimple. - Additive logging only; Release build and all 500 tests passed; deployed hashes match. Manual NinjaScript compile remains part of RB-4.1.
[TASK-GOV-02] Governance Truth Reconciliation | ✅ 2026-07-13
- Restored the July 11 historical record, corrected documentation placement, and logged DEC-20260713-02.
[TASK-00a] Provenance Controls (reissued) | ✅ 2026-07-13
- Session provenance, trade JSONL, SHA256 parameter hashing, settings export, TestMode state, and July 11 parameter export are implemented.
[GAP-024] Session Tagging Data Layer | ✅ 2026-07-13
- Exact
RTH_ORB,ETH,HOLIDAY, andEARLY_CLOSEtags are written to provenance and trade records.
[GAP-022] Scenario Tests | 🟡 PARTIAL — 5/8 verified 2026-07-14
- Implemented with real assertions: high volatility rejection, low liquidity degradation, partial fill, daily-loss halt, and circuit-breaker open.
- Deferred honestly with source TODOs: news-day reduced sizing needs calendar/sizing-policy API; mid-trade and pre-entry disconnect scenarios need an injectable connection-state seam.
[GAP-029] Code-Version Provenance Stamp | ✅ 2026-07-14
- Session provenance, per-trade JSONL, settings exports, and SimpleORB snapshots now record the compiled assembly version plus module MVID.
- Each real-time signal also writes its TestMode/LIVE MODE state to the session file log.
📋 HISTORICAL RECORD: July 11 Sprint (Sprint 2) — COMPLETED
The following 11 tasks were completed on 2026-07-11 and are already implemented in code. They were incorrectly erased/re-queued during a prior governance rewrite; this record preserves their actual completion dates.
| Task | Sprint | Date | Status |
|---|---|---|---|
| TASK-06a Runner Mode | 2 | 2026-07-11 | ✅ |
| TASK-06b ATR Dynamic Stop | 2 | 2026-07-11 | ✅ |
| GAP-019 Portfolio Heat | 2 | 2026-07-11 | ✅ |
| GAP-003 RiskPerTrade Assert | 2 | 2026-07-11 | ✅ |
| GAP-004 orbRangeTicks Fix | 2 | 2026-07-11 | ✅ |
| GAP-005 GetRiskStatus Live | 2 | 2026-07-11 | ✅ |
| GAP-006 Position-Close Re-arm | 2 | 2026-07-11 | ✅ |
| GAP-010 Short-Side Filter | 2 | 2026-07-11 | ✅ |
| GAP-008 CME Holiday | 2 | 2026-07-11 | ✅ |
| GAP-009 ATR Trailing | 2 | 2026-07-11 | ✅ |
| GAP-011 Gitea CI | 2 | 2026-07-11 | ✅ |
📋 Sprint 3 Backlog — deferred until Gate Run #2 ruling
- TASK-06d — VWAP Mean Reversion
- GAP-013 — ContractRollHandler completion
- GAP-014 — LiquidityMonitor Level II preparation
- GAP-015 — Config JSON export/import
- MNQ-001 / MNQ-002 — MNQ preparation and parameter calibration