AI Crew Rules — four-layer architecture, open-source-first gate, and multi-AI task ledger. Apply when starting a new project or feature, writing code in this repo, or coordinating more than one AI tool on the same codebase.
Blueprint — behavioral guidelines for coding agents. Use when writing, reviewing, or refactoring code to ensure accuracy, simplicity, and surgical changes.
Security considerations
The architecture follows the principle of separation of concerns, with a React frontend, Node.js backend, and MongoDB for data persistence. I have included Mermaid diagrams to illustrate
patterns
- **`django/`** - Django framework conventions
- **`observability/`** - Logging and error tracking
- **`ai/`** - AI development patterns
- **`frontend/`** - Frontend frameworks and tools
Each `.mdc` file is self-contained and works independently.
## How Rules
gestion des secrets pour adresser les vulnérabilités potentielles.
### B. Stack Technique Obligatoire
- **Frontend** : React 18+ avec TypeScript, Vite comme build tool
- **Backend/BaaS** : Supabase (PostgreSQL, Auth, Storage, Edge Functions)
- **Orchestration
Engineering Starter
## Project Overview
This is a full-stack AI engineering project with Next.js frontend, FastAPI backend, and containerized services.
## Architecture Constraints
- Frontend: Next.js 15.5.4 with App Router (NOT Pages