# CODEOWNERS — auto-request review from the right people.
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
#
# Note: When the project grows, replace @rakeshdhote with team handles
# (e.g. @nsrtech/security-team) and create the teams in the GitHub org.

# Default: everything goes to the project maintainer
*                                           @rakeshdhote

# Security-critical paths (require maintainer sign-off)
crates/zenii-core/src/security/**        @rakeshdhote
crates/zenii-core/src/credential/**      @rakeshdhote
crates/zenii-core/src/db/**              @rakeshdhote
.github/**                                  @rakeshdhote

# AI providers and agent logic
crates/zenii-core/src/ai/**              @rakeshdhote

# Memory subsystem
crates/zenii-core/src/memory/**          @rakeshdhote

# Channels integration
crates/zenii-core/src/channels/**        @rakeshdhote

# Gateway (API surface)
crates/zenii-core/src/gateway/**         @rakeshdhote

# Frontend
web/**                                      @rakeshdhote

# Config and boot (affects all binaries)
crates/zenii-core/src/config/**          @rakeshdhote
crates/zenii-core/src/boot.rs            @rakeshdhote

# Docs and CI (lower risk)
docs/**                                     @rakeshdhote
*.md                                        @rakeshdhote
