fix(vault): recurse subfolders, skip empty stubs, parse block-list skills/metrics - #303
Open
cordialApple wants to merge 1 commit into
Open
fix(vault): recurse subfolders, skip empty stubs, parse block-list skills/metrics#303cordialApple wants to merge 1 commit into
cordialApple wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Obsidian sync imported hand-authored notes as blank "Untitled" experiences and never read the real ones. Root causes, found against a real vault:
readVaultread only the vault root, non-recursively — real notes in anexperiences/subfolder were never read; only empty[[wiki-link]]stub notes in the root imported (as blanks).skills: [...]; multi-line YAML block lists (skillsas- name:/kind:, andmetrics) were silently dropped.Fix:
walkthe vault recursively, skipping dotfolders like.obsidian.planReconcileskips notes with no STAR content, so stubs no longer import or duplicate.skills/metricsfrom raw frontmatter; keep the inline form and add an H1 title fallback.Verified end-to-end on the real vault: 18 experiences import fully populated (title, STAR, skills, metrics, tags); stubs skipped; 0 blanks. 767 unit tests green, typecheck clean.