feat(core): hubs, tag pages and types, with ffi, history and import support

Hubs and templates are page kinds; tags are pages of kind tag linked by a TAGGED
edge; types are plain names on the page. Schema v5. Snapshots carry
synapse-kind/tags/types. Also adapts search, import and server tests.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
dasemuandClaude Sonnet 5.5 committed 2026-10-26 02:45:22 +01:00
1 parent 91a8276966
commit b800248d67
35 files changed
+7983 -141

No files matched your search

+1 -1
View File
@@ -126,7 +126,7 @@ fn scan_line(line: &str, is_prop: bool, refs: &mut Refs) {
}
/// Finds the `]]` closing a `[[` that opened before `from`, allowing nested `[[..]]`.
fn find_close(s: &str, from: usize) -> Option<usize> {
pub(crate) fn find_close(s: &str, from: usize) -> Option<usize> {
let mut depth = 0;
let mut i = from;
while i + 1 < s.len() {