[GAP-030]: ORB hydration verification complete

- tests/NT8.Core.Tests/Strategies/SimpleORBHydrationTests.cs: cover full and partial delivered-bar ORB hydration

- tests/NT8.Core.Tests/Adapters/NT8StrategyBaseHistoricalGuardTests.cs: assert historical bars reach SDK hydration and orders are blocked before submission

- SPRINT_BOARD.md: GAP-030 prompted -> implemented/deployed

- docs/00-governance/current_status.md: record GAP-030 test-only outcome

- docs/00-governance/decisions.md: record DEC-20260826-06

Build: clean | Tests: 576 passing | Dual-deployed: yes, backup 20260826_010653
This commit is contained in:
2026-08-26 01:07:48 -04:00
parent 49bcd0b43c
commit 9bd2a0f716
5 changed files with 215 additions and 7 deletions

View File

@@ -1,5 +1,13 @@
# Current Status — NT8 SDK
**Last Updated:** 2026-08-26 (GAP-025 implemented; GAP-030 next)
**Last Updated:** 2026-08-26 (GAP-030 implemented/deployed test-only)
---
## 2026-08-26 — GAP-030 verified; repo-side fix is test coverage only
Implemented `TASK_GAP030_ORB_HYDRATION_VERIFY_PROMPT.md` as a verify-first, test-only task. The source trace checked out: `SimpleORBStrategy.OnBar()` has no historical/realtime state input and builds the ORB range from every delivered in-window bar; `NT8StrategyBase.OnBarUpdate()` does not block `State.Historical` bars before `_sdkStrategy.OnBar()`; `ProcessStrategyIntent()` retains the live-account `State == State.Historical && Account != null` guard before portfolio risk, sizing, and submission. No production hydration logic was added.
Added tests proving full-window replay hydrates `_openingRangeHigh`/`_openingRangeLow` and marks `OpeningRangeReady` on the first post-window bar, partial-window delivered bars hydrate from the bars actually delivered, `OnBarUpdate()` does not contain an executable pre-`OnBar` historical block, and `ProcessStrategyIntent()` keeps the `HistoricalReplayCatchup` order-submission guard. Focused GAP-030 tests passed 4/4; `verify-build.bat` passed 576/576. Deploy completed with backup `20260826_010653`; `NinjaTrader.Custom.dll` was already absent. External NT8 docs fetched during the task did not prove whether a late enable always receives same-day historical bars, so that platform behavior remains an operator observation point rather than a source-code defect.
---