VFX-E-1006¶
Title¶
InvalidToolArgument
Explanation¶
A tool argument failed validation before anything was spawned. One code shared across run_suite,
plan_coverage, and scaffold_suite, because it is one condition in each case: the call as written
cannot be performed and the caller must change an argument. The fix is always a different call, so
this code is never retryable.
Common causes¶
- A
pathortagsvalue onrun_suitebeginning with-(e.g.--version), rejected outright rather than risking it being misread as a command-line flag by the spawnedvouchfxprocess. - An out-of-range
timeoutSecondsonrun_suite(must be 1-3600). - An empty
stepsarray onscaffold_suite— there is nothing to scaffold. - An out-of-range threshold override on
plan_coverage(staleDays,flakyMinRuns,fragileMinEnvErrors,inconclusiveMin), or a bad/missing/empty suitepath. - An out-of-range
maxFindingsonplan_coverage(must be 1-150). It is refused, not clamped, so that a host cannot believe it asked for 500 findings and received all of them.
Fixes¶
- Re-check the failing argument against the tool's own input schema and the constraint named in the error message.
- Never build a
path/tagsvalue by concatenating untrusted input that could begin with-. - For
scaffold_suite, supply at least one entry insteps. - For
plan_coverage, keep threshold overrides within their documented ranges, and pointpathat an existing suite file or a directory containing at least one.e2e.yamlfile. - For
plan_coverage'smaxFindings, pass a value in 1-150 or omit it entirely. Omitting it is usually right: the response is size-budgeted regardless, andmaxFindingsonly ever asks for fewer findings than that budget allows — it cannot raise the ceiling. If you are omitting findings you wanted, narrowpathinstead and checkresponseTruncated/omittedFindingCounton the result.