Re-read an intent and its view chain.
(repo: &Repository, id: &str)
| 182 | |
| 183 | /// Re-read an intent and its view chain. |
| 184 | pub fn read_context(repo: &Repository, id: &str) -> Result<EvidenceContext, EvidenceError> { |
| 185 | let inputs = intent_bridge::read_intent(repo, id)?; |
| 186 | context_from_inputs(repo, &inputs) |
| 187 | } |
| 188 | |
| 189 | /// Resolve the node the gate should validate together with its native pins. |
| 190 | /// A fresh attestation is gated as itself; an unattested or stale intent is |