Problem
--fail-on=high becomes key "fail-on=high" (unknown, ignored): the gate silently keeps the default threshold.
Where
src/cli.ts (arg.slice(2) with no = split).
Acceptance
Add a failing test first asserting parseArgs(["audit", "--fail-on=high"]) yields flags["fail-on"] === "high". Then fix.
Problem
--fail-on=highbecomes key"fail-on=high"(unknown, ignored): the gate silently keeps the default threshold.Where
src/cli.ts(arg.slice(2)with no=split).Acceptance
Add a failing test first asserting
parseArgs(["audit", "--fail-on=high"])yieldsflags["fail-on"] === "high". Then fix.