Repository navigation
Closed
Labels
documentationImprovements or additions to documentation
Description
What is wrong
docs/autonomous-dev.md states facts about the merge path that no longer hold, and the merge itself now happens through a required merge queue, which the document says is not enabled.
Evidence (2026-10-18, Asia/Shanghai, role: maintainer-approved agent)
gh pr merge 217 --squash --match-head-commit bf1c4a3→! The merge strategy for main is set by the merge queue. A queue is enforced onmain, so a direct squash merge is rejected.- gh 2.73 has no
--merge-queueflag (gh pr merge --merge-queueprints usage).gh pr merge 217 --auto --squash --match-head-commit bf1c4a3enqueued it:! Pull request #217 is already queued to merge. - The queue ran
Testas amerge_groupevent ongh-readonly-queue/main/pr-217-40ddca97fb…: success. - It merged as
38c00b4(2026-10-17T17:07:48Z), and apushrun onmainfor38c00b40started and passed.
Why it matters
- The doc's facts table says
Rulesets: none at repo leveland the merge-plumbing section says "Nothing is enabled: with no merge queue it never fires". Both are wrong now; a later phase that trusts them will fail the same way this PR did. - The doc lists as unverified: "Does an auto-merge by
GITHUB_TOKENstart thepushworkflows? assume no". The queue path is now observed to start them (the agent's--autopath, merged by the queue, produced apushrun onmain). TheGITHUB_TOKEN-enabled auto-merge case is still untested and should stay marked unverified. - AGENTS.md step 6 and
.claude/skills/fix-issue/SKILL.mdtell agents to rungh pr merge --auto --squash --match-head-commit <sha>. That still works (it enqueues), but the doc should say the expected output is "already queued", that a direct--squashmerge is refused, and that the queue, not the agent, performs the merge. Without that, an agent reads the refusal as a failure and retries. - Queue entries run
Testonly (pull_request-only workflows such asrisk-tierand the newreview-gatedo not run onmerge_group). That is intended, but it should be stated next to the queue facts so nobody adds them to the required checks.
Where it sits
docs/autonomous-dev.md— "Merge plumbing" facts table and the queue paragraphAGENTS.mdstep 6,.claude/skills/fix-issue/SKILL.md"Merge and cleanup"- Possibly
LESSONS.md: "a directgh pr merge --squashon main is refused; the queue sets the strategy" (Seen 1×)
Out of scope
- Changing the queue or branch protection (maintainer decision).
- Re-testing the
GITHUB_TOKENauto-merge case; it needs a scratch base branch.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentation
Activity
fix(labels): strip status labels from closed issues and pull requests (…