[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
This commit is contained in:
2026-08-26 00:59:35 -04:00
parent 885e298fb7
commit 34c3767fbf
11 changed files with 408 additions and 32 deletions

View File

@@ -1,5 +1,5 @@
# NT8 SDK — Sprint Board
**Last Updated:** 2026-08-26 (GAP-062 implemented — trend_confirm direction fix; deploy skipped by prompt)
**Last Updated:** 2026-08-26 (GAP-025/GAP-030 prompted; GAP-062 deployed by operator request — see DEC-20260826-02)
**Truth source:** compiler output, test output, deployed-file comparisons, and runtime artifacts override board claims.
## Current gate state
@@ -102,10 +102,10 @@
- Scoped observability-only: exposes `Avwap`/`AvwapSlope`/`TrendConfirm` raw values in `STATE_CONTEXT` (same class as GAP-059) so the remaining open question (whether early ORB-timing structurally blocks the price-vs-AVWAP bonus too) can be checked against real numbers. Does not fix `trend_confirm`'s asymmetry — that's a separate, not-yet-decided follow-up.
- Prompt: `TASK_GAP061_AVWAP_TELEMETRY_PROMPT.md`. Implemented as observability-only: `STATE_CONTEXT` now includes `Avwap` (`F2`), `AvwapSlope` (`F4`), and `TrendConfirm` (`F1`) when those existing `context.CustomData` keys are present. Missing keys are omitted with no placeholders. No scoring, `trend_confirm`, `STATE:`, `STATE_DETAIL:`, risk, sizing, or order-flow logic changed. Verification: focused tests 7/7, `verify-build.bat` 561/561, Core Release no-build 472/472. Deploy intentionally skipped by task prompt.
**[GAP-062] `trend_confirm` is direction-blind, capping every short's Trend factor** | Stage 1 | ✅ IMPLEMENTED — deploy skipped by prompt
**[GAP-062] `trend_confirm` is direction-blind, capping every short's Trend factor** | Stage 1 | ✅ IMPLEMENTED — deployed 2026-08-26 by operator request
- Found while drafting GAP-061 (`DEC-20260825-04` addendum), independently re-confirmed by Kilocode's own GAP-061 commit writeback: `trend_confirm` (`SimpleORBStrategy.cs:970`) is `avwapSlope > 0.0 ? 1.0 : 0.0` — unconditionally rewards a positive slope regardless of trade direction. For a short, this is mutually exclusive with the correctly-aligned (negative-slope) `+0.3` bonus, capping every short's Trend score at 0.30 (or 0.70 with price below AVWAP) even with a cleanly confirmed downtrend. Matches real data exactly: every best real short setup this week and on 2026-08-18 scored `Trend=0.30`. With `MinTradeGrade=A`, this has silently vetoed every well-formed short setup.
- **Unlike GAP-050/GAP-061, this is a real scoring-behaviour change, not behaviour-neutral** — fixing it can newly qualify short setups that were previously capped below Grade A. Task requires symmetric before/after test proof (long-side unchanged, short-side now earns the same max score a symmetric long would) and explicit SIM before/after observation, not "none required."
- Prompt: `TASK_GAP062_TREND_CONFIRM_DIRECTION_PROMPT.md`. Implemented by publishing side-specific `trend_confirm_long`/`trend_confirm_short` inputs from `SimpleORBStrategy.UpdateConfluenceInputs()` and having `TrendAlignmentFactorCalculator` select the value matching `intent.Side`, leaving the `+0.4`/`+0.3`/`+0.3` additive score structure unchanged. Tests prove a short in a confirmed downtrend now reaches the same max Trend score as a symmetric long, a short against an uptrend does not earn trend confirmation, and long confirmed-uptrend behavior remains fully confirmed. Verification: focused Intelligence tests 89/89, `verify-build.bat` 569/569. Deploy intentionally skipped by task prompt; SIM before/after observation required because this is a scoring-behavior change.
- Prompt: `TASK_GAP062_TREND_CONFIRM_DIRECTION_PROMPT.md`. Implemented by publishing side-specific `trend_confirm_long`/`trend_confirm_short` inputs from `SimpleORBStrategy.UpdateConfluenceInputs()` and having `TrendAlignmentFactorCalculator` select the value matching `intent.Side`, leaving the `+0.4`/`+0.3`/`+0.3` additive score structure unchanged. Tests prove a short in a confirmed downtrend now reaches the same max Trend score as a symmetric long, a short against an uptrend does not earn trend confirmation, and long confirmed-uptrend behavior remains fully confirmed. Verification: focused Intelligence tests 89/89, `verify-build.bat` 569/569. Deployed after explicit operator request; backup `20260826_005308`. SIM before/after observation required because this is a scoring-behavior change.
### Standing item
The dirty working tree — several modified/untracked files including live strategy files — is still unresolved; recommend operator check `git status` directly on the machine.
@@ -147,18 +147,18 @@ The dirty working tree — several modified/untracked files including live strat
## 📋 QUEUE — no deploy to the gate machine during a run
**[GAP-025] Runner No-Fill Anomaly Diagnosis** | Sprint 2.7 | ⏳ QUEUED — branch-only during Gate Run #2
- Add diagnostic-only runner order/execution state logging.
- Diagnose the SIM fill sequence; this blocks live promotion, not Gate Run #2.
**[GAP-025] Runner/scaler order lifecycle invisible in the persistent session log** | Sprint 2.7 | 🟡 PROMPTED
- Reading `OnOrderUpdate`/`OnExecutionUpdate` (`NT8StrategyBase.cs` ~1270-1345) on 2026-08-26 found the actual gap behind the old "runner no-fill anomaly" framing: `OnOrderUpdate` never writes to `FileLog` for any order state except `Rejected` (everything else — submitted, accepted, working, cancelled — is Print-only, invisible outside NT8's live Output window), and the `FILL` line in `OnExecutionUpdate` doesn't include the order/signal name, so scaler vs. runner fills can't be told apart from the file log at all.
- Scoped diagnostic-only: adds an `ORDER {signal} State=... Filled=.../... AvgFillPrice=...` FileLog line to `OnOrderUpdate` for every transition, and adds the signal name to the existing `FILL` line. Zero change to order submission, sizing, or execution-adapter logic.
- Prompt: `TASK_GAP025_RUNNER_ORDER_LIFECYCLE_LOGGING_PROMPT.md`.
**[GAP-022-FOLLOWUP] Connection-State Test Seam** | Sprint 2.7 | ⏳ QUEUED — branch-only during Gate Run #2
- Add an injectable connection-state seam around `NT8StrategyBase`.
- Then implement the three deferred scenarios: news-day reduced sizing, mid-trade disconnect, and pre-entry disconnect.
**[GAP-030] Historical ORB State Hydration** | Sprint 2.7 | ⏳ QUEUED — branch-only during Gate Run #2
- On a late strategy enable, reconstruct only the current day's 09:30–10:00 ET opening-range high/low from loaded bars.
- Preserve the realtime replay guard: hydrated historical bars must never create an intent/order; only genuine post-hydration realtime bars may be evaluated.
- Add tests for correct range reconstruction and for zero historical-order submissions.
**[GAP-030] Historical ORB range hydration on a late strategy enable** | Sprint 2.7 | 🟡 PROMPTED — verify-first
- Traced on 2026-08-26: `SimpleORBStrategy.OnBar()`'s ORB-building logic is state-blind (no `State.Historical`/`Realtime` awareness at all in `StrategyContext`) and accumulates the range from whatever bars it's given; `NT8StrategyBase.OnBarUpdate()` doesn't currently block `State.Historical` bars from reaching it; and `ProcessStrategyIntent()` already has an explicit `State == State.Historical` guard blocking any real order from a historical-replay bar. **This suggests both halves GAP-030 originally asked for may already exist by construction** — but the task explicitly requires Kilocode to verify (not assume) that NT8 actually delivers same-day historical catch-up bars on a late enable before treating it as settled, and to only implement new logic if that verification finds a real gap; otherwise the task closes the missing test-coverage gap instead.
- Prompt: `TASK_GAP030_ORB_HYDRATION_VERIFY_PROMPT.md`.
**[GAP-007] Walk-Forward Validation** | Sprint 2.7 | ⏳ QUEUED — only after a passing Gate Run #2 ruling