Files
nt8-sdk/KILOCODE_RUNBOOK.md

2.4 KiB

NT8 SDK Operator and Engineering Runbook

Current state: Sprint 2.7 cleanup complete; Gate Run #2 is waiting for the human configuration freeze. Canonical current state: SPRINT_BOARD.md and docs/00-governance/current_status.md.

Completed gate-enabling work

Item State Evidence
TASK-GOV-02 Complete July 11 historical record restored; master documents are at docs/ and docs/02-runbooks/; DEC-20260713-02 records the correction.
TASK-00a / GAP-024 Complete Session/trade provenance, SHA256 parameter hash, exact session tags, settings export, and TestMode state are implemented.
GAP-022 Partial by design Five executable scenario assertions pass. Three scenarios are deferred behind missing source seams; no fake tests were added.
GAP-029 Complete Session, trade, settings, and strategy snapshot provenance carry an assembly-version/module-MVID code stamp.

RB-4.1 — Gate Run #2 configuration freeze

  1. Deploy the verified cleanup source to NinjaTrader Custom\Strategies and compile in the NinjaScript Editor.
  2. Configure SimSimple ORB:
    • 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
  3. Export settings and archive the ConfigHash and CodeVersion.
  4. Record DEC-GATE2-CONFIG with the frozen values and gate start date.
  5. Once the gate begins, do not dual-deploy to the gate machine. Archive daily provenance/trade files and provide weekly heartbeats.

Parallel branch-only work during the gate

GAP-025 — Runner No-Fill Anomaly Diagnosis

  • Add diagnostic-only logging for runner order and execution state.
  • Capture a SIM fill sequence and diagnose the no-fill condition.
  • This blocks live promotion, not the SIM gate.

GAP-022-FOLLOWUP — Connection-State Test Seam

  • Add an injectable connection-state seam around NT8StrategyBase.
  • Implement the three deferred scenarios only after the required calendar/sizing and connection seams exist.

Post-gate sequence

  1. Produce an automated Gate Report from trades_*.jsonl and provenance artifacts.
  2. Record the ruling in docs/00-governance/decisions.md.
  3. A pass enables GAP-007 walk-forward validation, then Sprint 3 work.