You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a04ef70
Browse filesBrowse the repository at this point in the historyBrowse files
fix: write CODEOWNERS annotations after glob-based sections
GitHub applies the last matching CODEOWNERS line, but the generator wrote
the file-annotation section first. A file that a team glob excludes via
unowned_globs and an annotation assigns to another team is valid, and
for-file resolves it to the annotated team, yet the broader team glob
came later in CODEOWNERS and won on GitHub (and in --from-codeowners
lookups).
Write the annotations section last. Resolution and validation keep their
existing mapper order; only the generated file changes.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
0 commit comments