From 017ff54f9a374e6553f93c4dcb2709a8174cc445 Mon Sep 17 00:00:00 2001 From: James Dansereau <106631954+jkdansereau@users.noreply.github.com> Date: Fri, 4 Sep 2026 22:11:07 -0400 Subject: [PATCH] docs(claude.md): correct wrong local-Qwen-worker shell claim The "worker's shell is cmd.exe, no grep/cat" note was wrong -- verified directly against the delegate-local harness's own _run_bash: grep, sed, cat, ls, head, pipes, and grep -rn all work (Git-for-Windows/MSYS2 on PATH). The stale claim, baked into 4 of 5 local agent .md files, caused a real dispatch to burn its whole turn budget full-read_file-ing files instead of grepping them, hit the turn limit, and returned nothing. Claude-Session: https://claude.ai/code/session_01P3WrUHAFQZUuhrHhiJgTUr --- CLAUDE.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 826d691c..249a88db 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -88,9 +88,16 @@ still owns judgment, planning, and the verification gate. - **Backend reality:** ~1 inference slot, slow per token — dispatch **sequentially**, `max_tokens` ~4–8K, treat as batch work. Needs the LiteLLM proxy (`litellm/run.ps1`) + Unsloth Studio both up. -- **Windows quirk:** the worker's shell is `cmd.exe`, not bash — its agent - prompt tells it to use `read_file`/`findstr`, not `cat`/`grep`. Always - spot-check the returned artifact against the real files before integrating; - the 27B will confidently fabricate if a read fails. +- **Corrected 2026-09-04:** the "worker's shell is `cmd.exe`, no grep/cat" + claim that used to live here was WRONG — verified directly against the + harness's own `_run_bash` (`C:\Users\james\tools\claude-code-delegate-local`): + `grep`, `sed`, `cat`, `ls`, `head`, pipes, and `grep -rn` all work fine + (Git-for-Windows/MSYS2 toolchain on PATH). The stale claim, baked into 4 of + 5 local agent `.md` files, caused a real dispatch (a multi-file + cross-referencing investigation) to burn its whole turn budget + full-`read_file`-ing files instead of grepping them, hit the turn limit, and + returned nothing. Agent files fixed. Always still spot-check the returned + artifact against the real files before integrating — the 27B will + confidently fabricate if a read fails, independent of this. - Fits the **dispatch preflight** rules above (FILES / BUDGET / ON EXPIRY / CONSTRAINTS / REPORT) — write the `task` string to that shape.