feat(cli): deterministically rebuild index.md from frontmatter - #140
Draft
mike840609 wants to merge 8 commits into
Draft
feat(cli): deterministically rebuild index.md from frontmatter#140mike840609 wants to merge 8 commits into
mike840609 wants to merge 8 commits into
Conversation
Closes #1 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015e5m1CuEE5DTQcFFmeCgRu
mike840609
marked this pull request as draft
July 15, 2026 01:30
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.
Summary
obsidian-wiki indexrenderer using full vault-relative paths and frontmatter titles--checkplus link-format precedence: CLI, environment, global config, then wikilinkWhy
Manual
index.mdedits across write skills drift over time and produce missing, stale, or ambiguous entries. The original implementation also collapsed nested pages to filename-only links, ignored block YAML tags, and did not honorOBSIDIAN_LINK_FORMAT.Impact
Write workflows now rebuild the root index consistently after visible page changes. Same-named nested pages remain unambiguous, configured Markdown vaults retain their link format, and read-only, audit-only, quick, staged-only, and no-op paths remain non-mutating.
Validation
244 passed, 11 subtests passedgit diff --checkupstream/mainindex --checkagainst an existing Digital Garden vault confirmed full paths, display titles, category casing, and tagsRelated fork issue: mike840609/obsidian-wiki#1