Skip to main content

CLI Reference

The CLI uses singular resource groups. Database commands manage global execution placements, shard commands live under their owning run, and rebalance commands operate across runs.

Commands default to JSON output. Use for compact agent inspection, and keep JSON when exact standard parsing is required.

vigilo
|-- setup
|-- evaluator
| |-- list
| |-- package <path> --output <archive>
| |-- publish <path>
| |-- show <evaluator>
| |-- search [query]
| |-- test <evaluator>
| `-- set-state <evaluator> <state>
|-- dataset
| |-- upload
| |-- resume <upload_id>
| |-- status <upload_id>
| |-- abort <upload_id>
| |-- expire
| `-- cleanup <upload_id>
|-- run
| |-- create
| |-- validate
| |-- watch <run_id>
| |-- status <run_id>
| |-- cancel <run_id>
| |-- results <run_id>
| |-- export <run_id>
| `-- shard
| |-- list <run_id>
| |-- show <run_id> <run_shard>
| |-- assign <run_id> <run_shard> --to <database>
| |-- move <run_id> <run_shard> --to <database>
| `-- abort-move <run_id> <run_shard> --from <source> --to <target>
|-- database
| |-- list
| |-- register <alias> --database-url-env <ENV>
| |-- activate <alias>
| |-- drain <alias>
| `-- disable <alias>
|-- rebalance
| |-- plan [--from <source>] --to <target>
| |-- apply <operation_id>
| |-- verify <operation_id>
| `-- cancel <operation_id>
|-- coordinator
| |-- start
| `-- once
`-- worker
|-- start
`-- once

Registering a database creates a non-routable provisioning placement; database activate verifies readiness before it can receive ownership. Use run shard assign only for an empty or new shard, and use run shard move when the shard owns data. Draining a database stops new ownership but does not move existing shards; use rebalance to evacuate them before disabling it.

Dataset Uploads​

dataset commands own immutable dataset upload, explicit recovery, progress, and exact abandoned-file cleanup. See Dataset Ingestion for input formats, storage configuration, batching, leases, and scheduler ownership.

Run Storage​

run create accepts inline/file YAML/JSON datasets or --dataset-upload-id <id> for finalized uploads. Both paths publish immutable plans and admit compact execution metadata. Complete admission returns pending; interrupted admission returns creating with recovery progress. Supply --storage-config storage.toml or set VIGILO_STORAGE_CONFIG; coordinators and workers use the same environment setting to resolve stored references.

--prepare-only holds a ready run in creating. Repeat the same inputs and --run-id, omitting that flag, to request execution. See Run Preparation for formats, limits, recovery, progress, and cancellation.