feat patch feat/note-outline-mvp #15 / 23
aaronrene · 16 days ago · May 23, 2026 · Diff

feat: add document tree builder

Add the Phase 1A pure DocumentTree builder so NoteOutline-style heading records can be converted into the body-free v0 tree contract with focused unit, security, stress, performance, and data-integrity coverage.

sha256:bce6ba567d3c6b149aad21fffe44bdf9a82d27b224325ddb5942e432ff7b52b7 sha
+6 symbols
sha256:261474318108e3d900c85347cef63025f7f0b930f97195ae064c42ae2812a159 snapshot
+6
symbols added
0
dead code introduced
Semantic Changes 6 symbols
~ lib/document-tree.mjs .mjs 5 symbols added
+ buildDocumentTreeFromOutline function function buildDocumentTreeFromOutline L18–52
+ normalizeHeading function function normalizeHeading L98–117
+ normalizeHeadings function function normalizeHeadings L86–91
+ normalizeTitle function function normalizeTitle L77–80
+ normalizeTreePath function function normalizeTreePath L58–71
~ test/document-tree.test.mjs .mjs 1 symbol added
+ outline function function outline L15–24

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:bce6ba567d3c6b149aad21fffe44bdf9a82d27b224325ddb5942e432ff7b52b7 --body "your comment"