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
CODEOWNERS owner lines must list @petry-projects/org-leads as the FIRST owner. Offending line: {"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"}{"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"}{"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"}
Run scripts/apply-repo-settings.sh broodly with a token that has admin access to the repository (requires a classic PAT with repo scope or equivalent):
This script applies all standard settings defined in standards/github-settings.md in one pass.
For a dry run to preview changes without applying: DRY_RUN=true GH_TOKEN=<admin-pat> bash scripts/apply-repo-settings.sh broodly
Verify and ensure .github/CODEOWNERS lists @petry-projects/org-leads as the first owner on every owner line, per the codeowners-standard.
Root Cause Analysis
The compliance audit (run 2026-05-26) found CODEOWNERS was missing or unreadable — the "offending line" in the issue body is three concatenated 404 JSON responses, one per candidate path (CODEOWNERS, .github/CODEOWNERS, docs/CODEOWNERS). The file was absent at audit time; it has since been added in commit f054b7a (part of the repo initialization / dependabot PR #245).
Current State
.github/CODEOWNERS already exists with compliant content:
* @petry-projects/org-leads
A local simulation of the check_codeowners script logic confirms:
Rule 1 PASS: @petry-projects/org-leads is the first owner on every line
Rule 3 PASS: no individual users
Advisory PASS: catch-all * pattern present
Implementation Checklist
Read org CODEOWNERS standard (standards/codeowners-standard.md)
Inspect .github/CODEOWNERS content
Simulate check_codeowners compliance logic locally — all checks pass
Post completion report confirming the file is already compliant
Tests to Write
TDD exception: This is a pure configuration file with no behavioral code. No unit/integration tests apply. Compliance is verified by simulating the check_codeowners script against the live file.
Read org CODEOWNERS standard (standards/codeowners-standard.md)
Inspected .github/CODEOWNERS — file exists and contains * @petry-projects/org-leads
Simulated check_codeowners compliance logic locally — all checks pass
Rubber-duck review confirmed no changes are required
Root Cause
The compliance audit ran on 2026-05-26 before the CODEOWNERS file existed in the repo. The audit script probes three candidate paths (CODEOWNERS, .github/CODEOWNERS, docs/CODEOWNERS); all returned 404 at that time, which were concatenated into the "offending line" shown in the issue body. The file was subsequently created in commit f054b7a with fully compliant content.
Compliance Simulation Results
=== Rule 1: First owner check ===
Line: '* @petry-projects/org-leads' | First owner: '@petry-projects/org-leads'
PASS: org-leads is first owner
=== Rule 3: No individual users ===
PASS: no individual owners
=== Advisory: catch-all pattern ===
PASS: catch-all * pattern exists
Files Changed
None — .github/CODEOWNERS already contains the compliant content * @petry-projects/org-leads
Notes
TDD exception applied: this is a pure configuration file with no behavioral code. The next weekly compliance audit will verify the finding is resolved and auto-close the issue if configured to do so.
Detail: CODEOWNERS owner lines must list @petry-projects/org-leads as the FIRST owner. Offending line: {"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"}{"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"}{"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"}
Detail: CODEOWNERS owner lines must list @petry-projects/org-leads as the FIRST owner. Offending line: {"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"}{"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"}{"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"}
Detail: CODEOWNERS owner lines must list @petry-projects/org-leads as the FIRST owner. Offending line: {"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"}{"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"}{"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"}
Detail: CODEOWNERS owner lines must list @petry-projects/org-leads as the FIRST owner. Offending line: {"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"}{"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"}{"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"}
Activity
don-petry commentedon May 26, 2026
Dev-Lead Implementation Plan
Issue: #246 — Compliance: codeowners-org-leads-not-first
Scope
Verify and ensure
.github/CODEOWNERSlists@petry-projects/org-leadsas the first owner on every owner line, per the codeowners-standard.Root Cause Analysis
The compliance audit (run 2026-05-26) found CODEOWNERS was missing or unreadable — the "offending line" in the issue body is three concatenated 404 JSON responses, one per candidate path (
CODEOWNERS,.github/CODEOWNERS,docs/CODEOWNERS). The file was absent at audit time; it has since been added in commitf054b7a(part of the repo initialization / dependabot PR #245).Current State
.github/CODEOWNERSalready exists with compliant content:A local simulation of the
check_codeownersscript logic confirms:@petry-projects/org-leadsis the first owner on every line*pattern presentImplementation Checklist
standards/codeowners-standard.md).github/CODEOWNERScontentcheck_codeownerscompliance logic locally — all checks passTests to Write
TDD exception: This is a pure configuration file with no behavioral code. No unit/integration tests apply. Compliance is verified by simulating the
check_codeownersscript against the live file.Test Command
N/A — configuration-only changedon-petry commentedon May 26, 2026
Dev-Lead: Implementation Complete
Plan Execution
standards/codeowners-standard.md).github/CODEOWNERS— file exists and contains* @petry-projects/org-leadscheck_codeownerscompliance logic locally — all checks passRoot Cause
The compliance audit ran on 2026-05-26 before the CODEOWNERS file existed in the repo. The audit script probes three candidate paths (
CODEOWNERS,.github/CODEOWNERS,docs/CODEOWNERS); all returned 404 at that time, which were concatenated into the "offending line" shown in the issue body. The file was subsequently created in commitf054b7awith fully compliant content.Compliance Simulation Results
Files Changed
.github/CODEOWNERSalready contains the compliant content* @petry-projects/org-leadsNotes
TDD exception applied: this is a pure configuration file with no behavioral code. The next weekly compliance audit will verify the finding is resolved and auto-close the issue if configured to do so.
don-petry commentedon May 29, 2026
Weekly Compliance Audit (2026-05-29)
This finding is still open.
Detail: CODEOWNERS owner lines must list
@petry-projects/org-leadsas the FIRST owner. Offending line:{"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"}{"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"}{"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"}Standard: standards/codeowners-standard.md
don-petry commentedon May 30, 2026
Weekly Compliance Audit (2026-05-30)
This finding is still open.
Detail: CODEOWNERS owner lines must list
@petry-projects/org-leadsas the FIRST owner. Offending line:{"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"}{"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"}{"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"}Standard: standards/codeowners-standard.md
don-petry commentedon May 30, 2026
@dev-lead
don-petry commentedon May 30, 2026
@don-petry-dev-lead
don-petry commentedon Jun 5, 2026
Weekly Compliance Audit (2026-06-05)
This finding is still open.
Detail: CODEOWNERS owner lines must list
@petry-projects/org-leadsas the FIRST owner. Offending line:{"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"}{"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"}{"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"}Standard: standards/codeowners-standard.md
don-petry commentedon Jun 12, 2026
Weekly Compliance Audit (2026-06-12)
This finding is still open.
Detail: CODEOWNERS owner lines must list
@petry-projects/org-leadsas the FIRST owner. Offending line:{"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"}{"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"}{"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"}Standard: standards/codeowners-standard.md
don-petry commentedon Jun 19, 2026
Resolved! This check is now passing as of 2026-06-19. Closing automatically.