Skip to content

docs(agents): require PR-based merges#1463

Merged
christso merged 1 commit into
mainfrom
docs/pr-merge-policy
Jun 21, 2026
Merged

docs(agents): require PR-based merges#1463
christso merged 1 commit into
mainfrom
docs/pr-merge-policy

Conversation

@christso

Copy link
Copy Markdown
Collaborator

Summary

Clarifies that every change reaching main must go through a GitHub PR, not a local/direct merge. It also documents that large or high-risk PRs need meaningful commits on the PR branch, with force-with-lease limited to PR branch cleanup before review.

Changes

  • Adds top-level AGENTS.md rules for PR-required merges and meaningful large-PR commit history.
  • Updates .agents/workflow.md to ban local main staging merges, direct main pushes, and main force-pushes.
  • Documents safe PR-branch history cleanup with git push --force-with-lease.

Testing

  • Docs-only change.
  • Ran git diff --check.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying agentv with  Cloudflare Pages  Cloudflare Pages

Latest commit: e53a310
Status: ✅  Deploy successful!
Preview URL: https://2af194be.agentv.pages.dev
Branch Preview URL: https://docs-pr-merge-policy.agentv.pages.dev

View logs

@christso christso merged commit a4e5665 into main Jun 21, 2026
8 checks passed
@christso christso deleted the docs/pr-merge-policy branch June 21, 2026 07:57
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