[GAP-025]: runner order lifecycle logging complete

- src/NT8.Adapters/Strategies/NT8StrategyBase.cs: add ORDER lifecycle FileLog and FILL signal name

- tests/NT8.Core.Tests/Adapters/NT8StrategyBaseOrderLifecycleTests.cs: add source-text regression coverage

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

- docs/00-governance/current_status.md: record GAP-025 implementation

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

Build: clean | Tests: 572 passing | Dual-deployed: yes, backup 20260826_010153
This commit is contained in:
2026-08-26 01:03:12 -04:00
parent 34c3767fbf
commit 49bcd0b43c
5 changed files with 134 additions and 6 deletions

View File

@@ -1,5 +1,13 @@
# Current Status — NT8 SDK
**Last Updated:** 2026-08-26 (GAP-062 implemented; deploy skipped pending SIM before/after observation)
**Last Updated:** 2026-08-26 (GAP-025 implemented; GAP-030 next)
---
## 2026-08-26 — GAP-025 implemented; runner/scaler order lifecycle logging added
Implemented and deployed `TASK_GAP025_RUNNER_ORDER_LIFECYCLE_LOGGING_PROMPT.md` as additive logging only. `NT8StrategyBase.OnOrderUpdate()` now writes realtime `ORDER SDK_... State=... Filled=.../... AvgFillPrice=...` lines for SDK-managed order transitions, making submitted/accepted/working/cancelled/rejected lifecycle state visible in the persistent session log. `OnExecutionUpdate()` keeps the existing `FILL` line shape but adds `Signal=...` so scaler (`SDK_*_S_*`) and runner (`SDK_*_R_*`) fills are distinguishable after the fact.
Verification passed: focused Adapter tests 81/81 and `verify-build.bat` 572/572. Existing order-management behavior was not changed: `SubmitOrderToNT8`, managed order calls, `_circuitBreaker.RecordOrderRejection`, `_executionAdapter.ProcessOrderUpdate`, `_executionAdapter.ProcessExecution`, and `PortfolioRiskManager.ReportFill` remain intact. Deploy completed with backup `20260826_010153`; `NinjaTrader.Custom.dll`/`.pdb` were invalidated.
---