Skip to content

feat(pstack): new default models, one-file why and how, statechart fixes, sharpen and reflect text - #1236

Merged
poteto merged 12 commits into
mainfrom
lauren/pstack-model-routing-46c0
Nov 15, 2026
Merged

poteto merged 12 commits into
mainfrom
lauren/pstack-model-routing-46c0

Conversation

@poteto

@poteto poteto commented Nov 15, 2026

Copy link
Copy Markdown
Collaborator

Six changes to pstack, each as its own commit followed by a version bump (0.15.37 to 0.15.42): text updates to /sharpen and /reflect, two /statechart fixes, one-file /why and /how, and new default models.

1. /sharpen asks for prototypes, and /reflect gets a new example

  • /sharpen: the last line of the skill now has the rewritten prompt ask the agent to prototype any choice an experiment can settle and to recommend an option from what it observed. Product and preference choices that no experiment can settle stay with you. Before, the skill left every choice open.
  • /reflect: the synthesizer's list of details that drift used a model-name rename as its example. It now uses a function rename (parseConfig to loadConfig), so the example does not age.
  • The README row for /sharpen and the guide's poteto-mode chapter describe the new last line.

Checks: node scripts/generate-pstack-harness-trees.mjs --check is up to date, node scripts/check-pstack-docs.mjs finds 0 problems, and node scripts/validate-plugins.mjs validates all plugins. Version is 0.15.37, and harness/pstack/ is regenerated.

2. /statechart reports the spec's line and column when SANY cannot read it

When /statechart could not read a TLA+ spec, the error showed the last lines of SANY's XML run, which is a Java stack trace. It did not say where the spec was wrong.

check() now runs SANY a second time in plain mode when the first run fails, and reports that run's error section. The message starts at SANY's *** Errors, *** Abort messages or *** Parse Error line, so it names the line and column in the spec. It is capped at 40 lines. If the second run cannot start or has no error section, the message falls back to the old tail.

Three new tests in test/corpus.test.ts write a broken spec and assert the message: an unknown name, a parse error, and twelve unknown names. Each asserts that no at tla2sany. stack frame is in the message.

Checks:

  • test/corpus.test.ts with TLA2TOOLS set to the pinned tla2tools.jar: 50 pass, 0 fail. The three new tests fail without the run.ts change.
  • CI's command, node --test pstack/skills/*/scripts/test/*.test.ts without TLA2TOOLS: 267 pass, 0 fail, 70 skipped. The new tests are among the skipped, like every test that needs TLC.
  • The same three script checks as in section 1 pass. Version is 0.15.38.

3. /statechart charts enter a parent state through its border

In a /statechart chart, an arrow from outside a parent state to a state inside it could run through the parent's title. Pele 1.9.0 places a parent's title after layout, in one of three slots, and arrows that go straight to the states inside can cover all three.

The Mermaid backend now draws those arrows so they cannot cross the title:

  • An arrow from outside a parent ends at the parent's border. The parent's start marker then goes on to the state inside (drawnEdges in backends/mermaid.ts).
  • A lone arrow into a parent keeps its label. When one state leads to several states inside, each label moves to the start marker's arrow to that state.

Scope:

  • Covers every parent with one way in, including a parent that holds a start state.
  • Leaves out a parent that two or more states lead into. One start marker cannot say which state led where, so those arrows stay direct, and Pele can still draw one through the title.
  • The report's arrow count stays the same, because each step's label is still on exactly one arrow.
  • Each chart that has a parent with one way in now shows a start marker inside that parent. The chart still states the same steps. Of the corpus charts, only Login changes.

Tests:

  • test/drawn.ts is a new shared reader of a chart's arrows. It replaces the copy in test/cli.test.ts and also reads start-marker arrows inside a parent.
  • test/chart.test.ts has two new tests: a parent with one way in, and a parent that two states lead into.
  • test/render.test.ts has a new test that renders a chart in Pele 1.9.0 and checks that no arrow enters a parent's title bar.
  • test/labels.ts builds its expected edges from drawnEdges, and five expected arrow lists in test/cli.test.ts change with the new drawing.

Checks:

  • The skill's full suite with TLA2TOOLS set to the pinned tla2tools.jar: 373 pass, 0 fail, 0 skipped.
  • CI's command without TLA2TOOLS: 270 pass, 0 fail, 70 skipped.
  • The same three script checks as in section 1 pass. Version is 0.15.39.

4. /why is one short file that names no source

/why is now one file with a 48-word body. It names no data source and no tool, so it works the same in every project.

  • why/SKILL.md: the body tells the agent to answer from the record, not the code: the commits and PR discussions that introduced the target and each later change, and other sources if that trail is thin. It cites what the authors wrote, marks its own inferences, and says what the record does not answer. The investigators, the synthesizer, the model routing, the output format, and all 12 files under why/references/ are deleted.
  • recall: it borrowed the why investigators and source playbooks for its sweep of the shared record. It now starts its own investigator for each source. The source names stay generic.
  • blast-radius, teach: they no longer point at parts why no longer has (its step 2, its rules, its full sweep and narrowing advice).
  • poteto-mode: why stays a routed skill in the playbooks. It leaves the two lists of skills that set their own subagent type or model roles.
  • setup-pstack: the why investigators and why synthesizer roles are gone from the rule shape. A rule file that still has them loses those lines on the next /setup-pstack run, like any retired role.
  • poteto-help, the README and the guide's "Understand the code" chapter describe the new /why.

What a user sees: /why returns a shorter answer with no fixed headings, and it no longer searches each connected source in turn. It starts from source control and looks further only when that trail is thin. /recall still sweeps the shared record, with its own investigators.

Checks:

  • node scripts/generate-pstack-harness-trees.mjs --check: up to date. The generated why no longer carries the adapter line, because it uses no Cursor-only name.
  • node scripts/check-pstack-docs.mjs: 0 problems. node scripts/validate-plugins.mjs: all plugins validate.
  • A search of pstack/ finds no reference to a deleted file or to a why role, apart from the retired-role example in setup-pstack. Version is 0.15.40.

5. Nothing routes to /how, and /how is one file

/how stays as a short skill you invoke yourself. /poteto-mode and the skills it routes to no longer run it. They trace the code directly.

  • how/SKILL.md: one file. It starts one read-only subagent with a three-sentence brief and presents the output. The model routing, the complexity gate, the explorers, the output format, and both prompt templates under how/references/ are deleted.
  • poteto-mode: the "nontrivial change → how" trigger is gone, and how leaves the two lists of routed skills.
  • Playbooks: Investigation, Feature, Bug fix, Hillclimb, Perf issue and Refactoring say "trace" where they said to run how. The multi-phase plan template no longer names how in its reading list.
  • architect: Phase A and the scrap step trace the subsystems. The architect runners line and the interface-depth text are unchanged.
  • no-comments and its comment-sicko agent trace the symbol or run /why.
  • setup-pstack: the how explorer and how explainer roles are gone from the rule shape. A rule file that still has them loses those lines on the next /setup-pstack run, like any retired role.
  • Benny automation skills: the triage and reproduce skills trace the path themselves, and how leaves the list of pstack skills the target repository must resolve. They still use why.
  • Docs: the README and guide chapters 02, 03, 04 and 10 describe the new flow.

/teach still runs /how and /why, and the poteto-help catalog still lists /how.

What a user sees: /how returns one subagent's explanation with no fixed headings and no per-role models. A /poteto-mode run no longer spends a step on /how before it designs or debugs.

Checks:

  • The same three script checks as in section 1 pass.
  • A search of pstack/ finds no reference to a deleted file or to a how role, apart from the retired-role example in setup-pstack. Version is 0.15.41.

6. Defaults route to Fable 5.2, Opus 5.5 and Gemini 4 Carbon

pstack's default models change. The role labels and the four budgets stay, so an existing pstack-models.mdc rule keeps working. This changes which model every default user runs.

Role Old default New default
hardest tasks claude-opus-5-5-xhigh claude-fable-5-2-max
feature, refactoring, bug-fix, perf-issue, hillclimb grok-4.7-xhigh-fast claude-opus-5-5-xhigh
judgment and prose, reflect judgment, divergent, synthesizer claude-opus-5-5-xhigh unchanged
swarm workers, reflect tooling, verification, trivial mechanical edits grok-4.7-xhigh-fast claude-opus-5-5-high-fast
arena runners, arena cross-judge pool, architect runners, interrogate reviewers claude-opus-5-5-xhigh, grok-4.7-xhigh-fast claude-fable-5-2-high, claude-opus-5-5-high-fast, gemini-4-carbon-high

Grok 4.7 is no longer a default anywhere.

Rules that changed with the defaults:

  • Levels. Role defaults were all xhigh. They are now xhigh or high, and max for hardest tasks. Gemini has no xhigh, max or fast slug, so a Gemini subagent runs at high. Fable 5.2 has no fast slug, so an urgent Fable 5.2 subagent runs at standard speed.
  • Families. Fable (claude-fable-*) is its own family, apart from the other Claude models, so a panel with a Fable seat and an Opus seat stays diverse. A leading cursor- is dropped before families are compared. Any other slug's family is its text before the first hyphen.
  • Arena's cross-judge. The judge is never from the parent's vendor, and Fable and the other Claude models are one vendor. With the default pool, a Claude parent gets gemini-4-carbon-high, and arena skips the judge if that is refused. A parent from another vendor gets claude-fable-5-2-high first.
  • Budgets. Each role now has a target effort: its default's effort moved by the budget. large keeps it, unlimited raises it one step, medium lowers it one step, and small lowers it two. For a role whose default is xhigh, the result is the same as before. The change keeps large equal to the defaults now that the defaults are not all xhigh, and a re-run still gives the same file.
  • Trivial mechanical edits read the swarm workers line. pstack has no separate role for them, and this change adds none.

Existing rule files: /setup-pstack writes a new # defaults: 2 line. A rule without that line comes from an older setup, which wrote a line for every role, so some of its values are old defaults and not choices. On the next /setup-pstack run:

  • A grok-* value in a role that used to default to Grok 4.7 takes the role's new default.
  • A claude-opus-* value in hardest tasks takes the new default.
  • A panel list of exactly one claude-opus-* entry and one grok-* entry takes the new three-seat list. In any other panel list, each grok-* entry becomes claude-opus-5-5-high-fast.
  • Every other value stays, including a grok-* value in a role that never defaulted to it, and every inherit-parent or auto value.

Until that run, /poteto-mode keeps honoring the old lines and tells the user once per session to rerun /setup-pstack.

Where Grok is still named:

  • setup-pstack step 2 names the grok-* pattern once. It needs that to recognize an old default in an existing rule file.
  • "Grok Bot" in /make-bot-ui and the three places that list that skill is a product name, not a model choice. This change does not touch it.
  • scripts/check-pstack-docs.mjs and scripts/generate-pstack-harness-trees.mjs keep their existing guard patterns. With this change, the docs check fails if a Grok slug comes back into the README or the guide.

Files:

  • setup-pstack: rule shape, budget step, old-default step.
  • poteto-mode: the defaults sentence and "Match the model to the job".
  • arena, architect, swarm, reflect: default slugs, families and the cross-judge rule.
  • Playbooks feature, bug-fix, perf-issue, hillclimb, refactoring, multi-phase-plan: the "(default ...)" lines.
  • docs/harness/claude-code.md: the non-Claude slug row and the default mapping. In Claude Code, claude-opus-5-5-high-fast is opus high, claude-fable-5-2-max is fable max, and gemini-4-carbon-high is inherit-parent.
  • README and guide chapters 01 and 04.

Checks:

  • The same three script checks as in section 1 pass.
  • CI's test command, node --test pstack/skills/*/scripts/test/*.test.ts: 270 pass, 0 fail, 70 skipped. The model change touches no script.
  • A search of pstack/ and harness/pstack/ for Grok finds only the places listed above.
  • No subagent has run on the new slugs from this branch. Version is 0.15.42.

cursoragent and others added 12 commits November 14, 2026 01:48
- sharpen: the rewritten prompt now asks the agent to prototype any choice
  an experiment can settle and recommend an option from what it observed.
  Product and preference choices stay with the user. The README and guide
  describe the new last line.
- reflect: the synthesizer's example of a detail that drifts is now a
  function rename instead of a model-name rename.

Co-authored-by: lauren <[email protected]>
When SANY's XML run fails, check() reruns SANY in plain mode and reports
that run's error section, capped at 40 lines. The message used to be the
tail of the XML run, which is a Java stack trace. Three tests cover an
unknown name, a parse error, and twelve unknown names.

Co-authored-by: lauren <[email protected]>
…arts

An arrow from outside a parent state could run through the parent's title.
The Mermaid backend now ends such an arrow at the parent's border, and the
parent's start marker goes on to the state inside. A lone arrow keeps its
label. When one state leads to several states inside, each label moves to
the start marker's arrow. A parent that two or more states lead into keeps
its direct arrows.

Tests share one reader of a chart's arrows in test/drawn.ts. Two chart
tests and one render test cover the new drawing.

Co-authored-by: lauren <[email protected]>
why is now one file with a 48-word body. It tells the agent to answer from
the commits and PR discussions behind the code, to look further when that
trail is thin, to cite what the authors wrote, to mark inferences, and to
say what the record does not answer. The investigators, the synthesizer,
the model routing, the output format, and the files under references/ are
deleted.

- recall starts its own investigator for each source instead of borrowing
  why's investigators and source playbooks.
- blast-radius and teach stop pointing at parts why no longer has.
- poteto-mode keeps its route to why and drops it from the lists of skills
  that set their own subagent type or model roles.
- setup-pstack drops the two why roles.
- poteto-help, the README and the guide describe the new why.

Co-authored-by: lauren <[email protected]>
how is now one file. It starts one read-only subagent with a short brief
and presents the output. The model routing, complexity gate, explorers,
output format and both prompt templates are deleted.

poteto-mode no longer runs how. The trigger line is gone. The
Investigation, Feature, Bug fix, Hillclimb, Perf issue and Refactoring
playbooks, architect, no-comments and its comment-sicko agent tell the
agent to trace the code itself. setup-pstack drops the two how roles. The
Benny automation skills trace directly and no longer require how. teach
and the poteto-help catalog keep how. The README and guide describe the
new flow.

Co-authored-by: lauren <[email protected]>
The role labels and the four budgets stay. Only the defaults change.

- hardest tasks: claude-fable-5-2-max.
- feature, refactoring, bug-fix, perf-issue, hillclimb: claude-opus-5-5-xhigh.
- swarm workers, reflect tooling, verification and trivial mechanical
  edits: claude-opus-5-5-high-fast.
- arena runners, arena cross-judge pool, architect runners and interrogate
  reviewers: claude-fable-5-2-high, claude-opus-5-5-high-fast,
  gemini-4-carbon-high.

Fable is its own family, apart from the other Claude models, and the two
are one vendor for arena's cross-judge. Gemini tops out at high, and
Fable 5.2 and Gemini have no fast slug. Each budget now moves a role's
default effort by steps, so large still equals the defaults.

setup-pstack writes a defaults marker line. A rule without it is from an
older setup, and its old default values take the new defaults on the next
run. Other values stay as the user's choice.

Grok 4.7 is no longer a default. setup-pstack names its slug pattern once,
to recognize an old default in an existing rule file.

Co-authored-by: lauren <[email protected]>
@poteto
poteto merged commit bf0c7cd into main Nov 15, 2026
1 check passed
@poteto
poteto deleted the lauren/pstack-model-routing-46c0 branch November 15, 2026 03:36
SmailG added a commit to SmailG/claude-cursor-plugins that referenced this pull request Nov 15, 2026
…ne-file why and how, statechart fixes, sharpen and reflect text (cursor#1236)

chore: sync with cursor/plugins — feat(pstack): new default models, one-file why and how, statechart fixes, sharpen and reflect text (cursor#1236)
shiro-el added a commit to shiro-el/pstack-shiro that referenced this pull request Nov 15, 2026
Takes upstream cursor#1236: why and how cut to one file each, poteto-mode no longer routes to how, new default models (Fable 5.2, Opus 5.5, Gemini 4 Carbon), sharpen asks for prototypes, and statechart fixes.

Conflicts kept the fork's model-to-job table and hc routing, with upstream's structure on top:
- poteto-mode: the table drops the how explorer, how explainer, why investigators, and why synthesizer roles, and the routed-skill list drops how and why. The family rule now says Fable and the other Claude models are one Claude family, the arena skill's vendor.
- Playbooks keep the fork's spec-driven text and no default slugs, and trace the subsystem directly instead of running how.
- setup-pstack takes upstream's text and defaults and keeps the debate panel and debate judge pool roles.
- The Claude Code adapter takes upstream's default slug mapping and keeps the hc setup line.
kyle-sexton added a commit to melodic-software/claude-code-plugins that referenced this pull request Nov 16, 2026
…found

The fifth script group's review: the launcher names a rejected --runtime, escapeText folds line breaks, and the chart skill documents exit 127. The claim-protocol skill records the three-claimant run without renew and the source line behind EndStateReclaimable. The upstream record says the copy lacks the renderer fix of cursor/plugins#1236. The README no longer says the jar is undeclared.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
mstephenholl added a commit to mstephenholl/pstack-claude-codex that referenced this pull request Nov 17, 2026
Closes #44.

Upstream: cursor/plugins@536a3352a050, which brings 2 pstack commits,
cursor#1236 and cursor#1249. The daily sync stopped on eight conflicts and opened
#44, so this is the manual merge from `pstack/port/merge-upstream.py`,
plus the ports #44 lists and two problems it doesn't.

## What changes

- **Merge (`20af844`)**: drops 249 upstream paths outside the port. In
the port:
- `how` and `why` (cursor#1236) are one-file skills. Their explorer,
investigator, and synthesizer prompts and `why`'s per-source playbooks
are gone.
- `reflect` (cursor#1249) is one pass. Its three reviewer prompts and
synthesizer are gone.
- `poteto-mode` (cursor#1249) has shorter playbooks and a new `worker.md` that
every spawned agent reads first. The Orchestrate playbook and
`check-plan.mjs` are deleted. Opus 5.5 is the default for every role,
capped at `xhigh`.
- `statechart` (cursor#1236) gets fixes, and `architect` and `sharpen` get new
text.
- **Conflicts**:
- `babysit`, `opening-a-pr`, `shipping`: upstream's rewritten text, with
configurable PR readiness (#43) reapplied. Upstream dropped the
Readiness heading, so `babysit` now names **Opening a PR**.
- `multi-phase-plan`: upstream's. It no longer has the PR checklist our
readiness line edited.
- The three `reflect` reviewer prompts: deleted, as upstream did.
Upstream also dropped the used-skill routing sentence the port had
widened, so it has nowhere to go.
- `setup-pstack`: the port's version, which runs `pstack configure`.
Upstream's retired roles and `xhigh` cap go into `configure` in a
follow-up PR.
- **Port fixes in the merge**:
- `poteto-agent.md`: dropped upstream's new `model:
claude-opus-5-5-xhigh-fast`. Claude Code can't use that Cursor slug: a
spawned agent falls back with "This agent switched to Opus 5 because its
earlier model could not be used", and `claude -p --model
claude-opus-5-5-xhigh-fast` fails outright. The port picks models per
spawn from `pstack-models.md`.
- `worker.md` said to open every PR ready, which undid a `pull requests:
draft` setting for any agent that opens a PR. It now opens a draft when
the kickoff asks, and **Opening a PR** tells the parent to ask.
- `pstack-harness`: dropped the two `check-plan.mjs` notes, since
upstream deleted the checker and the plan template that needed them.
- README: the `sharpen` and `why` rows now describe upstream's current
skills.
- **`fix(pstack): drop mentions of the Orchestrate playbook upstream
removed` (`582d6de`)**: the README, `pstack doctor`'s `bun` hint, and
`pstack-harness`'s long-run list still named it. `merge-upstream.py`
matches deleted paths, not playbook titles, so it didn't flag these.
- **Not ported**: the ~20 Cursor-term lines in #44 use terms the harness
already maps (`Task`, `pstack-models.mdc`, `cursor-team-kit`,
`AskQuestion`, `agent-transcripts/`). `check.py` confirms each.

## Risk

- **`pstack configure` still writes eight roles no skill reads**
(`hardest tasks`, `how explorer`, `how explainer`, `why investigators`,
`why synthesizer`, `reflect tooling`, `reflect judgment, divergent,
synthesizer`, `architect runners`), and still offers `unlimited`. The
lines go unused until the follow-up retires them.
- **Upstream's own Claude Code plugin has the same bad `model:` line**
in `poteto-agent`, so its delegates run on Opus 5. Reported as
cursor#1270. It doesn't affect a `--claude` install of this
fork.

## Proof

- `check.py`: 0 problems, 0 warnings across 56 pstack skills.
- Port unit tests: 267 pass.
- `install_test.sh`: passes with bash 5.2. A scratch-HOME install for
Codex and Claude links `poteto-agent.md` with no `model:` line.
- `poteto-mode`'s bun tests: 54 pass, and the `watch-pr` typecheck is
clean.
- Smoke test: not run, for the same reason as #39. After the release:
`pstack update`, then `smoke.py --only how,reflect,poteto-mode`.
mstephenholl added a commit to mstephenholl/pstack-claude-codex that referenced this pull request Nov 18, 2026
#46)

Stacked on #45. Merge that first, then retarget this to `main`.

## Why

#45 brings in upstream's cursor#1236 and cursor#1249, which retired eight roles and
capped every role at `xhigh`. `pstack configure` still wrote all
seventeen roles and offered `unlimited` (max effort), so after #45 the
models file carries eight lines nothing reads, and `unlimited` breaks
the cap.

## What changed

- **`pstack configure`** writes the nine roles skills read. An existing
file's `hardest tasks`, `how explorer`, `how explainer`, `why
investigators`, `why synthesizer`, `reflect tooling`, `reflect judgment,
divergent, synthesizer`, and `architect runners` lines are reported as
`dropped`, as retired lines already were.
- **Per-role effort**, as upstream does: coding roles and `judgment and
prose` start at `xhigh`, and the panels, `arena cross-judge pool`, and
`swarm workers` at `high`. `medium` and `small` lower each one or two
steps, down to `low`. The `# budget` line still names where the `xhigh`
roles land.
- **No `unlimited`.** `--budget unlimited` is rejected, a recorded `#
budget: unlimited` becomes `large`, and the JSON's `previous.budget`
says so. `--set` refuses an entry whose effort is above `xhigh`.
- **`pstack-harness`**: the defaults table drops the retired roles and
gains an Effort column, `reflect tooling`'s seat rule is gone, and
effort moves among `low` through `xhigh` only.
- **`setup-pstack`** offers three budgets and says when `unlimited`
became `large`. Both READMEs stop listing `architect` and `reflect` as
foreign-seat users.
- **Smoke**: `why` and `reflect` no longer expect the subagents and
seats they dropped, and a subagent at `max` effort fails `spawned`.

## Scope

- Default models are unchanged: Sonnet and `gpt-6.1-sol` for coding
roles, Opus and `gpt-6-astra` for the rest. Upstream moved every role to
Opus 5.5. Doing the same here would roughly match upstream, but it's a
cost call for the port, so it isn't in this PR.
- `install.sh` still generates `pstack-effort-max`. Nothing selects it
now, and removing it would also change the doctor check and the install
test.

## Tradeoffs

- Clamping `--set ...@max` to `xhigh` was the other option. Refusing it
matches upstream's setup step, which asks again instead of writing an
effort above `xhigh`.

## Blast Radius

The next `pstack configure` (or `$setup-pstack`) rewrites the models
file without the retired lines, and with panels and swarm workers at
`high` instead of `xhigh` under `large`. Until then, skills ignore the
retired lines. Overrides on the remaining roles are kept, at the new
effort. A script that passes `--budget unlimited` now exits 2.

## Verification

- `python3 -m unittest discover -s pstack/port/tests` passes 267 tests.
`test_configure_drops_upstreams_retired_roles_and_the_unlimited_budget`
covers the retired lines, the `unlimited` migration, the rejected flag,
and the refused `@max`. Five existing tests now expect `high` for the
panels and swarm workers.
- `check.py`: 0 problems, 0 warnings. `install_test.sh` passes with bash
5.2.
- Smoke: not run, as in #45.
bramvera added a commit to bramvera/pstack-claude that referenced this pull request Nov 19, 2026
…ile how, why, and reflect

Moves the pstack pin from c742dd6 to 2f87c85 (cursor/plugins#1236, #1249).
Every fork in tools/forks.json survives except the seven files upstream
deleted that the port had edited. Retired roles leave models.json, new
substitution rules cover upstream's new Cursor slugs, and 34 dead rules go.
Release 0.9.140; CHANGES.md has the details.
Samuel-Harris added a commit to Samuel-Harris/foundry that referenced this pull request Nov 21, 2026
…skills (#77)

Port upstream pstack's move of these four skills to one SKILL.md each
(cursor/plugins#1236, #1249). The how, why and reflect reviewer, explorer
and investigator prompts and the architect runner prompts are deleted;
architect now runs arena for large designs, how starts one read-only
subagent, why answers from the record, and reflect runs a single pass.
Upstream's text is adapted to British English and target-neutral
wording as for the rest of the port.

The remaining upstream changes and the pin move follow in the next PR.

Co-authored-by: Claude Opus 5.5 <[email protected]>
Samuel-Harris added a commit to Samuel-Harris/foundry that referenced this pull request Nov 21, 2026
…utput (#78)

Port upstream pstack's statechart changes (cursor/plugins#1236, #1292):
the CLI runs on native Windows, verdict parsing accepts TLC's \r\n line
ends, a janitor and kill helper clean up stray TLC processes, and the
chart draws a parent's start marker. Upstream's scripts are taken
verbatim; the tests keep the port's tests/statechart/ layout, with
import paths adjusted, and gain the shared drawn.ts helper.

Co-authored-by: Claude Opus 5.5 <[email protected]>
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.

2 participants