# {{PROJECT_SHORT}}-app Code Owners
# This file defines who must review PRs for specific parts of the codebase

# Global fallback - ARCHitect-in-the-IDE (single developer setup)
* @{{AUTHOR_HANDLE}}

# Core configuration files - require architect review
/.env.template @{{AUTHOR_HANDLE}}
/config.ts @{{AUTHOR_HANDLE}}
/config/ @{{AUTHOR_HANDLE}}
/next.config.js @{{AUTHOR_HANDLE}}
/tailwind.config.js @{{AUTHOR_HANDLE}}
/tsconfig.json @{{AUTHOR_HANDLE}}

# Package management - require architect review
/package.json @{{AUTHOR_HANDLE}}
/yarn.lock @{{AUTHOR_HANDLE}}

# Database schema - require architect review
/prisma/ @{{AUTHOR_HANDLE}}

# Payment integration - require architect review (future: @payments-team)
/app/api/payments/ @{{AUTHOR_HANDLE}}
/lib/stripe/ @{{AUTHOR_HANDLE}}
/components/payments/ @{{AUTHOR_HANDLE}}

# Authentication - require architect review (future: @auth-team)
/app/api/auth/ @{{AUTHOR_HANDLE}}
/lib/auth/ @{{AUTHOR_HANDLE}}
/middleware.ts @{{AUTHOR_HANDLE}}

# API routes - require architect review (future: @backend-team)
/app/api/ @{{AUTHOR_HANDLE}}

# UI components - require architect review (future: @frontend-team)
/components/ @{{AUTHOR_HANDLE}}
/app/(dashboard)/ @{{AUTHOR_HANDLE}}
/app/(auth)/ @{{AUTHOR_HANDLE}}

# Utilities and shared code - require architect review
/lib/ @{{AUTHOR_HANDLE}}
/utils/ @{{AUTHOR_HANDLE}}

# CI/CD and deployment - require architect review
/.github/ @{{AUTHOR_HANDLE}}
/Dockerfile @{{AUTHOR_HANDLE}}
/docker-compose.yml @{{AUTHOR_HANDLE}}

# Documentation - require architect review for standards
/docs/ @{{AUTHOR_HANDLE}}
/specs/ @{{AUTHOR_HANDLE}}
README.md @{{AUTHOR_HANDLE}}

# Testing - require architect review for test infrastructure (future: @qa-team)
/__tests__/ @{{AUTHOR_HANDLE}}
/playwright.config.ts @{{AUTHOR_HANDLE}}
/jest.config.js @{{AUTHOR_HANDLE}}
