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: remove shell syntax from git.run() calls across 8 tools (#172)
Replace shell pipes, redirects, and non-git commands that were passed
as literal args to execFileSync('git', args):
- verify-completion: use fs.readFileSync for package.json, execFileSync
for tsc/test/build commands instead of run() with pipes
- token-audit: use fs for line counting and file size instead of wc/tail
- session-handoff: use 'which' + execFileSync('gh') instead of shell
- audit-workspace: use fs.readdirSync for test file counting
- sharpen-followup: use array args for git diff/status
- scope-work: use JS regex filter instead of shell grep pipes
- enrich-agent-task: use JS filter/slice instead of grep/head pipes
- sequence-tasks: use array args + JS slice instead of shell pipes
All 43 tests pass, clean build.
0 commit comments