cursorrules
01Cursor rule Cursor
Do NOT invent repository facts. Before editing, run: npm run knowledge:context -- --task=" " and read .ai/local/current-context.md.
Cursor rule Cursor
Do NOT invent repository facts. Before editing, run: npm run knowledge:context -- --task=" " and read .ai/local/current-context.md.
Instructions file CodexOpenCode
Instructions for ihabkhaled/ClawAI, covering clawai — agent entrypoint (canonical router), repository identity, canonical authority (higher wins on conflict), first command (before touching code) and where things live.
Instructions file
Instructions for ihabkhaled/ClawAI, covering clawai — root policy, identity, authority hierarchy (higher wins on conflict), first command, always and work arriving as a document.
Instructions file Gemini CLI
Instructions for ihabkhaled/ClawAI, covering clawai — gemini router, identity, canonical authority (higher wins), first command (always) and validation (touched folders only).
Agent
Role — a11y and inclusive-UX lens for the Next.js frontend.
Agent
Role — Keeper of the multi-agent instruction surface: CLAUDE.md, CODEX.md, cursor.md, rules/, and skills/.
Agent
Role — Guardian of the request/response contract between frontend and backend, and its routing through nginx.
Agent
Role — Specialist for identity: login, sessions, JWT, and refresh-token rotation in claw-auth-service and the shared auth layer.
Agent
Role — Specialist for access control: RBAC, per-resource ownership, plan feature gates, and Insecure Direct Object Reference (IDOR) defense.
Agent
Role — Owner of NestJS layering and module design across all 17 services.
Agent
Role — Line-level quality gate for NestJS service code.
Agent
Role — Owner of schema quality and data-access discipline (Prisma on PostgreSQL per service; Mongoose on MongoDB for audit/client-logs/server-logs).
Agent
Role — Keeper of the docs/ tree and the human-facing narrative of the system.
Agent
Role — Owner of the Next.js (App Router) architecture in apps/claw-frontend/.
Agent
Role — Line-level quality gate for Next.js/React code.
Agent
Role — Localization gate for all user-facing text across 9 locales (en, ar, de, es, fr, hi, it, pt, ru — Arabic is RTL).
Agent
Role — Owner of the deployment surface: Docker compose, nginx, env vars, CI, and cross-service wiring.
Agent
Role — Custodian of the AI-native knowledge tooling under tools/knowledge/ and its generated artifacts.
Agent
Role — Enforcer of service ownership and the seams between the 17 services.
Agent
Role — Specialist for Prisma migrations and data backfills.
Agent
Role — Guardian of the npm-workspace topology: 17 NestJS services + the Next.js frontend + 6 shared packages, and the dependency direction between them.
Agent
Role — Enforcer of structured logging, audit trails, and request correlation across services.
Agent
Role — Efficiency lens for hot paths, queries, payloads, and rendering.
Agent
Role — Owner of the async event contract on the claw.events topic exchange (durable, DLQ + 3 retries with backoff).