Skip to content

chore: add agent rules for merging and review comments - #2961

Merged
chaliy merged 2 commits into
mainfrom
claude/project-thread-grt124
Nov 20, 2026
Merged

chaliy merged 2 commits into
mainfrom
claude/project-thread-grt124

Conversation

@chaliy

@chaliy chaliy commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Михайло · project thread

What changed

Three rules for coding agents, binding even with green CI and when asked to review, watch or ship:

  • Never merge external contributions (PRs from non-maintainers or forks). Agents may review, comment and approve fork CI runs when asked, then report; a maintainer merges by hand.
  • Never merge with unaddressed review comments. Every comment, from people or bots, is fixed, answered on its thread, or deferred by a maintainer. Outdated threads must actually be settled by the change.
  • Never auto-reply to human-written comments. Agents reply on their own only to bots; a person's comment goes to the maintainer with a suggested answer.

New knowledge concept knowledge/operations/agent-pr-rules.md (linked from the operations index, maintenance references and the log), plus the rules in AGENTS.md and the ship skill's merge steps.

Why

An agent squash-merged external PR #2959 on green CI without an explicit go-ahead, with a review-bot finding (stale time_compat docs) still unaddressed.

Before / After

Docs and agent instructions only; no code behavior change. scripts/check_okf.py knowledge: OKF v0.2 conformant (48 concepts).

Risk

  • Low
  • Docs and agent instructions only.

Checklist

  • Tests added or updated (OKF check passes)
  • Backward compatibility considered

Generated by Claude Code

Agents may review, comment and approve fork CI runs when asked, then
report; a maintainer merges external PRs by hand.
@chaliy chaliy self-assigned this Nov 20, 2026
Agents must not merge while any review comment is unaddressed and must
not reply on their own to human-written comments.
@chaliy chaliy changed the title chore: prohibit agents from merging external contributions chore: add agent rules for merging and review comments Nov 20, 2026
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
bashkit 929ed5f Commit Preview URL

Branch Preview URL
Nov 20 2026, 08:46 PM

@chaliy
chaliy merged commit fc536cb into main Nov 20, 2026
38 checks passed
@chaliy
chaliy deleted the claude/project-thread-grt124 branch November 20, 2026 21:44
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