You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Name Every Symlink the Media Normalizer Skips, as the Gate Does #440
scripts/normalize-media.py says nothing about a symlink it meets inside a tree, while the gate fails on one and its advice sends the user to the normalizer.
A constructed case: under static/media, a file a.png that is a symlink to a PNG outside the tree, a dangling symlink dangling.png, and a symlinked directory sub.
The gate exits 1 with a symlink, not read line for each of the three and advises running the normalizer on each.
The normalizer, in report mode and with --apply, prints 0 file(s) to normalize, exits 0, and names none of them.
The normalizer does name a symlinked root, as symlink, not followed, but returns 0 where the gate fails, and gives an absolute path where the gate gives a repository-relative one. Neither tool can clear a symlink finding, so the gate's advice points at a tool that cannot help.
Candidate fix: have the normalizer name every symlink its walk skips, with the gate's repository-relative form and a non-zero exit, and have the gate's advice for a symlink finding say to replace the link with a regular file rather than run the normalizer.
Pre-existing. Found by a read-only review of the promotion #437, prompted by Copilot's overview naming unresolved issues in symlink reporting without opening a thread.
Closed as not planned by the maintainer. The media tooling reads only images the maintainer commits, so no realistic input reaches this, and hardening without a threat vector is not worth the review rounds it costs.
Activity
ptr727 commentedon Oct 7, 2026
Closed as not planned by the maintainer. The media tooling reads only images the maintainer commits, so no realistic input reaches this, and hardening without a threat vector is not worth the review rounds it costs.