3.6 KiB
TASK: P0-E / N-04 — Reconcile the dirty working tree; commit GAP-064 FileLog fix and the governance sync
Staged: 2026-10-24 — DEC-20261024-02
Sprint: Stage 0 — restore trust in the artifact
Owner: Kilocode
Deploy: NONE. Git only. Do NOT run deploy-to-nt8.bat. Do NOT push (push is operator task P0-D).
WHY THIS RUNS FIRST
HEAD has been 186e1dd since 2026-08-26. The tree has been dirty since 2026-09-08 (4 modified,
5 untracked as of 2026-09-22). GAP-077, GAP-066 and GAP-067 all edit NT8StrategyBase.cs /
SimpleORBNT8.cs. Landing them on an uncommitted diff makes each of their diffs unreviewable and
unrevertable. Every later Stage 0 task assumes this one has produced a clean tree.
A governance sync was applied on 2026-10-24: docs/00-governance/decisions.md gained
DEC-20260904-01, DEC-20260908-01, DEC-20260922-01 (previously only in the Claude Project) and
DEC-20261024-01/02/03; SPRINT_BOARD.md, active_work.md and current_status.md gained a
2026-10-24 header block; this NEXT_PROMPT.md was rewritten.
STEPS
- Extract prompts. Copy Appendix A, B and C of
NEXT_PROMPT.md, verbatim (from the# TASK:line to the end of that appendix, excluding the# APPENDIXheading), intoTASK_P0E_TREE_RECONCILE_PROMPT.md,TASK_GAP077_BACKTEST_HISTORICAL_GUARD_PROMPT.mdandTASK_GAP067_SHADOWED_PROPERTIES_PROMPT.mdat the repo root. Then delete the three appendices fromNEXT_PROMPT.mdand replace the> Kilocode, read this firstnote with a one-line pointer to the three files. git status --porcelainandgit diff --stat. Paste both, verbatim, into the report.- For every modified and untracked path, classify it as one of:
- (a) GAP-064 FileLog fix — the one-line
SDK ONBARUPDATE FAILED: {ExceptionType}: {message}FileLoginNT8StrategyBase.OnBarUpdate()'s catch block, plustests/NT8.Core.Tests/Adapters/NT8StrategyBaseOnBarUpdateVisibilityTests.csand the three date-brittle test fixes verified inDEC-20260908-01. - (b) Governance sync / staged prompts —
docs/00-governance/*.md,SPRINT_BOARD.md,NEXT_PROMPT.md,TASK_*.md,docs/NT8_SDK_Master_Document_v9.0_Complete.*. - (c) Anything else — list it with a one-line description of the diff. Do not commit (c) items. Stop and report them; the operator decides.
- (a) GAP-064 FileLog fix — the one-line
- Verify (a) is exactly what
DEC-20260908-01describes. InNT8StrategyBase.csthe diff must be the singleFileLogline and nothing else. If the file carries any other change, stop and report. verify-build.batmust be green before committing (a). Report the test count.- Commit in this order, as separate commits:
[GAP-064]: OnBarUpdate catch-block FileLog + visibility regression test— category (a) only.[GOV]: sync governance to v9.0 + 2026-10-24 findings; stage GAP-077/067 prompts— (b) only.
git status --porcelainagain. Report what remains (should be only (c) items, or nothing).- Check for a stale
.git/index.lockbefore and after; it has recurred twice before. Report, do not delete without saying so.
DO NOT
- Do not modify any source file in this task. Commit only what is already there.
- Do not squash (a) and (b) together.
- Do not commit generated files,
bin/,obj/, logs, or anything underdeployment/backups/. - Do not push. Do not deploy.
GOVERNANCE
Update DEC-20261024-02 with both commit SHAs and the final git status. Mark N-04 / P0-E done in
SPRINT_BOARD.md and docs/00-governance/active_work.md (amend the [GOV] commit or add a third
small [GOV] commit — your call, say which).