pub struct JudgementProvenance {
pub responsible_agent: AgentRef,
pub informed_by: Vec<Reliance>,
pub epistemic_horizon: Option<String>,
pub procedure_notes: String,
}Expand description
The provenance of a single judgement: the natural (or other) agent responsible for it, the ordered
set of contributions that informed it, an optional epistemic horizon, and free-form procedure notes.
Because each Reliance may carry a nested sub_provenance, this type is recursively a DAG node.
Fields§
§responsible_agent: AgentRefThe agent who bears authorship + responsibility for the judgement (prov:wasAssociatedWith).
informed_by: Vec<Reliance>The contributions that informed the judgement (prov:used / prov:wasInformedBy).
epistemic_horizon: Option<String>Content-addressed reference (Merkle root / checkpoint hash) to the information-state available at
decision time — the hindsight-resistance mechanism (§9). None until captured.
procedure_notes: StringFree-form notes on the procedure/method followed.
Implementations§
Source§impl JudgementProvenance
impl JudgementProvenance
Sourcepub fn new(responsible_agent: AgentRef) -> Self
pub fn new(responsible_agent: AgentRef) -> Self
A judgement attributed to responsible_agent, with no contributions declared yet.
Sourcepub fn informed_by(self, reliance: Reliance) -> Self
pub fn informed_by(self, reliance: Reliance) -> Self
Declare one contribution that informed the judgement (fluent, chainable).
Sourcepub fn with_horizon(self, hash: impl Into<String>) -> Self
pub fn with_horizon(self, hash: impl Into<String>) -> Self
Pin the epistemic horizon (content-addressed info-state hash) at decision time (fluent).
Sourcepub fn with_procedure_notes(self, notes: impl Into<String>) -> Self
pub fn with_procedure_notes(self, notes: impl Into<String>) -> Self
Set the procedure notes (fluent).