Command reference

oko-cli auto-goals materialize-mappings

Repairs and materializes prompt mappings in stored auto-goal documents.

Invocation

oko-cli auto-goals materialize-mappings [--table auto_goals_snapshot] [--org-id UUID] [--user-id UUID] [--from YYYY-MM-DD --to YYYY-MM-DD]

Inputs and options

  • Optional table, organization, user, and date-window filters.

Output and state effect

  • Reads matching Supabase rows, updates changed documents, and prints repair/prune totals.

Refusals and safe exits

  • Refuses unavailable operating-store configuration and invalid dates, documents, or store operations.