# Что доказывает: кандидат H6 с пулом 2 + 0 проходит проверки до замера.
# Дата UTC: 2026-10-15 (16 октября по Europe/Moscow).
# Окружение: Apple M4, macOS 26.6.2; Docker 28.0.4,
#   Compose 2.34.0-desktop.1; pytest на Python 3.13.7.
# Код: src_sha256 43893cc08aa40b09dd86ac7ff69f3420179180c04ad375a3130966917c18c6c7.
# Git: правки кандидата поверх 08e345f, до локального коммита кандидата.
# Стенды: отдельные isolated (LB, две реплики) и failures; штатная уборка.
# Вывод сокращён (...); полные журналы текущего запуска:
#   /tmp/lab3-h6-isolated.log, /tmp/lab3-h6-failure.log.

$ make fmt
uv run ruff format .
97 files left unchanged
uv run ruff check --fix .
All checks passed!

$ make lint
uv run ruff format --check .
97 files already formatted
uv run ruff check .
All checks passed!

$ make check
python3 scripts/check_contract.py
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.

$ make requirements-check
uv export --frozen --no-dev --no-emit-project --no-header --format requirements.txt | diff -u requirements.txt - && echo "requirements.txt matches uv.lock"
requirements.txt matches uv.lock

$ make test-isolated
python3 student-tests/stand.py isolated
...
PASS: lab3 public API scenario; infrastructure and grading evidence remain separate.
...
====================== 84 passed, 15 deselected in 10.89s ======================
...
{"observed_instances_before": 2, "successful_writes": 116, "failed_attempts": 0, "first_recovery_seconds": 1.493}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
...
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
[isolated] cleanup
[isolated] results: {'test': 0, 'student-test': 0, 'test-failover': 0, 'test-persistence': 0}

$ make failure-checks
python3 student-tests/stand.py failures
...
====================== 15 passed, 84 deselected in 42.40s ======================
[failures] cleanup
[failures] results: {'fault': 0}
