[GAP-057]: runner trail source regression seam
- NT8StrategyBaseRunnerTrailTests.cs: assert no runner SetStopLoss after SetTrailStop and no post-entry runner stop resets - SPRINT_BOARD.md/decisions.md: record Option B source-text seam choice and verification evidence Build: clean | Tests: 558 passing; Core 469 passing | Dual-deployed: no - test-only skipped by prompt
This commit is contained in:
@@ -83,10 +83,13 @@
|
||||
**[GAP-056] `EnableAutoBreakeven`/`BreakevenTriggerTicks`/`BreakevenOffsetTicks` are fully inert** | Stage 1 | ✅ IMPLEMENTED — deploy skipped by prompt
|
||||
- Found during GAP-054 verification (`DEC-20260821-01`): GAP-054 removed the only code path that ever read these three parameters (the runner breakeven block that was clobbering the trailing stop). They remain declared, defaulted, and exposed in the NinjaTrader UI but do nothing — harmless, but an operator toggling `EnableAutoBreakeven` would reasonably expect an effect.
|
||||
- Prompt: `TASK_GAP056_INERT_BREAKEVEN_PARAMS_PROMPT.md`. Implemented Option A: retained the properties for saved workspace/settings compatibility, hid all three from the NT8 property grid with `[Browsable(false)]`, and labeled the SimpleORB settings export as `UNUSED`. No order-flow, sizing, risk, `SetStopLoss`, or `SetTrailStop` logic changed. Verification: focused tests 3/3, `verify-build.bat` 555/555, Core Release no-build 466/466. Deploy intentionally skipped by task prompt.
|
||||
|
||||
**[GAP-057] No test seam for NinjaScript's SetStopLoss/SetTrailStop managed-order calls** | Stage 1 | ✅ IMPLEMENTED — test-only, deploy skipped by prompt
|
||||
- Found during GAP-054 verification (`DEC-20260821-01`): the regression test GAP-054's own task asked for (no `SetStopLoss` after `SetTrailStop` for a runner signal) was never written because no test seam exists — Kilocode correctly declined to fabricate coverage rather than write a fake test. Same defect class as GAP-054 (silent exit-order clobbering) currently has zero regression protection.
|
||||
- Prompt: `TASK_GAP057_STOP_TRAIL_TEST_SEAM_PROMPT.md`. Implemented Option B: source-text regression seam. Added tests proving the runner entry block never calls `SetStopLoss(_runnerSignalName...)` after `SetTrailStop(_runnerSignalName...)`, the post-entry runner monitor in `OnBarUpdate()` contains no `SetStopLoss`/`SetTrailStop` calls, and no production order-management indirection was introduced. Verification: focused tests 3/3, `verify-build.bat` 558/558, Core Release no-build 469/469. Deploy intentionally skipped by task prompt.
|
||||
### Also raised by the review, not yet prompted
|
||||
GAP-051 (`MicroUpgradeThreshold` fires every session) · GAP-052 (two hardcoded tick-value tables) ·
|
||||
GAP-053 (`executive_summary.md` and `roadmap.md` Sprint 3 list present ~12 completed tasks as open) ·
|
||||
plus GAP-057 (no test seam for NinjaScript managed-order SetStopLoss/SetTrailStop calls) ·
|
||||
plus the standing dirty working tree — 17 modified, 5 untracked, including two live strategy files.
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user