The tracked-vault path for an intent's attestation: `attestations/ /attested.md`.
(repo: &Repository, id: &str)
| 134 | /// The tracked-vault path for an intent's attestation: |
| 135 | /// `attestations/<sanitized-normalized-id>/attested.md`. |
| 136 | pub fn attestation_vault_path(repo: &Repository, id: &str) -> BridgeResult<String> { |
| 137 | Ok(format!( |
| 138 | "attestations/{}/attested.md", |
| 139 | sanitize_id(&normalized_id(repo, id)?) |
| 140 | )) |
| 141 | } |
| 142 | |
| 143 | /// The directory that holds an intent's canonical sidecar artifacts: |
| 144 | /// `<dot_dir>/canonical/intents/<sanitized-normalized-id>/`. Keyed off the SAME |
no outgoing calls