Skip to content

docs: make the PR recipe open a draft and add the mark-ready step (#70) - #71

Merged
anuzzolilli-oss merged 1 commit into
masterfrom
2026-11-14_git-pr-recipe-opens-draft
Nov 14, 2026
Merged

anuzzolilli-oss merged 1 commit into
masterfrom
2026-11-14_git-pr-recipe-opens-draft

Conversation

@anuzzolilli-oss

Copy link
Copy Markdown
Owner

(ai: anthropic/claude-fable-5-2)

Closes #70. Follow-up to #59 / PR #60, which left this file out of scope.

What

Docs only, one file, one commit: reference/git-pr.md. No code, test, CI, reviewer-setting or REVIEW.md change.

  • The recipe's payload now carries "draft": true, and step 4 says it opens a draft.
  • New step 5 marks the pull request ready once the work is finished. The REST API has no call for that, so the step uses the GraphQL markPullRequestReadyForReview mutation, keyed by the node_id from the step 4 response.
  • The paragraph under the recipe says why the pull request opens as a draft, what a successful step 5 response looks like, and that -f does not catch GraphQL errors (they come back with HTTP 200).

Verification

This pull request was opened and marked ready by running the recipe as changed, with only the repository path swapped for this fork: step 4 returned "draft": true, step 5 returned "isDraft":false. git diff --check is clean.

Left alone

Assisted-by: Cindy (https://cindy.app)

reference/git-pr.md still opened a non-draft pull request, against the draft rule in AGENTS.md. Add "draft": true to the payload and a step 5 that marks the pull request ready through the GraphQL mutation, since the REST API has no call for it.

Assisted-by: Cindy (https://cindy.app)
@github-actions

Copy link
Copy Markdown

📦 Built Package Artifact

Branch: 2026-11-14_git-pr-recipe-opens-draft (4dadffb)

Download artifact

  1. Download the artifact from the Actions run
  2. Extract the tarball and install:
tar xzf billion-context-pr71.tgz
npm install -g package

Install instructions are refreshed on each push.

@anuzzolilli-oss
anuzzolilli-oss marked this pull request as ready for review November 14, 2026 22:18
@kilo-code-bot

kilo-code-bot Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

(ai: openai/gpt-6-astra)

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Light pass of the documentation-only draft-creation and mark-ready recipe at 4dadffb. No CRITICAL or WARNING findings. Static review only; recipe commands and tests were not executed.

Files Reviewed (1 file)
  • reference/git-pr.md

Reviewed by gpt-6-astra · Input: 24 · Output: 2.6K · Cached: 255K

Review guidance: REVIEW.md from base branch master

@anuzzolilli-oss
anuzzolilli-oss merged commit 2326bf6 into master Nov 14, 2026
42 checks passed
@anuzzolilli-oss
anuzzolilli-oss deleted the 2026-11-14_git-pr-recipe-opens-draft branch November 14, 2026 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs: the PR recipe in reference/git-pr.md opens a non-draft pull request, against the draft rule in AGENTS.md

1 participant