Files
gbrain/docs/architecture
28f372cece feat(links): resolve path-shaped wikilinks for any directory by exact slug match (#1493, #726)
Takeover of #2978 (fork PR), rebased onto current master. Resolved a
docs/architecture/KEY_FILES.md conflict (kept master's newer
extract-conversation-facts entry, merged the PR's link-extraction
additions) and regenerated llms.txt/llms-full.txt via bun run build:llms.

- New regex passes 2a'/2b' match path-shaped wikilinks [[dir/.../name]]
  for any directory prefix, masked after whitelist passes (no double-emit)
- Exact-slug resolution via optional SlugResolver.slugExists off the same
  source-scoped getAllSlugs snapshot; gate link_resolution.any_dir_exact_path
  defaults ON with env override
- Misses ride the existing unresolved-report machinery (never silent)
- Qualified [[src:path]] pins thread through resolution end-to-end;
  pins join the dedup key
- #972 bare-name/basename machinery untouched

Co-authored-by: gporterl <4203071+gporterl@users.noreply.github.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-21 16:50:15 -07:00
..