Build the vault-relative directory for an intent: `intents/ /`. The ULID alone guarantees a unique, collision-free path — no view, session, or turn nesting is needed (those are recorded as provenance metadata on the intent instead).
(&self, uid: &str)
| 1128 | /// session, or turn nesting is needed (those are recorded as provenance |
| 1129 | /// metadata on the intent instead). |
| 1130 | fn intent_dir_for(&self, uid: &str) -> String { |
| 1131 | format!("intents/{}", uid) |
| 1132 | } |
| 1133 | |
| 1134 | /// Build the vault-relative path for an intent file: `intents/<ulid>/intent.md`. |
| 1135 | fn intent_file_for(&self, uid: &str) -> String { |