Command reference
oko defects judge
Asks again for the judgment of every open defect `oko defects record` wrote unjudged, so a record never waits on Brama or Stado and the judgment is still made when they answer.
Invocation#
oko defects judge [--json]Inputs and options#
- Reads the open defects carrying `unjudged` in the register and asks the same two checks the record asks. The first is Brama's comparison of the whole record against the installed Tama gates, the operator decisions bound to them and the actions a ruling forbids now; an HTTP 503 ends each ask at once. The second is whether its repair or criterion names an installation of the fleet, read from the registry `stado registry pull --path targets` prints. --json prints the answer as JSON.
- Every supervision pass runs the same step (the routine's judgment step, kept on the pass receipt and shown on Oko Desktop's supervisor routine), so nobody runs it by hand.
Output and state effect#
- Answers `{writtenUnjudged, judged: [{defect, outcome, why}]}` and prints `<n> defect(s) were written without a judgment` with one line per defect.
- outcome allowed: both checks allowed it and the `unjudged` mark is cleared (`the guard and the installation check allowed it`). unjudged: Brama gave none, or Stado could not print its registry; the causes, joined by `; `, and askedAt are renewed. withdrawn: a check refused it, and the defect is withdrawn with `the judgment made after it was recorded refused it: <refusal>` as its reason, which is what the record would have been answered with. unkept: the register refused to keep the answer, with its cause.
Refusals and safe exits#
- `oko defects judge takes no words; got <word>` (exit 2), and any flag other than --json by name.
- An unreadable defect register refuses with its path and cause.