Skip to content

fix(pstack): fall back when a role model is unavailable - #1274

Open
alvinhui wants to merge 2 commits into
cursor:mainfrom
alvinhui:fix/pstack-quota-fallback
Open

alvinhui wants to merge 2 commits into
cursor:mainfrom
alvinhui:fix/pstack-quota-fallback

Conversation

@alvinhui

Copy link
Copy Markdown

Summary

  • Role lines in pstack-models.mdc name specific model slugs. When that slug is not in the session's available list, or the Task tool rejects it, the old fallback stayed in the same vendor family or retried the skill default. Those defaults are also third-party models, so they fail together once the other-models quota is used up and only Cursor models remain.
  • Add a quota fallback line. /setup-pstack asks for it and recommends inherit-parent, so the subagent follows the parent chat model. A missing line means the same thing, so existing rules keep working without a rerun.
  • poteto-mode, arena, and swarm use that fallback after the same-family slug is also unavailable. They do not pass a skill default whose family is absent. An arena judge still cannot be inherit-parent or auto; that review is skipped and reported. A subagent that then fails because the model is out of quota is respawned once on the fallback.

Test plan

  • Run /setup-pstack and confirm it asks for a quota fallback, recommends inherit-parent, and writes that line without treating it as a retired role.
  • With a rule that has no quota fallback line, start a /poteto-mode task whose role slug is not in the session model list and confirm the subagent is spawned with model omitted.
  • Point arena runners at slugs that are not available and confirm seats follow the quota fallback instead of being dropped while a same-family slug still exists on the allowed list.
  • Confirm an arena cross-judge skips and says so when every pool entry and the quota fallback are inherit-parent or the parent's vendor.

Made with Cursor

xuwentao.59 and others added 2 commits November 18, 2026 17:42
Role lines name specific models. When those slugs are missing or rejected, the fallback stayed in the same third-party family or retried the skill default. Use a quota fallback, which follows the parent chat model unless the user pins another slug.

Co-authored-by: Cursor <cursoragent@cursor.com>
Keep Gemini 4 Neon as the panel default and the quota fallback for unavailable role models. Regenerate the Claude Code harness tree.

Co-authored-by: Cursor <cursoragent@cursor.com>
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