Go operator CLI for the Ori platform.
ori-cli is the installer/operator control surface for deployed
ori-runtime devices. It consumes
contracts from ori-specs and must
not redefine runtime safety semantics.
Bootstrap scope:
- Go binary with Cobra-based command tree and no Python embedding.
- Command tree matching
ori-specs/cli-commands/v1. - Runtime health socket client boundary for
ori doctor runtime-health. - Python bridge subprocess boundary for future runtime delegation.
- Cloud client boundary for token/deploy commands.
- Offline token-use invariant test: no network call path.
- CI, pre-commit, license headers, and contribution guardrails.
Deferred implementation:
ori.cli_bridgeimplementation inori-runtime.- SQLite state queries.
- Skills Hub install flow.
- ori-cloud token/deploy endpoints.
- Device keypair provisioning.
pre-commit install
SKIP=no-commit-to-branch pre-commit run --all-files
go test ./...
go build ./...Future SQLite state commands may use go-sqlite3, which requires CGO and a C
compiler. The bootstrap intentionally has no CGO dependency until state query
implementation starts.