Skip to main content

CHECK

Constant CHECK 

Source
pub const CHECK: &str = "Run the AUTHORED-LAYER DRIFT CHECK — the same gate `roteiro check` exits non-zero on and \
    the pre-commit hook reads — and return its verdict as data: unresolvable ADR \
    `[[path#Symbol]]` links, `@rto:` annotations naming an unknown or superseded ADR, \
    malformed ADRs, duplicate `adr-id`s. READ `gate` FIRST: `pass`, `fail`, or `not-run`. \
    `not-run` is a real outcome — the check refuses rather than answer about a tree that is \
    nobody's — and carries NO `report` at all, so if you are looking for `violations` and \
    there is no `report`, nothing was checked and you must say so rather than report a clean \
    repository; `not_run_reason` says what to fix (usually: run `roteiro sync`). Read-only: it \
    does not rebuild the graph, which is the one thing the CLI gate does that this cannot.";
Expand description

check.