Files
nt8-sdk/docs/00-governance/active_work.md
mo 34c3767fbf [GOV]: cleanup prompted task state
- SPRINT_BOARD.md: stage GAP-025/GAP-030 and correct GAP-062 deploy status

- TASK_GAP025_RUNNER_ORDER_LIFECYCLE_LOGGING_PROMPT.md: add runner lifecycle logging prompt

- TASK_GAP030_ORB_HYDRATION_VERIFY_PROMPT.md: add ORB hydration verify prompt

- TASK_GAP051/052/059/060 prompts: record commit-only deploy instruction

- TASK_GAP054_RUNNER_TRAIL_PROMPT.md: clarify SIM/replay validation path

- docs/00-governance/2026-08-19-run-book.md: reconcile implemented/verified task states

- docs/00-governance/active_work.md: update blocker status and validation requirements

- docs/00-governance/decisions.md: record prompted follow-ups and resolved GAP-062 deploy status

Build: clean | Tests: 569 passing | Deploy: GAP-062 deployed backup 20260826_005308
2026-08-26 00:59:35 -04:00

93 lines
7.0 KiB
Markdown

# Active Work
**Last Updated:** 2026-08-23 (items 2-5, 7 implemented and deployed to NT8; each still awaits manual NT8 compile + SIM/live validation before being closed)
## v7.0 review blockers — decisions accepted 2026-08-19, implementation status below
All four decisions proposed 2026-08-18 were accepted by the operator on 2026-08-19
(DEC-20260818-18, -19, -20, -21), plus a new DEC-20260819-01 sequencing the MNQ
instrument cutover as its own follow-on step. Items 2, 3, 4, 5 and 7 below are now
code-complete, tested, and deployed (see each row and `decisions.md` for commit/backup
evidence) but each still requires a manual NinjaScript compile plus the SIM/live
validation step named in its "Blocking" column before it is fully closed. Item 6
(GAP-054) is implemented, committed (`28c30bc`), and deployed, but its own SIM/replay
validation has not run yet. Item 8 (MNQ cutover) has not started.
Play-by-play execution order: `docs/00-governance/2026-08-19-run-book.md`.
Full detail: `docs/NT8_SDK_Master_Document_v7.0_Complete.docx`.
| Order | Item | Prompt | Owner | Blocking |
|---|---|---|---|---|
| 1 | **GAP-046** — set `AccountStartingBalance` or disable `EnableTrailingDrawdown` | operator action, no code | Operator | Every entry, from 14:30 ET daily |
| 2 | **GAP-045/046 guards** — resolved: MNQ (cutover staged separately) + per-position semantics | `TASK_GAP045_GAP046_RISK_GUARDS_PROMPT.md` — implemented/deployed 2026-08-23, backup `20260823_144817` | Kilocode, on current NQ config | Manual NT8 compile and NQ SIM validation |
| 3 | **GAP-048** — split the reject taxonomy | `TASK_GAP048_REJECT_TAXONOMY_PROMPT.md` — implemented/deployed 2026-08-23, backup `20260823_142014` | Kilocode | Manual NT8 compile and dashboard spot-check |
| 4 | **GAP-055** — persist `MaxDailyTrades` across restarts | `TASK_GAP055_MAXDAILYTRADES_PERSIST_PROMPT.md` — implemented/deployed 2026-08-23, backup `20260823_143311` | Kilocode | Manual NT8 compile and SIM restart validation |
| 5 | **GAP-047** — Part 1 complete (commit `cbf45df`), Part 2 runtime weight fix implemented 2026-08-23 | `TASK_GAP047_PART2_WEIGHT_RUNTIME_PROMPT.md` — verification passed, deploy backup `20260823_135331` | Kilocode | Fresh gate freeze needed before gate evidence |
| 6 | **GAP-054** — auto-breakeven destroys the runner trail | `TASK_GAP054_RUNNER_TRAIL_PROMPT.md` — **Option 0 implemented + source-verified 2026-08-21, committed `28c30bc`, deployed (backup `20260821_144039`), NOT yet SIM/replay-validated** | Kilocode implemented; operator validates | **RUNNER-001**, still blocked until SIM/replay validation passes |
| 7 | **GAP-049** — telemetry `STATE:` score is direction-incorrect | `TASK_GAP049_TELEMETRY_DIRECTION_PROMPT.md` — implemented/deployed 2026-08-23, backup `20260823_151931` | Kilocode | Manual NT8 compile and live/SIM STATE_DETAIL spot-check |
| 8 | **MNQ cutover** — reconfigure instrument, retune risk params for $0.50/tick, fresh Gate 3 freeze | not yet staged as its own TASK file | Operator + Kilocode | Only after items 2, 4, 5, 6 pass validation on NQ |
**Sequencing note:** items 3, 5, and 7 carry zero trading risk (diagnostics/telemetry/
scoring-policy only, no order-management path touched) and have all landed. Item 6 must
land (and validate on SIM/replay) before RUNNER-001 is executed. Item 8 (MNQ cutover)
must NOT start until items 2, 4, 5, and 6 have landed and validated on the current NQ
configuration — see DEC-20260819-01.
---
## GAP-035 — Rejection-reason file logging (HIGHEST PRIORITY)
**Owner:** Kilocode
**State:** Deployed 2026-08-17 (deploy-to-nt8.bat, backup `20260817_180455`); DEC-20260817-01/02 provenance fixes deployed in the same pass, source hashes verified against repo. `NinjaTrader.Custom.dll`/`.pdb` confirmed absent — clean recompile is queued for next NT8 launch. Not yet compiled or cross-checked live.
All four zero-trade candidates log via `_logger` only and never reach the session file.
Route every signal-rejection reason through `FileLog` alongside `_logger` so a no-trade
day self-documents without requiring the NT8 Output window to have been open.
Pre-cross-check prep completed 2026-08-16: two no-activity current-day session logs were archived to `C:\Users\billy\Documents\NinjaTrader 8\log\nt8-sdk\ARCHIVE\20260816-pre-crosscheck-test-sessions\`, leaving the active log root clean for the operator's next preflight run.
## GAP-034 — Silent zero-trade defect diagnosis
**Owner:** Kilocode (instrumentation) + operator (capture)
**State:** Pending operator diagnostic session using deployed GAP-035 file logging. See `current_status.md` for the proven/ruled-out analysis.
## Weekend batch 2026-08-15 to 08-17 (strategy DISARMED)
The strategy is off, so this is a disarmed window. Recompiles are permitted.
Deferred items requiring recompile are unblocked.
**Runtime / DLL:**
- GAP-035 — rejection-reason file logging
- GAP-036 — `risk_mode` sourced from `intent.Metadata` (GAP-031 defect class, missed)
- GAP-037 — `MaxDailyTrades` regression tests (4 cases; none currently exist)
- GAP-038 — `ConfigHash` must include `BarsPeriod` (deferred from prior disarmed window;
structurally different bar configurations currently produce identical hashes,
undermining gate provenance)
- GAP-039 — `_dailyTradeCount` increments only when `State == State.Realtime`, so
historical replay cannot latch the daily limit
**Non-runtime / QoL (no DLL, no NT8 assembly references, zero runtime risk):**
- DASH-001 — standalone read-only dashboard under `tools/dashboard/`
- TOOL-001 — session log triage CLI
- TOOL-002 — config drift detector across settings exports
- TOOL-003 — pre-flight gate checklist script
## RB-4.1 — Gate Run #3 Configuration Freeze
**Owner:** Human operator
**State:** Freeze capture completed (`docs/gate-runs/gate3/baseline.json`), but Gate Run #3 start remains BLOCKED on GAP-034 plus manual NinjaScript compile/re-arm evidence. Gate 2 was contaminated; the Gate 3 clock has not started.
1. Start NinjaTrader and run the NinjaScript compile check for all three Gate 3 remediations deployed on 2026-08-03.
2. Verify session-start logging lists each series' `DaysToLoad` and loaded count, both factor warm-up results, and no SimSimple kill-switch warning.
3. In SimSimple ORB, set and triple-check:
- `EnableDynamicStop=TRUE`
- `RunnerActivationMode=Auto`
- `RegimeGate=GradePenalty`
- `MinTradeGrade=A`
- `MaxDailyTrades=1`
- `TestMode=FALSE`
- `EnableFileLogging=TRUE`
- `EnableVerboseLogging=TRUE`
- `LogDirectory=C:\\Users\\billy\\Documents\\NinjaTrader 8\\log\\nt8-sdk`
4. Export settings; preserve the parameter hash and code-version stamp.
5. Add `DEC-GATE3-CONFIG` with the frozen configuration and planned start date.
6. At Gate 3 start, enforce the no-dual-deploy rule. GAP-025 and GAP-022-FOLLOWUP remain branch-only work.
## Parallel work, not a gate prerequisite
- GAP-025 runner no-fill diagnosis blocks live promotion, not Gate Run #2.
- GAP-022-FOLLOWUP needs an injectable connection-state seam before the three deferred scenarios can be implemented honestly.