Skip to content
Set it up

/check

/check runs the checks of the repo and says what each finding means.

  1. plancia check --all: problems, which stop a push, and notes, which do not, with file and line.
  2. plancia find: the count of items by type. A number that does not add up (no decisions taken, twenty people in a team of three) means the schema and the files no longer agree.
  3. plancia archive: done items still outside their archive.
  4. In a repo still to set up from the template, the {{…}} placeholders left.

It reports by file, one line each, then the counts. It fixes without asking only what the current session caused, and proposes the rest.

What the findings mean

Code What to do
broken-link The link points to a file or a heading that does not exist: fix the path or the anchor
duplicate-id, ambiguous-id, same-id-same-date Two items with the same ID: give one the next free ID (plancia ids says which)
unresolved-citation An ID cited in the text matches no item: a typo, or the item was removed. Strike it through (~~B3~~) where it is gone on purpose
line-out-of-format A line looks like an item but does not match the type’s pattern: rewrite it in the format
item-without-id Items that cannot be cited: plancia ids proposes their IDs
table-not-found The schema expects a table under a heading that is gone
empty-source, source-not-indexed A type’s source matches no file, or a file is outside index: fix the glob
invalid-yaml, file-not-read A file the indexer could not read: open it at the line named and fix what breaks it
done-outside-archive A done item is still in its working file: plancia archive --write
status-section-long The Status section grew: rewrite it in a few lines; the story goes in the log
rollup-stale A rollup no longer says what the items say: plancia rollup --write
superseded-id A decision repeated with the same ID: the newest row holds, the older ones are its history