Skip to content

sync pstack 0.15.42 from bf0c7cd - #43

Merged
caelaxie merged 1 commit into
mainfrom
cursor/sync-pstack-0-15-42-1d99
Nov 16, 2026
Merged

caelaxie merged 1 commit into
mainfrom
cursor/sync-pstack-0-15-42-1d99

Conversation

@caelaxie

Copy link
Copy Markdown
Contributor

Summary

Sync this Codex port from upstream pstack c742dd61706fbacc1b95f1a20b7b988cf096ce6c (0.15.36) to bf0c7cd80abdbf7fe47b634978a7d1b4071f71a7 (0.15.42). The pin move is one pstack commit, cursor/plugins#1236. This port copies that pstack diff only.

What #1236 changes

  • sharpen asks the agent to prototype a choice an experiment can settle and to recommend from what it observed. Product and preference choices stay with the user.
  • reflect's synthesizer example is a function rename (parseConfig to loadConfig).
  • statechart reruns SANY in plain mode when XML fails, and reports that error section, capped at 40 lines, with spec line and column. Mermaid arrows that start outside a parent state end at the parent border. Tests are updated, including test/drawn.ts.
  • why is one short file and names no source. Investigators, the synthesizer, model routing, the output format, and references/ are gone. recall starts its own investigator per source. blast-radius and teach no longer point at parts why removed. poteto-mode still sends motivation questions to why through the investigation playbook, and drops why from the lists of skills that set their own subagent type or model roles. setup-pstack drops the two why roles.
  • how is one file. It starts one read-only subagent with a short brief and presents the output. Model routing, the complexity gate, explorers, the output format, and both prompt templates are gone. poteto-mode no longer runs how. The investigation, feature, bug fix, hillclimb, perf, and refactoring playbooks, plus architect, no-comments, and comment-sicko, tell the agent to trace the code. setup-pstack drops the two how roles. Benny traces directly. teach and poteto-help still catalog how.
  • Skill text defaults are Fable 5.2, Opus 5.5, and Gemini 4 Carbon. Role labels and the four budgets stay. setup-pstack writes a # defaults: 2 marker. A file without it is from an older setup. Recognized old defaults take the new defaults on the next run. Other values stay. grok-* is named once as the old-default slug pattern. Plugin version is 0.15.42.

Codex-only adaptations

  • Skills stay in .agents/skills/. The version bump is only in .codex-plugin/plugin.json, which keeps the existing Codex fields (skills, interface, defaultPrompt, and the rest). No Cursor or Claude Code manifest or harness file was added.
  • disable-model-invocation stays out of SKILL.md. why and how keep agents/openai.yaml with allow_implicit_invocation: false.
  • Changed skills keep the existing Codex adapter lead-in. Model paths stay .agents/pstack-models.md, then ~/.agents/pstack-models.md.
  • Skill invocations that this port already prefixed stay $pstack:, including $pstack:create-verification-skill and $pstack:create-formal-verification-skill. The multi-phase-plan worktree boot recipe stays.
  • setup-pstack still writes a Codex config of inherit-parent seats, with three seats on the panels upstream now lists as three models. A recognized old grok-* default becomes that section's inherit-parent value. Upstream would write claude-opus-5-5-high-fast for a leftover old slug in a mixed panel list.
  • The adapter still treats the embedded Fable, Opus, and Gemini slugs as historical defaults, so an unconfigured role inherits the parent model. The README keeps the existing inherit-parent sentence. Guide page 1 carries the upstream budget wording, with the Codex config path.
  • deslop, control-cli, and control-ui are unchanged and stay ordinary skills in this plugin.
  • docs/harness/codex.md needed no factual edit. docs/harness/claude-code.md was not ported.

Harness

Codex CLI 0.169.0, on this branch, with a fresh CODEX_HOME:

  • codex plugin marketplace add of this repo path registered marketplace codex-pstack.
  • codex plugin add pstack@codex-pstack installed version 0.15.42.
  • 61 skills loaded, including deslop, control-cli, control-ui, why, how, setup-pstack, poteto-mode, sharpen, reflect, statechart, recall, teach, blast-radius, architect, no-comments, and poteto-help.
  • 2009 files under the installed .agents/ tree match the repo .agents/ tree byte for byte.
  • codex exec of $pstack:poteto-mode stopped with 401 Unauthorized. codex login status is not logged in. why, how, setup-pstack, and statechart were not executed for the same reason.
  • Local statechart tests, without TLC: 270 passed, 0 failed, 70 skipped because TLA2TOOLS is unset.
Open in Web Open in Cursor 

Port the pstack diff from c742dd61706fbacc1b95f1a20b7b988cf096ce6c to bf0c7cd80abdbf7fe47b634978a7d1b4071f71a7 into the Codex layout. Plugin version is 0.15.42.

Co-authored-by: Kaitian Xie <caelaxie@users.noreply.github.com>
@cursor

cursor Bot commented Nov 16, 2026

Copy link
Copy Markdown

Harness proof

Codex CLI 0.169.0 (npm view @openai/codex version is 0.169.0). Fresh CODEX_HOME, this branch, repo path /agent/repos/codex-pstack (commit f58d9750b4a06a2ab791173925f12148669f7e2d).

  1. codex plugin marketplace add /agent/repos/codex-pstack --json
{
  "marketplaceName": "codex-pstack",
  "installedRoot": "/agent/repos/codex-pstack",
  "alreadyAdded": false
}
  1. codex plugin add pstack@codex-pstack --json
{
  "pluginId": "pstack@codex-pstack",
  "name": "pstack",
  "marketplaceName": "codex-pstack",
  "version": "0.15.42",
  "installedPath": "/tmp/pstack-install-uexfhxo1/plugins/cache/codex-pstack/pstack/0.15.42",
  "authPolicy": "ON_INSTALL"
}
  1. Skill load. The installed tree has 61 SKILL.md skills. Required set is present: poteto-mode, setup-pstack, deslop, control-cli, control-ui, why, how, sharpen, reflect, statechart, recall, teach, blast-radius, architect, no-comments, poteto-help. Missing: none.

  2. Byte match, same check as .github/workflows/plugin-install.yml. 2009 files under .agents/ match the repo byte for byte. Differ: none. Installed manifest version is 0.15.42.

  3. Skill exec. codex login status is Not logged in. codex exec of $pstack:poteto-mode exited 1 with 401 Unauthorized: Missing bearer or basic authentication in header on wss://api.openai.com/v1/responses and https://api.openai.com/v1/responses. why, how, setup-pstack, and statechart were not executed. They use the same unauthenticated Responses API.

Extra local check, not the plugin harness: statechart node --test reported 270 passed, 0 failed, 70 skipped. The skips are the TLC corpus cases, which need TLA2TOOLS.

@caelaxie caelaxie left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pass. ports the one pstack commit bf0c7cd (0.15.42). mapped files match upstream after the existing codex path and inherit-parent adaptations; setup-pstack keeps inherit-parent seats and bumps panels to three; no cursor-team-kit mentions; deslop/control-cli/control-ui unchanged. harness: codex plugin marketplace add + codex plugin add pstack@codex-pstack on f58d975, 61 skills including the three embedded, 2009-file byte match, plugin-install.yml install green. exec blocked only by 401 / not logged in. squash-merging.

@caelaxie
caelaxie merged commit cc68a52 into main Nov 16, 2026
1 check passed
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