Repository navigation
feat(pstack): make poteto-mode's PR readiness configurable - #43
Merged
Merged
Conversation
added 2 commits
November 13, 2026 14:16
poteto-mode opened every PR ready. A `pull requests: draft` line in the models file now makes it open drafts, and a request in the task overrides the line for that task. A missing line keeps the old behavior. The playbook text matches the change proposed to cursor/plugins, so a later upstream sync merges it without conflict. setup-pstack asks for the value and passes --pull-requests to pstack configure.
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.
Why
You can now choose whether a poteto-mode run ends with a draft PR or a ready one. The Opening a PR playbook opened every PR ready, and no setting changed that. A
pull requests: draftline in~/.agents/pstack-models.mdnow makes poteto-mode open drafts.What changed
opening-a-pr.mdreads thepull requestsline. A request in the task wins over the line, and a missing line means ready.multi-phase-plan,babysit, andshippingfollow Readiness.pstack configuretakes--pull-requests ready|draft, writes the line, and keeps it on a rerun instead of dropping it as a retired line.setup-pstackasks for the value.Scope
draft.origin pr create --helpinstead.Tradeoffs
foreign seatsis already a line there that is not a role.Blast Radius
Runs that open, babysit, or ship PRs read the new text, and without a
pull requestsline they behave as before. A rerun ofpstack configureaddspull requests: readyto an existing models file.Verification
python3 -m unittest discover -s pstack/port/testspasses 267 tests, including three newconfiguretests.check.pyreports 0 problems.ghthat logs its arguments. Adraftline producedgh pr create --draft. Areadyline, and a "ready for review" request over adraftline, produced no--draft. The old text ignored adraftline.git merge-treeof this branch with the upstream branch shows no conflict in the four playbooks.