Skip to main content
The CLI is suitable for bounded automation when you pin the package version, check the process exit code, and preserve each command’s output contract.

Output matrix

Do not assume all commands emit JSON. Check the exit status before sending stdout to jq.

Pin the binary in CI

The explicit package and binary avoid global-version drift and dual-bin ambiguity.

Use strict shell behavior

Never enable shell tracing around secrets. set -x can print expanded token values and command arguments into CI logs.

Persist replay identity

For a mission mutation, create the idempotency key once and store it next to the exact input artifact:
If the body changes, create a new request directory and key. Do not overwrite the old body under an existing key.

GitHub Actions example

.github/workflows/praxa-diagnostic.yml
Use a short-lived, read-only token for diagnostics. Do not upload the raw diagnostic file until you have reviewed its data policy.

Failure handling

Cleanup

  • Delete temporary stdout files in a trap or job finalizer.
  • Retain only the minimum run ID, idempotency digest, status, and redacted correlation required for reconciliation.
  • Revoke temporary tokens after the test window.
  • Remove disposable missions according to your deployment’s retention policy; cancellation is not deletion.
  • Scan artifacts and logs for bearer tokens before upload.

CLI CI/CD

Apply the command in build, staging, and protected deployment jobs.

Mission workflows

Submit, inspect, replay, and cancel disposable mission work.
Last modified on August 14, 2026