Repository navigation
Description
Problem
Open Pstack already carries effort in every provider-qualified descriptor, and the external runner already accepts low, medium, high, xhigh, and max. The supported setup path still fixes the frontier models to Fable=max, Sol=max, Grok=xhigh, and Opus=xhigh. That makes Fable unnecessarily expensive for operators who do not have upstream's token budget, and a manual claude:claude-fable-5@xhigh edit has no matching Claude-native agent today.
This is an Open Pstack adaptation only. Do not change Lauren Tan's Cursor pstack or its defaults.
Fable-reviewed direction
Fable returned Ship: keep the existing <provider>:<model>@<effort> sheet as the only runtime configuration and make rerunning setup-pstack the reconfiguration surface.
- Load the current parent-specific sheet before probing. Present one effort choice for each current frontier model, using the current choice when present and the upstream levels as first-run defaults.
- Allow
low,medium,high,xhigh, ormaxonly where the selected model/provider supports it. Probe the four exact selected model+effort pairs, not every possible pair. A failed selection must not replace the active sheet. - Expand each model's chosen effort into the existing fully qualified per-role descriptors. Do not add an effort-default block, runtime resolver, compatibility alias, daemon, or second source of truth.
- Treat mixed efforts for the same model in a manually edited sheet as inconsistent setup state and require normalization; do not invent precedence.
- Preserve same-provider-native routing. Codex continues to pass
reasoning_effortdynamically. External routes continue to use the existing generic runner. Claude Code maps each Claude descriptor to a plugin subagent whose frontmatter pins the selected model and effort. - Ship the finite Claude-native matrix:
pstack-fable-{low,medium,high,xhigh,max}andpstack-opus-{low,medium,high,xhigh,max}. Do not route non-default Claude-parent work through an external Claude CLI and do not generate mutable user-scoped agent files. - Keep Fable=max, Sol=max, Grok=xhigh, and Opus=xhigh as first-run defaults. A rerun may change any model; Eric's intended selection is Fable=xhigh.
Fable identified upstream-sync drift as the main risk: a later Cursor sync could silently restore hard-coded Fable=max or leave a descriptor without a native agent. Encode the configurable-effort behavior and complete native mapping in regression checks, and record this local adaptation in the provenance/change documentation used during upstream syncs.
Acceptance criteria
-
setup-pstackloads the current sheet before model probes and presents the current/default effort for each of the four frontier models. - The operator can select a supported effort independently for Fable, Sol, Grok, and Opus.
- Setup probes only the exact selected pairs and does not overwrite a working sheet when a selected pair is unavailable.
- The generated sheet retains the existing provider-qualified per-role descriptor format and uses one consistent effort per model.
- Running setup again with no changes produces identical sheet content; changing Fable from max to xhigh updates every Fable role and no unrelated assignment.
- Claude Code has a native agent for every supported Fable and Opus effort, and provider dispatch maps every Claude descriptor to the exact model/effort definition.
- Codex-native and all external routes pass the chosen effort exactly; no fallback or same-provider external route is introduced.
- The upstream frontier effort levels remain the first-run defaults and Lauren's upstream tree is unchanged.
- Static regression checks fail if configurable setup wording/validation disappears or any supported Claude model+effort pair lacks a matching native agent.
- The exact packaged candidate is installed and exercised from fresh Claude Code and Codex parents. Fable=xhigh is proven by native transcript evidence in Claude and external argv/receipt evidence in Codex.
- The reconfiguration smoke runs setup unchanged, then changes Fable effort, then reads back the active sheet and routing block in each harness.
- Bun tests, strict typecheck, static invariants, plugin validation, and exact-candidate installed behavior pass before merge or release.
Source refs
plugins/pstack/skills/setup-pstack/SKILL.md— rerun semantics and currently fixed descriptor choicesplugins/pstack/skills/poteto-mode/references/provider-dispatch.md— descriptor grammar and native route mappingplugins/pstack/skills/poteto-mode/scripts/runner/types.ts— existing five-level effort typeplugins/pstack/skills/poteto-mode/scripts/runner/commands.ts— exact provider effort argumentsplugins/pstack/agents/pstack-fable-max.mdplugins/pstack/agents/pstack-opus-xhigh.mdUPSTREAM.mdandCHANGES.md— local adaptation/provenance boundary- Claude Code model configuration: https://code.claude.com/docs/en/model-config
- Claude Code custom subagents: https://code.claude.com/docs/en/sub-agents
- Provider-routing foundation: open-pstack Bootstrap open-pstack 1.0.0 as the canonical cross-harness distribution #1 and source commit
053ed78732e3b71826933170eafe7f7782dda844
Activity
ericlitman commentedon Aug 25, 2026
Triage decision
Outcome: Ready. The problem is real, the existing descriptor sheet is the correct configuration boundary, and the work is implementable without another product decision. The acceptance criteria below replace the ambiguous proof claims in the issue body for implementation and review purposes; the issue body itself remains unchanged.
The lead adjudication keeps the explicitly requested scope: effort is independently configurable for Fable, Sol, Grok, and Opus. A Fable-only patch would leave the same hard-coded policy in three other model families and would not satisfy this issue.
Why this is still a real problem
setup-pstackis intentionally rerunnable and idempotent, but it currently hard-codes Fable=max, Sol=max, Grok=xhigh, and Opus=xhigh. It probes those fixed descriptors before it loads the active parent-specific sheet, so rerunning setup is not yet a reconfiguration surface.low|medium|high|xhigh|max; the external runner maps effort to Claude--effort, Codexmodel_reasoning_effort, and Grok--reasoning-effort; Codex-native dispatch is dynamic.pstack-fable-maxandpstack-opus-xhigh, while same-provider external execution is deliberately rejected. Selecting Fable=xhigh on a Claude parent therefore has no valid route today.Corrected scope
This issue owns:
This issue does not introduce a second configuration schema, runtime effort resolver, mutable user-scoped agents, compatibility aliases, a daemon, per-role effort selection, implicit timeouts, weaker-model fallback, or same-provider external execution. It does not change Lauren Tan's upstream defaults or tree.
Acceptance criteria
setup-pstackloads and parses the current parent-specific sheet before deciding which model+effort pairs to probe. On first run it uses Fable=max, Sol=max, Grok=xhigh, and Opus=xhigh.low,medium,high,xhigh, andmax; the current consistent value is the rerun default.model_reasoning_effort; external Sol, Grok, Fable, and Opus routes pass the selected effort through their existing provider-native flag/config path. No provider dropout is silently replaced by another model, effort, or route.low,medium, andhighin addition to the current high-end examples, asserting provider-specific argument/config construction without redesigning the runner.CHANGES.mdrecords configurable effort and preserved first-run defaults.NOTICE.mdrecords the local agent/mapping adaptation and its provenance boundary for later upstream syncs.bun install --frozen-lockfile, Bun tests, strict typecheck, manifest validation, static invariants, and the exact-candidate installed behavior all pass before merge or release.Evidence and risks
Provider capability boundary
nonefrom its shared five-level descriptor grammar.--reasoning-effort, and the runner already passes it, but this review did not find a published per-model support matrix. The exact selected-pair probe is therefore the availability gate.These facts resolve the review disagreement without blocking on a new product choice: the UI configures requested effort in the existing five-level domain, exact selected routes must probe successfully, and evidence must not overclaim hidden provider behavior.
Main implementation risks
CHANGES.mdandNOTICE.md.Verification targets
Repository checks:
Installed-candidate checks must use a fresh packaged install from the exact commit, not the source checkout. In each Claude Code and Codex harness, retain the before/after sheet and mirrored routing block, the exact provider probe result, and the resulting native transcript or external receipt. A head change invalidates earlier candidate evidence.
Source references
053ed78732e3b71826933170eafe7f7782dda844plugins/pstack/skills/setup-pstack/SKILL.mdplugins/pstack/skills/poteto-mode/references/provider-dispatch.mdplugins/pstack/skills/poteto-mode/scripts/runner/types.tsplugins/pstack/skills/poteto-mode/scripts/runner/commands.tsplugins/pstack/agents/pstack-fable-max.mdplugins/pstack/agents/pstack-opus-xhigh.mdtests/skill-collision-repro.shUPSTREAM.md,CHANGES.md, andNOTICE.mdTriage provenance
5251236888, node IDI_kwDOUCtHVM8AAAABOP-EGA, observedupdated_at=2026-08-25T22:19:32Z, normalized body SHA-256ba75e765b373d9a37e87af393b2842477ce5813378796945918c18b3acb98338.mainat4b62a7f; no implementation of Issue 15 was present. The unrelated untracked social-preview asset was left untouched.ISSUES / READY; SolISSUES / BLOCKED; GrokISSUES / READY; OpusISSUES / READY.No implementation was performed during triage.
feat(pstack): select requested effort per model family (#16)
feat(pstack): select requested effort per model family (#16)