Command reference
oko-cli transcripts tasks
Lists what the operator asked for in each session, in the operator’s own words, and whether the operator has since called it done.
Invocation#
oko-cli transcripts tasks (--open [--hours N] | --session ID ...) [--db PATH] [--json] [--full]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; --full prints each task’s whole text instead of its first line.
Output and state effect#
- Rebuilds the operator ledger (table operator_messages) for each session in scope from the newer of the indexed copy and the live harness file, and prints per session: the file read, the operator message count, and each task with its ordinal, status, reason and the word that classified it.
- A task is an operator message in the imperative: a Polish work verb anywhere (napraw, stworz, zmien, usun, zapisz, …), an English one as the first word, “masz” plus an infinitive, or “zrob to” / “do roboty” pointing at the operator’s previous question or remark. A restated instruction replaces the open one it begins with.
- Status is done only when a later operator message opens with an acknowledgement (ok, okej, zrobione, swietnie, dobrze, dzieki, git, done, thanks) and not done otherwise; a withdrawal takes the newest open task back (“nie prosilem”, “w ogole o to”, “nie o to chodzi”, and the phrasings aimed at work an agent chose for itself: “to nie jest twoje zadanie”, “nie rozumiesz jakie jest twoje zadanie”, “nie mam pojecia czym sie zajmujesz”, “nie ma to nic wspolnego”, “o co cie prosilem”), and “nie skonczyles” leaves it open and records that you said so. Terminal pastes, rules (zakaz, nie koduj, blagac) and answer requests (powiedz, wytlumacz, opisz, podaj) are never tasks.
- A bare “kontynuuj” is an order about the newest open task, so the report writes “continue ordered by message N” onto that task. When nothing is open the report says so on its own line - continue ordered by message #N with no open task: this session has no assignment - instead of leaving the reader to choose a subject.
- Nothing an agent wrote is a signal: only the operator’s later words move a task to done.
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.