Add architecture rules

This commit is contained in:
Gabriel Ramos 2026-06-08 09:48:05 -04:00
parent 0ceed473a1
commit ce46418660

View file

@ -0,0 +1,13 @@
# Architecture Rules
## Mandatory Workflow
MANDATORY WORKFLOW: You must always have the Caveman skill active. Prioritize terse outputs.
## Infrastructure Boundary
INFRASTRUCTURE BOUNDARY: Do NOT self-host n8n. The system will rely entirely on an external n8n instance. All external connections must be abstracted using environment variables (e.g., N8N_WEBHOOK_URL) and never hardcoded.
## Architectural Rule
ARCHITECTURAL RULE: Next.js must be treated purely as a presentation layer. Do not write backend API routes for business logic. n8n is the central orchestrator.
## Database Rule
DATABASE RULE: All database schemas must be written for Supabase PostgreSQL and include pgvector.