[GOV]: record GAP-067 compatibility validation
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -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 `<WarningsAsErrors>CS0108</WarningsAsErrors>` 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
|
||||
|
||||
Reference in New Issue
Block a user