Skip to content

State the solo-maintainer authorization for principle 09 - #4

Merged
sergioazoc merged 2 commits into
mainfrom
docs/solo-maintainer-authorization
Sep 23, 2026
Merged

sergioazoc merged 2 commits into
mainfrom
docs/solo-maintainer-authorization

Conversation

@sergioazoc

Copy link
Copy Markdown
Owner

Summary

The main ruleset required one approving review from a Code Owner. The repo has one maintainer, the agent opens pull requests with that same account, and GitHub never counts an author's own approval, so the requirement could only be bypassed, never met.

  • Ruleset (changed in GitHub settings, not in the tree). main protection now requires a pull request and the Lint, typecheck, build, deploy check, and blocks force pushes and deletions. Required approvals are 0 and Code Owner review is off.
  • Docs. The root AGENTS.md, REVIEW.md, and the comment in verification-surface.test.ts now state the actual authorization: the maintainer's merge. Since the agent uses the maintainer's account, the merge layer does not separate the two; against the agent, the edit-time deny rules in .claude/settings.json are what act.

Before merging

  • Edit the .github/CODEOWNERS header by hand. It still says the ruleset requires Code Owner review, and it is under the principle-09 deny rules, so the agent does not edit it.

Test plan

Generated with Claude Code

https://claude.ai/code/session_01GEVZ7EuuDgvN3ULSo6qiVF

The main ruleset required one approving review from a Code Owner. The repo has
one maintainer, the agent opens pull requests with that account, and GitHub
never counts an author's own approval, so the review could only be bypassed,
never given. The ruleset now requires a pull request and the CI check, and
blocks force pushes and deletions, with no approval.

AGENTS.md, REVIEW.md, and the verification-surface test comment now say so: the
maintainer's merge is the authorization, and against the agent the edit-time
deny rules are what act.

Claude-Session: https://claude.ai/code/session_01GEVZ7EuuDgvN3ULSo6qiVF
@sergioazoc
sergioazoc merged commit d8e490e into main Sep 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant