From d6ffc5ddb55bd1c7770e1c8b8094fdb48f4d5486 Mon Sep 17 00:00:00 2001 From: Matt Spinola Date: Thu, 17 Sep 2026 20:50:56 -0400 Subject: [PATCH] series-routine.md: invoke the wrapper as cmd //c, since Git Bash rewrites a lone /c The first supervised routine run on the producer box (2026-09-17) pulled all eleven symbols and wrote every raw file verbatim, then failed at step 4: Git Bash, which the routine's Bash tool is, rewrote the lone /c into a Windows path before cmd saw it, and cmd reported "'ode' is not recognized". The doubled slash is the standard MSYS escape and passes through untouched. Step 4, the allow rule and a note explaining the slash are updated. Co-Authored-By: Claude Opus 5 --- CHANGELOG.md | 4 ++++ docs/examples/windows/series-routine.md | 10 +++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4aad192..1ecb50e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,10 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). box runs, with its allow rules and the backfill). `WINDOWS_SCHEDULING.md` gains the section; `SYNCING.md` notes that `_raw/tradingview/` rides under the existing `_raw` exclusion. Docs only; the producer itself is in marketdata 0.3.0. +- **`series-routine.md` invokes the wrapper as `cmd //c`**, doubled slash: the routine's + Bash tool is Git Bash, which rewrites a lone `/c` into a Windows path before cmd sees + it. Found on the first supervised run, which wrote all eleven raw files correctly and + then failed at the wrapper with `'ode' is not recognized`. ### Removed — BREAKING diff --git a/docs/examples/windows/series-routine.md b/docs/examples/windows/series-routine.md index 2d08815..975bb56 100644 --- a/docs/examples/windows/series-routine.md +++ b/docs/examples/windows/series-routine.md @@ -40,7 +40,7 @@ while sessions have printed `mcp____`; an unmatched rule is "mcp__claude_ai_TradingView__mcp-tv-get-ohlcv", "Edit(marketdata_store/_raw/tradingview/**)", "Edit(/c/Users/you/code/marketdata_store/_raw/tradingview/**)", - "Bash(cmd /c \"C:/Users/you/code/cotdata/scheduler/run-series.cmd\")" + "Bash(cmd //c \"C:/Users/you/code/cotdata/scheduler/run-series.cmd\")" ] } } @@ -66,8 +66,12 @@ Do these in order, and nothing else. exactly as the tool returned it: no reformatting, no summary, no added or dropped keys, no rounding. Create the folders if they do not exist. Do not print the result back. 4. **Run the wrapper**, exactly this command and nothing else: - `cmd /c "REPLACE_WITH_SCHEDULER_DIR_FORWARD/run-series.cmd"` - (forward slashes; the allow rule matches this text). + `cmd //c "REPLACE_WITH_SCHEDULER_DIR_FORWARD/run-series.cmd"` + (forward slashes, and the DOUBLED slash before `c` is load-bearing: the Bash tool is + Git Bash, which rewrites a lone `/c` into a Windows path before cmd sees it, so + `cmd /c` arrives mangled and fails with a message like "'ode' is not recognized". + Measured on the first supervised run, 2026-09-17. The allow rule matches this exact + text.) 5. **Report** the wrapper's exit code and the lines the build printed, one per symbol. Then stop.