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
{{ message }}
Repository navigation
Commit 900ae6f
Browse filesBrowse the repository at this point in the historyBrowse files
Review found a real regression in the pre-dispatch help interception: the
shared scanner did not know about the POSIX end-of-options marker, so
`taskless check -- -h` was read as a help request and printed usage instead
of scanning a path literally named `-h` — the escape hatch check.ts was
built to support. splitRawArguments now treats everything after `--` as a
positional and will not swallow `--` as the value of `-d`.
check.ts's extractPositionalPaths was the second copy of that rule (the
complete one). It now calls the shared scanner, passing its own value-taking
flag `--timeout`, and the root's onlyInitFlags scan — a third copy — goes
through the same scanner's flags.
Tests: unit coverage for the scanner and hasHelpFlag, plus a CLI case
asserting `check --json -- -h` still runs check. Verified the case fails
against the previous commit's build.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Jwc9FFroR3mTZ4hLiSkkX3
0 commit comments