Skip to content

chore: add Reeve merge gate policy - #394

Merged
devondragon merged 1 commit into
mainfrom
chore/reeve-onboarding
Nov 15, 2026
Merged

devondragon merged 1 commit into
mainfrom
chore/reeve-onboarding

Conversation

@devondragon

Copy link
Copy Markdown
Owner

Adds .reeve/policy.yml so Reeve's merge gate can classify and merge this repo's PRs. As a published library it has no auto tier: every PR needs at least a clean review. Agent config, CI, build and publishing files, the security, roles, and captcha packages, and the default library configuration are human (needs /reeve approve). New and major dependencies are human. Required checks: build, codeql.

Copilot AI balanced review requested due to automatic review settings November 15, 2026 00:53
@claude

claude Bot commented Nov 15, 2026

Copy link
Copy Markdown

Review: Reeve policy

Config-only PR (.reeve/policy.yml), no code or test impact.

Checked

  • The required check names build and codeql match the job IDs in .github/workflows/build.yml, so the gate won't wait on a check that never reports.
  • The human tier covers the sensitive areas: security/roles/captcha packages, META-INF, default config, build/publishing files, CI and agent config. Putting .reeve/** in human means a PR can't weaken its own gate, which is the right call.

Suggestions (non-blocking)

  1. Consider adding src/main/resources/db/** and any Flyway/Liquibase or schema resources, if they exist. db-scripts/** is covered, but migrations shipped in the jar would only be reviewed.
  2. Consider CONFIG.md and MIGRATION.md. They document the public contract, though reviewed is probably enough.
  3. The user/validation/** and user/service/SessionInvalidationService, LoginAttemptService code (the latter is in security/) are security-adjacent. PasswordPolicyService and UserService auth paths currently fall in reviewed. This is a judgment call.
  4. test_weakening raises to reviewed, which is already the default tier here. It's harmless but has no effect unless a path is later made auto.
  5. merge.method: merge is fine, but the repo's release flow generates a changelog, so check it doesn't rely on squash-style commit messages.

LGTM overall.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note

Copilot was unable to complete this review at the selected tier due to model policy or plan restrictions.

🔵 Needs a closer look

Because the change introduces a Reeve merge-gate policy that can alter merge automation and enforcement, it needs live-repo validation of the policy schema and required check context names against actual Reeve/GitHub behavior before it can be relied upon.

No open issues 🎉

What changed in this PR

Adds a Reeve merge-gate policy to classify PRs into reviewed vs human tiers and enforce required checks for merges.

Changes:

  • Introduces .reeve/policy.yml defining tiering rules (default reviewed) with path- and dependency-based escalation.
  • Configures merge gates and required/ignored checks (requires build and codeql).
  • Sets merge behavior (merge strategy, branch deletion, up-to-date requirement, and conflict handling).
  • Align the human tier paths with the stated intent by including the main Java auto-configuration entry points (or update the PR description if intentionally excluded).
File Description
.reeve/​policy.yml Adds the repository’s Reeve policy defining PR tier classification, merge gate requirements, merge behavior, and required CI checks.

Review effort: Balanced

@devondragon
devondragon merged commit 35283d2 into main Nov 15, 2026
5 checks 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.

2 participants