[GAP-056]: inert breakeven params hidden

- NT8StrategyBase.cs: hide inert breakeven parameters with Browsable(false) and unused descriptions

- SimpleORBNT8.cs: label settings export AutoBreakeven values as unused compatibility fields

- NT8StrategyBaseBreakevenParamsTests.cs: add source assertions for hidden/inert parameters and no order-flow reads

- SPRINT_BOARD.md/decisions.md: record Option A and verification evidence

Build: clean | Tests: 555 passing; Core 466 passing | Dual-deployed: no - skipped by prompt
This commit is contained in:
2026-08-25 13:30:11 -04:00
parent 8a1c3d1649
commit cdd9aa25bb
6 changed files with 231 additions and 5 deletions

View File

@@ -105,7 +105,8 @@ Use this file to record durable project decisions that affect implementation pat
2. **GAP-057 — no test seam exposes NinjaScript's `SetStopLoss`/`SetTrailStop` managed-order calls.** `TASK_GAP054_RUNNER_TRAIL_PROMPT.md` asked for a regression test asserting no `SetStopLoss` call is issued after `SetTrailStop` for a runner signal, with instructions to propose the smallest seam if none exists. Kilocode correctly did not fabricate coverage, but a concrete seam proposal wasn't written up. This is the same defect class as GAP-054 (silent exit-order clobbering) — worth closing so a future change to this block gets real regression coverage instead of relying on manual source review, as this review just did.
- **Decision:** Track both, do not action either as part of GAP-054. No operator decision required to log them.
- **Related Files:** `src/NT8.Adapters/Strategies/NT8StrategyBase.cs`, `TASK_GAP054_RUNNER_TRAIL_PROMPT.md`
- **Action Required:** None immediate. Stage as low-priority follow-up prompts when convenient.
- **GAP-056 Implementation Note (2026-08-25):** Implemented Option A for the inert breakeven parameters. `EnableAutoBreakeven`, `BreakevenTriggerTicks`, and `BreakevenOffsetTicks` remain declared/defaulted for saved workspace and settings compatibility, but are now `[Browsable(false)]` and their `Display` descriptions state they are currently unused. `SimpleORBNT8` settings export now labels the values as `UNUSED (retained for compatibility)`. This is reversible and avoids breaking persisted templates; Option B removal was not chosen because there was no concrete need to delete the fields and no benefit worth risking workspace/settings references. Added source-level tests proving the properties are hidden/marked unused and not read by `OnBarUpdate()` or `SubmitOrderToNT8()`. Verification: focused GAP-056 tests passed 3/3; `verify-build.bat` passed with 555/555 tests (466 Core, 79 Integration, 10 Performance); `dotnet test tests\NT8.Core.Tests\NT8.Core.Tests.csproj --configuration Release --no-build --verbosity minimal` passed 466/466. Deploy intentionally skipped by task prompt.
- **Action Required:** GAP-056 complete. GAP-057 remains ready as the remaining follow-up from this decision.
### DEC-20260819-01
- **ID:** DEC-20260819-01