Documentation
¶
Overview ¶
Package gate evaluates explicit verification requirements independently of analyzer coverage. It cannot execute commands or authorize human approval.
Index ¶
Constants ¶
View Source
const MaxBytes = 1 << 20
MaxBytes bounds policy/plan input reads and parsing.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Check ¶
type Check struct {
ID string `json:"id"`
Status model.Status `json:"status"`
Evidence model.Evidence `json:"evidence"`
Explanation string `json:"explanation"`
}
func NoBreaking ¶
NoBreaking passes only when no supported error-severity contract finding exists AND the analysis established every declared obligation. Absence of findings alone never passes: unverified lists each reason (removed, invalid or unanalyzable declarations) that the verdict cannot be established.
type Coverage ¶
type Coverage struct {
Analyzer string `json:"analyzer"`
Status model.Status `json:"status"`
Scope []string `json:"analyzed_scope"`
Excluded []string `json:"excluded_scope"`
Uncertainty []string `json:"uncertainty"`
}
func CoverageFor ¶
type Policy ¶
Click to show internal directories.
Click to hide internal directories.