Command reference

oko-cli auto-goals rollback-recompute

Rolls back an applied auto-goal recompute artifact.

Invocation

oko-cli auto-goals rollback-recompute --run-id SHA256 [--sidecar PATH]

Inputs and options

  • Required --run-id; optional --sidecar overrides the derived artifact path.

Output and state effect

  • Conditionally restores the artifact’s base snapshot, updates the sidecar, and prints the row hash.

Refusals and safe exits

  • Refuses run-ID mismatch, alternate/non-local scope, invalid transition state, stale/current-row mismatch, and concurrent changes.