date: 2026-11-05T22:20:11.892326+00:00 commit: 55b99a24a493faec8e61bf2c6a98e14e0229fe60
Final documentation and evidence WIP; API source matches 57744c5.

$ 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

$ uv lock --check
Resolved 64 packages in 6ms

exit: 0

$ openspec validate --all --strict
- Validating...
✓ 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
Totals: 14 passed, 0 failed (14 items)

exit: 0

$ openspec list --json
{
  "changes": [],
  "root": {
    "path": "<repo>",
    "source": "nearest"
  }
}

exit: 0

$ python3 /tmp/mtusi-lab3-track5-audit.py
series-a 54 PASS: raw metrics, 3 repeats, actual CPU/RAM/cpuset/image, telemetry
series-b 36 PASS: raw metrics, 3 repeats, actual CPU/RAM/cpuset/image, telemetry
compare 18 PASS: raw metrics, 3 repeats, actual CPU/RAM/cpuset/image, telemetry
control-pool 15 PASS: raw metrics, 3 repeats, actual CPU/RAM/cpuset/image, telemetry
control-cpus 12 PASS: raw metrics, 3 repeats, actual CPU/RAM/cpuset/image, telemetry
TOTAL 135 accepted samples; image IDs {'before': 'sha256:3cd2f31af1b025c67f7d28931936c6f80774bd15dfea7e469e35b79cd0454388', 'after': 'sha256:676dccadf49e62f96e2692b26a2ae47848b2a2dfbb53d8753abf1635abb2b00f', 'series-baseline': 'sha256:0956b82841efe88f334e84b878a3fd746513d06a474b82ae095e6433614fd24a'}
db_mb range 33.2 4597.3
messages range 53496.0 9695935.0
cpu_k6 range 6.77 79.0
cpu_other range 1.6 71.0
gap_s range 4.0 5.6
wall_s range 41.2 42.6
mem_api_mb range 155.4 474.4
failed_ratio range 0.0 0.00016
k6 measured requests: 8271783
evidence/track1-sqlalchemy/series-b/disturbed.csv disturbed attempts: 0
evidence/track1-sqlalchemy/compare/disturbed.csv disturbed attempts: 0
evidence/track1-sqlalchemy/control-pool/disturbed.csv disturbed attempts: 0
evidence/track1-sqlalchemy/control-cpus/disturbed.csv disturbed attempts: 0
evidence/track1-sqlalchemy/series-a/disturbed.csv disturbed attempts: 0

exit: 0

$ python3 /tmp/mtusi-lab3-track5-final-audit.py
PASS: protected paths unchanged; final API source matches measured image source; secrets not tracked/exposed by selected patterns
PASS: provenance headers, 12 PNG descriptions, k6 without setup_data, public/own-test logs, 12 detection and 3 load results
PASS: request counts match raw k6, exact unique histories, one migrate, report p95 matches CSV
PASS: own project stopped, both persistent volumes retained

exit: 0

$ git diff --check

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
109 files already formatted
.venv/bin/ty check src student-tests alembic
All checks passed!

exit: 0

After staged whitespace normalization: CRLF -> LF, CSV fields exactly equal; corrected repeat number in the methods prose.

$ python3 /tmp/mtusi-lab3-track5-audit.py
series-a 54 PASS: raw metrics, 3 repeats, actual CPU/RAM/cpuset/image, telemetry
series-b 36 PASS: raw metrics, 3 repeats, actual CPU/RAM/cpuset/image, telemetry
compare 18 PASS: raw metrics, 3 repeats, actual CPU/RAM/cpuset/image, telemetry
control-pool 15 PASS: raw metrics, 3 repeats, actual CPU/RAM/cpuset/image, telemetry
control-cpus 12 PASS: raw metrics, 3 repeats, actual CPU/RAM/cpuset/image, telemetry
TOTAL 135 accepted samples; image IDs {'before': 'sha256:3cd2f31af1b025c67f7d28931936c6f80774bd15dfea7e469e35b79cd0454388', 'after': 'sha256:676dccadf49e62f96e2692b26a2ae47848b2a2dfbb53d8753abf1635abb2b00f', 'series-baseline': 'sha256:0956b82841efe88f334e84b878a3fd746513d06a474b82ae095e6433614fd24a'}
db_mb range 33.2 4597.3
messages range 53496.0 9695935.0
cpu_k6 range 6.77 79.0
cpu_other range 1.6 71.0
gap_s range 4.0 5.6
wall_s range 41.2 42.6
mem_api_mb range 155.4 474.4
failed_ratio range 0.0 0.00016
k6 measured requests: 8271783
evidence/track1-sqlalchemy/series-b/disturbed.csv disturbed attempts: 0
evidence/track1-sqlalchemy/compare/disturbed.csv disturbed attempts: 0
evidence/track1-sqlalchemy/control-pool/disturbed.csv disturbed attempts: 0
evidence/track1-sqlalchemy/control-cpus/disturbed.csv disturbed attempts: 0
evidence/track1-sqlalchemy/series-a/disturbed.csv disturbed attempts: 0

exit: 0

$ python3 /tmp/mtusi-lab3-track5-final-audit.py
PASS: protected paths unchanged; final API source matches measured image source; secrets not tracked/exposed by selected patterns
PASS: provenance headers, 12 PNG descriptions, k6 without setup_data, public/own-test logs, 12 detection and 3 load results
PASS: request counts match raw k6, exact unique histories, one migrate, report p95 matches CSV
PASS: own project stopped, both persistent volumes retained

exit: 0

$ git diff --cached --check

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
109 files already formatted
.venv/bin/ty check src student-tests alembic
All checks passed!

exit: 0
