Add a github-issue workflow that reads a linked issue and lands a peer-reviewed fix - #375
Merged
Merged
Conversation
The task memo is a link to a GitHub issue. GithubIssue subclasses GithubForgeWorkflow — the same collapsed PLANNING → ITERATING → MERGING → COMPLETE graph as github-self-reviewed (the user self-reviews the fix and approves it by advancing out of ITERATING), specialised for issue-fixing: - PLANNING reads the issue (new `read-issue` skill: `gh issue view`, note the number so the PR closes it) and gates a new `issue-understood` responsibility forcing the plan to cover the problem, root cause, reproduction/confirmation, fix approach, and tests. - ITERATING opens a fresh PR (inherited `open-pr`) whose body closes the issue, so `url-recorded` stays in ITERATING (unlike github-dependabot, whose PR URL is a known input). MERGING is unchanged. Registered by discovery automatically; re-exported from the workflows package and added to the default-wiring assertion. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Model GithubIssue on GithubPeerReviewed rather than GithubSelfReviewed: a peer reviews the PR (the REVIEW state, `pr-reviewed`) before it reaches the merge queue. The issue-specific parts are unchanged — the `read-issue` skill and the `issue-understood` PLANNING responsibility, and `url-recorded` stays in ITERATING (the PR is opened there). Graph is now PLANNING → ITERATING → REVIEW → MERGING → COMPLETE. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
tildesrc
marked this pull request as ready for review
August 13, 2026 19:47
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.
Adds a new built-in workflow,
github-issue, whose task memo is a link to a GitHub issue. The workflow reads that issue, plans and implements a fix, opens a PR that closes it, and lands it after a peer review.Design
GithubIssuesubclassesGithubForgeWorkflow, so it inherits the forge plumbing (ghtool, image layer,open-pr/babysit-ci/babysit-merge). It's a near-twin ofgithub-peer-reviewed— the fullPLANNING → ITERATING → REVIEW → MERGING → COMPLETEgraph with a peer-review gate — specialised the waygithub-dependabotspecialises for an input-URL memo:read-issueskill (gh issue view <url> --comments, reading the URL from the task memo, and noting the issue number so the PR later closes it). It gates a new module-levelissue-understoodresponsibility that forces theplan.mdto engage with the issue on five axes: the reported problem, the root cause, how the fix is reproduced/confirmed, the fix approach, and the tests that prove it.open-pr) whose body closes the issue (Closes #<n>). Because the PR URL is produced here (not a known input like Dependabot's),url-recordedstays in ITERATING — the same 7 responsibilities asgithub-peer-reviewed.pr-reviewed) before the merge queue.The three inherited forge skills are reused verbatim; only
read-issueis added on top.Scope
Pure workflow addition — no
core/taskservice/sessionservicechanges and no migrations. Discovery auto-registers the dropped-in module; it's also re-exported from the workflows package and added to the default-wiring assertion.🤖 Generated with Claude Code