open-pstack tracks Cursor's pstack while adapting Cursor-specific primitives for Claude Code, Codex and T3 Code.
| Source | Value |
|---|---|
| Repository | https://github.com/cursor/plugins.git |
| Path | pstack/ |
| Commit | 43fc4fd50d73f4f32cca95cf8563a4c7b24b80c9 |
| Upstream version | 0.15.50 |
| open-pstack version | 1.22.0 |
The table above is the current Cursor sync point. Open Pstack 1.22.0 tracks Cursor pstack 0.15.50 at 43fc4fd50d73f4f32cca95cf8563a4c7b24b80c9. Open Pstack 1.17.0 to 1.21.0 tracked 0.15.36 at 2776ddd2355d6d6c8747d3964600f28daf62f049. README-UPSTREAM.md preserves the upstream pstack README verbatim. CHANGES.md and NOTICE.md describe the adaptations and provenance.
- Commits
799151dand6fecddbadd and relocatemake-bot-ui, anda968159renames it after its folder. It depends on Cursor routines, webhook events, and UI primitives that Claude Code and Codex do not share.a968159's other hunk namespoteto-modeafter its folder, which the port'spoteto-mode/SKILL.mdalready does. - Four
disable-model-invocation: truelines from73f8be4are not applied tohow,why,unslop, ortypescript-best-practices. Poteto-mode invokes those skills by name, and the flag blocks that route on Claude Code. - The default-model hunks for
bug-fix,perf-issue, andhillclimbfrom23a56e2,889ec4b,70b2dc8and2f87c85are not applied. Those frequent code-writing roles stay on Sol atxhigh. 5bf2b15's setup budget question, its# budgetline, and its step down to a lower detected effort are not applied. Setup already asks one requested effort per assigned family, and the step-down would silently lower a requested effort.12d587d's rule that reruns a rejected configured entry on its family default or the closest valid slug is not applied, and neither isce649c0's rule that putscursor-grok-*andcomposer-*entries in the Grok family for that fallback. An unavailable model stays a named dropout perprovider-dispatch.md.- The expected-runtime column in
70b2dc8'schildren.tsvand its expected-runtime stuck test are not applied, and neither arece649c0's stuck-after runtime and its rule that an owner with no push or trail row by the first tick is stuck. A lane is stuck only on affirmative failure evidence. An owner with no push or trail row at a tick is drift for that owner to record. - The Claude manifest does not take the logo field from
efa2a53because Claude Code has no schema for it. The shared asset is exposed through the Codex manifest instead. - Commit
df58112(pstack 0.15.15) is not applied. It drops Sol from every default, cuts the panels to Opus and Grok, and moves Opus frommaxtoxhigh. Open Pstack keeps its own model defaults and three-model panels. - The
disable-model-invocation: truelines that23e4138puts onbenchmark-checklistandprinciple-explain-the-number, and thatab1f702puts back onprinciple-explain-the-number, are not applied. The same flag, which upstream carried on principle leaves andfigure-it-outbefore 0.15.5, stays off as in earlier syncs. Principle leaves keepuser-invocable: false, andfigure-it-outandbenchmark-checkliststay model-invocable because poteto-mode routes to them by name. The typed-onlycorrect,ketchup,ketchup-video,poteto-help,in-your-own-words,sharpen,statechart, andreframekeep the flag. - The Built-in PR tool paragraph from
23e4138and00b14f1is not applied. It describes a Cursor run tool that Claude Code and Codex do not have. - The 40-line squash-body cutoff returns in
00b14f1and stays omitted, as in the 0.15.0 sync. - Autopilot-full step 5's trunk-move rule from
23e4138, and its revision ince649c0, are not applied. The23e4138rule merged without another rebase whengit merge-treewas clean and trunk touched none of the PR's paths or CI paths, and both checks pass when trunk removes an export that the PR's new code imports.ce649c0replaces those checks with the owner's judgment: merge when trunk's changes cannot affect the patch, and run the patch's checks on the merge result when trunk changed a caller or a dependency. An owner who misses a dependency still merges an untested tree. Step 5 keeps the rebase at merge prep and sends a trunk move before the merge through the patch ID rule inplaybooks/shipping.md.ce649c0's lockfile exception and its hold before a third rebase go with the rule. poteto-agent.mddoes not takeis_background: truefrom2bd5dd4. Claude Code documentsbackground, notis_background, in agent frontmatter, and Codex defines agents in TOML and maps concurrency at dispatch. The port keepsgeneral-purposein the description and theskills: [pstack:poteto-mode]preload.- The root Agent Plugins v1
pstack/plugin.jsonfrome5a02f8and its version bumps through 0.15.25 are not applied. The port keeps its current Claude manifest atplugins/pstack/.claude-plugin/plugin.jsonand Codex manifest atplugins/pstack/.codex-plugin/plugin.json. Agent Plugins v1 is revisited with #13. unsloptakesbc697d0's description without itsdisable-model-invocation: trueline, as for73f8be4above.pstack/.cursor-plugin/plugin.jsonandpstack/docs/guide/are not imported. The Cursor manifest has no Claude Code or Codex consumer, and the guide shows Cursor's interface;poteto-helplinks to the guide upstream. That covers the 0.15.21 to 0.15.25 version bumps ande5136d8's guide edit.- Upstream's own Claude Code install is not applied. That covers
182f2ce's and1b80080's generated tree underharness/pstack/claude-code/,scripts/generate-pstack-harness-trees.mjs,scripts/validate-plugins.mjs, the root.claude-plugin/marketplace.jsonentry, the adapter atpstack/docs/harness/claude-code.md, anda968159's generator change. That install runsgrok-*andgpt-*roles on the session's Claude model, has no Codex, and maps Cursor names at runtime from the adapter, which would be a second mapping layer on top of the port's own.README-UPSTREAM.mdtakes the README text from182f2ce,1b80080and019a6a2verbatim. 019a6a2's guide refresh andscripts/check-pstack-docs.mjsare not applied. The port does not importpstack/docs/guide/, so that check has nothing to compare. The same covers the guide edits in7b353f7,f9be7aaandd457567.- The two harness paragraphs that
f9be7aaputs inpoteto-help/SKILL.md, which install upstream's Claude Code tree and describe other tools, are not applied. The port keeps its own paragraph on Claude Code and Codex. - The 0.15.26 to 0.15.29 manifest bumps in
pstack/plugin.jsonandpstack/.cursor-plugin/plugin.jsonfrom0b8e952,0148b78andd457567are not applied, as for the earlier bumps above. create-formal-verification-skilltakes4382e68without itsdisable-model-invocation: trueline, because setup's formal verification offer invokes it and the flag blocks that route on Claude Code.tests/skill-collision-repro.shlists it inrouted_model_skills.maintain-formal-verification-skillkeeps the flag and runs only when typed.- Setup's verification offers are steps 10 and 11 in the port, after its step 9 smoke test. The port never took upstream's step 7, "Offer a verification skill", which upstream has carried since 0.11.3. This sync restores it as step 10, and
f9be7aa's formal verification offer becomes step 11. Each keeps upstream's check for a project that already has one. poteto-agent.mddoes not takeb93e811's search of~/.cursor/plugins/for poteto-mode, its highest-version rule, or its note that the skill catalog hides poteto-mode. The Claude agent preloadspstack:poteto-mode, the port's poteto-mode is not hidden, and Codex has nopoteto-agenttype. The agent keeps upstream's "Use the absolute path your parent gave you."ab1f702'sdisable-model-invocation: trueoninterrogateis not applied. Poteto-mode and the feature playbook route to it by name, and the flag blocks that route on Claude Code. A skill that needs a typed-only skill, such asinterrogatewithin-your-own-wordsorcreate-formal-verification-skillwithstatechartfrom00d5dec, reads that skill'sSKILL.mdand follows it.ab1f702's fallback chains for a rejected model slug are not applied: the rule in poteto-mode's Match the model to the job that walks the calling skill's fallback and then the closest valid slug or the parent model, Arena step 3's family defaults and closest-slug rule, Swarm step 3's default and closest-slug rule, and the arena judge's same-model closest slug and default-pool retry. Neither is Arena step 3's rule that refills dropped runner seats on a remaining runner's model or the parent model. Each conflicts with the named-dropout rule inprovider-dispatch.md. The arena judge keeps upstream's rule that it is never from the parent's provider, and when no configured entry runs, Arena skips the judge and says so.2f87c85retires the Orchestrate playbook and the plan checker. The port deletesplaybooks/orchestrate.md,scripts/check-plan.mjs, its test and the port'scheck-plan.tsconfig.json, and with themc742dd6's Orchestrate mappings.bf0c7cdand2f87c85putdisable-model-invocation: trueonhow,why,reflectandarchitect, which is not applied. Poteto-mode,teach,recalland the playbooks route to them by name, and the flag blocks that route on Claude Code.- The
model:line that2f87c85puts onpoteto-agent.mdis not applied, and neither is itsis_background: true. Grok's agent check requires model-free agents, and the Claude agent keeps itsskills: [pstack:poteto-mode]preload. - Upstream's role defaults from
bf0c7cd,2f87c85,e58dd04anddd24b67are replaced by the port's nine roles inrunner/registry/models.ts. Upstream's-fastmodel rules, the Gemini panel-seat migration, the# budgetline, the rule that no role runs abovexhigh, and setup's rule that every written model is atxhighor below are not applied. They would lower an effort the operator chose, as5bf2b15's step-down would. Per-spawn raising stops atxhighinstead. Eval's dispatch-only model becomes theswarm workersdescriptor lowered one step. 2f87c85's fallback chains for a rejected slug and Arena's rule that uses the first slug when the parent's model is unknown are not applied, as forab1f702below. The arena judge stays off the parent's provider.2f87c85's shortened Babysit, Opening a PR and Multi-phase plan are not applied. They fail the landing invariants intests/skill-collision-repro.sh: Babysit's reply command puts placeholder text inside a shell command, Opening a PR's baregh pr createdrops--repo "$base_repo", and the short Multi-phase plan drops the fork and stack rules. Multi-phase plan loses only its plan-checker step.- The relative "Guide page" links that
2f87c85puts inpoteto-helpare not applied; the port keeps its GitHub links to the guide. - Upstream's 0.15.30 to 0.15.36 manifest bumps in
pstack/plugin.jsonandpstack/.cursor-plugin/plugin.jsonfromeb4db2b,642289e,b1a1298,7c7bde7,164ced1,ab1f702andc742dd6, and the guide edits ineb4db2b,3c0fdb4,34b1b7c,ab1f702andc742dd6, are not applied, as for the earlier bumps and guide edits above. So are the matching updates to upstream's generatedharness/pstack/claude-code/tree. The same holds for the 0.15.37 to 0.15.50 manifest bumps, guide edits, harness tree updates andautomations/benny/edits.
-
#296 — heads with no check rollup: upstream's
watch-prtreats a GraphQLstatusCheckRollupofnullas an unreadable rollup and retries until--max-query-errors, so a repository with no CI never settles. The port reads a null rollup as no checks:--status-onlyreports✅ no checksat once, and watch mode confirms with one re-read after one backoff before it reports ready. A rollup with no readable contexts, or a PR with no commits, still fails closed. Preserve this divergence during syncs. -
#293 — dependency cache outside the plugin: upstream's
bootstrap.tsinstallswatch-prdependencies into the plugin, where Bun's TypeScript bin symlink breaks Codex hook fingerprinting. The port runsbun install --frozen-lockfile --productionin a user cache keyed by the hash ofpackage.jsonandbun.lock, under an absoluteXDG_CACHE_HOME, Windows local app data, or~/.cache, and publishes it by atomic rename. It then registers Commander from that cache with Bun before the CLI imports it. Preserve this divergence and the early Bun guard during syncs; never install into the plugin tree. -
#235 — Claude transcript folder encoding: the port wrote Claude Code's per-project transcript path into
recall,automate-meand thesession-pickupplaybook. Claude Code encodes each/and each.in the workspace path as-, so a.claude/worktrees/session's folder holds--claude-worktrees-. Keep both characters in those three lines during syncs. -
#140 — Reflect transcript resolution: Cursor's Reflect reads the transcript its system prompt names; the port had substituted Claude Code's per-project directory, which left Codex without a lookup. Since
bf0c7cdmade Reflect one file, its "Read the whole transcript" sentence carries the port's pointer toplugins/pstack/skills/poteto-mode/references/codex-tools.md#active-transcripts, and the rest ofreflect/SKILL.mdis upstream's. That mapping section holds the harness specifics: the Claude per-project scope, layouts, candidate and scan limits, opening-message verification, the Codex resolver call, and the 2,000-word digest fallback. The port-authored Bun resolverplugins/pstack/skills/poteto-mode/scripts/resolve-codex-transcript.ts, started through theshlauncherresolve-codex-transcriptnext to it so project Bun config and.envfiles cannot affect it, looks up the parent's known chat ID in Codex's read-onlythreadsindex, checks rollout scope and ownership, and prints opening-message metadata without transcript text. Preserve this divergence during upstream syncs: keep the pointer on that sentence and keep the mapping section and resolver. -
#120 — harness config homes (tracked for #105): Cursor's setup destination is
~/.cursor/rules/. The shared port resolves nonemptyCLAUDE_CONFIG_DIR/CODEX_HOME, otherwise$HOME/.claude/$HOME/.codex, once atplugins/pstack/skills/poteto-mode/references/codex-tools.md#harness-config-homes.setup-pstack/SKILL.mdreuses that home for reads, sheet/integration writes, snapshots, restoration, and readback; Claude preserves the literal legacy import at the default home and renders exactly@./pstack-models.mdfor redirected homes, keeping spaces and#in the config-directory name out of the import line; reruns replace the one import whose target basename ispstack-models.md, append if absent, and stop if duplicated. Preserve this intentional divergence during upstream syncs. The named config-home invariant intests/skill-collision-repro.shrejects literal default destinations outside the legacy import, requires the literal default-home rendering and zero/one/many import rules, and verifies unset/empty/space-containing resolution without daily writes. SeeCHANGES.mdfor the port correction andtests/setup-config-home-repro.shfor redirected live-evidence preparation. The Cursor sync point is unchanged. -
#157 — role pointers: Cursor names model descriptors in the Arena, Interrogate, and Swarm skills, the bug-fix, feature, hillclimb, perf-issue, and refactoring playbooks, poteto-mode's delegation defaults, and setup's probe table and first-run sheet. The port replaces each with a role pointer: the role's backticked sheet label and a link to
plugins/pstack/skills/poteto-mode/references/model-catalog.md#role-defaults, whichregistry/render.tsgenerates fromplugins/pstack/skills/poteto-mode/scripts/runner/registry/models.ts. Interrogate's reviewer table and setup's probe table and example sheet are deleted. The Architect and How pointers went with their retired roles in the 0.15.50 sync. When an upstream sync changes a model slug on one of these lines, keep the port's line and put the model change inregistry/models.ts.runner/registry.test.tsenforces the rule:ROLE_POINTERSnames each file's roles, and its text scan rejects any descriptor or versioned model name inplugins/pstack/**/*.md,README.md, anddocs/reference.mdoutside the generated catalog and agents. -
#46 — quiet setup reruns: Upstream's setup has no keep-roles, per-family effort, or write-confirmation questions, so this is a port patch.
setup-pstack/SKILL.mdstates one qualifying-rerun exception before step 2's keep-roles question. On a rerun whose sheet loaded with a valid writer sandbox line for each provider setup asks about, with no change named and no inconsistency or kept-predecessor proposal that needs a choice, setup validates in step 3, keeps and prints the roles and efforts instead of asking steps 2 and 4, and writes without step 7's confirmation when every step 5 probe passes. Steps 4, 7 and 8 and the offers in steps 10 and 11 each name the exception. It skips no validation, permission check, snapshot, readback, or the step 9 smoke test, and a failed probe still stops without writing.poteto-helpsays the same for reruns. Preserve this divergence during upstream syncs. -
#191 — landing playbooks and per-spawn effort:
ce649c0cuts Shipping to six steps and both autopilots to principles. The port takes the cut's rules and reasons but keeps the landing procedure from 1.3.0: Shipping keeps steps 1 to 9, and Autopilot-full step 2 holds the guarded rebase and push. Sinceab1f702made Autopilot-stack Autopilot-full without the merge, Autopilot-full step 2's stacked-owner paragraph also holds the fork, split-remote and parent-tip rules that Autopilot-stack step 2 held, and each owner restacks its own branch through them. Those steps disarm auto-merge and merge-queue entries before verification and before any rewrite, keep the verdict head and base apart from the landing head and base, resolve the base fetch remote apart from the head push URL, bind each push to a captured SHA, and merge only through a server-enforced expected head. The named landing invariants intests/skill-collision-repro.shcheck those rules by step and phrase, so a sync that moves them updates the invariants in the same change.ce649c0's Match the model to the job rule is taken with port adaptations: the starting level is the role's configured effort, an unlisted effort moves to the nearest effort the catalog row lists, and the fast and standard speed sentences are dropped because the port's descriptors carry no speed selector. From2f87c85, panel seats keep their configured effort and per-spawn raising stops atxhigh; a configured effort abovexhighstays as configured and is never raised.2f87c85also shortens Babysit, Opening a PR and Multi-phase plan, and the port keeps their landing text, as the exclusions above say. -
#232 — subagent waits in babysit: Cursor's babysit step 6 runs
driveandbackgroundunder/loop. Claude Code subagents have noScheduleWakeup, so/loopcannot run in them. The port adds one sentence after the/loopsentence that limits/loopto the main session and points a Claude Code subagent toplugins/pstack/skills/poteto-mode/references/codex-tools.md#waits-on-claude-code, which holds the wait rules. Preserve this sentence during upstream syncs. -
#262 — interrogate adversaries:
ab1f702spawns each adversary as a Cursor subagent that keeps repros in its own worktree. The port routes each adversary's descriptor withisolated-writein a dedicated worktree that the parent prepares at the reviewed HEAD, with the scope's uncommitted tracked and untracked changes copied in, because Claude external writers cannot write the shared.git. A provider whose route has noisolated-writemode is a named dropout, the output lists each adversary or its dropout, and no completed adversary is reported as incomplete coverage. Keep the dispatch-contract paragraph and theinterrogate reviewersrole pointer. Setup countsinterrogate reviewersamong the roles whose lanes write files. From #297, the adversary brief asks for each command run and its output even with no findings, and an adversary whose report quotes no command it ran is a named dropout (no command run), not a completed adversary. -
#262 — reflect skill copies:
7054003copies a skill out of the plugin cache to.cursor/skills/or~/.cursor/skills/before editing it. The port names the destinations per harness once, inplugins/pstack/skills/poteto-mode/references/codex-tools.md#reflect-skill-copies, andreflect/SKILL.mdpoints there. -
#262 — statechart types, no test corpus:
statechart/scripts/test/is not imported. It is 2.9 MB of upstream test data and TLC output, more than the review service's reviewers can read, and upstream's CI runs it. The rootbun run typecheckchecks statechart's scripts:statechart/scripts/package.jsonadds pinnedtypescriptand@types/nodeand atypecheckscript, with abun.lock, and the port annotatesexitClassinrun.tswith its0 | 1 | 2return type, which upstream's code needs under strict checking. Keep these lines during syncs until upstream fixes the type, and keepscripts/test/out, including thelean-corpus/andlean-*.test.tsfiles from4d5593e. -
#263, #258 — writer sandbox lines and Muse: upstream has no external runner, provider write modes or Muse provider.
provider-dispatch.md's Writer sandbox section andsetup-pstack/SKILL.md's<provider> writer sandbox:lines, opt-in question and writer-role check are port patches. Keep them, and the runner'sproviders/muse.ts, through syncs. -
#310 — old defaults in existing sheets: upstream marks its sheet with
# defaults: 3and replaces old defaults in an unmarked sheet. The port adapts that to its provider-qualified sheet.registry/render.tsputs# defaults: 3under the sheet's title, and setup step 2 reads it as a header comment, not a role. In an unmarked sheet only, setup replaces an old Grok default infeature, refactoringorswarm workers, and an old Opus, Sol and Grok panel inarena runners,arena cross-judge poolorinterrogate reviewers, with the role's current default. It then lowers each@maxto its family's default effort, capped atxhigh, lists every change at step 7, and writes the marker. A marked sheet keeps every value, including a Grok role or a@maxeffort chosen later. Upstream's write cap stays out, as the exclusions above say. Keep this during syncs. -
#310 — worker kickoff rules:
2f87c85'spoteto-mode/worker.mdopens every PR ready for review and fixes the PR title and body. The port opens a PR ready for review unless repository instructions require a draft until named evidence exists, which matches Opening a PR, and applies the title and body format unless repository instructions name another. Keep both clauses during syncs. -
#253 — T3 Code parent: Cursor has no T3 Code route. The port adds the
T3 hostsection toprovider-dispatch.md: a lane whose provider T3 offers and has enabled goes throughdelegate_task, and any other lane takes the standalone route of the Claude Code or Codex runtime.codex-tools.mdpoints to it, andsetup-pstack/SKILL.mdroutes its probes and smoke panel the same way at its existing steps. No other skill body changes. Keep these lines during syncs. -
#281 — Grok parent: Cursor has no Grok parent. Started from max-metaplanet's PR #282. The port adds
groktoPARENTSwithexplicitLaneRoute: "runner", so the generated route table has a Grok parent column and the runner accepts--parent grok, including a Grok provider. Claude and Codex keepnativeand stay native-only for their own provider. It addsplugins/pstack/.grok-plugin/plugin.jsonand the generatedgrok-agents/directory, a Grok column and a Waits on Grok section incodex-tools.md, the Grok rules inprovider-dispatch.md, and the Grok sheet insetup-pstack/SKILL.mdat its existing steps. Keep these lines during syncs.
The repository already names Cursor's repository as the cursor remote in the maintainer checkout. A fresh clone can add it once:
git remote add cursor https://github.com/cursor/plugins.gitFetch and inspect only commits that touched pstack after the recorded sync point:
git fetch cursor main
git log --oneline 2776ddd2355d6d6c8747d3964600f28daf62f049..cursor/main -- pstack
git diff --stat 2776ddd2355d6d6c8747d3964600f28daf62f049..cursor/main -- pstackNo output means the tracked pstack tree has not changed. This comparison does not need a polling service or generated mirror branch.
-
Create or update a GitHub issue in
ericlitman/open-pstackand branch from currentmain. Pin the upstream target commit in the issue. -
Read each upstream pstack commit in order, and record a decision for each one in the issue as a table: adopt, adapt (name the adaptation), or exclude (give the reason). Bring over each adopted commit's intent and content, then apply only the Claude Code, Codex and T3 Code substitutions documented in
CHANGES.mdand the adaptations in this file. -
Run the audit and the mechanical merge from a clean checkout:
python3 scripts/upstream-audit.py --port HEAD --upstream <target> > audit.json python3 scripts/upstream-merge.py audit.json
The merge checks out files the port never changed, merges the rest three ways, and prints counts of verbatim, clean, review and unmapped paths. It exits 1 when any path needs review.
-
Resolve each review row by hand. A conflict hunk keeps the port's adaptation and takes upstream's new intent beside it. A change to an excluded path stays out and extends that exclusion's line in this file. Each unmapped path, such as a Cursor manifest or the guide, is excluded or mapped by a decision in step 2. Record every hand resolution and every new adaptation or exclusion in this file.
-
Keep one shared
plugins/pstack/skills/tree. Put harness translation in the existingcodex-tools.mdand provider routing, including T3 Code's, inprovider-dispatch.md; do not fork a skill per harness. -
Add every new skill to the
skillslist in.claude/skills/verify-open-pstack/features/registry.json. -
Update the commit and version in this file, add a provenance row to
NOTICE.md, and takeREADME-UPSTREAM.mdwhen upstream changes its README. -
Run CI-equivalent checks locally, then run the installed Claude Code and Codex behavioral lanes required by the changed surface with
verify-open-pstack. A sync that edits the verifier runs from the candidate head with--self-test. A run above the session limit needs--wide "<reason>". Unit tests alone are not a release gate. -
Merge the reviewed PR before tagging the next open-pstack release. Publish a release only when every PR merged since the previous release has an Unfret verdict on its merged head and each material finding among them has a merged fix-forward PR. Publish it with
python3 scripts/release.py publishfrom a clean checkout ofmain.
Cursor's version and open-pstack's version are independent. Cursor's version identifies the imported content; open-pstack's version identifies the cross-harness distribution.