Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"name": "pstack",
"source": "./plugins/pstack",
"description": "Cursor pstack for T3 Code: poteto-mode, principles, and the verified agent workflows, adapted to T3 orchestration for Claude and Codex.",
"version": "0.15.2",
"version": "0.16.0",
"author": {
"name": "Lauren Tan (pstack), pmwoz (T3 Code port)"
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "t3-pstack",
"version": "0.15.2",
"version": "0.16.0",
"private": true,
"type": "module",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions pins.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"upstream": {
"repo": "cursor/plugins",
"commit": "e1cc03121a0e71129a4fb730d7c5528a0a3e43c8",
"version": "0.15.43",
"commit": "e58dd043600587dbaf58ba315e7f2b38373eeb43",
"version": "0.15.44",
"map": {
"pstack/skills": "skills",
"pstack/agents": "agents",
Expand Down
2 changes: 1 addition & 1 deletion plugins/pstack/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "pstack",
"displayName": "pstack",
"version": "0.15.2",
"version": "0.16.0",
"description": "Cursor pstack for T3 Code: poteto-mode, principles, and the verified agent workflows, adapted to T3 orchestration for Claude and Codex.",
"author": {
"name": "Lauren Tan (pstack), pmwoz (T3 Code port)"
Expand Down
2 changes: 1 addition & 1 deletion plugins/pstack/.codex-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pstack",
"version": "0.15.2",
"version": "0.16.0",
"description": "Cursor pstack for T3 Code: poteto-mode, principles, and the verified agent workflows, adapted to T3 orchestration for Claude and Codex.",
"author": {
"name": "Lauren Tan (pstack), pmwoz (T3 Code port)"
Expand Down
2 changes: 1 addition & 1 deletion plugins/pstack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ two steps:

new here? the [pstack guide](./docs/guide/README.md) walks you through a first real task, from setup and prompting through verification and overnight runs. stuck, or unsure which skill fits? ask [`/poteto-help`](./skills/poteto-help/SKILL.md).

that's it. the other skills are situational, and the mode skill uses them for you as needed. out of the box, code delegates (feature, refactoring, bug fix, perf, hillclimb), prose, and judgment go to opus 5.5 at xhigh, and no role runs above xhigh. outside a review panel, fable 5.2 runs only when you name it or after two opus 5.5 runs of the same brief fail. the default panel is fable 5.2 / opus 5.5 / gemini 4 carbon. [`/setup-pstack`](./skills/setup-pstack/SKILL.md) changes any of it.
that's it. the other skills are situational, and the mode skill uses them for you as needed. out of the box, code delegates (feature, refactoring, bug fix, perf, hillclimb), prose, and judgment go to opus 5.5 at xhigh, and no role runs above xhigh. outside a review panel, fable 5.2 runs only when you name it or after two opus 5.5 runs of the same brief fail. the default panel is fable 5.2 / opus 5.5 / gemini 4 neon. [`/setup-pstack`](./skills/setup-pstack/SKILL.md) changes any of it.

## usage

Expand Down
4 changes: 2 additions & 2 deletions plugins/pstack/skills/arena/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Every candidate gets the same prompt, so the prompt is the contract.

1. State the artifact each candidate is producing.
2. Derive the rubric, 3-6 concrete gradeable criteria for what success looks like on *this* task. It is the picker's tool in Phase D. Candidates only see the task.
3. Pick the runners from the `arena runners` line in `~/.cursor/rules/pstack-models.mdc`, by default `claude-fable-5-2-high`, `claude-opus-5-5-high-fast`, and `gemini-4-carbon-high`. An `auto` or `inherit-parent` entry is the parent model, so omit `model` and spawn `generalPurpose`. If the Task tool rejects a slug, use the nearest valid slug of the same family or drop the seat, keep at least two runners, and say so. Families go by prefix, and the longest match wins: `claude-fable-*`, `claude-*`, and `gemini-*`, after dropping a leading `cursor-`. Any other slug's family is its text before the first hyphen. Spawn more for multiple design directions, and repeat one model when the work is generation-bound, not judgment-sensitive. Pick each subagent's reasoning level per the Subagents section of the **poteto-mode** skill.
3. Pick the runners from the `arena runners` line in `~/.cursor/rules/pstack-models.mdc`, by default `claude-fable-5-2-high`, `claude-opus-5-5-high-fast`, and `gemini-4-neon-high`. An `auto` or `inherit-parent` entry is the parent model, so omit `model` and spawn `generalPurpose`. If the Task tool rejects a slug, use the nearest valid slug of the same family or drop the seat, keep at least two runners, and say so. Families go by prefix, and the longest match wins: `claude-fable-*`, `claude-*`, and `gemini-*`, after dropping a leading `cursor-`. Any other slug's family is its text before the first hyphen. Spawn more for multiple design directions, and repeat one model when the work is generation-bound, not judgment-sensitive. Pick each subagent's reasoning level per the Subagents section of the **poteto-mode** skill.
4. Give each candidate its own output location (a git worktree where possible, otherwise `/tmp/arena-<slug>/candidate-<n>/`), per the **separate-before-serializing-shared-state** principle skill.

## Phase B: Fan out
Expand All @@ -25,7 +25,7 @@ If a candidate produces no output, proceed with N-1 and note the dropout.

## Phase C: Cross-judge

After all Phase B candidates complete, spawn one readonly judge from the `arena cross-judge pool` line in `~/.cursor/rules/pstack-models.mdc`, by default `claude-opus-5-5-high-fast`, `gemini-4-carbon-high`. The judge is never from the parent's vendor, and Fable counts as Claude for that check, so use the first entry from another vendor. An `auto` or `inherit-parent` entry is the parent model. If you do not know the parent's model, use the first real slug and say that the vendor check did not run. If the Task tool rejects a slug, use the nearest valid slug of the same family, then the next such entry, or skip the judge, and say so. While you read in Phase D, the judge scores each candidate, by path label, on each rubric criterion and recommends a base.
After all Phase B candidates complete, spawn one readonly judge from the `arena cross-judge pool` line in `~/.cursor/rules/pstack-models.mdc`, by default `claude-opus-5-5-high-fast`, `gemini-4-neon-high`. The judge is never from the parent's vendor, and Fable counts as Claude for that check, so use the first entry from another vendor. An `auto` or `inherit-parent` entry is the parent model. If you do not know the parent's model, use the first real slug and say that the vendor check did not run. If the Task tool rejects a slug, use the nearest valid slug of the same family, then the next such entry, or skip the judge, and say so. While you read in Phase D, the judge scores each candidate, by path label, on each rubric criterion and recommends a base.

## Phase D: Pick a base

Expand Down
4 changes: 2 additions & 2 deletions plugins/pstack/skills/poteto-mode/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,11 @@ Read the leaf skill in full for any principle you apply. Each entry names when i

- Code, prose, and judgment: `claude-opus-5-5-xhigh-fast`.
- Trivial mechanical edits: `claude-opus-5-5-high-fast`.
- Diverse review and design panels: one runner each on `claude-fable-5-2-high`, `claude-opus-5-5-high-fast`, and `gemini-4-carbon-high`.
- Diverse review and design panels: one runner each on `claude-fable-5-2-high`, `claude-opus-5-5-high-fast`, and `gemini-4-neon-high`.

**Fable 5.2 is an exception.** It runs outside a panel only when the user named it for this task or two Opus 5.5 xhigh runs of the same brief failed its check. Say which. Difficulty alone never qualifies.

**Match the model to the job.** Start from the role's line or default, keep its family, and set the level the job needs. The `/setup-pstack` budget sets each role's starting level. Panel seats keep their listed level. Raise any other role one step, up to xhigh, for the hardest or subtlest work, lower it one step for judgment, and two or more steps for routine work. No role runs above xhigh. Opus 5.5 always runs its `-fast` slug. Verification always runs on the `swarm workers` model, `claude-opus-5-5-high-fast` by default. A Gemini seat never runs above `gemini-4-carbon-high`, its top slug. If the Task tool rejects a slug, never pass it again. Fall back to the role's line or default, then the calling skill's fallback, then the closest valid slug of the same family, then omit `model`. Say so.
**Match the model to the job.** Start from the role's line or default, keep its family, and set the level the job needs. The `/setup-pstack` budget sets each role's starting level. Panel seats keep their listed level. Raise any other role one step, up to xhigh, for the hardest or subtlest work, lower it one step for judgment, and two or more steps for routine work. No role runs above xhigh. Opus 5.5 always runs its `-fast` slug. Verification always runs on the `swarm workers` model, `claude-opus-5-5-high-fast` by default. A Gemini seat never runs above `gemini-4-neon-high`. If the Task tool rejects a slug, never pass it again. Fall back to the role's line or default, then the calling skill's fallback, then the closest valid slug of the same family, then omit `model`. Say so.

You own every subagent's work. Review the diff and write your own summary. A second opinion is the same prompt on another vendor's model.

Expand Down
2 changes: 1 addition & 1 deletion plugins/pstack/skills/poteto-mode/references/t3-adapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Upstream reads per-role models from "the `/setup-pstack` rule" (`~/.cursor/rules
- When the search finds nothing or the provider is off, never switch the lane to another model or provider on your own. Name what is missing and ask the user which to use (Questions section). This replaces every fallback a skill gives for a rejected model, such as a family default, the closest valid slug from the error, or the parent model.
- Compare the `providerInstanceId`, `model`, and `options` that `delegate_task` returns with the target. If they differ, say so in the reply. The provider can still run another model, such as when the user's organization disallows the requested one. A finished task then reports it in `executedModel`, and T3 starts its summary with a note that names both models. Name the model that ran in the reply too.
3. `inherit-parent` or `auto` means: omit `target`. The lane runs on your own provider and model, and it still counts toward a panel's fan-out.
4. With no sheet line, translate the skill's default slug: `claude-opus-5-5-<effort>` or `claude-opus-5-5-<effort>-fast` is `claude:opus@<effort>`, `claude-fable-5-2-<effort>` is `claude:fable@<effort>`, and `gemini-4-carbon-<effort>` is `antigravity:gemini@<effort>` when the catalog lists an `antigravity` instance that can run child tasks, else `codex:gpt-6.1-sol@<effort>`.
4. With no sheet line, translate the skill's default slug: `claude-opus-5-5-<effort>` or `claude-opus-5-5-<effort>-fast` is `claude:opus@<effort>`, `claude-fable-5-2-<effort>` is `claude:fable@<effort>`, and `gemini-4-neon-<effort>` is `antigravity:gemini-4-neon@<effort>` when the catalog lists an `antigravity` instance that can run child tasks. When that instance lists no Gemini 4 Neon model, it is `antigravity:gemini@<effort>`. Without such an instance it is `codex:gpt-6.1-sol@<effort>`.
5. Families and vendors go by the catalog model id, as the arena skill's Phase A and Phase C define them for slugs. `claude-fable-*` is its own family, apart from the other `claude-*` models, and any other id's family is its text before the first hyphen, so every `gpt-*` model is one family. Fable and the other Claude models are one vendor. A cross-family reviewer runs on a model of another family than the work it judges, and arena's cross-judge on a model of another vendor than yours.
6. "Match the model to the job" moves only the target's effort. Effort steps along `low`, `medium`, `high`, `xhigh`. No role runs above `xhigh`, so never pick `max` or a higher catalog effort such as `ultra` or `ultrathink`. No lane runs in fast mode, so upstream's `-fast` slugs run the same model at standard speed. A lane on your own provider instance and model keeps every option of yours that its target does not name, so when your session runs fast, that lane sets `fastMode: false` or `serviceTier: "default"`. In that case an `inherit-parent` or `auto` lane also names your provider instance and model as its `target`, with the same option, instead of omitting `target`. A lane on another model inherits none of your options. Send it only options its catalog entry lists. A model with no speed option, such as `claude-fable-5-2`, rejects `fastMode`. When `delegate_task` rejects an option, drop it from that call and from every remaining lane of the fan-out before you retry.

Expand Down
6 changes: 4 additions & 2 deletions plugins/pstack/skills/setup-pstack/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ Call `orchestrator_capabilities`. Its providers with `canRunChildTask: true` and

### 2. Load current state

The default role-to-model mapping is the sheet shape shown in step 5 below. It is upstream's default mapping translated per the adapter's Model per role section for a catalog without Gemini. When the catalog has an `antigravity` instance that can run child tasks and lists a Gemini model, use that model wherever step 5 shows `codex:gpt-6.1-sol`. If `~/.agents/pstack-models.md` already exists, read it and treat its `# budget` line and its role values as the current choices. If only `~/.claude/pstack-models.md` exists, from an earlier pstack port, read that one and resolve its short forms (`claude:opus@high`) to exact descriptors. Otherwise start from those defaults. A line whose role is not in step 5, such as `hardest tasks`, `architect runners`, `reflect tooling`, or `why investigators`, is from a retired role. Drop it.
The default role-to-model mapping is the sheet shape shown in step 5 below. It is upstream's default mapping translated per the adapter's Model per role section for a catalog without Gemini. When the catalog has an `antigravity` instance that can run child tasks and lists a Gemini model, use its Gemini 4 Neon model, else its newest Gemini model, wherever step 5 shows `codex:gpt-6.1-sol`. If `~/.agents/pstack-models.md` already exists, read it and treat its `# budget` line and its role values as the current choices. If only `~/.claude/pstack-models.md` exists, from an earlier pstack port, read that one and resolve its short forms (`claude:opus@high`) to exact descriptors. Otherwise start from those defaults. A line whose role is not in step 5, such as `hardest tasks`, `architect runners`, `reflect tooling`, or `why investigators`, is from a retired role. Drop it.

Older Gemini models held the panel seat before Gemini 4 Neon. So in a panel role (`arena runners`, `arena cross-judge pool`, `interrogate reviewers`), an `antigravity` entry whose model is a `gemini-4-*` id other than a Gemini 4 Neon id is an old default. When the catalog lists a Gemini 4 Neon model on that instance, each one becomes that model at `high`. Tell the user which entries you replaced.

A sheet without the `# defaults: 3` line comes from an older setup. That setup wrote a line for every role, so some of its values are old defaults, not choices. Before step 3, replace these values:

Expand All @@ -33,7 +35,7 @@ Every other value is the user's choice and stays, including an old value in any
- `medium — high reasoning`
- `small — medium reasoning`

**(b) Apply it.** Build the working table from the skill defaults, and on a re-run keep any role you changed by family, list, or alias (`inherit-parent`, `auto`). Families are the ones Phase A of the **arena** skill defines, so Fable is its own family. Each role has a target effort, which is its default's effort moved by the budget. `large` keeps it, `medium` lowers it one step, and `small` lowers it two steps, on the ladder `xhigh` > `high` > `medium` > `low`. No role runs above `xhigh`, and a target at the bottom of the ladder stays there. Most defaults are at `xhigh`, and each budget label names where those land. Set the effort of every real descriptor in the role, panel entries included, to the role's target. The effort is the part after `@`. Catalog efforts above `xhigh`, such as `max`, `ultra`, or `ultrathink`, are never picked. If the model does not offer the target effort, use its highest offered effort at or below the target, else mark the role as needing a choice. A descriptor with no effort stays as it is. `inherit-parent` and `auto` do not change. So `medium` turns `claudeAgent:claude-opus-5-5@xhigh` into `claudeAgent:claude-opus-5-5@high` and `claudeAgent:claude-opus-5-5@high` into `claudeAgent:claude-opus-5-5@medium`, and `small` turns them into `@medium` and `@low`. A descriptor names no speed. The adapter's Model per role section sets it.
**(b) Apply it.** Build the working table from the skill defaults, and on a re-run keep any role you changed by family, list, or alias (`inherit-parent`, `auto`). Families are the ones Phase A of the **arena** skill defines, so Fable is its own family. Each role has a target effort, which is its default's effort moved by the budget. `large` keeps it, `medium` lowers it one step, and `small` lowers it two steps, on the ladder `xhigh` > `high` > `medium` > `low`. No role runs above `xhigh`, and a target at the bottom of the ladder stays there. Most defaults are at `xhigh`, and each budget label names where those land. Set the effort of every real descriptor in the role, panel entries included, to the role's target. The effort is the part after `@`. Catalog efforts above `xhigh`, such as `max`, `ultra`, or `ultrathink`, are never picked. If the model does not offer the target effort, use its highest offered effort at or below the target, else mark the role as needing a choice. A descriptor with no effort stays as it is. `inherit-parent` and `auto` do not change. So `medium` turns `claudeAgent:claude-opus-5-5@xhigh` into `claudeAgent:claude-opus-5-5@high` and `claudeAgent:claude-opus-5-5@high` into `claudeAgent:claude-opus-5-5@medium`, and `small` turns them into `@medium` and `@low`. A Gemini entry stays at `high` when its role's target is `xhigh`, even where the catalog offers `xhigh`. A descriptor names no speed. The adapter's Model per role section sets it.

**(c) Show the roles and confirm.** Show every role with its model, marking any real descriptor not in the detected set as needing a choice. Also list each line step 2 dropped. Ask whether to accept as-is or change specific roles, offering the detected models at `xhigh` or below plus `inherit-parent` and `auto` (both mean: this role runs on the parent chat model) as the options. Prefer a structured question over free text. For panel roles (arena runners, interrogate reviewers) the value is a list, and one subagent runs per entry, alias entries included, so the list length sets the count. `arena cross-judge pool` is also a list, but Arena runs one judge. It tries only values from a vendor other than the parent's, in list order, so order it by preference. Fable and the other Claude models are one vendor. An `inherit-parent` or `auto` value never judges. `swarm workers` is the default model for every worker unless a race or comparison assigns another model per arm.

Expand Down
2 changes: 1 addition & 1 deletion upstream/pstack/.cursor-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "pstack",
"displayName": "pstack",
"version": "0.15.43",
"version": "0.15.44",
"description": "if you want to go fast, go deep first. pstack helps you write less, but higher quality code. rigorous agent workflows you can parallelize with confidence.",
"author": {
"name": "Lauren Tan"
Expand Down
Loading
Loading