Files
mtusi2026lab2/evidence/limits-violations.txt
T
ArtyomandClaude Opus 5.5 e722cb357d Record levels 3 and 4 again on the final code
Every level 3 and level 4 file in evidence was taken on e00eb6c, before
track 1 rewrote the message write into one statement under the chat
lock. The runs are repeated on a02d442: smoke, stack, storage, both
failovers (the second after one shifting request), persistence, hooks,
the lab 2 fault tests, limits and injected violations, 20 same-key races,
three detection runs, failover-each under k6 and both rolling updates.
All pass. checks.txt adds the real output of make check, make validate
and make lint, and student-tests.txt includes the new access order test.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V1d3RLHNBBMA6UqBLLJv27
2026-10-29 23:24:11 +03:00

21 lines
921 B
Plaintext

date: 2026-10-29T20:16:23Z commit: a02d442
# намеренные нарушения политики во временном override (не в репозитории):
# services:
# api:
# ports: ["8081:8080"]
# secrets: [database_url, cache_url, cursor_secret, postgres_password]
# valkey:
# container_name: lab3-valkey
# k6:
# deploy:
# resources:
# limits: {cpus: "0", memory: "0"}
$ COMPOSE_FILE=compose.yaml:violations.yaml python3 scripts/limits.py; echo exit=$? # строки FAIL/PASS
FAIL: api: secrets ['cache_url', 'cursor_secret', 'database_url', 'postgres_password'], policy ['cache_url', 'cursor_secret', 'database_url']
FAIL: api: publishes ['0.0.0.0:8081'] in bypass of the balancer
FAIL: api: publishes ['0.0.0.0:8081'] beyond loopback
FAIL: k6: no CPU or memory limit
FAIL: valkey: container_name prevents scaling
FAIL: 5 violation(s)
exit=1