Command reference

oko-cli auto-goals apply-recompute

Applies a reviewed auto-goal recompute artifact to the canonical store.

Invocation

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

Inputs and options

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

Output and state effect

  • Conditionally replaces the canonical snapshot, updates the sidecar transition state, and prints the resulting row hash.

Refusals and safe exits

  • Refuses run-ID mismatch, alternate/non-local scope, unreviewed/incomplete or stale artifacts, invalid transitions, and concurrent row changes.