Skip to main content

conflict_advice

Function conflict_advice 

Source
pub fn conflict_advice(
    c: &EntityConflict,
    sides: Sides,
) -> (&'static str, String)
Expand description

The wire kind and the repair line for one conflict.

The kind comes from ConflictKind::wire_kind — weave-core owns the tag, because the exhaustive match belongs next to the enum. The prose is owned here, because it is schema-side and audience-dependent.

Every line below is mechanical: it restates the three-way fact weave already established and names the step that follows from it, and it stops there. None of them chooses a side, guesses intent, or recommends one resolution over another — that is the same discipline the marker’s refused_by: line keeps, stated at the length a findings document can afford. A finding whose suggestion only says “there is a conflict” has told an agent nothing it could not already see; a finding that guesses has told it something weave does not know.