You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: replace shell syntax in run() calls across 6 tools (#172)
Tools fixed:
- verify-completion: use fs.readFileSync for package.json, shellRun() for
non-git commands (tsc, test runners, build), array args for git diff
- token-audit: use fs for line/byte counting, Node.js fd ops for tail,
array args for git diff
- session-handoff: use execFileSync for 'which' and 'gh' instead of
run() with shell operators
- audit-workspace: array args for git diff, Node.js fs for test file
counting instead of find|wc
- scope-work: filter git ls-files in JS instead of shell grep pipes,
remove unused shellEscape
- enrich-agent-task: filter git ls-files in JS, use fs.readFileSync
for file head instead of shell head command
- sharpen-followup: array args for all git commands, remove 2>/dev/null
- sequence-tasks: array args for git ls-files, JS slice instead of
shell head
All non-git shell commands now use either Node.js fs APIs or explicit
sh -c invocation via shellRun(). git commands use array args with run().
Closes#172
0 commit comments