Carry over the agent context and openspec history from lab 5

Bring the Claude Code settings, the lint hook, the opsx commands and
skills, the architecture notes, the lab 1 to lab 5 specs and the
archived lab 1 to lab 5 changes into the lab 6 skeleton, so lab 6
continues the same spec history instead of starting from scratch. The
files come from the lab 5 solution commit 64d5c67.

Rewrite AGENTS.md and the openspec context and rules for lab 6: the
business API stays at contract 1.6.0, API, relay and worker start the
OpenTelemetry SDK in every process after fork and export OTLP over HTTP
to a separate Collector, Prometheus, Loki and Tempo store metrics, logs
and traces on volumes, Grafana only reads them through provisioning
kept in Git, telemetry never blocks a request and never feeds
/health/ready, metric labels stay low-cardinality and message bodies
and secrets never leave the process. Out of scope moves to lab 7,
track 2 and clustered telemetry backends.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Artyom
2026-10-29 03:46:20 +03:00
co-authored by Claude Opus 5.5
parent 470d9d6f1e
commit a0d3947710
122 changed files with 9442 additions and 0 deletions
@@ -0,0 +1,16 @@
## 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.