pub struct Reliance {
pub agent: AgentRef,
pub nature: String,
pub within_validated_scope: bool,
pub veracity_at_time: InputVeracity,
pub veracity_determined: Option<InputVeracity>,
pub sub_provenance: Option<Box<JudgementProvenance>>,
}Expand description
One contribution to a judgement — an edge in the provenance DAG. Records the contributing agent, the
nature of reliance ("diagnostic-support", "drafting", "data-source", "consult", …), whether
the agent/tool was used within its validated/insured scope, dual-timed veracity, and — when the
contributor is itself an agent that formed a judgement — that contributor’s own nested provenance
(sub_provenance), which is what makes informed_by a DAG rather than a flat list.
Fields§
§agent: AgentRef§nature: StringHow the agent was relied upon (diagnostic-support | drafting | data-source | consult | …).
within_validated_scope: boolWas the tool/agent used inside its validated/insured competence? Use outside declared scope for a consequential judgement is a red flag (§8.3).
veracity_at_time: InputVeracityVeracity as reasonably assessed at the time of reliance (against the epistemic horizon).
veracity_determined: Option<InputVeracity>Veracity as later determined by forensic/hindsight review, if a re-assessment has occurred.
None until reviewed. The gap vs veracity_at_time distinguishes malice/negligence from honest error.
sub_provenance: Option<Box<JudgementProvenance>>The consulted agent’s own provenance (their toolchain), nested under this edge → the DAG.
Implementations§
Source§impl Reliance
impl Reliance
Sourcepub fn new(
agent: AgentRef,
nature: impl Into<String>,
within_validated_scope: bool,
) -> Self
pub fn new( agent: AgentRef, nature: impl Into<String>, within_validated_scope: bool, ) -> Self
A new reliance edge. Veracity defaults to Uncertain; there is no later determination yet.
Sourcepub fn assessed_at_time(self, veracity: InputVeracity) -> Self
pub fn assessed_at_time(self, veracity: InputVeracity) -> Self
Set the veracity assessed at the time of reliance (fluent).
Sourcepub fn later_determined(self, veracity: InputVeracity) -> Self
pub fn later_determined(self, veracity: InputVeracity) -> Self
Record a later, forensic determination of veracity (fluent).
Sourcepub fn with_sub_provenance(self, jp: JudgementProvenance) -> Self
pub fn with_sub_provenance(self, jp: JudgementProvenance) -> Self
Nest the contributor’s own judgement provenance under this edge (fluent) — extends the DAG.