chore: checkpoint contaminated Gate 2 findings
This commit is contained in:
@@ -1,37 +1,23 @@
|
||||
# NEXT: GAP-011 — Gitea CI Pipeline
|
||||
# Staged: 2026-07-11
|
||||
# Sprint: 3 | Estimated: ~2 hrs
|
||||
# ─────────────────────────────────────────────────────────────────
|
||||
# Copy everything below this line and paste into Kilocode chat.
|
||||
# NEXT: RB-4.1 — Gate Run #2 Configuration Freeze
|
||||
# Staged: 2026-07-14
|
||||
# Sprint: 2.7 | Estimated: ~20 min operator work
|
||||
# ─────────────────────────────────────────────────────────────────
|
||||
|
||||
Read docs/00-governance/active_work.md and SPRINT_BOARD.md before starting.
|
||||
This is a **human operator procedure**, not a coding task. Do not change strategy source or deploy any branch work after the configuration freeze.
|
||||
|
||||
Implement GAP-011: Gitea CI Pipeline — add Gitea Actions workflow that runs verify-build.bat on push and PR.
|
||||
1. Before the gate begins, deploy the verified cleanup source to NinjaTrader `Custom\Strategies` and use the NinjaScript Editor to compile it.
|
||||
2. 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`
|
||||
3. Export the settings file. Record both `ConfigHash` and `CodeVersion` from the export.
|
||||
4. Add `DEC-GATE2-CONFIG` to `docs/00-governance/decisions.md`, including the export location, frozen values, hashes/stamp, and gate start date.
|
||||
5. At gate start, apply a no-dual-deploy freeze to the gate machine. Preserve daily `provenance_*.json` and `trades_*.jsonl` artifacts and write weekly runbook heartbeats.
|
||||
|
||||
WHAT TO BUILD:
|
||||
1. Create `.gitea/workflows/ci.yml` with:
|
||||
- Triggers: push to main, PR to main
|
||||
- Jobs: build-and-test
|
||||
- Runs on: ubuntu-latest (with Windows runner for .NET Framework)
|
||||
- Steps:
|
||||
- Checkout
|
||||
- Setup .NET (SDK 4.8)
|
||||
- Run verify-build.bat
|
||||
- Upload artifacts on failure (build logs, test results)
|
||||
- Optional: Comment PR with summary
|
||||
|
||||
2. Add `scripts/ci_build.sh` wrapper that calls verify-build.bat (for Linux runners)
|
||||
|
||||
3. Update README.md with Gitea Actions status badge
|
||||
|
||||
CONSTRAINTS:
|
||||
- Must work on Gitea's Windows runner (self-hosted or ubuntu with wine/mono)
|
||||
- verify-build.bat must be the single source of truth for build+test
|
||||
- No new dependencies
|
||||
|
||||
VERIFICATION:
|
||||
- Push a test commit — Gitea Actions should run and show green
|
||||
- verify-build.bat must pass (492 tests)
|
||||
|
||||
WHEN DONE: Follow .kilocode/rules/self_learning_loop.md completely (all 6 steps).
|
||||
Acceptance: an auditable frozen-config record exists before Gate Run #2; no branch work is deployed while the gate is active.
|
||||
|
||||
Reference in New Issue
Block a user