Read an intent by ID from the vault and return its lift inputs. `vault_intent_show` normalizes the ID (`"PIMO-1"` / `"pimo-1"` / `"1"`) and resolves the stored entry.
(repo: &Repository, id: &str)
| 151 | /// `vault_intent_show` normalizes the ID (`"PIMO-1"` / `"pimo-1"` / `"1"`) and |
| 152 | /// resolves the stored entry. |
| 153 | pub fn read_intent(repo: &Repository, id: &str) -> BridgeResult<LiftInputs> { |
| 154 | let entry = repo.vault_intent_show(id)?; |
| 155 | inputs_from_entry(&entry) |
| 156 | } |
| 157 | |
| 158 | /// Lift the given inputs into a canonical node, mapping a lift failure (unknown |
| 159 | /// directive, missing `id`, malformed `:::ref`, …) to a clean argument error so |