Skip to content
This repository was archived by the owner on Aug 27, 2026. It is now read-only.

fix: repair mangled obsidian:// links in MBTI notes - #552

Merged
tieubao merged 1 commit into
masterfrom
fix/dead-links-mechanical
Aug 20, 2026
Merged

tieubao merged 1 commit into
masterfrom
fix/dead-links-mechanical

Conversation

@tieubao

@tieubao tieubao commented Aug 20, 2026

Copy link
Copy Markdown
Member

Summary

Fixes the "MBTI obsidian-mangled paths" class from the memo.d.foundation
link audit (dwarvesf/brainery#227). 10 links across 6 files under
notes/hr/mbti/ used raw obsidian://open?vault=...&file=... URIs
left over from the source Obsidian vault instead of site-relative
paths. On memo.d.foundation the whole URI gets rendered as a literal
path segment, producing dead URLs shaped like
/research/notes/hr/mbti/obsidian/openvaultdwarvesfilebrain/hr/mbti/<name>.

Each obsidian:// URI named its target file exactly in the file=
param, so the correct target note was unambiguous. Every rewritten
link was probed at https://memo.d.foundation/<new-path> and returns
200 before this change was made (the old path returns 307 to
home, the site's not-found signature).

Fixes

File Link text Old (source) New Probe
notes/hr/mbti/Si <> Se.md Se obsidian://open?vault=dwarves&file=brain%2FHR%2FMBTI%2FExtroverted%20Sensing%20-%20Se /research/notes/hr/mbti/extroverted-sensing-se 200
notes/hr/mbti/Si <> Se.md Si obsidian://open?vault=dwarves&file=brain%2FHR%2FMBTI%2FIntroverted%20Sensing%20%20-%20Si /research/notes/hr/mbti/introverted-sensing-si 200
notes/hr/mbti/Fi <> Fe.md Fi obsidian://open?vault=dwarves&file=brain%2FHR%2FMBTI%2FIntroverted%20Feeling%20-%20Fi /research/notes/hr/mbti/introverted-feeling-fi 200
notes/hr/mbti/Fi <> Fe.md Fe obsidian://open?vault=dwarves&file=brain%2FHR%2FMBTI%2FExtroverted%20Feeling%20-%20Fe /research/notes/hr/mbti/extroverted-feeling-fe 200
notes/hr/mbti/Ti <> Te.md Ti obsidian://open?vault=dwarves&file=brain%2FHR%2FMBTI%2FIntroverted%20Thinking%20-%20Ti /research/notes/hr/mbti/introverted-thinking-ti 200
notes/hr/mbti/Ti <> Te.md Te obsidian://open?vault=dwarves&file=brain%2FHR%2FMBTI%2FExtroverted%20Thinking%20-%20Te /research/notes/hr/mbti/extroverted-thinking-te 200
notes/hr/mbti/Ne <> Ni.md Ne obsidian://open?vault=dwarves&file=brain%2FHR%2FMBTI%2FExtroverted%20Intuition%20-%20Ne /research/notes/hr/mbti/extroverted-intuition-ne 200
notes/hr/mbti/Ne <> Ni.md Ni obsidian://open?vault=dwarves&file=brain%2FHR%2FMBTI%2FIntroverted%20Intuition%20-%20Ni /research/notes/hr/mbti/introverted-intuition-ni 200
notes/hr/mbti/Cognitive Function Stack.md cognitive functions obsidian://open?vault=dwarves&file=brain%2FHR%2FMBTI%2F8%20Cognitive%20Functions /research/notes/hr/mbti/8-cognitive-functions 200
notes/hr/mbti/8 Cognitive Functions.md 8 preferences obsidian://open?vault=dwarves&file=brain%2FHR%2FMBTI%2F8%20Preferences /research/notes/hr/mbti/8-preferences 200

Note: the merged comparison pages (fi-fe, ne-ni, si-se, ti-te)
also resolve 200, but the individual per-function page is the more
precise match to what each obsidian:// URI actually named, so that's
what's used here.

Scope

Mechanical only: only the broken obsidian:// URIs were touched.
No prose, formatting, or frontmatter changes.

Ref: dwarvesf/brainery#227

10 links across 6 files used raw obsidian://open?vault=...&file=...
URIs (leftover from the source vault) instead of site-relative
paths. memo.d.foundation renders the whole URI as a literal path
segment, producing dead URLs like
/research/notes/hr/mbti/obsidian/openvaultdwarvesfilebrain/hr/mbti/<name>.

Each obsidian:// URI named its target file exactly (e.g.
file=brain%2FHR%2FMBTI%2FExtroverted%20Sensing%20-%20Se), so every
link is rewritten to that note's live site-relative path, verified
200 on memo.d.foundation before rewrite:

- Si <> Se.md: Se -> extroverted-sensing-se, Si -> introverted-sensing-si
- Fi <> Fe.md: Fi -> introverted-feeling-fi, Fe -> extroverted-feeling-fe
- Ti <> Te.md: Ti -> introverted-thinking-ti, Te -> extroverted-thinking-te
- Ne <> Ni.md: Ne -> extroverted-intuition-ne, Ni -> introverted-intuition-ni
- Cognitive Function Stack.md -> 8-cognitive-functions
- 8 Cognitive Functions.md -> 8-preferences

Part of the mechanical-fix pass from dwarvesf/brainery issue 227.
@tieubao
tieubao merged commit 17cda13 into master Aug 20, 2026
2 checks passed
@tieubao
tieubao deleted the fix/dead-links-mechanical branch August 20, 2026 11:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant