Skip to content

ori-platform/ori-cli

Repository files navigation

ori-cli

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.

Scope

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_bridge implementation in ori-runtime.
  • SQLite state queries.
  • Skills Hub install flow.
  • ori-cloud token/deploy endpoints.
  • Device keypair provisioning.

Development

pre-commit install
SKIP=no-commit-to-branch pre-commit run --all-files
go test ./...
go build ./...

CGO Note

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.

About

No description, website, or topics provided.

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors