repo-standard/scripts
Kjell Tore Guttormsen 3c2a535297 fix(links): a directory link is not a missing file, so a tracked dir now resolves
`checkInternalLinks` compared a link's resolved target only against `present`
(tracked files), so `[x](dir/)` was always LINK-INTERNAL-MISSING even when
every file under it was tracked. Reported by portfolio-optimiser-claude with a
minimal repro; the same defect inflated ERROR counts in voyage, linkedin-studio
and portfolio-optimiser — 12 of the org's 71 measured ERRORs were this one
check, not twelve repo problems.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uwwfdmrfnp7FuGQ4z25RKH
2026-08-03 21:57:53 +02:00
..
repo-standard-check.mjs fix(links): a directory link is not a missing file, so a tracked dir now resolves 2026-08-03 21:57:53 +02:00
repo-standard-check.test.mjs fix(links): a directory link is not a missing file, so a tracked dir now resolves 2026-08-03 21:57:53 +02:00