Skip to content

pstack: per-role model configuration via /setup-pstack#121

Merged
poteto merged 2 commits into
cursor:mainfrom
poteto:pstack/model-config
Jun 6, 2026
Merged

pstack: per-role model configuration via /setup-pstack#121
poteto merged 2 commits into
cursor:mainfrom
poteto:pstack/model-config

Conversation

@poteto
Copy link
Copy Markdown
Collaborator

@poteto poteto commented Jun 6, 2026

Makes pstack's model choices configurable per role instead of hardcoded, so the plugin fits each user's model access rather than assuming a fixed set.

  • New /setup-pstack skill. Detects your available models and writes ~/.cursor/rules/pstack-models.mdc, an always-applied rule with one line per role. Re-runnable and idempotent.
  • poteto-mode gains a Model configuration section with the default table and precedence. Every skill reads its configured model and falls back to the inline default when the rule is absent, so it works with zero setup.
  • Review panels (arena, architect, interrogate, how critics) are config-driven and count-agnostic. One subagent runs per configured model, with no fixed count or A/B/C/D labels.
  • Dropped gpt-5.3-codex-high-fast. bug-fix and perf-issue default to gpt-5.5-high-fast; feature and refactoring stay composer-2.5-fast.
  • Version bump to 0.8.0.

Note

Low Risk
Changes are limited to plugin docs/skills and a user-local Cursor rule template; no application runtime or shared infra behavior changes.

Overview
Adds /setup-pstack so users can map pstack roles (feature work, judgment, arena/architect/interrogate panels, etc.) to models they actually have access to. The skill detects available Task model slugs, confirms choices, and writes ~/.cursor/rules/pstack-models.mdc as an always-applied override; skills keep inline defaults when a line is missing.

Across poteto-mode, playbooks, and workflow skills (how, why, arena, architect, interrogate, reflect), hardcoded model tables are replaced with configured role + default fallback wording. Multi-model review flows are count-agnostic (one subagent per configured model, no fixed A/B/C/D roster). gpt-5.3-codex-high-fast is dropped from defaults; bug-fix and perf-issue default to gpt-5.5-high-fast. Plugin version 0.8.0 and README document the new skill.

Reviewed by Cursor Bugbot for commit be280e7. Bugbot is set up for automated code reviews on this repo. Configure here.

Makes pstack's model choices configurable per role instead of hardcoded.

- New /setup-pstack skill detects your available models and writes
  ~/.cursor/rules/pstack-models.mdc, an always-applied rule with one
  line per role.
- poteto-mode gains a Model configuration section (default table and
  precedence). Skills read the configured model per role and fall back
  to the inline default when the rule is absent, so nothing breaks
  with no setup.
- Review panels (arena, architect, interrogate, how critics) are now
  config-driven and count-agnostic. One subagent runs per configured
  model, with no fixed count or A/B/C/D labels.
- Dropped gpt-5.3-codex-high-fast. bug-fix and perf-issue default to
  gpt-5.5-high-fast; feature and refactoring stay composer-2.5-fast.

Version bump to 0.8.0.
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using high effort and found 2 potential issues.

Fix All in Cursor

Bugbot Autofix is ON, but it could not run because the branch was deleted or merged before autofix could start.

Reviewed by Cursor Bugbot for commit df0b177. Configure here.

Run the **arena** skill with the design-sketch task and the Phase A grounding artifacts. Pass `references/runner-prompt.md` as each runner's prompt. Each candidate produces a design package shaped per `references/rationale-template.md`: the caller's usage written first, then the type sketch, function signatures, module map, and prose rationale derived from it.

Use these runner slugs: `claude-opus-4-8-thinking-xhigh`, `gpt-5.3-codex-high-fast`, `gpt-5.5-high-fast`, and `composer-2.5-fast`.
Use your configured architect runners (defaults `claude-opus-4-8-thinking-xhigh`, `gpt-5.5-high-fast`, `composer-2.5-fast`).
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Architect arena runner mismatch

Medium Severity · Logic Bug

Phase B tells agents to use configured architect runners, but it invokes arena, whose Frame step picks configured arena runners instead. After /setup-pstack, those roles can differ, so design sketches may fan out with the wrong models despite the architect override.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit df0b177. Configure here.

reflect judgment, divergent, synthesizer: claude-opus-4-8-thinking-xhigh
arena runners: claude-opus-4-8-thinking-xhigh, gpt-5.5-high-fast, composer-2.5-fast
architect runners: claude-opus-4-8-thinking-xhigh, gpt-5.5-high-fast, composer-2.5-fast
interrogate reviewers: claude-opus-4-8-thinking-xhigh, gpt-5.5-high-fast, composer-2.5-fast
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Empty panel disables review

Medium Severity · Logic Bug

Panel roles now spawn one subagent per configured model, but setup-pstack never requires a non-empty list and skills only fall back when a role line is absent. A present line with no models yields zero reviewers or critics, so flows like interrogate can complete with no adversarial input.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit df0b177. Configure here.

Drop the Model configuration section and table from poteto-mode. The
canonical defaults live in the setup-pstack rule shape, and each skill
already carries its inline default, so poteto-mode only needs a one-line
pointer in its Task defaults. Fixes the plan.md and setup-pstack
back-references to the removed section.
@poteto poteto merged commit 6605d7a into cursor:main Jun 6, 2026
2 checks passed
@poteto poteto deleted the pstack/model-config branch June 6, 2026 08:25
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