#[non_exhaustive]pub enum ProvenanceLabel {
External(ExternalKind),
RecallReEntry,
ModelDerived,
}Expand description
The provenance channel assigned to every write — required, typed, and immutable.
Provenance is set at injection time and cannot be changed after the claim is committed.
It determines how the engine routes the claim through the adjudication gate.
Model-emitted content must use ModelDerived — the ingestion gateway enforces this
and callers cannot override it by supplying a more prestigious label.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
External(ExternalKind)
First-hand external evidence — the ONLY cheap-path-eligible channel.
RecallReEntry
Content the engine itself previously served, re-entering the write path. Caught by the Amplification Guard (firewall). Corroborates by identity; never becomes ground truth.
ModelDerived
Model-emitted / inferred content. The mandatory default for model output. Committed down-weighted (Inferred disposition); ineligible to overturn until anchored.
Implementations§
Source§impl ProvenanceLabel
impl ProvenanceLabel
Sourcepub fn is_cheap_path_eligible(&self) -> bool
pub fn is_cheap_path_eligible(&self) -> bool
Returns true iff this label is eligible for the cheap (non-conflicting commit) path. Only External(*) qualifies. RecallReEntry and ModelDerived never qualify.
Sourcepub fn is_recall_reentry(&self) -> bool
pub fn is_recall_reentry(&self) -> bool
Returns true iff this is a RecallReEntry — must be caught by the Amplification Guard.
Trait Implementations§
Source§impl Clone for ProvenanceLabel
impl Clone for ProvenanceLabel
Source§fn clone(&self) -> ProvenanceLabel
fn clone(&self) -> ProvenanceLabel
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ProvenanceLabel
impl Debug for ProvenanceLabel
Source§impl<'de> Deserialize<'de> for ProvenanceLabel
impl<'de> Deserialize<'de> for ProvenanceLabel
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProvenanceLabel, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProvenanceLabel, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl Eq for ProvenanceLabel
Source§impl Hash for ProvenanceLabel
impl Hash for ProvenanceLabel
Source§impl PartialEq for ProvenanceLabel
impl PartialEq for ProvenanceLabel
Source§fn eq(&self, other: &ProvenanceLabel) -> bool
fn eq(&self, other: &ProvenanceLabel) -> bool
self and other values to be equal, and is used by ==.