One canonical-gate violation in the message shape ordinary validation already serves.
(violation: &atomic_canonical::Violation)
| 738 | /// One canonical-gate violation in the message shape ordinary validation |
| 739 | /// already serves. |
| 740 | fn format_violation(violation: &atomic_canonical::Violation) -> String { |
| 741 | format!( |
| 742 | "[{}] {}{}: {}", |
| 743 | violation.shape, |
| 744 | violation.focus_node, |
| 745 | violation |
| 746 | .path |
| 747 | .as_ref() |
| 748 | .map(|path| format!(" ({path})")) |
| 749 | .unwrap_or_default(), |
| 750 | violation.message |
| 751 | ) |
| 752 | } |
| 753 | |
| 754 | fn evidence_context_to_proto( |
| 755 | context: &intent_evidence::EvidenceContext, |
nothing calls this directly
no outgoing calls
no test coverage detected