org.projectfile.codeowners

Ordered entries mapping glob patterns to code owners for CODEOWNERS generation. Owner values are aliases from the top-level people array or “@org/team” strings. CODEOWNERS pattern resolution is last-match-wins per path, so order general rules before specific ones — the entries list is semantically ordered and reordering changes meaning. Consumed by the projectfile CLI CODEOWNERS bridge.

  • Namespace: org.projectfile.codeowners
  • Owner: projectfile.org (community-maintained)
  • Status: proposed

Illustrative fragment — not a complete projectfile document. Consumers MUST round-trip unknown namespaces even when no shape is published.

---# SPDX-FileCopyrightText: 2026 Damián Búho <damian.buho@proton.me>## SPDX-License-Identifier: CC-BY-4.0# SPDX-License-Identifier: MIT
# Shape: org.projectfile.codeowners extension namespace# Illustrative fragment — not a complete projectfile document.# See registry.yaml for ownership and status.## `entries` is an ORDERED list because CODEOWNERS semantics are last-match-wins# per path: reordering the entries changes meaning, so order general rules# before specific ones. owners values are aliases from the top-level people# array, or "@org/team" strings for GitHub/GitLab teams.
org:  projectfile:    codeowners:      entries:        - pattern: "*"  # REQUIRED  CODEOWNERS glob pattern          owners: [alice]  # REQUIRED  people aliases or "@org/team" strings        - pattern: "*.go"          owners: [alice, bob]        - pattern: "docs/"          owners: [carol]        - pattern: ".github/"          owners: [alice]

.onion.i2p