Skip to content

feat(pstack): make poteto-mode's PR readiness configurable - #43

Merged
mstephenholl merged 2 commits into
mainfrom
feat/pr-readiness
Nov 13, 2026
Merged

mstephenholl merged 2 commits into
mainfrom
feat/pr-readiness

Conversation

@mstephenholl

@mstephenholl mstephenholl commented Nov 13, 2026 •

Copy link
Copy Markdown
Owner

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: draft line in ~/.agents/pstack-models.md now makes poteto-mode open drafts.

What changed

  • The Readiness section of opening-a-pr.md reads the pull requests line. A request in the task wins over the line, and a missing line means ready. multi-phase-plan, babysit, and shipping follow Readiness.
  • pstack configure takes --pull-requests ready|draft, writes the line, and keeps it on a rerun instead of dropping it as a retired line. setup-pstack asks for the value.

Scope

Tradeoffs

  • The setting is a line in the models file, not a new file. Every skill already reads the models file, and foreign seats is 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 requests line they behave as before. A rerun of pstack configure adds pull requests: ready to an existing models file.

Verification

  • python3 -m unittest discover -s pstack/port/tests passes 267 tests, including three new configure tests. check.py reports 0 problems.
  • I gave the new Readiness text to one Sonnet agent per case, with a stub gh that logs its arguments. A draft line produced gh pr create --draft. A ready line, and a "ready for review" request over a draft line, produced no --draft. The old text ignored a draft line.
  • git merge-tree of this branch with the upstream branch shows no conflict in the four playbooks.

t 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.
@mstephenholl
mstephenholl merged commit f07d73f into main Nov 13, 2026
11 checks passed
@mstephenholl
mstephenholl deleted the feat/pr-readiness branch November 13, 2026 21:30
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.

1 participant