feat: initial project structure

- CLAUDE.md project passport
- Agent system prompts (architect, developer, reviewer, tester, deployer)
- Gitea Actions CI pipeline (lint, test, build)
- Docker configuration (Dockerfile, docker-compose.yml)
- Canonical directory structure per BRD
- Makefile with dev/test/lint/build/deploy targets
- Architecture docs skeleton

Refs: multi-agent F0-3, F0-5, F0-6, F0-8
This commit is contained in:
2026-05-15 13:30:14 +03:00
parent 9c4e50c609
commit 5d7fda44bb
30 changed files with 416 additions and 0 deletions

8
docs/README.md Normal file
View File

@@ -0,0 +1,8 @@
# Документация Enduro Trails
## Навигация
- [architecture/](./architecture/) — архитектура, ADR, диаграммы
- [work-items/](./work-items/) — артефакты по задачам
- [design/](./design/) — дизайн-токены, компоненты
- [operations/](./operations/) — runbook, мониторинг
- [api/](./api/) — OpenAPI спецификация

0
docs/api/.gitkeep Normal file
View File

View File

@@ -0,0 +1,21 @@
# Архитектура Enduro Trails
## Обзор
Веб-приложение для планирования эндуро-маршрутов с визуализацией рельефа.
## Компоненты
- **Frontend** — MapLibre GL JS, vanilla JS (ES modules)
- **Backend API** — FastAPI (Python 3.12), uvicorn
- **Tile Server** — статические raster tiles (PNG), раздаются через FastAPI/nginx
- **Routing Engine** — OSRM с кастомным эндуро-профилем
- **Database** — SQLite + Spatialite (точки интереса, маршруты)
## Слои карты
- Base map (OpenStreetMap)
- Hillshade (рельеф с тенями)
- TRI (Terrain Ruggedness Index — сложность рельефа)
- Hypsometric (высотная раскраска)
- Trails (маршруты из OSM)
## Деплой
Один Docker Compose на mva154. Nginx проксирует /enduro/ на контейнер.

View File

@@ -0,0 +1,6 @@
# Architecture Decision Records
Индекс ADR проекта enduro-trails.
| # | Решение | Статус | Дата |
|---|---------|--------|------|

0
docs/design/.gitkeep Normal file
View File

0
docs/operations/.gitkeep Normal file
View File

0
docs/work-items/.gitkeep Normal file
View File