screen-locker/scripts
Krzysztof kuhy Rudnicki b8cf634fa6 Record why the popup gate fails on a drifted gatelock
The RecoveryLoop call in HostileLock matches gatelock 0.4.0, which is what
requirements.txt pins and what the pylint hook installs. gatelock 0.5.0
regroups the five arguments into a RecoveryCollaborators object, so running
this gate against a locally-installed 0.5.0 fails with

    RecoveryLoop.__init__() takes 3 positional arguments but 6 were given

That is environment drift, not a defect in the check -- against the pinned
version the gate runs and passes both halves. Comment says so, and says how to
resync, so the next reader does not "fix" the code to match whatever happens to
be installed. (I nearly did; against the pin that edit would have broken CI.)

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EveB813BQ8abAP68VSqZ5Y
2026-08-15 21:00:49 +02:00
..
__init__.py Finish the Python side: scripts, conftest, and the last test modules 2026-08-15 20:57:29 +02:00
_popup_form_check.py Record why the popup gate fails on a drifted gatelock 2026-08-15 21:00:49 +02:00
_xvfb_reexec.py Finish the Python side: scripts, conftest, and the last test modules 2026-08-15 20:57:29 +02:00
check_file_length.py Support multiple workouts per day; fix the dead sync; ban silent failures 2026-07-17 09:22:31 +02:00
check_flutter_coverage.sh workout_app: add Google sign-in support for the Firebase sync account 2026-08-14 10:56:16 +02:00
check_no_crdt_sync_override.sh Add a pre-commit gate against a local crdt_sync dependency_override 2026-08-12 19:18:21 +02:00
check_requirements_sync.py Add CI-mirror pre-push gate + requirements-sync check 2026-07-11 17:42:45 +02:00
check_silent_failures_dart.py Carry progression through Firebase, and stop demanding storage permission 2026-08-10 16:54:21 +02:00
check_silent_failures.py Support multiple workouts per day; fix the dead sync; ban silent failures 2026-07-17 09:22:31 +02:00
ci_mirror.sh Add CI-mirror pre-push gate + requirements-sync check 2026-07-11 17:42:45 +02:00
fix_2026_07_26_sport.py Make the lock overlay's sport selector usable, and focus its form fields 2026-07-26 15:08:08 +02:00
refresh_refactor_todo.py Add refresh_refactor_todo.py: self-correcting violations table 2026-08-15 19:05:31 +02:00
setup_mcp.sh Add read-only MCP server exposing workout/lock status 2026-07-10 21:28:09 +02:00
verify_lock_popup_safety.py Finish the Python side: scripts, conftest, and the last test modules 2026-08-15 20:57:29 +02:00
verify_screen_fits.py Finish the Python side: scripts, conftest, and the last test modules 2026-08-15 20:57:29 +02:00