# CODEOWNERS for OpenConstructionERP
#
# See https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-security/managing-other-settings/about-code-owners
#
# Scope: legal, security, compliance, and CI release paths
# require explicit approval from the repository owner. The
# account @datadrivenconstruction is the formal owner; branch
# protection on main should require Code Owner review for any
# file matched here.

# Default owner for everything
*                                       @datadrivenconstruction

# Root-level legal and policy files
/LICENSE                                @datadrivenconstruction
/NOTICE                                 @datadrivenconstruction
/docs/legal/CLA.md                      @datadrivenconstruction
/docs/legal/COMMERCIAL-LICENSE.md       @datadrivenconstruction
/SECURITY.md                            @datadrivenconstruction
/docs/legal/PRIVACY.md                  @datadrivenconstruction
/docs/legal/TERMS.md                    @datadrivenconstruction
/docs/legal/COOKIES.md                  @datadrivenconstruction
/CODE_OF_CONDUCT.md                     @datadrivenconstruction
/CONTRIBUTING.md                        @datadrivenconstruction
/README.md                              @datadrivenconstruction
/docs/legal/PATENTS.md                  @datadrivenconstruction
/docs/legal/TRADEMARK.md                @datadrivenconstruction
/docs/legal/ACCESSIBILITY.md            @datadrivenconstruction
/docs/legal/THIRD_PARTY_LICENSES.md     @datadrivenconstruction

# Source trees
/backend/                               @datadrivenconstruction
/frontend/                              @datadrivenconstruction
/desktop/                               @datadrivenconstruction
/modules/                               @datadrivenconstruction

# GitHub configuration - workflows touch signing, release,
# and CLA enforcement, so gate them.
/.github/                               @datadrivenconstruction

# Infrastructure
/deploy/                                @datadrivenconstruction
docker-compose*.yml                     @datadrivenconstruction

# Compliance documentation (RoPA template, SOC 2 readiness, etc.)
/docs/compliance/                       @datadrivenconstruction

# Release signatures
/signatures/                            @datadrivenconstruction
