Skip to main content

set_causal

Function set_causal 

Source
pub fn set_causal(
    path: &Path,
    finding_id: &str,
    new_claim: &str,
    new_grade: Option<&str>,
    actor: &str,
    reason: &str,
) -> Result<StateCommandReport, String>
Expand description

v0.38: Set or revise a finding’s causal_claim and (optionally) causal_evidence_grade. Appends an assertion.reinterpreted_causal event capturing the prior reading, the new reading, and the actor. Bypasses the proposal flow because (a) the mutation is local and reversible by another call, and (b) the schema layer ships ahead of the reasoning surface — the next milestone will route this through proposals once the do-calculus layer needs it.