I'm working on a cross-file deterministic drift checker https://github.com/mennanov/blockwatch
The idea is that the source code is annotated with special rules which configure how parts of the code (also configs and docs) depend on each other. This can be done either directly in the source code comments or in a config file blockwatch.toml
This tool is very useful for large codebases that e.g. share constants across programming languages and configs, have docs that should strictly reflect the current state of the code, etc
It uses tree-sitter to parse the source code, 35+ languages are supported.
The project is actively developed, your feedback is welcomed! Thanks!