Skip to content

fix(ops): update hardcoded old-PC paths for new machine - #107

Open
lwalden wants to merge 1 commit into
mainfrom
fix/ops-paths-new-machine
Open

fix(ops): update hardcoded old-PC paths for new machine#107
lwalden wants to merge 1 commit into
mainfrom
fix/ops-paths-new-machine

Conversation

@lwalden

@lwalden lwalden commented Jul 25, 2026

Copy link
Copy Markdown
Owner

Summary

The 2026-07-24 machine migration moved all repos from D:\Source to C:\repos, and the D: drive no longer exists on this machine. Ops script defaults and runbook commands still pointed at the old layout.

What changed:

  • tools/ops/preflight.ps1$DataDirectory default D:\Source\... -> C:\repos\TradingSystem\src\TradingSystem.Functions\data
  • tools/ops/Check-DailySnapshot.ps1$SnapshotPath / $SettingsPath defaults updated to C:\repos\...; the .DESCRIPTION help text describing the worker cwd and file of record updated to match (with a note that the 2026-06-10 verification predates the path migration)
  • docs/paper-validation-runbook.md — three copy-paste commands updated (cd to the Functions dir, the claude-gateway restart path, and the Register-GapDayMonitorTask.ps1 invocation)

Deliberately untouched: DECISIONS.md and other decision-record history — they describe the past. A repo-wide grep confirms zero remaining D:\Source (or any D:\) literals in scripts, docs, or config.

Test plan

  • grep -r 'D:\\Source' across the repo returns no hits
  • dotnet restore / build / test pass on this machine (script/doc-only change; baseline run on this branch)
  • Operator: next paper-trading morning, run tools/ops/preflight.ps1 with no arguments and confirm the data-directory check passes against C:\repos\TradingSystem\src\TradingSystem.Functions\data

🤖 Generated with Claude Code

… C:\repos)

The 2026-07-24 machine migration moved all repos from D:\Source to
C:\repos, and the D: drive no longer exists. The ops scripts' path
DEFAULTS still pointed at the old layout, so preflight.ps1 and
Check-DailySnapshot.ps1 would fail (or silently check the wrong file
of record) when run without explicit -DataDirectory/-SnapshotPath/
-SettingsPath overrides. The paper-validation runbook's copy-paste
commands had the same problem.

Updated script defaults, the Check-DailySnapshot help text describing
the worker cwd/file of record, and the runbook's three D:\Source
commands. Decision records are untouched -- they describe the past.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant