Finalize the lab 3 report against recorded evidence

Rerun the clean clone pass on the final commit in its own compose project:
secrets, config, up with migrations on empty volumes, readiness, smoke,
replica spread and same key races, failover, persistence, repeated
migrations, down keeping volumes and reset-data removing them. Record the
student tests by name and the limits policy on the final code.

Check every figure of the report against evidence files and fix the ones
that drifted: data set sizes, the share of the chat lock statement, the
WAL waits, the aborted series, the disturbed steps, the restart timing
and the image ID of the rolling update. State which commit each evidence
file was taken on, answer the defense questions, index evidence/ and
bring AGENTS.md and the openspec context up to date for lab 3.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V1d3RLHNBBMA6UqBLLJv27
This commit is contained in:
Artyom
2026-10-29 03:13:24 +03:00
co-authored by Claude Opus 5.5
parent e88673dfec
commit e425a9d236
7 changed files with 709 additions and 169 deletions
+4
View File
@@ -63,6 +63,10 @@ context: |
допустимы как ограничение целостности, но SQL одной зоны не читает таблицы другой.
Реплика не держит состояния, от которого зависит корректность: PostgreSQL — источник истины
для всего, включая сессии и ключи идемпотентности; Valkey — только общий кэш сессий.
Отправка сообщения (после трека 1) — одна команда SQL адаптера `PostgresMessageLog` за портом
`MessageLog`: блокировка строки чата, членство, отметка времени, квитанция ключа и сообщение
фиксируются вместе; агрегат `Chat` в записи не участвует, эти правила держат SQL и
интеграционные тесты.
## Источники норм
- `contracts/README.md` — нормативная семантика API, включая «Балансировка и повторная отправка».