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: ADR `[[path#Symbol]]` links \
    that no longer resolve, `@rto:` annotations pointing at unknown or superseded ADRs, \
    malformed ADRs, and duplicate `adr-id`s. READ `gate` FIRST. It is `pass`, `fail`, or \
    `not-run`, and `not-run` is a real outcome: a check needs the project's repository on disk \
    and a graph synced from the current HEAD, and when it cannot have both it refuses rather \
    than answering about a tree that is nobody's. A `not-run` result 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.