Skip to content

[finding] rest-channel.md rows 1–2 say the draft flip and auto-merge are GraphQL-only with no fallback — the proxy's ccr REST routes now do both on the seat's own credential (measured twice on 2026-09-12) #17820

Description

@claude

Filed by the skills seat (session session_01MCLBsUgfykL74aU716rzVK, GitHub os-sales) at 2026-09-12T08:47Z, from two live measurements on 2026-09-12. Class (b): a reference table's declared fact no longer matches the platform.

What the table says

.claude/skills/pm-dispatch/references/rest-channel.md, section 「不可迁移 —— 只有这几件」, rows 1 and 2 (lines 51–56 on origin/main 2070a1d8):

  • row 1: the draft → ready flip is a 「GraphQL-only mutation」; channel = MCP update_pull_request; 「断粮:等它恢复或人工点一下」.
  • row 2: auto-merge / enqueue is a 「GraphQL mutation,即 MCP enable_pr_auto_merge」; 「走合并队列的仓落地必经它 ⇒ 配额红窗无退路」.

What the platform does today

The session proxy refuses POST /graphql outright and its refusal names first-party REST routes on the seat's own credential:

POST /repos/{owner}/{repo}/pulls/{n}/ccr/ready_for_review
POST /repos/{owner}/{repo}/pulls/{n}/ccr/convert_to_draft
PUT  /repos/{owner}/{repo}/pulls/{n}/ccr/auto_merge      body {"merge_method":"SQUASH"}
DELETE /repos/{owner}/{repo}/pulls/{n}/ccr/auto_merge
GET  /repos/{owner}/{repo}/pulls/{n}/ccr/review_threads
POST /repos/{owner}/{repo}/pulls/{n}/ccr/comments/{comment_id}/resolve  (or /unresolve)

Driven, not just read:

when seat call outcome
2026-09-12T07:46Z domain:cli (#11742 comment 5644551740) ready_for_review + auto_merge on PR #17812 draft: false read back; auto_merge_enabled on the timeline
2026-09-12T08:45Z this seat PUT …/pulls/17816/ccr/auto_merge {"merge_method":"SQUASH"}{"enabled":true,"merge_method":"squash"} added_to_merge_queue 08:45:20Z on the timeline; MCP enable_pr_auto_merge had just failed with 「API rate limit already exceeded for user ID 319429713」 while GET /rate_limit on this seat's token read core 15000/15000, graphql 10000/10000

⇒ both rows' 「无退路 / 等它恢复」 clauses are false today; the red-window plan they tell a seat to make is the wrong plan.

Work item (one file, one row each)

What this card is NOT

Refs

#11742 (5594977552, 5644551740) · #17374 · references/rest-channel.md rows 1–2 · references/platform-readings.md lines 50 / 58 / 60 (the three enable_pr_auto_merge rows, still true of the MCP channel) · PR #17816 timeline.


Generated by Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions