Summary
mex check (0.7.0-0.7.2) emits MISSING_PATH errors for files that are intentionally absent or were never paths at all, which zeroes drift scores on healthy repos.
Three defects
- Negation is heading-scoped only (
isNegatedSection). Bullets describing deletions inside normal sections — e.g. "Deleted orphaned files: check_commands.js, ..." — still produce path claims for intentionally-absent files.
- Non-path tokens extracted as paths: ELO-style deltas (
+/-N), overall/overall, middot lists (8ball/pro · 9ball/pro), globs (web/routes/admin/*.js), trailing dirs (screenshots/).
- Dot-directory blind spot: the fallback filename glob lacks
dot: true, so a backticked deploy.yml living in .github/workflows/ never matches, producing a false error.
Repro and evidence
Full root-cause plus a verified fix against our installed 0.7.0:
- added inline line-level negation context (deleted / removed / dropped / retired / orphaned / unreferenced / no longer)
- NON_PATH_TOKEN filter for deltas, middot lists, globs and trailing dirs before claim extraction
- negated/implausible claims demote MISSING_PATH from error to warning (visible as noise, not score killers)
dot: true on the fallback filename glob
Verified across a 10-project estate: one project went from 23 MISSING_PATH errors (score 0) to 0 errors; 7 known-good projects stayed 100/100.
Happy to send the patch diff or open a PR if useful.
Summary
mex check(0.7.0-0.7.2) emits MISSING_PATH errors for files that are intentionally absent or were never paths at all, which zeroes drift scores on healthy repos.Three defects
isNegatedSection). Bullets describing deletions inside normal sections — e.g. "Deleted orphaned files:check_commands.js, ..." — still produce path claims for intentionally-absent files.+/-N),overall/overall, middot lists (8ball/pro · 9ball/pro), globs (web/routes/admin/*.js), trailing dirs (screenshots/).dot: true, so a backtickeddeploy.ymlliving in.github/workflows/never matches, producing a false error.Repro and evidence
Full root-cause plus a verified fix against our installed 0.7.0:
dot: trueon the fallback filename globVerified across a 10-project estate: one project went from 23 MISSING_PATH errors (score 0) to 0 errors; 7 known-good projects stayed 100/100.
Happy to send the patch diff or open a PR if useful.