Skip to main content

Module coverage

Module coverage 

Source
Expand description

CGB coverage — automated partial assessment of a resolved policy pack against the Context Governance Benchmark v1.0-draft (GL #426).

Honesty contract: a static pack analysis can only ever produce partial evidence for a handful of controls. This module therefore (a) checks redaction patterns against real synthetic fixtures instead of trusting pattern names, (b) reports Inconclusive — never Pass — when a pack simply doesn’t state something, and (c) refuses to compute a maturity grade: grades require the full manual assessment (assessment/TEMPLATE.md in the spec repo).

Structs§

CoverageCheck
One automated check over one control aspect.
CoverageSummary
Counts per status, for the summary line and JSON.

Enums§

CheckStatus
Outcome of one automated check.

Constants§

BENCHMARK_ID
Spec version the checks below were written against.
CONTROLS_TOTAL
Total controls in the spec — denominator for the honesty line.

Functions§

assess
Run all automated checks against a resolved policy.
summarize
Summarize a check run.