chore: add runtime configuration and deployment docs

This commit is contained in:
nyan404 committed 2026-08-16 15:15:57 +03:00
1 parent c86d077f9f
commit 4dab6e8624
13 files changed
+430 -13

No files matched your search

@@ -0,0 +1,51 @@
topology: single-module
change-set: belki-calculator
coordinator: /Users/nyan404/Documents/Git New/cwshed-clone
repos: /Users/nyan404/Documents/Git New/cwshed-clone
module-plans: this file
integration-task: T6
goal: Реализовать отдельный калькулятор белок, веб-форму, VK Long Poll adapter и k3s-ready контейнер.
spec: docs/staging/specs/2026-08-16-belki-calculator.md
- [x] T1: Расчётное ядро и строковые шаблоны
repository: /Users/nyan404/Documents/Git New/cwshed-clone
module: app/belki
files: app/belki/domain.py, app/belki/reports.py, tests/test_belki.py
acceptance: python -m unittest discover -s tests -v
spec: docs/staging/specs/2026-08-16-belki-calculator.md#calculation
- [x] T2: HTTP API и веб-форма
repository: /Users/nyan404/Documents/Git New/cwshed-clone
module: app/web
files: app/belki/api.py, app/main.py, web/calculator.html, tests/test_api.py
acceptance: python -m unittest discover -s tests -v и ручная проверка GET / и POST /api/calculate
spec: docs/staging/specs/2026-08-16-belki-calculator.md#web-contract
- [x] T3: VK Bots Long Poll adapter
repository: /Users/nyan404/Documents/Git New/cwshed-clone
module: app/vk
files: app/belki/vk_bot.py, tests/test_vk_bot.py
acceptance: python -m unittest discover -s tests -v; тесты покрывают пошаговый диалог, bulk-детекцию, уточнение и подтверждение и не используют реальный VK-токен
spec: docs/staging/specs/2026-08-16-belki-calculator.md#vk-contract
- [x] T4: Runtime packaging and CI
repository: /Users/nyan404/Documents/Git New/cwshed-clone
module: runtime
files: app/requirements.txt, Dockerfile, .dockerignore, .gitlab-ci.yml, Makefile, README.md, CHANGELOG.md
acceptance: docker build -t belki-calculator:test . и запуск контейнера с health endpoint
spec: docs/staging/specs/2026-08-16-belki-calculator.md#convention
- [ ] T5: k3s manifests and runtime documentation
repository: /Users/nyan404/Documents/Git New/cwshed-clone
module: deploy/k8s
files: deploy/k8s/namespace.yaml, deploy/k8s/app.yaml, structure_and_data.md, MEMORY.md, project_mind_map.md
acceptance: kubectl apply --dry-run=client -f deploy/k8s/ и проверка манифестов без секретных значений
spec: docs/staging/specs/2026-08-16-belki-calculator.md#vk-contract
- [ ] T6: Integration acceptance
repository: /Users/nyan404/Documents/Git New/cwshed-clone
module: workspace
files: current workspace revision set
acceptance: полный unittest, сборка контейнера, HTTP smoke и проверка k3s YAML; результат записан в документации
spec: docs/staging/specs/2026-08-16-belki-calculator.md#acceptance