# ============================================================================= # AI Software Factory — CODEOWNERS # # Teams below are PLACEHOLDER handles — replace them with your real GitHub # team/org usernames (e.g. @acme/factory-frontend) before merging to a # protected branch. Until then, PRs route to the repository owner. # # Rules are evaluated bottom-up; the LAST matching pattern wins. # ============================================================================= # Default: repo maintainers review everything. * @factory-maintainers # Documentation /docs/ @docs-team README.md @docs-team PRODUCT-SPEC.md @docs-team ARCHITECTURE.md @docs-team ROADMAP.md @docs-team AGENTS.md @docs-team # Front end (Next.js) /apps/web/ @frontend-team # Back end (NestJS API) /apps/api/ @backend-team # Background jobs (BullMQ worker) /apps/worker/ @backend-team # Realtime (WebSocket server) /apps/realtime/ @backend-team # Database schema — migrations are the contract; treat with care. /prisma/ @backend-team # Shared packages /packages/editor/ @frontend-team /packages/database-engine/ @backend-team /packages/permissions/ @backend-team /packages/auth/ @backend-team /packages/ui/ @frontend-team # Infrastructure: everything under infrastructure/ is platform-owned. /infrastructure/ @platform-team # CI/CD + repo-level automation /.github/ @platform-team # Test suites /tests/ @backend-team @frontend-team # Root tooling (package.json, turbo, tsconfig, eslint, prettier) /package.json @platform-team /turbo.json @platform-team /pnpm-workspace.yaml @platform-team /tsconfig.json @platform-team /.eslintrc.json @platform-team /.prettierrc.json @platform-team