(&self)
| 63 | |
| 64 | impl Command for IntentShow { |
| 65 | fn run(&self) -> CliResult<()> { |
| 66 | // Every form routes: the wire carries the lift inputs plus the raw |
| 67 | // attestation sources, so the projection runs client-side with |
| 68 | // the SAME bridge code over wire data. |
| 69 | if crate::commands::rpc::intent_show(self)? { |
| 70 | return Ok(()); |
| 71 | } |
| 72 | |
| 73 | let root = find_repository_root()?; |
| 74 | let repo = |
| 75 | crate::commands::open_readonly_repository(&root).map_err(CliError::Repository)?; |
| 76 | |
| 77 | let inputs = bridge::read_intent(&repo, &self.id)?; |
| 78 | let attestation = bridge::load_attestation(&repo, &self.id, &inputs)?; |
| 79 | project(&self.id, &inputs, &attestation, self.json) |
| 80 | } |
| 81 | } |
nothing calls this directly
no test coverage detected