Expand description
Stable node ID scheme based on repository-relative path slugs.
Collision-resistant across directories:
| Relative path | Node id |
|---|---|
docs/concepts/raft.md | docs/concepts/raft |
Notes/Foo Bar.md | notes/foo-bar |
IDs are lowercase, /-separated, and extension-stripped. They are the
primary key in SQLite and the string key in the CSR id table.
Functionsยง
- content_
hash - Compute a hex BLAKE3 content hash for change detection.
- node_
id_ from_ rel_ path - Build a stable node id from a workspace-relative file path.
- rel_
path_ from_ workspace - Make a path relative to workspace, falling back to the path itself.
- resolve_
link_ target - Resolve a WikiLink target string against known node ids / aliases / titles.