Is the argument *shaped* like a filesystem path (rather than a memory id)? True when it ends in `.md` or contains a path separator. A `memory/ ` (no `.md`) form is NOT path-shaped — it is a valid id form the bridge normalizes. A bare `memory/ .md` IS path-shaped, so `validate` would try to read it as a file; callers wanting the vault entry use the bare ` `.
(arg: &str)
| 100 | /// normalizes. A bare `memory/<id>.md` IS path-shaped, so `validate` would try |
| 101 | /// to read it as a file; callers wanting the vault entry use the bare `<id>`. |
| 102 | fn is_path_shaped(arg: &str) -> bool { |
| 103 | arg.ends_with(".md") |
| 104 | } |
| 105 | |
| 106 | /// Serialize a [`ValidationReport`] to the documented JSON shape: |
| 107 | /// `{conforms, results: [{focus_node, shape, path, message}]}`. |