Skip to content

fix

Create an isolated patch attempt for one or more findings.

Usage

sh
repovista fix <finding-id[,finding-id...]> [--dry-run] [--check <command>]

Options

OptionPurpose
--dry-runPreview the patch workflow without writing changes.
--check <command>Add a validation command. Repeatable.
--isolate-branchRun on a temporary repovista/fix-* branch.
--no-isolateRun on the current branch instead.
--post-revalidateRevalidate the fixed finding after patching.
--max-files <n>Maximum changed files allowed by the scope gate.
--provider <name>Provider for the fix workflow.
--model <name>Provider model override.
--sandbox <mode>Use workspace-write when a provider requires write intent.

Examples

sh
repovista fix fnd_abc123def456 --dry-run
repovista fix fnd_abc123def456 --isolate-branch --post-revalidate --max-files 4 --check "npm test"
repovista fix fnd_a,fnd_b --check "npm run typecheck"

Output

Patch attempts are recorded under .repovista/patches/.

Released under the MIT License.