Skip to content

/edikt:invariant:review

Review invariant language quality — checks whether hard constraints are specific, actionable, and phrased for reliable enforcement.

This is a scoped shortcut for running /edikt:gov:review targeting invariants only.

Usage

bash
/edikt:invariant:review
/edikt:invariant:review INV-001

Arguments

ArgumentDescription
(none)Review all active invariants in docs/invariants/
INV-NNNReview a specific invariant

What it checks

Invariants are held to a higher standard than ADRs — they must be non-negotiable, verifiable, and carry a clear consequence for violation.

Each invariant is evaluated on:

DimensionStrongWeak
SpecificityNames exact patterns, types, or operationsVague or broadly interpretable
PhrasingNEVER/MUST with explicit consequence"avoid" or "try to" language
Violation signalDescribes what a violation looks likeNo way to tell if violated
TestabilityCheckable by static analysis, grep, or testCannot be verified mechanically

When to run

  • After writing a new invariant, before it goes active
  • Before running /edikt:gov:compile — clean invariant language produces clean enforcement

What's next

Released under the Elastic License 2.0. Free to use, not for resale.