forked from mtusi2026/mtusi2026lab3
Bring the Claude Code settings, the lint hook, the opsx commands and skills, the architecture notes, the lab 1 and lab 2 specs and the archived lab 1 and lab 2 changes into the lab 3 skeleton, so lab 3 continues the same spec history instead of starting from scratch. Rewrite AGENTS.md and the openspec context and rules for lab 3: HAProxy in front of several stateless API replicas, X-Instance-Id on every response, a mandatory Idempotency-Key for messages shared by all replicas through PostgreSQL, explicit stop-one and restart hooks, Out of scope moved to labs 4-7 plus Swarm and HA storage, and rules on retry policy, timeout chains and replica-local state. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1.2 KiB
1.2 KiB
REMOVED Requirements
Requirement: Повторяемая методика измерения
Reason: Трек «5» лабы 1 измерял предел хранения в памяти одного процесса; с лабы 2 этого хранения нет.
Migration: Повторяемая методика трека «5» лабы 2 — lab2-query-plan-recovery (вводится третьим изменением).
Requirement: Наблюдаемый предел хранения в памяти
Reason: Сообщения больше не хранятся в памяти процесса API, RSS не растёт с историей. Migration: Стоимость хранения измеряется размером таблиц и индексов PostgreSQL в треке «5» лабы 2.
Requirement: Узкое место названо и подтверждено изменением
Reason: Требование относилось к эксперименту in-memory архитектуры лабы 1. Migration: Сравнение вариантов индексов и запросов «до/после» — в треке «5» лабы 2.