date: 2026-11-05T23:05:24.813684+00:00 commit: e66e2d7d685ef8cdef74b3104bd6b5550b01c0af

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

$ make validate
.venv/bin/python scripts/validate_openapi.py
PASS: full OpenAPI 3.1 and JSON Schema validation; application NOT tested.
exit: 0

$ make lint
.venv/bin/ruff check src student-tests alembic scripts/probe.py scripts/limits.py scripts/scaling.py tools
All checks passed!
.venv/bin/ruff format --check src student-tests alembic scripts/probe.py scripts/limits.py scripts/scaling.py tools
113 files already formatted
.venv/bin/ty check src student-tests alembic
All checks passed!
exit: 0

$ make student-test 'PYTEST_ARGS=-q student-tests/unit'
.venv/bin/pytest -q student-tests/unit
........................................................................ [ 52%]
................................................................         [100%]
136 passed in 0.11s
exit: 0

$ .venv/bin/python -c 'import runpy
scope = runpy.run_path('"'"'student-tests/api/test_bounded_contexts.py'"'"')
tests = [(name, fn) for name, fn in scope.items() if name.startswith('"'"'test_'"'"')]
for name, fn in tests:
    fn()
    print('"'"'PASS'"'"', name)
print(len(tests), '"'"'architecture checks passed without database fixtures'"'"')'
PASS test_identity_does_not_know_about_messaging
PASS test_domains_do_not_import_infrastructure
PASS test_core_layers_do_not_import_pydantic
PASS test_shared_knows_nothing_about_zones
PASS test_shared_core_is_free_of_transport
PASS test_shared_core_holds_only_platform
PASS test_shared_entrypoints_hold_only_transport
PASS test_every_zone_owns_its_errors_events_and_commands
PASS test_every_zone_owns_its_http_layer
PASS test_only_main_knows_both_zones
PASS test_application_has_no_separate_entrypoints_root
PASS test_shared_source_mentions_no_domain_vocabulary
PASS test_shared_declares_no_concrete_commands_or_events
PASS test_shared_has_no_test_doubles
PASS test_zone_errors_do_not_leak_transport_codes
PASS test_sql_of_each_zone_reads_only_its_tables
PASS test_messaging_does_not_import_identity_at_all
PASS test_sqlalchemy_stays_in_infrastructure_and_asyncpg_is_only_a_driver
18 architecture checks passed without database fixtures
exit: 0

$ .venv/bin/pytest --collect-only -q student-tests/api/test_nul_validation.py
student-tests/api/test_nul_validation.py::test_nul_basic_matches_wrong_password[\x00]
student-tests/api/test_nul_validation.py::test_nul_basic_matches_wrong_password[\x00abc]
student-tests/api/test_nul_validation.py::test_nul_basic_matches_wrong_password[abc\x00def]
student-tests/api/test_nul_validation.py::test_nul_basic_matches_wrong_password[abc\x00]
student-tests/api/test_nul_validation.py::test_nul_display_name_does_not_create_user[\x00]
student-tests/api/test_nul_validation.py::test_nul_display_name_does_not_create_user[\x00abc]
student-tests/api/test_nul_validation.py::test_nul_display_name_does_not_create_user[abc\x00def]
student-tests/api/test_nul_validation.py::test_nul_display_name_does_not_create_user[abc\x00]
student-tests/api/test_nul_validation.py::test_nul_title_does_not_create_chat[\x00]
student-tests/api/test_nul_validation.py::test_nul_title_does_not_create_chat[\x00abc]
student-tests/api/test_nul_validation.py::test_nul_title_does_not_create_chat[abc\x00def]
student-tests/api/test_nul_validation.py::test_nul_title_does_not_create_chat[abc\x00]
student-tests/api/test_nul_validation.py::test_nul_message_does_not_take_key[\x00]
student-tests/api/test_nul_validation.py::test_nul_message_does_not_take_key[\x00abc]
student-tests/api/test_nul_validation.py::test_nul_message_does_not_take_key[abc\x00def]
student-tests/api/test_nul_validation.py::test_nul_message_does_not_take_key[abc\x00]
student-tests/api/test_nul_validation.py::test_nul_message_does_not_disclose_chat

17 tests collected in 0.01s
exit: 0

$ openspec validate --all --strict
✓ spec/lab1-event-publication
✓ spec/lab1-messenger-chats
✓ spec/lab1-messenger-history
✓ spec/lab1-messenger-identity
✓ spec/lab1-service-operability
✓ spec/lab2-auth-sessions
✓ spec/lab2-dependency-failures
✓ spec/lab2-history-index
✓ spec/lab2-persistent-storage
✓ spec/lab2-session-cache
✓ spec/lab3-failover-operations
✓ spec/lab3-idempotent-messages
✓ spec/lab3-load-balancing
✓ spec/lab3-scaling-cost
✓ change/reject-nul-text-inputs
Totals: 15 passed, 0 failed (15 items)
- Validating...
exit: 0
