šŸ”§ chore(github): Guard, not Alok's review, holds the release, mutation and lint rules

Merged
AT
6d ago
+39-53

Slice: #559

.github/CODEOWNERS goes, and niyam's shared Guard holds the files it named. Once this merges, Alok turns off "Require review from Code Owners" in main's ruleset (https://github.com/veda-hq/veda/rules/26838424), as athya_mono and athya-rules have it, and no veda pull request waits for his review.

  • .github/niyam.json lists "guard": agnipariksha.json, stryker/, packages/*/stryker.config.mjs, scripts/mutation-lanes.mjs, scripts/version-rule.mjs, README.md, eslint.config.js, eslint-suppressions.json, and the hook files agents leave alone (scripts/guards.sh, scripts/released-pins.mjs, .veda/records-baseline.json, .veda/required-settings.json). Alok made this edit himself, since agents do not change that file.
  • Guard at v0.7.19 reads "guard" from main's copy, so this pull request's own Guard run does not test the list. Each entry was checked against that release's guardPathsIn and named() instead: every one names itself as one path, folder or pattern, so the reader accepts it.
  • CLAUDE.md's "Merging", the comment over the Stryker-disable rule in eslint.config.js, and docs/lessons/stryker.md say Guard holds these files, not owner review.
  • No open veda pull request touches the new guard paths (checked 2026-11-24).

Waits for Alok once: this deletes .github/CODEOWNERS and edits eslint.config.js, both still code-owned on main, so it waits for his approving review this last time, then merges by itself.

Checks run locally: pnpm lint, pnpm test:scripts (302 passed) and pnpm guards passed. The full pnpm check did not pass: six packages/dvara supervisor tests timed out at 5 s with the machine under load, and the runs after them were killed. This change touches no package code; CI runs them again.

Approval: Alok's šŸ‘ on the proposal, https://github.com/veda-hq/veda/issues/559#issuecomment-7129885737.

niyam's side is veda-hq/niyam#578.

Guards: .github/CODEOWNERS, .github/niyam.json

šŸ¤– Generated with Claude Code


Summary by cubic

Moves the release, mutation, and lint rules from Alok's code-owner review to niyam's shared Guard, so no veda pull request waits for his review.

  • Deletes .github/CODEOWNERS and lists its files in "guard" in .github/niyam.json, along with the hook files agents leave alone; CLAUDE.md, docs/lessons/stryker.md, and the lint comment now say Guard holds them.
  • Guard reads the list from main's copy, so this PR's own Guard run doesn't test it; each entry was checked against Guard v0.7.19's guardPathsIn instead.
  • CODEOWNERS and eslint.config.js are still code-owned on main, so this PR waits for Alok's review this last time; once it merges, he turns off code-owner review in main's ruleset.
  • pnpm lint, test:scripts (302 passed), and pnpm guards pass locally; the full pnpm check failed only on six timing-out packages/dvara supervisor tests, untouched by this change.