generate_harness
Creates a ready-to-run chaos test harness from an OpenAPI spec, with WireMock stubs, contract tests, and robustness probes. Offline mode gives deterministic output.
Instructions
Generate a ready-to-run chaos test harness for an OpenAPI spec into out_dir.
offline=true skips the LLM (deterministic, seconds); otherwise this takes minutes on a local model, and review=false roughly halves that. Refuses a non-empty out_dir unless force=true (which overwrites only the harness's own files).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | ||
| force | No | ||
| review | No | ||
| offline | No | ||
| out_dir | Yes | ||
| max_revisions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| notes | Yes | ||
| out_dir | Yes | ||
| reviews | Yes | ||
| summary | Yes | ||
| next_steps | Yes | ||
| unresolved | Yes |