Skip to content

Port pstack 0.15.37–0.15.42 to Devin (0.10.0) - #15

Open
athul-ramesh wants to merge 1 commit into
mainfrom
port/pstack-bf0c7cd
Open

athul-ramesh wants to merge 1 commit into
mainfrom
port/pstack-bf0c7cd

Conversation

@athul-ramesh

Copy link
Copy Markdown
Owner

Why

This repo is Athul's Devin-only port of pstack. Upstream moved from 0.15.36 to 0.15.42 in one squash. The change that belongs here is a selective adaptation of pstack/: a short why, a one-pass how, playbooks that trace the code, a setup marker that migrates old default rows, and the statechart fixes. Existing profile pins stay.

PRs #11 (ab1f702) and #13 (c742dd6) are already merged into main. This branch is based on main (6e060b5, plugin 0.9.2).

What changed upstream

Source: bf0c7cd (squash of PR #1236, 0.15.36 to 0.15.42). Compare: c742dd6...bf0c7cd.

  • Sharpen's rewritten prompt asks the agent to prototype any choice an experiment can settle and recommend from what it observed. Product and preference choices stay with the user.
  • Reflect's drift example is a function rename.
  • Why is one short file that names no source. The investigators, synthesizer, model routing, output format, and references/ are deleted. Recall starts its own investigator per source. Blast radius and teach stop pointing at the removed parts. Setup drops the two why roles.
  • How is one file that starts one read-only subagent. Poteto-mode no longer routes to how. The Investigation, Feature, Bug fix, Hillclimb, Perf issue, and Refactoring playbooks, plus architect, no-comments, and comment-sicko, tell the agent to trace the code. Setup drops the two how roles. Teach and poteto-help keep how.
  • New defaults: hardest tasks claude-fable-5-2-max; feature, refactoring, bug-fix, perf-issue, and hillclimb claude-opus-5-5-xhigh; swarm, reflect tooling, verification, and trivial edits claude-opus-5-5-high-fast; arena, architect, and interrogate panels claude-fable-5-2-high, claude-opus-5-5-high-fast, and gemini-4-carbon-high. Fable is its own family and the same vendor as Claude for arena's cross-judge. Grok 4.7 is no longer a default. Setup writes a defaults marker so old default values move and user-chosen values stay.
  • Statechart reports SANY's own error section, and a Mermaid arrow into a parent state stops at the parent's border.
  • Benny automation tweaks.

How this port adapts it

Plugin version is 0.10.0. Detail is in docs/pstack-0.15.42-port-audit.md.

  • Sharpen's prototype line was already restored in 0.9.2. The README and usage guide now describe it.
  • Reflect's example is a function rename (readConfig to loadSettings in config.ts).
  • Why is one paragraph plus a line to use exec for git and gh. The reference files are deleted.
  • Recall starts one pstack:panel-opus investigator per source it can actually query: git history, and pull requests and issues when gh is authenticated. The brief forbids writes. subagent_explore is the wrong profile there because pull requests need gh.
  • Blast radius pulls the PR with git and gh and cites file:line itself. Teach still runs how and why, and no longer asks to narrow a sweep why no longer has.
  • How starts one subagent_explore pass. That is the read-only profile documented in Subagents. run_subagent has no readonly flag. The explorer, explainer, and critic prompts are deleted.
  • Poteto-mode, the six playbooks, architect, and no-comments trace the code. Comment-sicko traces with read and grep. Its allowed tools have no exec, so it does not claim to have read the PR.
  • Teach, poteto-help, prompting, and the usage guide still offer how.
  • Setup drops how explorer, how explainer, why investigators, and why synthesizer. It also drops how critics, because the one-file how has no critic panel.
  • Setup writes # defaults: 2. On a sheet without that line, a bug-fix or hillclimb row that is still exactly pstack:poteto-agent-sonnet becomes pstack:poteto-agent-opus when opus is in devin models list. Every other value stays. Dispatch honors an old sheet until setup is rerun.
  • Statechart's SANY reporting and parent-border arrows are on the checker this repo already ships, with the upstream tests.

Left unported or uncertain

  • Cursor model slugs are not written. CLI models documents aliases opus, sonnet, swe, codex, and gemini. Desktop models names Claude Fable 5.2 (Low through Max, and Fast Mode) and Gemini 4 Argon. It does not publish claude-fable-5-2-max, claude-opus-5-5-xhigh, claude-opus-5-5-high-fast, or gemini-4-carbon-high, and the CLI page does not list fable as a short alias. Opus 5.5 is not named. Shipped pins stay gpt-6-1-sol-medium, glm-5-3-flash-high, and swe.
  • Strongest judgment stays pstack:panel-opus. There is no documented Fable pin to put above it.
  • Swarm workers and reflect tooling stay pstack:panel-sonnet. Upstream moved them to claude-opus-5-5-high-fast. This port has no second opus pin for that speed.
  • Arena's cross-judge still compares model: pins. Upstream's rule that Fable and other Claude models are one vendor is unused, because no shipped pin is a documented Fable id or a Claude Opus 5.5 id.
  • The setup budget ladder, inherit-parent, and auto stay out. run_subagent takes a profile, not an effort or a speed. Grok 4.7 was never a default here, so there is no grok-* slug to migrate.
  • Benny, and the harness/pstack/claude-code mirror, are not part of this port.
  • Native Devin activation of 0.10.0 is untested, including a live subagent_explore how pass.

Checks

  • node --test tests/*.test.mjs: 56 passed.
  • git diff --check: passed.
  • npm test --prefix skills/statechart/scripts with TLC 1.7.4: 373 passed, none skipped.
Open in Web Open in Cursor 

Adapt why, how, recall, setup migration, and the statechart SANY and
parent-border fixes from bf0c7cd. Keep the existing profile pins.

Co-authored-by: Athul Ramesh <athul-ramesh@users.noreply.github.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.

2 participants