Secrets
GEMINI_API_KEY and pass --harness react --agent-model gemini-2.5-flash.
For custom local harness mode, use ARCHAL_HARNESS_DIR (and optionally ARCHAL_ENGINE_MODEL).
GitHub Actions example
Useful flags
| Flag | What it does |
|---|---|
-o json | Machine-readable output |
-o junit | JUnit XML for test reporters |
--pass-threshold <score> | Exit 1 if satisfaction is below this |
-q | Suppress non-error output |
--preflight-only | Validate config without running |
Exit codes
archal run returns exit code 1 when satisfaction drops below --pass-threshold (default: 0) or when execution fails. In CI, set an explicit threshold that matches your release gate.