Documentation Index
Fetch the complete documentation index at: https://smithers.sh/llms.txt
Use this file to discover all available pages before exploring further.
// Props
import { ScanFixVerify } from "smithers-orchestrator";
type ScanFixVerifyProps = {
id?: string; // default "sfv"
scanner: AgentLike;
fixer: AgentLike | AgentLike[]; // array cycles across issues
verifier: AgentLike;
scanOutput: OutputTarget; // include `issues: Array`
fixOutput: OutputTarget;
verifyOutput: OutputTarget;
reportOutput: OutputTarget;
maxConcurrency?: number; // default Infinity
maxRetries?: number; // default 3
skipIf?: boolean;
children?: ReactNode; // scan prompt
};
<Workflow name="lint-fix">
<ScanFixVerify
scanner={lintAgent}
fixer={fixerAgent}
verifier={verifyAgent}
scanOutput={outputs.scan}
fixOutput={outputs.fix}
verifyOutput={outputs.verify}
reportOutput={outputs.report}
maxRetries={5}
maxConcurrency={3}
>
Scan the codebase for linting errors and type issues.
</ScanFixVerify>
</Workflow>
Notes
- The loop exits when the verifier reports all clear or
maxRetries is hit.
- The report task always runs, even when retries are exhausted.