Oko/Docs

Command reference

oko failures summary

Groups the failed calls by kind and command path (a refusal by its line, a call that ran no product command by its tool), most frequent first: how many, in how many sessions, when last, the defects each group holds and how many no defect holds.

Invocation#

Command
oko failures summary [--session S] [--product P] [--kind K] [--since TIME] [--undefected] [--json]

Inputs and options#

  • The flags narrow the failures as `oko failures list` does.
  • The register is OKO_CALL_FAILURES_REGISTER, else call-failures.json beside the defect register (`<defects>.call-failures.json` when OKO_DEFECT_REGISTER moves it); each call's whole output is kept, owner only, in the call-failures directory beside it (`oko failures location`).

Output and state effect#

  • Prints `<count> <kind> <n> sessions <what> defects <ids>` per group; --json prints {kind, what, count, sessions, last, defects, undefected, ids} per group.

Refusals and safe exits#

  • The same refusals as `oko failures list`.

CLI reference#