Command reference
oko defects inventory
The product inventories a completion probe runs: `release` asks Stado whether a published release of the product carries the commit, `document` whether a digest-bound home document still holds a passage, `integrity` whether this Oko executable's embedded commit is the requested one and its persisted register row agrees.
Invocation#
oko defects inventory release --repository REPOSITORY --product PRODUCT --revision COMMIT | document --reference REFERENCE --contains PASSAGE | integrity --id ID --revision oko@FULL_COMMIT [--json]Inputs and options#
- The inventory kind as the first word, then that kind's flags; pass each word through `--probe-arg` of `oko defects completion`.
Output and state effect#
- Prints one unresolved line per missing instance, nothing when the inventory holds; `--json` prints `{remaining: [...]}`. Reads only.
Refusals and safe exits#
- `oko defects inventory takes release, document or integrity` (exit 2); each kind's missing flags by name; a Stado refusal, unreadable document, digest mismatch, unreadable register or unknown id is an error with its cause, never an empty inventory.