šŸ”’ feat(guard): CODEOWNERS holds a change to the guard itself for Alok

Merged
AT
17d ago
+33-0

Slice: #309

Guard judges every change to niyam's checks against the slice's **Guards:** section, but it cannot tell whether a change to its own rules weakens them. This PR adds .github/CODEOWNERS, naming @AlokBansal8 for the guard's own files only:

  • /.github/workflows/guard.yml
  • /scripts/guard.mjs
  • /scripts/guard.test.mjs
  • /.github/CODEOWNERS

Nothing else gets an owner. README's Guard section and docs/decisions.md P-63 record it.

Owner step after merge: turn on "Require review from Code Owners" in the main ruleset's pull request rule (Settings → Rules → ruleset main). No niyam owner-step does this. Until it is on, CODEOWNERS only requests a review and does not hold the merge.

pnpm check passes locally.

šŸ¤– Generated with Claude Code


Summary by cubic

Adds .github/CODEOWNERS so changes to the guard's own files wait for @AlokBansal8's approval, since the Guard check cannot judge whether a change to its rules weakens them.

  • Owners apply only to guard.yml, scripts/guard.mjs, scripts/guard.test.mjs, and CODEOWNERS itself; no other file gets an owner.
  • After merge, Alok must turn on "Require review from Code Owners" in the main ruleset's pull request rule; until then CODEOWNERS only requests a review and does not block the merge.