Repository navigation
docs(contributing): §Getting Merged points at AGENTS.md for who lands a PR - #1813
Merged
zhuangjianguo merged 1 commit intoSep 9, 2026
Merged
Conversation
… a PR "At least one approval required" described nothing in force. Measured twice: PR #1795 merged with zero reviews of any kind, and the active `main` ruleset (id 12187346) carries a `pull_request` rule whose `required_approving_review_count` is 0. The bullet is replaced by a pointer to `AGENTS.md` §How a green PR lands, the section #1798 landed as the single answer to who may land a PR and when — the same "state the rule, link the runbook" shape §Publishing already uses for `docs/RELEASE_STRATEGY.md`. The CI, no-conflict and squash bullets are unchanged and all three remain true. No branch-protection change: the ruling refused that option rather than deferring it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017FzrA1G4U89KEMf7wfLmqq
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
zhuangjianguo
marked this pull request as ready for review
September 9, 2026 12:20
This was referenced Sep 9, 2026
This was referenced Sep 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1797
Description
CONTRIBUTING.md§Getting Merged listed "At least one approval required" as the first of four merge conditions. It described nothing in force, and it was the second — and human-facing — answer to the question #1798 had just settled inAGENTS.md.Ruling: decision batch #99 (
issuecomment-5587165996), option C — replace the approval bullet with a pointer toAGENTS.md§How a green PR lands. Keep the CI, no-conflict and squash bullets. No branch-protection change (option D was refused, not deferred). No other file.Type of Change
Related Issues
Fixes #1797
Context, not closed by this PR: #1742 (the landing-posture ruling) and its PR #1798 (which landed the
AGENTS.mdsection this now points at); PR #1795 (the zero-review measurement).Changes Made
CONTRIBUTING.md§Getting Merged — the approval bullet becomes a pointer toAGENTS.md§How a green PR lands. The other three bullets are byte-identical..changeset/contributing-getting-merged-points-at-agents-md.md— empty frontmatter, the sanctioned "releases nothing" declaration.The claim being removed, measured twice
The ruling recorded a confidence gap: no seat has been able to read this repo's actual branch protection (REST 403'd for the R57 session, verified with a control). That gap is now closed. This container can read it, through the rulesets API rather than the legacy branch-protection API:
GET /repos/objectstack-ai/hotcrm/branches/main/protectionResource not accessible by integration— the legacy API, still unreadableGET /repos/objectstack-ai/hotcrm/rulesetsand/rulesets/12187346GET /repos/objectstack-ai/hotcrm/rules/branches/mainRuleset
main(id 12187346,enforcement: active,~DEFAULT_BRANCH) carries apull_requestrule with:So approvals are not required by configuration, not merely absent in practice. The removed sentence contradicted the repo's own settings. This confirms the ruling rather than disturbing it — C stands, and A was never needed.
The behavioural half re-verified: PR #1795 has zero reviews of any kind and merged 5m40s after creation.
Wording: the landed text, not the ruling's paraphrase
The ruling wrote its sentence before
AGENTS.md§How a green PR lands existed inmain. Per Zone 3, the landed text wins. Two deviations from the ruling's literal sentence, both declared:skippedcheck (Check Changesetunderskip-changeset) and a check that never ran because a path filter excluded it (link-checkon a diff carrying no Markdown) are not failures. "Green" would have re-introduced the looseness that section was written to remove.AGENTS.mdis a markdown link, not bare code span. The local precedent named in the ruling — §Publishing →docs/RELEASE_STRATEGY.md— writes it asdocs/RELEASE_STRATEGY.md, a real link. Following the precedent. The link has no#fragment:AGENTS.mdis a governed file under active edit (.github/instructions/metadata.mdteachesreference_to:(an unrecognized key — the spec prescribesreference) and anObjectSchemaimport/export shape the repo never uses #1686), nothing in this repo checks anchors in root.mdfiles, and a rotted anchor would fail silently.AGENTS.mdis cited and not edited — it is a governed path and belongs to #1686 this round.A falsified dispatch assumption: this repo does have a merge queue
The dispatch order states "This repo has no merge queue." That is false, on both readings:
merge_queuerule —merge_method: SQUASH,grouping_strategy: ALLGREEN,min_entries_to_merge_wait_minutes: 5.ready_for_review12:06:40Z,added_to_merge_queue12:06:45Z,merged12:07:02Z,removed_from_merge_queuebygithub-merge-queue[bot].This changes nothing in the file —
AGENTS.md§How a green PR lands does not mention a queue either, and writing one in would be scope this card does not have. It is reported for the seat, and it also explains PR #1795's 5m40s: the queue's own 5-minute wait.Branch will be squash-mergedstays true — the queue merges withSQUASH.Testing
pnpm verify— see the gates table in the terminal reportChecklist
### How a green PR landsinmainAdditional Notes
Landing:
CONTRIBUTING.mdis not in the governed set (AGENTS.md,CLAUDE.md,.claude/**,.github/instructions/**), so once every check has finished with none failed this goes ready plus auto-merge, per the section it now points at.🤖 Generated with Claude Code
https://claude.ai/code/session_017FzrA1G4U89KEMf7wfLmqq
Generated by Claude Code