wake-alarm/scripts
Krzysztof kuhy Rudnicki 7e40bb138c ci_mirror: build the clean venv with uv (18.3 s -> 2.1 s cold)
The venv rebuild after a requirements.txt change was the largest cold-path
cost of `scripts/check_gate_stamp.sh full`. uv is also what CI installs
with, so the mirror gets closer to CI, not further. The interpreter is
passed as a path: `--python python3` let uv pick an active ~/.venv (3.13)
that crdt-sync 0.9.2 (>=3.14) cannot install into. pip stays as fallback.

Measured under capped.sh (4G, 20 %): `full` warm 10.9 s; fully cold
(no venv, empty PRE_COMMIT_HOME, empty mypy cache) 45.9 s, floor = the
pylint hook env install (~24 s, only after .pre-commit-config.yaml changes).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xfj1sxKH9VBPqpcAni8Jry
2026-10-16 14:55:18 +02:00
..
free_days_interop Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 18:46:34 +02:00
pc Wake enforcement v2: PC fallback ring + RTC self-wake, stacking Tue-Thu phone lockdown, escape hatch until 2026-10-15, stakes in the app, daily incident audit 2026-10-01 12:17:06 +02:00
vmbox Wake enforcement v2: PC fallback ring + RTC self-wake, stacking Tue-Thu phone lockdown, escape hatch until 2026-10-15, stakes in the app, daily incident audit 2026-10-01 12:17:06 +02:00
check_dependency_freshness.sh Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 18:46:34 +02:00
check_file_length.sh Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 18:46:34 +02:00
check_gate_stamp.sh pre-push is a 1-second stamp check; the suites moved to the manual stage 2026-09-20 21:29:10 +02:00
check_md_naming.sh Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 18:46:34 +02:00
check_no_crdt_sync_override.sh Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 18:46:34 +02:00
check_repo_contract.sh repo contract: CLAUDE.md commands, test_changed, CI gate, AGENTS.md update 2026-10-04 16:58:12 +02:00
check_requirements_sync.py Add CI-mirror pre-push gate + requirements-sync check 2026-07-11 17:51:16 +02:00
ci_mirror.sh ci_mirror: build the clean venv with uv (18.3 s -> 2.1 s cold) 2026-10-16 14:55:18 +02:00
test_changed.sh repo contract: CLAUDE.md commands, test_changed, CI gate, AGENTS.md update 2026-10-04 16:58:12 +02:00