Repository navigation
docs(agents): add PR, CI, and branch hygiene rules - #257
Conversation
Codify lessons from the 0.50.0 merge campaign: merge main instead of force-pushing, green CI on the exact head, no cancelling main CI, a one-rerun limit for flaky specs, the known conflict hotspots (test chain, protocol revision, vendored advisor sources), and stacked-PR base branches that GitHub closes when deleted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GAkZRgQzUoKWGpgupF3a4D
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes This review covers the PR-hygiene guidance and its supporting merge-campaign note.
- Agent workflow rules
AGENTS.mddocuments shared branch updates, local testing, exact-head CI, flaky-test handling, conflict hotspots, stacked PR safety, and safe branch/worktree deletion. - Incident context
.memory/ci-merge-hygiene-20260926.mdrecords the merge/release campaign lessons and remaining owner-side follow-ups.
GPT Luna | 𝕏
Hermes Review BotConfidence: 5 Engine: SummaryAdds a dedicated "Pull requests, CI, and branches" policy section to Confidence Score: 5/5All referenced file paths, conflict hotspots ( 📁 Important Files Changed
FindingsNo findings. 📊 Sequence DiagramUnchanged or not applicable for this change. Machine-Readable Findings[]
|

Adds a Pull requests, CI, and branches section to
AGENTS.md, based on what went wrong during the 0.50.0 merge and release campaign. It also adds a.memory/note recording the lessons and the owner-side follow-ups that aren't done yet.New agent rules:
origin/main. No rebase or force-push once a PR exists.main.--fail-on-flaky-tests.package.jsontestchainpackages/clidelete_branch_on_mergeis now enabled on the repo, so GitHub retargets stacked PRs automatically when their base branch is deleted on merge.Docs only; no code or tests change.
🤖 Generated with Claude Code