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.
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.