Skip to main content

Module sentry

Module sentry 

Source
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§

SentryFinding
SentryReport

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.