**Motivations:**
- Unify project/branch and config path at start and end of each agent.
- Ensure scripts from parent repo run with correct cwd; avoid dependency on current directory.
**Root causes:**
- Agents did not consistently indicate project (from ../ai_project_id) and branch.
- Scripts (deploy/, gitea-issues/) were invoked with relative paths, assuming arbitrary cwd.
**Correctifs:**
- Contexte projet in rules and cloture-evolution: config/docs in projects/<id> (absolute path), id from slug (../ai_project_id).
- Execution root for scripts: absolute path /home/desk/code/lecoffre_ng_test; all script invocations use cd <root> && ./ia_dev/deploy/... or ./ia_dev/gitea-issues/...
**Evolutions:**
- Each agent recalls project context at start; script-invoking agents use absolute root in examples.
**Pages affectées:**
- .cursor/rules/rules.mdc, .cursor/rules/cloture-evolution.mdc
- .cursor/agents/*.md (evol, fix, fix-search, fix-lint, code, docupdate, push-by-script, deploy-by-script, branch-align-by-script-from-test, change-to-all-branches, gitea-issues-process)
**Etat initial:**
- gitea-issues/__pycache__/ was untracked; risk of committing generated Python bytecode.
**Motivation du changement:**
- Keep repository clean and avoid committing __pycache__.
**Résolution:**
- Added **/__pycache__/ to .gitignore.
**Root cause:**
- Python creates __pycache__ when running; no global ignore was set.
**Fonctionnalités impactées:**
- None.
**Code modifié:**
- .gitignore
**Documentation modifiée:**
- None.
**Configurations modifiées:**
- .gitignore
**Fichiers dans déploy modifiés:**
- None.
**Fichiers dans logs impactés:**
- None.
**Bases de données et autres sources modifiées:**
- None.
**Modifications hors projet:**
- None.
**fichiers dans .cursor/ modifiés:**
- None.
**fichiers dans .secrets/ modifiés:**
- None.
**nouvelle sous sous version dans VERSION:**
- N/A (no VERSION file in project).
**CHANGELOG.md mise à jour (oui/non):**
- Non.