The tracked-vault path for a memory's attestation: `attestations/memory/ /attested.md`. NOTE the `attestations/memory/` sub-namespace: a memory id can therefore never collide with an intent human key at `attestations/ /attested.md`. `infer_entry_type` maps any `attestations/` prefix to `Attestation`, so this needs no atomic-repository change.
(id_or_path: &str)
| 138 | /// `infer_entry_type` maps any `attestations/` prefix to `Attestation`, so this |
| 139 | /// needs no atomic-repository change. |
| 140 | pub fn attestation_vault_path(id_or_path: &str) -> String { |
| 141 | format!( |
| 142 | "attestations/memory/{}/attested.md", |
| 143 | sanitize_id(&memory_id(id_or_path)) |
| 144 | ) |
| 145 | } |
| 146 | |
| 147 | /// The directory that holds a memory's canonical sidecar artifacts: |
| 148 | /// `<dot_dir>/canonical/memory/<sanitized-id>/`. |
no outgoing calls