[GAP-068]: verify complete deployed Strategies source folder
This commit is contained in:
@@ -13,6 +13,24 @@ Use this file to record durable project decisions that affect implementation pat
|
||||
|
||||
## Decision Log
|
||||
|
||||
### DEC-20261026-01
|
||||
- **ID:** DEC-20261026-01
|
||||
- **Date:** 2026-10-26
|
||||
- **Status:** implemented — GAP-068 whole-folder verification committed; operator before/after validation pending
|
||||
- **Context:** `tools/preflight/preflight.ps1` check 5 compared only deployed `NT8StrategyBase.cs`. `Write-DeployedSourceHashes` captured every Strategies `.cs` but did not compare them. This left the orphan-source failure in DEC-20260922-01 undetected; see Master Document v9.0 §1.3 Finding 1 and §4.4.
|
||||
- **Decision:** Compare the four `.cs` files copied to `bin\Custom\Strategies` by `deploy-to-nt8.bat` against repository SHA-256 values, and fail on any other `.cs` except `@` NinjaTrader samples, the operator's `@@` strategies, `ORBFibPullbackV1.cs`, and `MinimalTestStrategy.cs` (the last is retained despite the known deploy-script mismatch, GAP-073). Report each discrepancy with repository/deployed timestamps and, for unexpected files, same-name source paths and any same-type match found in deployed SDK/NT assemblies. Never delete deployed files from preflight.
|
||||
- **Verification:** The standalone PowerShell fixture test exercises a matching file, hash mismatch, missing deployed file, allow-listed foreign file, and unexpected file; it passed separately from `verify-build.bat`. The operator must run the documented preflight before P0-A and retain the failure naming `SimpleORBStrategy.cs`; run it again after cleanup/recompile.
|
||||
- **Scope note:** Manifest hashes and additional backup copies were not added; the secondary requests were deferred. `deployment/Verify-Deployment.ps1`'s `MinimalTestStrategy.cs` mismatch is documented and left unchanged.
|
||||
- **Related Files:** `tools/preflight/preflight.ps1`, `tools/preflight/strategy-source-verification.ps1`, `tools/preflight/tests/strategy-source-verification.tests.ps1`, `deployment/deploy-to-nt8.bat`, `deployment/Verify-Deployment.ps1`, DEC-20260922-01, Master Document v9.0 §§1.3, 4.4.
|
||||
|
||||
### DEC-20261026-02
|
||||
- **ID:** DEC-20261026-02
|
||||
- **Date:** 2026-10-26
|
||||
- **Status:** resolved — GAP-069 / P0-D closed
|
||||
- **Context:** Operator pushed branch `cleanup/wrappers-pass2` to origin on 2026-10-26, covering `99e993b..5907e9c`.
|
||||
- **Decision:** Mark GAP-069 closed; branch confirmed level with origin. No push performed by this task.
|
||||
- **Related Files:** `SPRINT_BOARD.md`, `docs/00-governance/active_work.md`.
|
||||
|
||||
### DEC-20261024-01
|
||||
- **ID:** DEC-20261024-01
|
||||
- **Date:** 2026-10-24
|
||||
|
||||
Reference in New Issue
Block a user