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 8 tools (#172)
git.run() uses execFileSync (no shell) but these tools passed strings
containing shell operators (pipes, redirects, &&, ||) that silently broke.
Changes per tool:
- verify-completion: use execFileSync for tsc/build, readFileSync for
package.json, array args for git diff
- token-audit: use Node fs for line counting, file size, tail reads;
array args for git diff
- session-handoff: use which+execFileSync for command detection and
gh CLI calls
- audit-workspace: array args for git diff, git ls-files for test counting
- sharpen-followup: array args for all git commands
- scope-work: git ls-files + JS filter/regex instead of shell pipes
- enrich-agent-task: git ls-files + JS filtering, readFileSync for
file head reads
- sequence-tasks: array args for git ls-files + JS slicing
Closes#172
0 commit comments