Repository navigation
release: sync Cursor pstack 0.15.17 as Open Pstack 1.6.0 - #145
Conversation
Port the ten skill-content commits from 23e4138 through 978ca6e with the Claude Code and Codex substitutions in CHANGES.md. Adds the benchmark-checklist, correct, ketchup, poteto-help, and principle-explain-the-number skills, and registers them in the verify-open-pstack feature map. df58112 (drop Sol from every default) is not applied. UPSTREAM.md lists it and the other exclusions.
Exclude upstream 23e4138's Autopilot-full rule that merges a green head without another rebase after trunk moves. A clean `git merge-tree` and disjoint paths do not prove the combined tree builds, so step 5 keeps re-verifying through the patch ID rule. UPSTREAM.md and docs/reference.md record the exclusion. Point `correct` step 3 at principle-test-behavior-not-implementation so it keeps negative-path tests, matching the port's test principle. Fix poteto-help's Codex subagent advice, the plugin-dev dependency, and the typed-only skill list. Stop Reflect claiming its glob lists nested and subagent transcripts. Correct two UPSTREAM.md attributions, file the post-1.5.0 changes under 1.6.0, and refresh the stale version, principle count, and /goal row in docs/reference.md. Refs #143, #144. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Merge Protections🟢 All 2 merge protections satisfied — ready to merge. Show 2 satisfied protections🟢 Queue ready pull requestsAutomatically queue non-draft pull requests targeting main after verify, Unfret, and live-gate pass on the head.
🟢 🚦 Auto-queueWhen all merge protections are satisfied and these conditions match, this pull request will be queued automatically.
|
Live evidence: Open Pstack
|
|
| "architect", "arena", "automate-me", "babysit", "benchmark-checklist", "blast-radius", "bro", "correct", | ||
| "create-verification-skill", "deslop", "figure-it-out", "fix-ci", "fix-merge-conflicts", | ||
| "get-pr-comments", "how", "interrogate", "maintain-verification-skill", | ||
| "make-pr-easy-to-review", "no-comments", "poteto-mode", | ||
| "get-pr-comments", "how", "interrogate", "ketchup", "maintain-verification-skill", | ||
| "make-pr-easy-to-review", "no-comments", "poteto-help", "poteto-mode", |
There was a problem hiding this comment.
New skills lack behavior checks
The five new skills all use the generic recipe in recipes.ts. It asks them to inspect a broken addition function and checks only that the skill loaded and wrote result.md. The fixture contains no performance measurements, repeated mistakes, or earlier chat activity, so these checks can pass without exercising the skills' main behavior.
Add focused fixtures and assertions, especially for rejecting a misleading benchmark and enforcing a repeated correction.
Knowledge Base Used: Open-pstack verification tooling
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
|
|
||
| 1. Ground the workload and architecture before choosing the metric. Run the **how** skill over the target, name the realistic workload dimensions that can move the result (data size, history, state, concurrency), and select a case that reproduces the user's complaint. If no case reproduces it, fix the repro instead of hillclimbing. Then fix one metric, the direction that counts as better, and a checkable stop predicate that pairs a target with a floor on attempts so a lucky early win can't end the run (the example "at least 50% better than baseline and at least 10 iterations" is this shape). Use the user's numbers when given, otherwise agree them. | ||
| 2. Build the measurement harness, prove its sensitivity, then freeze it (the **build-the-lever** principle skill). Run contrasting realistic workloads and confirm the target case reproduces the symptom while easier cases separate as expected. If the harness cannot distinguish them, revise the workload or metric. Once frozen, one repeatable command emits the metric, sampled enough to clear the noise (median of N, not a single run). Record the baseline metric and a green run of the regression gate (the tests that must keep passing) before any change. | ||
| 2. Build the measurement harness, prove its sensitivity, then freeze it (the **build-the-lever** principle skill). Run contrasting realistic workloads and confirm the target case reproduces the symptom while easier cases separate as expected. If the harness cannot distinguish them, revise the workload or metric. Vet the harness with the **benchmark-checklist** skill before you freeze it, and make it print its error count and a count of the work done. Once frozen, one repeatable command emits the metric, sampled enough to clear the noise (median of N, not a single run). Record the baseline metric and a green run of the regression gate (the tests that must keep passing) before any change. |
There was a problem hiding this comment.
Eval goals get performance checks
Step 2 now requires benchmark-checklist for every Hillclimb metric, although the playbook also supports non-performance goals. For an accuracy or eval score, the checklist asks for CPU profiles, bandwidth limits, and a faster-or-slower verdict that do not answer the task. Agents must spend time on unrelated measurements or ignore required steps.
Limit this route to performance metrics and use principle-explain-the-number's trial checks for eval metrics.
✅ No blocking findingsWalkthroughThis PR ports Cursor pstack
Advisories (3)
Details
First review of this pull request. @unfret review · @unfret status · @unfret help |
Live evidence: Open Pstack
|
Merge Queue Status
This pull request spent 9 seconds in the queue, including 2 seconds running CI. Required conditions to merge
|
Closes #143. Supersedes #144. Overlaps #128, which covers the 0.15.6 to 0.15.9 part of this range.
@nunoras wrote the sync in the first two commits, unchanged from #144. GitHub would not let a non-collaborator open the PR, and the live gate needs a branch in this repository, so this PR carries their commits plus one review-fix commit.
Summary
Cursor pstack moved from 0.15.5 to 0.15.17. This PR ports those changes to Claude Code and Codex and releases them as Open Pstack 1.6.0.
UPSTREAM.mdlists what this sync leaves out, with a reason for each:df58112, which drops Sol from every default and cuts the panels to Opus and Grok.23e4138's Autopilot-full rule that merges a green head without another rebase after trunk moves. A cleangit merge-treeand disjoint paths do not prove the combined tree builds.disable-model-invocationon principle leaves,figure-it-out, andbenchmark-checklist, because poteto-mode routes to them by name.correct's rule to delete any test that passes when functions return nothing. The port's test principle keeps negative-path tests.docs/guide/, the Cursor manifest, andmake-bot-ui.Evidence
main,python3 scripts/upstream-audit.py --port origin/main --upstream cursor/mainreports 67 upstream files changed since the recorded sync point (0.15.5).After: on this branch, the same audit reports 0 changed files against 0.15.17.
main, and the candidate found no new Cursor-only paths or tool names. Every file the candidate leaves atmainhas only excluded upstream hunks. All 12 upstream commits are accounted for, and all 47 poteto-mode index entries resolve.cbf6520, run locally with Bun 1.4.0:bun run test: 225 pass, 0 fail.bun run typecheck: exit 0.PSTACK_STATIC_ONLY=1 bash tests/skill-collision-repro.sh: exit 0, with 16 invariants and 107 of 107 verifier helper tests passing.claude plugin validateon the marketplace and the plugin: both pass.Merge Danger
Door: two-way. This PR changes skill text and the plan checker's required markers. Reverting the merge commit restores 1.5.0 text. Tagging and releasing 1.6.0 is a separate step.
Blast Radius: wide.
Every pstack session in both harnesses loads the changed poteto-mode index, playbooks, and principles. A lost port adaptation would show up as a skill that names a Cursor tool or path, a skill the model can no longer invoke, or a role that dispatches to the wrong model. The plan checker now requires
hourlyand no longer requiresstanding ordersor30-minute, so existing plan files that follow the old skeleton fail the checker until they are updated.What changed
The full change list is the 1.6.0 section of
CHANGES.md. It now also files the fourmainchanges that landed after 1.5.0, since 1.6.0 is their first release. The highest-risk files are poteto-mode, the two autopilot playbooks, andscripts/check-plan.mjs. The five new skills are in the verify-open-pstack feature map, so this PR changes the verifier.Review adjudication
Three Opus reviewers split the files by group, and Unfret and Greptile reviewed #144 at
fbda698. Commitcbf6520fixes every finding below.UPSTREAM.mdanddocs/reference.mdrows.correctstep 3 deletes valid absence tests (Unfret medium). Step 3 now followsprinciple-test-behavior-not-implementation.poteto-helpcallsplugin-deva built-in (Unfret medium). It now names the separate plugin and its install commands.poteto-helpgives Codex the Claude subagent type (Greptile P2). It now gives Codex thespawn_agentroute fromcodex-tools.md.poteto-helpno longer lists/automate-meas typed-only. Reflect no longer claims its glob lists nested and subagent transcripts. TwoUPSTREAM.mdrows have corrected attributions and reasons.docs/reference.mdhas the 1.6.0 sync point, 24 principle leaves, and no/goalrow.Not changed:
benchmark-checklistusesnproc, which macOS lacks, andpoteto-helpsays principles are hidden from the slash menu, which holds on Claude only. Both are upstream text that Unfret marked advisory.Verification
live-gatestatus on the final head links the evidence comment (installed version, surface, action, observed result).Live checks named for this PR's changed behavior, run with
--self-testfrom a checkout of this head because the PR changes the verifier:claude:skill-invocation:poteto-modeandcodex:skill-invocation:poteto-mode: the shortened index and fresh-subagent routing.claude:agent-preload:poteto-agent: the changed agent definition still preloads poteto-mode.claude:skill-invocation:correctandcodex:skill-invocation:correct: a typed-only new skill loads when invoked.claude:skill-invocation:poteto-helpandcodex:skill-invocation:poteto-help: the rewritten help skill.claude:skill-invocation:ketchup: the other typed-only new skill.claude:skill-invocation:benchmark-checklist: the new model-invocable skill.claude:skill-invocation:principle-explain-the-number: the new principle leaf through the Skill tool.project-skillin both harnesses, from--self-test.Mergify does not queue a pull request without
live-gateon its exact head. Do not merge, tag, release, or roll out without it.Not verified
mainbut not run live, because their changes are prompt shortening around an unchanged dispatch contract.🤖 Generated with Claude Code