Repository navigation
feat: A goose recipe that reviews pull requests - #10
Merged
Merged
Conversation
- recipes/review-pr.yaml: checks out a pull request in its own worktree, runs verify and typecheck, reviews it against AGENTS.md and CONTRIBUTING.md (quotes, stages, sourced origin and dates, count sentences, confirmations, the page), and writes a report; never comments, merges or pushes - README: how to run it; "Works with goose" names both recipes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
What changed
A goose recipe that reviews a pull request to the map, so every change can be checked the same way:
It checks the pull request out in its own git worktree (the main checkout is untouched), runs
bun scripts/verify.tsandbunx tsc --noEmit, reviews the change against AGENTS.md and CONTRIBUTING.md, writes.cache/review-pr-<n>.md, and removes the worktree. It never comments, approves, merges or pushes.What it checks: quotes in their source files and copied as a reader sees them; titles no stronger than their quotes; stages only from the committee table; origin and dates only from a cited source; the count and date sentences CONTRIBUTING lists; for a confirmation, that the file names a project, the details match, and the
Verified by: @handle is the pull request's author; page changes not breaking keyboard or phones; docs matching the code.README: how to run it, and "Works with goose" now names both recipes.
Evidence: its first two runs (goose CLI 1.57.0)
Both runs: verify 128/128, typecheck clean, worktree and branch removed afterwards. Both correctly put the
bun.lockchange from Bun 1.3 down to goose's own environment, not the pull request.goose recipe validate: valid.Source
Not a link or stage change.
Verify
bun scripts/verify.ts: 128/128 passed
bun scripts/verify.tspassesbunx tsc --noEmitpassesbun.lockis unchanged🤖 Generated with Claude Code