CI should fail when someone edits requirements.in without regenerating the lock. Add a --check mode to /workspace/tools/hashlock.py: it must not write anything, exit 0 if requirements.lock is exactly what the tool would generate from requirements.in, and otherwise print what is out of date and exit 1. The CI pipeline will run it on the build hosts as described in /workspace/README.md; keep the normal (regenerate) mode working there too. The result will be run directly on this machine, so make sure it actually works here.