docs: add mandatory rules for package management and English-only policy to CLAUDE.md

This commit is contained in:
Daniel Bedeleanu
2026-04-11 14:34:38 +03:00
parent 45b0f8b35c
commit 1767b38373

View File

@@ -9,3 +9,14 @@ Before taking any action or writing code, you MUST read the following Single Sou
3. `dev_docs/SESSION_STATE.md` (Contains the current handover status from the previous AI). 3. `dev_docs/SESSION_STATE.md` (Contains the current handover status from the previous AI).
Do not proceed with any task until you have analyzed these three files. Do not proceed with any task until you have analyzed these three files.
## Mandatory Rules
1. **Package Management** — MANDATORY
- Any new package installed via `pip install` MUST be added to `backend/requirements.txt`
- Keep requirements.txt synchronized with actual installed packages
- Document version constraints (e.g., `slowapi>=0.1.9`)
2. **English Only** — MANDATORY
- All code, comments, docstrings, and commit messages must be in English
- Production files (code, docs) are English-only; only user-AI discussion may use Romanian