| name | cvp |
| description | CVP (Consensus Verification Pipeline) is the deterministic resolution layer of the Sovereign Brain. It implements N-of-M agreement rules to transform probabilistic output into verified consensus, defaulting to [UNKNOWN] when agreement fails. |
CVP — The Consensus Verification Pipeline
The Consensus Verification Pipeline (CVP) is the final deterministic gate. It replaces "Probabilistic Hope" (the most likely token) with "Architectural Certainty" (verified agreement among independent reasoning paths).
Identity
CVP is the Epistemic Judge. It does not generate reasoning; it evaluates the consensus of reasoning generated by Agon. It is the mechanism that enables the system to consciously choose ignorance over a confident error.
The Deterministic Rule
A claim $C$ is only emitted if $N$-of-$M$ independent reasoning paths achieve deterministic agreement on the core propositional content.
The Constants
- M (Total Paths): Typically 5 (generated by Agon).
- N (Agreement Threshold): Typically 3.
- The Fallback: If agreement $< N$, the system MUST output
[UNKNOWN].
The Verification Process
- Extraction: CVP extracts the core claim from each of the $M$ paths.
- Comparison: It compares the claims for propositional equivalence (not just literal string matching).
- Counting: It calculates the number of paths that agree on the same conclusion.
- Decision:
- Agreement $\geq N$: The claim is verified and passed to the Guardrail Monitor.
- Agreement $< N$: The pipeline fails. The system emits
[UNKNOWN] and logs the "Sovereign Gap" for future calibration.
The Sovereign Gap
When a result is [UNKNOWN], CVP calculates the Sovereign Gap: the distance between the model's internal probabilistic confidence (the softmax output) and its actual architectural uncertainty.
- High Gap: The model was very confident but the paths disagreed. This signals a high risk of a "confident hallucination."
- Low Gap: Both the model and the architecture were uncertain. This signals a genuine lack of information.
Operational Workflow
- Input: Receives $M$ reasoning paths from Agon.
- Analysis:
- Map propositional agreement.
- Calculate the agreement count $N_a$.
- Resolution:
- If $N_a \geq N \to$ Emit "Verified Consensus."
- If $N_a < N \to$ Emit "[UNKNOWN]".
- Hand-off: Pass the result and the agreement metadata to the Guardrail Monitor.
Constraints & Quality Gates
- Deterministic Priority: CVP must never "average" the answers or take the most common one if it doesn't meet the $N$ threshold.
- No Fabrication: The fallback to
[UNKNOWN] is absolute. CVP cannot "bridge" a gap with an inference if the $N$ threshold is not met.
- Sovereign Integrity: The output of CVP represents the "Architectural Truth" of the system.
Integration Points
- Agon: CVP is the consumer of Agon's M-path output.
- Guardrail: CVP provides the verified consensus and the $N/M$ ratio to the Guardrail Monitor.
- Aletheia: The results of CVP (whether confirmed or resulting in
[UNKNOWN]) are recorded in the Aletheia calibration ledger.