mirror of
https://github.com/garrytan/gbrain.git
synced 2026-07-27 22:15:33 +00:00
Raw Obsidian wikilink paths ([[llm-wiki/entities/AI 3.0]]) never matched sync-slugified slugs (llm-wiki/entities/ai-3.0) on either extraction path. - FS path: resolveSlug now slugifies each candidate (slugifyPath, the same function sync uses) when the raw path-equality check misses, in both the direct join and the ancestor walk. Dir-qualified wikilinks resolve as typed edges without the global_basename flag. - DB path: extractPageLinks resolves dir-qualified generic wikilinks by slugifying the path and matching by exact slug or path suffix against the basename index — regardless of global_basename (the flag guards bare-name cross-dir ambiguity, which doesn't apply to dir-qualified paths). A same-tail page in a different directory can no longer be the only candidate and is filtered out. Fixes #1964 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>