MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / attestation_vault_path

Function attestation_vault_path

atomic-repository/src/intent_bridge.rs:209–214  ·  view source on GitHub ↗

The tracked-vault path for an intent's attestation: `attestations/ /attested.md`.

(repo: &Repository, id: &str)

Source from the content-addressed store, hash-verified

207/// The tracked-vault path for an intent's attestation:
208/// `attestations/<sanitized-normalized-id>/attested.md`.
209pub fn attestation_vault_path(repo: &Repository, id: &str) -> BridgeResult<String> {
210 Ok(format!(
211 "attestations/{}/attested.md",
212 sanitize_id(&normalized_id(repo, id)?)
213 ))
214}
215
216/// The directory that holds an intent's canonical sidecar artifacts:
217/// `<dot_dir>/canonical/intents/<sanitized-normalized-id>/`. Keyed off the SAME

Calls

no outgoing calls