34 lines
3.2 KiB
Markdown
34 lines
3.2 KiB
Markdown
# NEXT: Stage 0 run order — restore trust in the artifact, then make backtests trade again
|
||
# Staged: 2026-10-24 — DEC-20261024-01/02/03 (supersedes the 2026-08-03 RB-4.1 procedure; that freeze was discarded by DEC-20260922-01)
|
||
# ─────────────────────────────────────────────────────────────────
|
||
|
||
> **Kilocode, read this first.** Use `TASK_P0E_TREE_RECONCILE_PROMPT.md`, `TASK_GAP077_BACKTEST_HISTORICAL_GUARD_PROMPT.md` and `TASK_GAP067_SHADOWED_PROPERTIES_PROMPT.md` for the staged tasks.
|
||
|
||
Run strictly in this order. Every Kilocode task below is **COMMIT ONLY** — there is exactly one
|
||
deploy, at step 8.
|
||
|
||
| # | Who | Task | Done when |
|
||
|---|---|---|---|
|
||
| 1 | Kilocode | Appendix A → `TASK_P0E_TREE_RECONCILE_PROMPT.md` | Prompt files extracted; two commits (`[GAP-064]`, `[GOV]`); tree clean except operator-flagged items |
|
||
| 2 | Operator | **P0-D** `git push origin cleanup/wrappers-pass2` | `git status` shows "up to date with origin" — GAP-069 closed |
|
||
| 3 | Kilocode | `TASK_GAP068_DEPLOY_VERIFICATION_PROMPT.md` (staged 2026-09-22) | Preflight whole-folder check committed |
|
||
| 4 | Operator | Run preflight **before** the sweep | It **fails** and names `SimpleORBStrategy.cs` as unexpected — the GAP-068 "before" proof. Save the output |
|
||
| 5 | Operator | **P0-A** sweep `bin\Custom\Strategies`: delete `SimpleORBStrategy.cs` (2026-07-13 orphan), `@@SimpleORBNT8Wrapper.cs`, the four `SDK*.zip`, `.DS_Store`. **Keep** `NT8StrategyBase.cs`, `SimpleORBNT8.cs`, `SimpleORBNT8Wrapper.cs`, `BaseNT8StrategyWrapper.cs` (deploy-managed), `MinimalTestStrategy.cs` (GAP-073) and your own `@@`/`@` strategies | Folder contains no SDK-owned `.cs` that deploy does not manage |
|
||
| 6 | Kilocode | `TASK_GAP066_SETDEFAULTS_ORDERING_PROMPT.md` (staged 2026-09-22) | Committed |
|
||
| 7 | Kilocode | Appendix B → `TASK_GAP077_BACKTEST_HISTORICAL_GUARD_PROMPT.md` | Committed |
|
||
| 7b | Kilocode | Appendix C → `TASK_GAP067_SHADOWED_PROPERTIES_PROMPT.md` (needs step 6) | Committed |
|
||
| 8 | Operator | `deployment\deploy-to-nt8.bat` → close NT8 → delete `NinjaTrader.Custom.dll` → start NT8 → NinjaScript compile → re-add strategy | Compile clean; preflight now **passes** (GAP-068 "after" proof) |
|
||
| 9 | Operator | **Backtest** (GAP-077 validation): MNQ, Jan–Oct 2026, ≥60-day warm-up | `Mode : BACKTEST`, trades > 0, ≤1 trade/day, real reasons in `REJECT SUMMARY` |
|
||
| 10 | Operator | Settings export (GAP-066 validation) | `Trail=20ticks`, `MinTradeGrade : 5`, `MaxOpenPositions : 2`, `BarsRequiredToTrade: 50` (or your P2-B choices) |
|
||
| 11 | Operator | **P0-G** `EnableKillSwitch=True`, `TraceOrders=true`; confirm **real-time** CME data (GAP-078) | Session header shows both; bar age < 300 s |
|
||
| 12 | Operator | **N-02** one SIM RTH day | `REJECT: reason=OrbRangeNotEstablished` appears → closes GAP-064 / GAP-034 |
|
||
|
||
After step 12: Stage 1 (P1-A…P1-G) and Stage 2 (GAP-054 follow-up) per `docs/00-governance/active_work.md`
|
||
and Master Document v9.0 §9–10.
|
||
|
||
**Do not** start Gate Run #3, run RUNNER-001, or trust any Strategy Analyzer output produced before
|
||
step 9.
|
||
|
||
---
|
||
---
|