Files
nt8-sdk/SPRINT_BOARD.md
mo 5844b2ce0b GAP-031: fix submitted trade provenance
- serialize grade, score, ORB ticks, and resolved mode from accepted submission data
- add exact-value JSONL provenance test
- prepare governance for Gate Run 3

Build: clean | Tests: 498 passing | Dual-deployed: yes
2026-08-03 08:50:04 -04:00

101 lines
5.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# NT8 SDK — Sprint Board
**Last Updated:** 2026-08-03
**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 | ✅ | `verify-build.bat`: 0 errors; 6 existing CS1998 warnings in test mocks/tests. |
| Automated tests | ✅ | 497 passed: 409 Core, 78 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 | ⏳ | Provenance fix deployed; complete the manual NinjaScript compile and freeze a new configuration. |
> **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.
---
## 🔵 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`, and `LogDirectory=C:\\Users\\billy\\Documents\\NinjaTrader 8\\log\\nt8-sdk`.
- Export settings, retain the parameter hash and code-version stamp, and record `DEC-GATE2-CONFIG` with the gate start date.
- The Gate 3 provenance fix was deployed on 2026-08-03; run the NinjaTrader compile check before freezing configuration.
- Acceptance: the frozen export/provenance evidence is archived 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.
**[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`, and `EARLY_CLOSE` tags 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