Make storage and limits evidence reproducible from any clone

storage-evidence listed volumes by the name mtusi2026lab3, so a clone in
another directory recorded the volumes of the main stand; it now takes
the project name from docker compose config and filters by its label.
make limits wrote only the date, while every evidence file promises the
date and the commit in its first line; the commit is added.

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 23:12:55 +03:00
co-authored by Claude Opus 5.5
parent d4a3124a32
commit 0ce7d6ecf0
3 changed files with 7 additions and 5 deletions
@@ -3,12 +3,12 @@
- [x] 1.1 Тест порядка проверок `POST …/messages` для постороннего (`test_request_shape_is_checked_before_access`)
- [x] 1.2 Убрать `# type: ignore` из `shared/entrypoints/errors.py`
- [x] 1.3 `openspec/config.yaml`: `gunicorn_conf.py` в карте модулей
- [ ] 1.4 Проверка группы: `make lint`, `make student-test`, `make check`
- [x] 1.4 Проверка группы: `make lint`, `make student-test`, `make check`
## 2. Обвязка
- [ ] 2.1 `Makefile`: `BASE_URL` по порту `lb`, `API_IMAGE` по каталогу, `detection` трижды, `track1-control`
- [ ] 2.2 `scripts/evidence-storage.sh` — volumes своего проекта; `scripts/limits.py` — коммит в заголовке
- [x] 2.2 `scripts/evidence-storage.sh` — volumes своего проекта; `scripts/limits.py` — коммит в заголовке
- [ ] 2.3 `scripts/scaling.py` — полный stderr сбоя `compose up` в `compose-up-failed.log`
- [ ] 2.4 `scripts/failover-each.sh` — `docker ps -a` реплик после хука; `scripts/failover-evidence.sh` — `SHIFT`
- [ ] 2.5 Проверка группы: `make lint`, `make check`, `bash -n`/`sh -n` скриптов