OTO
reference · oto vet --help at v0.6.1

oto vet

audit the graph against the documents the corpus holds

oto vet [-h] [--project PROJECT] [--vetted VETTED] [--remove REMOVE] [--fallback FALLBACK]
               [--as-of AS_OF] [--apply] [--force] [--json]

Options

OptionWhat it does
--project PROJECTproject root (default: current directory)
--vetted VETTEDcomma-separated source tags to accept even though no file matches; use this for aliases, after checking them against your filenames
--remove REMOVEcomma-separated node ids to delete. Nothing is deleted unless you name it here: losing a fact is worse than carrying a citation you can fix
--fallback FALLBACKsource tag for facts no neighbour attests, instead of leaving them
--as-of AS_OFdate to stamp on every changed node (default: today)
--applywrite a candidate graph; review it with `oto curate check`
--forceoverwrite an open curate session
--jsonmachine-readable report

Where to use it

A document was removed from the corpus, or a citation looks wrong.

oto vet --project claims

lists every fact citing a document the corpus does not hold, and what a neighbour attests instead

Write the fix as a candidate for the gates.

oto vet --project claims --apply

a candidate graph to review with oto curate check; nothing is deleted unless named in --remove

As the terminal prints it
usage: oto vet [-h] [--project PROJECT] [--vetted VETTED] [--remove REMOVE] [--fallback FALLBACK]
               [--as-of AS_OF] [--apply] [--force] [--json]

options:
  -h, --help           show this help message and exit
  --project PROJECT    project root (default: current directory)
  --vetted VETTED      comma-separated source tags to accept even though no file matches; use this
                       for aliases, after checking them against your filenames
  --remove REMOVE      comma-separated node ids to delete. Nothing is deleted unless you name it
                       here: losing a fact is worse than carrying a citation you can fix
  --fallback FALLBACK  source tag for facts no neighbour attests, instead of leaving them
  --as-of AS_OF        date to stamp on every changed node (default: today)
  --apply              write a candidate graph; review it with `oto curate check`
  --force              overwrite an open curate session
  --json               machine-readable report