Repository navigation
Accept the queue command from a Claude Code cloud session - #415
Conversation
A cloud session posts as the maintainer, but every comment it writes ends with a signature it cannot omit. The gate required the body to be exactly `/queue <sha>`, so on 2026-12-03 three requests the maintainer had asked that session to make were answered "Awaiting merge consent" until he retyped them. The command now also counts when followed by exactly that signature. Any other trailing text, an edited comment, another author or another commit is still refused. The maintainer asked for this. Co-Authored-By: Claude Mythos 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01NazrMMqBKWzYjLU4xFBcbz
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
/queue 70cacbb |
|
Not in line to merge yet: waiting for required checks on 70cacbb. CI completion updates this comment. |
|
#362 moves the parser and its tests to |
Asked for by the maintainer: let a Claude Code cloud session request a merge.
Why
A cloud session posts comments as
n0rpan, and every comment it writes ends with a signature it cannot leave out.auto-queue.shrequired the comment body to equal/queue <sha>exactly. On 2026-12-03 the session's requests on #394, #388 and #401 were answered "Awaiting merge consent" (example) until the maintainer retyped the same three lines.What changes
desktop/ci/auto-queue.shaccepts the command in an unedited comment by the maintainer when the body is either/queue <head sha>or that followed by exactly:Nothing else about admission changes: the exact head, the code and security reviews, resolved findings and the green scoped run are all still required.
What this does to the meaning of consent
Before, a matching comment meant the maintainer or a local agent holding his token typed it. Now a cloud session holding the same account can do it too. Anyone who could already post as
n0rpancould already post the bare command, so this adds no new principal. It does mean a cloud session can queue a pull request without the maintainer typing anything.Verified
python3 -m unittest discover -s desktop/ci -p 'test_*.py'passes. The new case uses the body exactly as GitHub returned it for the real comment above, and refuses: trailing text after the signature, text between command and signature, a different link in the signature, another commit, an edited comment, another author.bash -npasses;shellcheckreports only the notes it already reported.Not verified
AUTO_QUEUE_DRY_RUN=1, which AGENTS.md asks for before merging a change here. It calls GraphQL, which this session cannot reach. Please run it once from a local checkout:AUTO_QUEUE_DRY_RUN=1 MAINTAINER=n0rpan GITHUB_REPOSITORY=oxstack/ox desktop/ci/auto-queue.sh 394.main's copy, so this takes effect only after it merges. This pull request itself still needs the maintainer's own/queueline.Checked against
mainat 3732a47.Generated by Claude Code