Diagnostic codes
recit validate, recit build, the site build and the MCP tools report each problem as a
diagnostic: a severity, a message, the file and the line, and a stable code that names the kind
of problem. The message says what to change; the code is what a script, a test or a continuous
integration filter can rely on.
Code
The line printed in a terminal holds the message; recit validate -- prints the same
diagnostics as objects, each with its code (here book-), its severity, its
message and, when known, its line.
Severities
- error: the story cannot be built as written; the command exits with a non-zero code.
- warning: the story builds, but something is probably not what the author meant (a deprecated
name, a text too long for its slide).
recit validate --turns some of them into errors before a publication.strict - info: a remark that needs no change.
A code listed with two severities is reported as one or the other depending on the command and its
options (--strict). « set by the caller » means the severity depends on where the check runs.
Codes
| Code | Package | Severity |
|---|---|---|
app-deck-dev | @recit/cli | error |
app-remote | @recit/cli | error |
app- | @recit/cli | error |
atelier- | @recit/cli | warning |
atlas-insets | @recit/atlas | warning |
atlas- | @recit/atlas | error |
atlas- | @recit/core | error |
atlas- | @recit/core | error |
atlas-read | @recit/cli | error |
atlas- | @recit/atlas | warning |
atlas- | @recit/atlas | error |
atlas- | @recit/atlas | warning |
atlas- | @recit/atlas | warning |
atlas- | @recit/atlas | warning |
atlas- | @recit/atlas | error |
atlas- | @recit/atlas | warning |
book- | @recit/book | error |
book- | @recit/book | error |
book- | @recit/book | error |
book- | @recit/book | error |
book- | @recit/book | error |
book- | @recit/book | error |
book- | @recit/book | error |
book- | @recit/book | error |
book- | @recit/book | error |
book- | @recit/ | warning |
book- | @recit/ | error |
book- | @recit/ | warning |
book- | @recit/core | error |
book- | @recit/book | error |
book- | @recit/cli | warning |
book- | @recit/book | error |
broken-link | @recit/core | error |
calendar- | @recit/ | error |
calendar- | @recit/ | error |
calendar- | @recit/ | error |
calendar- | @recit/ | warning |
calendar- | @recit/ | warning |
calendar- | @recit/ | error |
calendar- | @recit/ | error |
calendar- | @recit/cli | error |
calendar- | @recit/atlas | warning |
calendar- | @recit/atlas | error |
calendar- | @recit/atlas | warning |
calendar- | @recit/ | warning |
calendar- | @recit/ | error |
catalog- | @recit/data | error |
catalog- | @recit/cli | error |
catalog- | @recit/cli | warning |
catalog- | @recit/data | warning |
catalog- | @recit/data | warning |
catalog- | @recit/cli | error |
catalog- | @recit/ | warning |
character | @recit/ | error |
data- | @recit/data | error, warning |
data-source | @recit/cli, @recit/data | error |
data- | @recit/cli | warning |
deprecated- | @recit/core | warning |
dialogue- | @recit/book, @recit/core | error |
directive- | @recit/core | error |
directory- | @recit/cli | warning |
directory- | @recit/ | set by the caller |
directory- | @recit/ | warning |
directory- | @recit/core | warning |
directory- | @recit/core | warning |
directory- | @recit/cli | error |
directory- | @recit/core | warning |
directory- | @recit/ | warning |
duplicate- | @recit/core | error |
duplicate- | @recit/core | error |
duplicate- | @recit/core | warning |
entries- | @recit/ | error |
entries- | @recit/ | error |
form- | @recit/core | warning |
form- | @recit/form | set by the caller |
form- | @recit/core | error |
form- | @recit/core | error |
form- | @recit/core | error |
form- | @recit/core | error |
form-story | @recit/form | set by the caller |
form- | @recit/cli | error |
form- | @recit/core | error |
form- | @recit/core | error |
form- | @recit/core | error |
format- | @recit/cli, @recit/ | error |
frontmatter- | @recit/cli, @recit/, @recit/core | error, warning |
frontmatter- | @recit/core | warning |
geocode- | @recit/cli | warning |
geocode- | @recit/cli | error, warning |
glossary- | @recit/ | error |
glossary- | @recit/core | error |
invalid- | @recit/core | error, warning |
invalid- | @recit/core | error |
invalid-json | @recit/cli, @recit/core | error |
invalid- | @recit/core | warning |
invalid- | @recit/core | error |
invalid- | @recit/core | warning |
invalid- | @recit/core | warning |
invalid- | @recit/cli, @recit/core | error |
invalid- | @recit/core | warning |
lang- | @recit/core | error |
links- | @recit/cli | warning |
low- | @recit/core | warning |
low- | @recit/core | warning |
mail- | @recit/core | error |
mail- | @recit/core | error |
mail- | @recit/core | error |
mail-subject | @recit/core | error |
map- | @recit/cli, @recit/geo | error, warning |
mermaid- | @recit/core | warning |
missing- | @recit/core | warning |
motion- | @recit/cli | error |
overload- | @recit/core | set by the caller |
overload- | @recit/core | set by the caller |
overload- | @recit/core | set by the caller |
overload- | @recit/core | set by the caller |
parity-form | @recit/form | error |
pixel | @recit/ | error |
plugin- | @recit/core | error |
plugin- | @recit/core, @recit/ | error |
plugin- | @recit/core | error |
plugin- | @recit/cli | error |
render-error | @recit/core, @recit/ | error |
report- | @recit/ | warning |
report-empty | @recit/ | warning |
report- | @recit/ | warning |
report- | @recit/ | warning |
report- | @recit/ | error |
report- | @recit/cli | warning |
report-read | @recit/cli | error |
report- | @recit/ | error |
report- | @recit/ | warning |
report- | @recit/ | warning |
report- | @recit/ | warning |
report- | @recit/ | error |
report- | @recit/ | error |
report- | @recit/ | error |
report- | @recit/ | warning |
roadmap- | @recit/core | warning |
roadmap- | @recit/core | error |
roadmap- | @recit/core | error |
roadmap- | @recit/core | error |
roadmap- | @recit/ | warning |
roadmap-read | @recit/cli | error |
roadmap- | @recit/core | warning |
roadmap- | @recit/core | error |
safe-area | @recit/cli | set by the caller |
scene- | @recit/core | error |
scene- | @recit/core | info |
setext- | @recit/core | info |
sidecar- | @recit/core | error |
sidecar-kind | @recit/core | error |
sidecar- | @recit/core | error |
sidecar- | @recit/core | error |
source- | @recit/core | error |
story-error | @recit/cli | error |
term- | @recit/ | error |
terms-source | @recit/cli | error |
textcard | @recit/ | error |
theme- | @recit/core | warning |
toc-depth | @recit/core | warning |
toc-empty | @recit/core | warning |
twin- | @recit/core | error |
unknown- | @recit/core | warning |
unknown-term | @recit/ | error |
unknown- | @recit/core | warning |
untranslated | @recit/core | error, warning |
untranslated- | @recit/cli, @recit/core | error, warning |
variant- | @recit/cli | error |
variants- | @recit/cli | error |
webstory- | @recit/cli | warning |
webstory- | @recit/cli | warning |
webstory- | @recit/ | error |
webstory- | @recit/ | warning |
webstory- | @recit/core | error |
webstory- | @recit/ | error |
webstory- | @recit/core | warning |
webstory- | @recit/ | error |
webstory- | @recit/ | error |
webstory- | @recit/ | error |
webstory- | @recit/cli | error |
webstory- | @recit/ | warning |
webstory- | @recit/ | warning |
webtoon- | @recit/core | error |
webtoon- | @recit/ | error |
webtoon- | @recit/ | warning |
webtoon- | @recit/ | warning |
webtoon- | @recit/ | error |
webtoon- | @recit/core | warning |
webtoon- | @recit/ | error |
webtoon- | @recit/ | warning |
webtoon- | @recit/core | warning |
webtoon-read | @recit/cli | error |
webtoon- | @recit/core | error |
webtoon- | @recit/core | error |
webtoon- | @recit/ | warning |