# =============================================================================
# ADR CONSTRAINTS
# =============================================================================
# Executes the constraint checks declared by accepted ADRs in .ontoref/adrs/.
#
# Deliberately NOT wired into check-strict: part of the corpus is red against an
# untriaged backlog, and a gate that fails on day one gets disabled by the first
# person it blocks. Report first, enforce when the red is triaged.

# Run all accepted-ADR constraint checks and report per constraint
adr-check:
    @nu {{ justfile_directory() }}/scripts/adr-constraints.nu

# Same, with the detail line for every constraint
adr-check-verbose:
    @nu {{ justfile_directory() }}/scripts/adr-constraints.nu --verbose

# Same, but exit non-zero if any constraint fails (for when the red is triaged)
adr-check-strict:
    @nu {{ justfile_directory() }}/scripts/adr-constraints.nu --strict
