Oko/Docs

Command reference

oko-cli transcripts tasks-claim

Records which session leads a task that was given in another session.

Invocation#

Command
oko-cli transcripts tasks claim <session> <number> --by <session> [--db PATH]

Inputs and options#

  • <session> and <number> name the task as transcripts tasks prints it; --by names the session that takes it.
  • --db overrides the index.

Output and state effect#

  • Writes the claim beside the ledger and prints the leader, the task number and its first line. The report then shows “led by” on that task, and Tama’s block-stop-with-claimed-work hook refuses to end a turn of the leading session while the task has no recorded evidence.

Refusals and safe exits#

  • Refuses without both positionals and --by and prints the usage; a number the session’s ledger does not hold refuses by session and number; a session absent from the index refuses with its id and names transcripts reindex as the repair.

CLI reference#