Props
| Prop | Type | Default | Description |
|---|---|---|---|
id | string | "checksuite" | ID prefix for generated task ids. |
checks | CheckConfig[] | Record<string, CheckConfig> | (required) | Checks to run. Array of { id, agent?, command?, label? } or an object keyed by check id. |
verdictOutput | OutputTarget | (required) | Output schema for each check task and the aggregate verdict. |
strategy | "all-pass" | "majority" | "any-pass" | "all-pass" | How individual results aggregate. "all-pass": every check must pass. "majority": more than half must pass. "any-pass": one passing check is enough. |
maxConcurrency | number | Infinity | Maximum checks running in parallel. |
continueOnFail | boolean | true | Whether individual check failures stop the suite or allow remaining checks to complete. |
skipIf | boolean | false | Skip the entire suite. Returns null. |
Basic usage
- Three check tasks run in parallel.
- A verdict task runs after all checks complete, aggregating results into a pass/fail decision.
Object syntax
Pass checks as a record instead of an array:Majority strategy
Allow the suite to pass even if some checks fail:"majority" strategy and aggregates accordingly.
Any-pass strategy
Use"any-pass" when a single passing check is sufficient:
Command-based checks
Checks can usecommand instead of agent for shell-based checks:
Fail-fast mode
SetcontinueOnFail={false} to stop the suite as soon as any check fails:
Limiting concurrency
Generated structure
<CheckSuite> is a composite component. It does not create a new host element type. Internally it renders:
Notes
- Each check task id is
{prefix}-{checkId}. The verdict task id is{prefix}-verdict. - The verdict task uses
needsto depend on all check tasks. strategyis passed as prompt context to the verdict aggregation task. When using agent-based checks, the aggregation logic depends on the verdict agent interpreting the strategy.- When
continueOnFailistrue(default), all checks run to completion even if some fail. The verdict task can then inspect which checks passed or failed.