coding.sh review
Queues of sessions to score by hand, one at a time, with one score config. Every option of coding.sh review and its subcommands, from its own --help.
coding.sh review <action> Queues of sessions to score by hand, one at a time, with one score config Commands create Make a queue of the sessions a query matches list List the queues with their done, skipped and total counts status A queue's counts: done, skipped and total next The next pending item: its session, title, agent and flags, and the command that scores it done Score an item with the queue's config and mark it done (doing it again replaces the score) skip Skip an item; it is counted as skipped and never comes up again Examples coding.sh review create codex-flagged --where 'is:flagged agent:codex' --config correct --sample 20 coding.sh review next codex-flagged coding.sh review done codex-flagged 1 true Notes The items are the sessions the query matched when the queue was made, as sessions --where lists them: root sessions unless the query names subagents, empty sessions left out, at most 5000. done writes a human score with the queue's config name on the item's session, as score add does: a value the config does not allow is refused (exit 2), and judge calibrate reads the boolean ones as labels. Queues live in the local index (SQLite or memory); a store plugin without them (postgres, clickhouse) exits 1. The viewer and serve take the same queues at /api/review.
coding.sh review create
Make a queue of the sessions a query matches.
coding.sh review create <QUEUE> [options] Make a queue of the sessions a query matches Arguments queue The queue's name: 1 to 64 letters, digits, '-', '_' and '.' Options --where <QUERY> The sessions to review, in the --where language (keys: coding.sh sessions --help). A query that does not parse is refused (exit 2) --config <NAME> The score config every item is scored with (coding.sh score configs); it must exist --sample <N> Pick N of the matching sessions at random (default: all of them) --assign <NAME> Every item is for this person or serve read key name: on serve, only the key with that name sees it, while the CLI sees every item Examples coding.sh review create codex-flagged --where 'is:flagged agent:codex' --config correct --sample 20 coding.sh review create week --where 'since:7d' --config helpfulness --assign alice
coding.sh review list
List the queues with their done, skipped and total counts.
coding.sh review list List the queues with their done, skipped and total counts Examples coding.sh review list coding.sh review list --json
coding.sh review status
A queue's counts: done, skipped and total.
coding.sh review status <QUEUE> A queue's counts: done, skipped and total Arguments queue The queue's name (review list) Examples coding.sh review status codex-flagged --json
coding.sh review next
The next pending item: its session, title, agent and flags, and the command that scores it.
coding.sh review next <QUEUE> The next pending item: its session, title, agent and flags, and the command that scores it Arguments queue The queue's name (review list) Examples coding.sh review next codex-flagged
coding.sh review done
Score an item with the queue's config and mark it done (doing it again replaces the score).
coding.sh review done <QUEUE> <ITEM> <VALUE> [options] Score an item with the queue's config and mark it done (doing it again replaces the score) Arguments queue The queue's name item The item's number (review next), or its session: its id or the reference review next prints value The score: true or false, a number or a category, as the config allows Options --comment <TEXT> Why this score Examples coding.sh review done codex-flagged 1 false --comment 'claimed tests passed; they did not run'
coding.sh review skip
Skip an item; it is counted as skipped and never comes up again.
coding.sh review skip <QUEUE> <ITEM> Skip an item; it is counted as skipped and never comes up again Arguments queue The queue's name item The item's number (review next), or its session: its id or the reference review next prints Examples coding.sh review skip codex-flagged 2