# CODEOWNERS — review routing for the agent pipeline.
#
# REPLACE @varutasu below with your actual GitHub handle (or a team
# handle like @org/team-name) before merging this file. Until you do, GitHub
# will show "unknown owner" warnings on PRs but won't block them.
#
# Pattern: high-risk paths require explicit human review; others are advisory.

# Global default — every PR notifies these reviewers
*                                              @varutasu

# High-risk: schema, migrations, auth, money — require review
prisma/schema.prisma                           @varutasu
prisma/migrations/**                           @varutasu
auth.ts                                        @varutasu
lib/auth-options.ts                            @varutasu
lib/auth/**                                    @varutasu
middleware.ts                                  @varutasu
lib/flags/**                                   @varutasu

# CI / infra — require review
.github/workflows/**                           @varutasu
cloudbuild*.yaml                               @varutasu
Dockerfile*                                    @varutasu
next.config.*                                  @varutasu

# Agent context — owner should approve changes here so the pipeline stays consistent
.cursor/agents/**                              @varutasu
.cursor/rules/**                               @varutasu
AGENTS.md                                      @varutasu
