# CAIN HERMES — Governance Coverage Proof

`cain/hermes/coverage.py`. The central HERMES primitive.

For every governance requirement, HERMES builds a proof chain:

```
requirement → semantic rule → authority constraint → execution path → enforcement point →
enforcement implementation → observability source → evidence source → verification mechanism → effect
```

## Classification

Each consequential execution path is classified:

`GOVERNED · PARTIALLY_GOVERNED · UNOBSERVED · UNENFORCED · UNKNOWN · BLOCKED`

**UNKNOWN never silently becomes GOVERNED.** A missing enforcement point yields UNENFORCED; missing observability or
evidence yields UNOBSERVED.

## Coverage is not a percentage

`CoverageGraph.weighted_score()` is **consequence-weighted** (LOW 1 · MEDIUM 3 · HIGH 9 · CRITICAL 27) and reports
`critical_gap_count` and `ungoverned_weight` separately. A system with 99% coverage and one ungoverned CRITICAL
payment path exposes that path (property P145; lab category `coverage_hiding`).

## Certificate and independent verification

`CoverageCertificate` is signed (Ed25519, domain `CAIN42/HERMES-COVERAGE-CERTIFICATE/v1`).
`verify_coverage_certificate` **recomputes each classification from the links** and rejects a certificate whose
recorded class disagrees — even if the body is validly re-signed (P142, lab category `semantic_downgrade`).

## Status

IMPLEMENTED, TESTED, LIVE (the `governance_coverage` restriction-only hosted stage).
