| β¬ οΈ Back | π Docs Root |
We use a Scoped Branching Strategy combined with a 3-tier branch structure to ensure code stability and clear ownership in our monorepo.
Since this is a monorepo, every branch MUST indicate which part of the system it affects.
Format: type/scope/description
| Type | Description |
|:β|:β|
| feature | New functionality |
| fix | Bug fix |
| refactor | Code restructuring without behavior change |
| chore | Maintenance, dependency updates, config changes |
| docs | Documentation updates |
| test | Adding or fixing tests |
| Scope | Path | Description |
|:β|:β|:β|
| backend | src/backend-fastapi | Server-side logic |
| bot | src/telegram_bot | Telegram Bot |
| shared | src/shared | Shared code (DTOs, Utils) |
| infra | docker/, k8s/ | DevOps, Docker, CI/CD |
| docs | docs/ | Global documentation |
feature/bot/add-admin-menufix/backend/user-auth-errorchore/infra/update-docker-composedocs/shared/update-api-contractfeature/add-login (Missing scope)develop π οΈ (Development)feature/*) are merged here via Pull Request (PR).Ruff, Mypy). Database tests are not run for speed.main π§ͺ (Staging / Pre-Release)develop via PR.Pytest with DB) and Docker image build check.release π (Production)main via PR.main branch (controlled by GitHub Actions).develop: git checkout -b feature/bot/my-cool-feature develop..\check_local.ps1 (Windows) or pwsh (Linux/Mac).develop.develop -> main.main -> release.main.