Refcheck¶
Reference validator for codebases — finds broken source/bash targets, stale paths left behind by a refactor, and relative paths that only resolve from one working directory. A standalone Python project: datapointchris/refcheck is the source of truth for the full flag reference, output format, and configuration (or run refcheck --help).
In this system¶
- Install —
packages.ymlunderuv_tools, installed bysrc/dotfiles/providers/uvtool.pyfrom the package index its row names. The entry point lands in~/.local/bin. Update withrefcheck update, or with every other tool throughdotfiles apply. - Why it exists here — it was written against this repo. Dotfiles is thousands of shell files that
sourceeach other through$DOTFILES_DIRand$SCRIPT_DIR, where a moved file breaks a reference that no linter checks and only a full e2e run surfaces.refcheckresolves those variables and validates the target in seconds. - Fixtures —
tests/apps/fixtures/refcheck-variables/andrefcheck-fragile-cwd/hold deliberately broken scripts, kept as a live target to check the tool still catches what it claims. They are excluded from a normal run; reach them withrefcheck check --test-mode tests/apps/fixtures/.
See Also¶
- Doit — tool discovery across the installed toolchain, and everything else it indexes