Oko/Docs

Command reference

oko-cli transcripts rules

Prints the operator’s standing rules from every session in scope, in the operator’s words.

Invocation#

Command
oko-cli transcripts rules (--open [--hours N] | --session ID ...) [--db PATH] [--json]

Inputs and options#

  • --open selects every session this machine touched in the last N hours (default 24); --session selects one exact session and may repeat.
  • --db overrides the index; --json selects structured output.

Output and state effect#

  • Refreshes each session’s ledger and prints every operator message that states a rule (zakaz, nie wolno, blagac, nie koduj, nie rob, …) with its time, session and number; “no standing rules in scope” when there are none. Tama’s inject-operator-rules session-start hook reads the same list into a session after compaction.

Refusals and safe exits#

  • Refuses without --open or --session and prints the usage; a session absent from the index refuses with its id and names transcripts reindex as the repair; index open or transcript read failures exit unsuccessfully.

CLI reference#