Skip to main content

QUOTE_COMMITMENT_MISMATCH_TRUST_ENABLED

Constant QUOTE_COMMITMENT_MISMATCH_TRUST_ENABLED 

Source
pub const QUOTE_COMMITMENT_MISMATCH_TRUST_ENABLED: bool = false;
Expand description

Rollout gate for ADR-0004 quote/commitment mismatch trust reporting.

When a client-put quote’s signed committed_key_count contradicts the key_count of the commitment it pinned (resolved from the gossip cache, a sidecar, or a fetch), that is two artifacts signed by the same key that contradict each other — a deterministic, first-occurrence misbehaviour. When true, the cross-check reports it to the trust engine as an ApplicationFailure (the same lane as a confirmed deterministic audit failure, NOT the timeout silence lane). When false, the cross-check only logs the would-be report (observe-only).

Kept independent of QUOTE_ARITHMETIC_RECHECK_ENABLED (which is reject-only with no trust action): a confirmed mismatch is not a mere off-curve price, so it deserves its own dial.