Repository navigation
Description
Goal
Sync Open Pstack to Cursor pstack 0.15.29 (88d47514b82e7c44f00f2b2a72ff6dd12158038c), from the current sync point 99743e9 (0.15.25). The same PR fixes #46, because both change what setup-pstack does and share one setup live gate.
Rehearsal (2026-10-20, cursor/main 190d287)
scripts/upstream-audit.py and scripts/upstream-merge.py from main (9368993): 6 files verbatim, 3 clean merges, 3 needing review, 14 unmapped, exit 1.
- Needing review:
make-bot-ui/SKILL.md(upstream changed an excluded path),poteto-help/SKILL.md(2 conflict hunks),setup-pstack/SKILL.md(1 conflict hunk). - Unmapped:
pstack/plugin.json,pstack/.cursor-plugin/plugin.json, 11pstack/docs/guide/files andpstack/docs/harness/claude-code.md.
Per-commit decisions
| Upstream commit | Decision |
|---|---|
182f2ce (#637) Claude Code install from a generated tree |
Exclude, except README text that reaches README-UPSTREAM.md verbatim |
0317eb8 (#700) brand with a type guard |
Adopt |
a968159 (#702) every skill named after its folder |
Adopt. The port already complies. Its make-bot-ui hunk stays excluded. |
1b80080 (#705) three gaps in upstream's Claude Code plugin |
Exclude. The fixes live in upstream's Claude Code tree. |
019a6a2 (#704) docs refresh and docs-vs-tree check |
Adopt the README part. Exclude the guide and scripts/check-pstack-docs.mjs. |
16541c6 (#692), bc14437 (#708) /ketchup fixes |
Adopt |
4382e68 (#709) /create-formal-verification-skill |
Adapt: drop disable-model-invocation: true, because setup's new offer routes to it and the flag blocks the Skill tool on Claude Code |
6b78e9f (#721) TLA+ default and fallback |
Adopt |
7b353f7 (#716) /maintain-formal-verification-skill |
Adopt verbatim |
f9be7aa (#715) setup offers formal verification |
Adapt (see conflicts) |
75fabac (#712), 88d4751 (#729) /sharpen |
Adopt. /sharpen now rewrites the prompt and does not do the task. |
0b8e952, 0148b78, d457567 (#710, #713, #724) version bumps and guide |
Exclude |
Upstream's own Claude Code install stays out of the port. It runs grok-* and gpt-* roles on the session's Claude model, has no Codex, and maps Cursor names at runtime from a separate adapter file, which would be a second mapping layer on top of the port's own.
Conflicts
poteto-help/SKILL.mdhunk 1 (Get set up): keep the port's install lines and setup sentence, and append upstream's sentence about the verification offers.poteto-help/SKILL.mdhunk 2 (harness paragraph): keep the port's paragraph. Record upstream's two paragraphs as not applied.setup-pstack/SKILL.md: the port never had upstream's step 7, "Offer a verification skill" (upstream since 0.11.3). Keep the port's step 9. Add step 10 (offer a verification skill) and step 11 (offer a formal verification skill) from upstream's steps 7 and 8, recorded as an adaptation.make-bot-ui: keep it absent. Extend the existing exclusion inUPSTREAM.mdto covera968159.
Steps
git fetch cursor main. Ifgit diff --quiet 88d4751 cursor/main -- pstack/fails, audit against the new head and report the new counts.- Run the audit and merge against
88d4751, apply the decisions and conflict resolutions above. - Remove
disable-model-invocationfromcreate-formal-verification-skill, and add it torouted_model_skillsintests/skill-collision-repro.sh. - Add both new skills to
skillsin.claude/skills/verify-open-pstack/features/registry.json. - setup-pstack: on a rerun with a valid sheet and passing probes, steps 4/6/7 should take the sheet as their answers #46: on a rerun where the sheet loads, passes step 3, keeps its setting line, and the caller names no change, setup prints the kept roles and efforts, still probes, writes without asking when every probe passes, and prints the kept table. The new offers print one line each. A first run, an invalid sheet, a kept-predecessor proposal or a named change still asks. A failed probe stops without writing (
setup-pstack/SKILL.md:71). The qualifying-rerun exception also covers the confirmation clauses atsetup-pstack/SKILL.md:100and:112. features/recipes.ts: every setup prompt declines both offers.first-runasserts no new.claude/skills/or.agents/skills/directory. Extend the existingkeep-settingcase for setup-pstack: on a rerun with a valid sheet and passing probes, steps 4/6/7 should take the sheet as their answers #46 instead of adding a case: a valid sheet, no answers, the sheet and the Codex mirror byte-identical, and noAskUserQuestioncall.- Docs:
README.md(the two new skills, the/sharpenrow, the version, and one sentence saying that Cursor's pstack now installs in Claude Code aspstack@cursor-plugins, with Claude models only and no Codex, so install only one of the two).docs/reference.md(the two new skills,/sharpen, the skill count, and one line saying Claude writer lanes need macOS, Linux or WSL2). UPSTREAM.md: the new sync point and version, the new exclusions and adaptations, a ledger entry for setup-pstack: on a rerun with a valid sheet and passing probes, steps 4/6/7 should take the sheet as their answers #46, and a refresh of "Incorporate a change" from this run (Write an agent-runnable upstream sync skill #106).NOTICE.md: a row for 0.15.26 to 0.15.29.CHANGES.md: the release section, which also covers the changes merged since 1.15.0.- Set the version in both plugin manifests and
.claude-plugin/marketplace.json.
Live gate
From the candidate head with --self-test, because the PR edits the verifier. Features, in both harnesses: setup (setup's behavior changes) and skill-invocation:create-formal-verification-skill as the one stand-in for every skill text change. project-skill comes with --self-test. About 20 sessions, with --wide.
Acceptance criteria
- The PR merges with
live-gateon its exact head. UPSTREAM.mdrecords88d4751and pstack 0.15.29.- The release is published with
python3 scripts/release.py publish. - This issue and setup-pstack: on a rerun with a valid sheet and passing probes, steps 4/6/7 should take the sheet as their answers #46 are closed.
Activity
fix(verifier): accept Codex's read of the installed creator as setup'…
fix(verifier): let only setup's offer lead accept-formal-offer to the…
fix(verifier): recognize Codex's creator read by its content (#234)
Merge pull request #240 from ericlitman/feat/234-sync-pstack-0.15.29
feat(pstack): merge Cursor pstack 0.15.26 to 0.15.29 skill content (e…
fix(pstack): keep create-formal-verification-skill model-invocable (e…
chore: record the Cursor pstack 0.15.29 sync and release 1.16.0 (eric…