Expand description
§ethos-verify (Milestone A skeleton → B alpha → D v1)
Parser-agnostic citation evidence verification. Consumes any parser’s output through
ethos_core::grounding::GroundingSource — Ethos itself is just another grounding
source behind an adapter (PRD §1.5, §5.4).
Scope discipline: verification is evidence grounding — the cited region exists, its text matches by a declared literal method, the fingerprint is fresh. It is never pixel-level, semantic, or arithmetic proof (PRD §14).
The WS-VERIFY check engine intentionally supports only literal quote/value, presence, and table-cell lookup claims. Unsupported claim kinds remain explicit; no fuzzy, semantic, arithmetic, crop, OCR, layout, or parser-internal behavior belongs here.
Structs§
- Citation
Envelope - Envelope form of citation input.
- Evidence
Anchor Error - Validation or source-shape error for evidence anchoring.
Enums§
- Citation
Input - Citation input accepted by the alpha verifier.
Functions§
- anchor_
evidence - Validate and resolve evidence refs over one grounding source.
- capability_
limits - Compute structured capability gaps for the run. These explain the stable
capability_limitedwarning without minting parser-warning codes for every verification capability. - capability_
warnings - Compute the capability-downgrade warnings for a source under a config (PRD §5.5):
every missing capability the run would rely on surfaces as
capability_limited— explicitly, never as silent approximation. - normalize_
quote - Normalize a quote for literal matching: normalize line endings, collapse ASCII whitespace runs to one ASCII space, then trim.
- verify_
claims - Verify citation claims over a parser-agnostic
GroundingSource.