generated from eblume/project-template
Keep canonical `[[NODEID]]` links readable without storing names. New pure `heph-core::wikilink` (injected id→title): `expand` turns a bare `[[id]]` into `[[id|Current Name]]`, `collapse` turns a name-matching `[[id|text]]` back to bare (a custom label is preserved as an override). - `node.get` expands on every read (nvim buffer + TUI preview both readable), then prepends frontmatter when asked. - `update_node` strips frontmatter, then collapses links, then CRDT-diffs — so neither projection ever persists and an unchanged read→write is a no-op to the bare id. Tests: wikilink unit (expand/collapse/round-trip), a heph-core collapse + materialize-by-id integration test, and a socket expand→collapse round-trip. `heph export` still emits raw ids (later polish). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| convergence.rs | ||
| export.rs | ||
| hlc_stamping.rs | ||
| next_ranking.rs | ||
| query_surface.rs | ||
| recurrence.rs | ||
| search.rs | ||
| tags.rs | ||
| tasks_and_links.rs | ||
| views.rs | ||
| wikilinks.rs | ||