music-orchestrator/CONTRIBUTING.md
Kisskin-Mister 8d8076bd3f
Some checks failed
CI / backend (push) Failing after 1m53s
feat: initial backend-first music orchestrator MVP
2026-07-10 10:02:23 +03:00

20 lines
783 B
Markdown

# Contributing
## Development
1. Create a virtual environment.
2. Install dev dependencies: `pip install -e '.[dev]'`.
3. Copy `.env.example` to `.env` for local-only settings.
4. Run tests: `pytest -q`.
5. Run lint: `ruff check .`.
## Rules
- Keep provider adapters capability-driven.
- Do not add risky extraction/download/cache behavior unless it is explicitly gated, disabled by default, documented, and tested.
- Do not commit secrets, cookies, local domains, tokens, or real credentials.
- Add tests for auth, validation, policy, favorites/playlists, jobs, and search merge behavior when touching those areas.
## API compatibility
The frontend contract is the OpenAPI schema at `/openapi.json`. Schema-affecting changes must update `docs/API.en.md` and `docs/API.ru.md`.