1. Local case preview
GenerateCases application path. It reads the project, builds cases from configured Scenarios and Seeds, applies the per-Scenario count limit, and writes JSON.
Remote calls
None from this command
Target calls
None
Output
Local case JSON
2. External-backend red-team generation
The complete project pipeline uses the external evaluation backend:Remote calls
Depends on configured Providers
Target calls
Yes, during evaluation
Output
Backend YAML and run artifacts
Generation inputs
| Input | Role |
|---|---|
| Target | Model/Prompt endpoint and capabilities |
| Scenario | Risk and expected response boundary |
| Seed | Source material used to construct probes |
| Generator Provider | Model used by external-backend red-team generation |
| Backend options | Number of tests, output paths, concurrency, delay, language |
Keep artifacts reviewable
- Use stable Scenario and Seed IDs.
- Write generated files beneath a bounded artifact directory.
- Inspect generated prompts before sending them to a sensitive Target.
- Keep credentials in environment variables.
- Record the project commit and Provider configuration needed to reproduce a run.
Dataset generation
dataset build-version and dataset build-cycle can construct larger candidate and regression artifacts. They are separate from the small local preview command and can invoke external-backend generation and evaluation. See Dataset loop.