crucihil command with subcommands for every workflow.
Commands
| Command | Description |
|---|---|
crucihil run | Run a YAML test suite against a rig TOML |
crucihil analyze | Extract the signal interface of a C/C++ SWC using tree-sitter + AI |
crucihil discover | Probe local hardware and generate a rig TOML using AI |
crucihil init | Interactive wizard — create a rig TOML by answering prompts |
crucihil scaffold | Generate a test project, custom backend stub, or runnable example |
crucihil agent | Start the local agent daemon — connects to cloud via WebSocket |
crucihil stub | Generate missing Python stub functions for a YAML suite |
crucihil deregister | Remove a rig’s saved API key from ~/.crucihil/credentials.toml |
crucihil version | Print the installed version |
Exit codes
All commands follow these exit code conventions:| Code | Meaning |
|---|---|
0 | Success — all tests passed (for run), or operation completed |
1 | One or more tests failed or errored |
2 | Framework error — bad config, missing files, setup failure |
Global options
Most commands support:| Option | Description |
|---|---|
--verbose / -v | Enable debug logging or per-test status output |
--help | Show help for a specific command |
Configuration locations
| File | Purpose |
|---|---|
rigs/*.toml | Rig configuration — hardware backends, DBC paths, ECU addresses |
suites/*.yaml | Test suite manifests — test IDs, metadata, setup/teardown |
tests/*.py | Python test functions |
~/.crucihil/credentials.toml | Saved agent API keys (written by crucihil agent on first boot) |