Keep repository and I/O failures distinct; every other evidence refusal is a user-fixable gate error (exit 2).
(error: intent_evidence::EvidenceError)
| 190 | /// Keep repository and I/O failures distinct; every other evidence refusal is |
| 191 | /// a user-fixable gate error (exit 2). |
| 192 | fn evidence_error(error: intent_evidence::EvidenceError) -> CliError { |
| 193 | match error { |
| 194 | intent_evidence::EvidenceError::Repository(error) => CliError::Repository(error), |
| 195 | intent_evidence::EvidenceError::Io(error) => CliError::Io(error), |
| 196 | other => validation_failed(other.to_string()), |
| 197 | } |
| 198 | } |
| 199 | |
| 200 | /// Resolve `urn:atomic:change:<hash>` evidence URNs against the change store at |
| 201 | /// `repo_root`. One violation per URN that does not resolve. With no repository |
nothing calls this directly
no test coverage detected