Expand description
Deterministic decision-to-code enforcement.
Constraints live in a decision artifact’s ## Code Constraints fenced
YAML block. This module deliberately has no network or model integration:
repository bytes, corpus bytes, and an optional git diff are the complete
input.
Structs§
Constants§
- CODE_
EMPTY_ MATCH - CODE_
UNSUPPORTED_ LANGUAGE - CODE_
VIOLATION - DUPLICATE_
RULE_ ID - INVALID_
CONSTRAINT - MALFORMED_
CONSTRAINTS - UNSUPPORTED_
VERSION
Functions§
- analyze
- validate_
artifact - Structural validation for
decided validate: syntax and rule contracts do not require a repository tree and therefore fail the ordinary corpus gate even when code enforcement was not requested.