diff --git a/SPRINT_BOARD.md b/SPRINT_BOARD.md index 540250d..97ffdba 100644 --- a/SPRINT_BOARD.md +++ b/SPRINT_BOARD.md @@ -30,7 +30,7 @@ - **[GAP-069] Commits unpushed** | ✅ CLOSED 2026-10-26 | Operator push `99e993b..5907e9c`; branch level with origin. - **[GAP-064 / GAP-034] Silent zero-trade days** | root cause GAP-065; closes on N-02 SIM day showing `OrbRangeNotEstablished`. - **[GAP-062] `trend_confirm` direction fix** | ❌ never live (in the shadowed file). -- **[GAP-067] 8 shadowed properties** | MEDIUM | `NEXT_PROMPT.md` App. C. +- **[GAP-067] Eight shadowed properties** | MEDIUM | ✅ Removed derived copies in commit `ffadf40`; 593 tests pass. Operator property-grid and saved-workspace validation remains after recompile; compatibility is not guaranteed by docs. - **[GAP-078] Possible 10-min-delayed CME data** | MEDIUM, unverified | operator check at P0-G. `DEC-20261024-03`. - Also open from v9.0: GAP-070…076 (see v9.0 §7 and `DEC-20260922-01`). diff --git a/docs/00-governance/active_work.md b/docs/00-governance/active_work.md index d3aba54..4cae1b1 100644 --- a/docs/00-governance/active_work.md +++ b/docs/00-governance/active_work.md @@ -17,7 +17,7 @@ Run order of record: **`NEXT_PROMPT.md`**. Stage model from Master Document v9.0 | P0-G | `EnableKillSwitch=True`, `TraceOrders=true`; confirm real-time CME data (GAP-078) | operator | Operator | | — | Single deploy + full recompile, then validate: backtest (GAP-077), settings export (GAP-066), one SIM RTH day (N-02) | operator | Operator | -**Stage 1** — P1-A clean SIM day · P1-B re-run GAP-047 rescore · P1-C GAP-062 before/after · **P1-D GAP-067** (`NEXT_PROMPT.md` App. C) · P1-E drift + effective-config tests · P1-F re-confirm GAP-030/055/048 live · P1-G fresh Gate 3 freeze. +**Stage 1** — P1-A clean SIM day · P1-B re-run GAP-047 rescore · P1-C GAP-062 before/after · **P1-D GAP-067** ✅ source fix committed `ffadf40` (593 tests); after recompile verify the eight properties appear once and saved workspace values bind correctly · P1-E drift + effective-config tests · P1-F re-confirm GAP-030/055/048 live · P1-G fresh Gate 3 freeze. **Stage 2** — GAP-054 follow-up (`TASK_GAP054_FOLLOWUP_TRAIL_VALIDATION_FAILURE_PROMPT.md`), `RunnerTrailTicks` decision, runner re-validation with `ORDER` lifecycle evidence, GAP-071 fix, then RUNNER-001. diff --git a/docs/00-governance/decisions.md b/docs/00-governance/decisions.md index 654ddc1..140891c 100644 --- a/docs/00-governance/decisions.md +++ b/docs/00-governance/decisions.md @@ -13,6 +13,17 @@ Use this file to record durable project decisions that affect implementation pat ## Decision Log +### DEC-20261026-04 +- **ID:** DEC-20261026-04 +- **Date:** 2026-10-26 +- **Status:** implemented — GAP-067 source fix committed; NinjaTrader compile/property-grid/workspace validation pending +- **Context:** Master Document v9.0 §4.10.2 and `DEC-20260922-01` identify eight same-name `[NinjaScriptProperty]` declarations in `NT8StrategyBase` and `SimpleORBNT8`. Base consumers read the base fields while `ConfigureStrategyParameters()` read derived fields, making settings and runtime behavior diverge when an operator edits one copy. +- **Decision:** Remove the eight derived declarations and their duplicate `SetDefaults` assignments. GAP-066 (`b20b621`) ensures the base `SetDefaults` runs first. All base default values, attributes, consumers and strategy-config parameter names remain unchanged; derived reads now use the inherited properties. +- **Verification:** Commit `ffadf401b1c9a2f7530123c8f1a5ace4d0b2c8af`. `verify-build.bat` passed 593/593 (503 Core, 80 Integration, 10 Performance), zero warnings/errors; no-build Core run passed 503/503. Added source-text checks that the eight names are absent in `SimpleORBNT8`, declared exactly once in the base, and that no public property name overlaps between the classes. +- **Compiler enforcement:** `NT8.Adapters.csproj` explicitly removes `Strategies\**\*.cs` from MSBuild `Compile` items and includes them as `None`; therefore adding `CS0108` there would not cover NinjaScript sources. The source-text regression tests are the enforcement path for these files. +- **Workspace compatibility:** Official [NinjaScriptPropertyAttribute](https://docs.ninjatrader.com/ninjascriptpropertyattribute) docs describe constructor/grid/Strategy Analyzer parameters and mention workspace persistence; official [XmlIgnoreAttribute](https://docs.ninjatrader.com/ninjascript/xmlignoreattribute) docs say public properties participate in workspace/template XML serialization by default. Neither page documents how an existing saved value for a shadowed derived property binds after that declaration is removed. Compatibility is therefore **uncertain**, not guaranteed; operator validation after recompile is required (load an existing workspace/template, confirm all eight values, change `EnableCMEHolidayGuard`, and verify settings export reflects it). +- **Related Files:** `src/NT8.Adapters/Strategies/SimpleORBNT8.cs`, `src/NT8.Adapters/Strategies/NT8StrategyBase.cs`, `tests/NT8.Core.Tests/Adapters/NT8StrategyBaseShadowedPropertyTests.cs`, `src/NT8.Adapters/NT8.Adapters.csproj`, `SPRINT_BOARD.md`, `DEC-20260922-01`, Master Document v9.0 §4.10.2. + ### DEC-20261026-03 - **ID:** DEC-20261026-03 - **Date:** 2026-10-26