1# ============================================================================= 2# AI Software Factory — CODEOWNERS 3# 4# Teams below are PLACEHOLDER handles — replace them with your real GitHub 5# team/org usernames (e.g. @acme/factory-frontend) before merging to a 6# protected branch. Until then, PRs route to the repository owner. 7# 8# Rules are evaluated bottom-up; the LAST matching pattern wins. 9# ============================================================================= 10 11# Default: repo maintainers review everything. 12* @factory-maintainers 13 14# Documentation 15/docs/ @docs-team 16README.md @docs-team 17PRODUCT-SPEC.md @docs-team 18ARCHITECTURE.md @docs-team 19ROADMAP.md @docs-team 20AGENTS.md @docs-team 21 22# Front end (Next.js) 23/apps/web/ @frontend-team 24 25# Back end (NestJS API) 26/apps/api/ @backend-team 27 28# Background jobs (BullMQ worker) 29/apps/worker/ @backend-team 30 31# Realtime (WebSocket server) 32/apps/realtime/ @backend-team 33 34# Database schema — migrations are the contract; treat with care. 35/prisma/ @backend-team 36 37# Shared packages 38/packages/editor/ @frontend-team 39/packages/database-engine/ @backend-team 40/packages/permissions/ @backend-team 41/packages/auth/ @backend-team 42/packages/ui/ @frontend-team 43 44# Infrastructure: everything under infrastructure/ is platform-owned. 45/infrastructure/ @platform-team 46 47# CI/CD + repo-level automation 48/.github/ @platform-team 49 50# Test suites 51/tests/ @backend-team @frontend-team 52 53# Root tooling (package.json, turbo, tsconfig, eslint, prettier) 54/package.json @platform-team 55/turbo.json @platform-team 56/pnpm-workspace.yaml @platform-team 57/tsconfig.json @platform-team 58/.eslintrc.json @platform-team 59/.prettierrc.json @platform-team 60