Skip to content

Sync Cursor pstack 0.14.3 verified multi-PR checklist #17

Closed

Description

@ericlitman

Context

Open Pstack 1.1.0 is synchronized to Cursor pstack 0.14.2 at 46125561306434d8a1d7745d540d8932ab0cd2a2. Cursor pstack PR #258 merged as bdf7aa355337897f167153e05069aca505dae17c and bumps upstream to 0.14.3.

The upstream change replaces the old overview-and-phase-files planning reference with one executable multi-PR checklist and a check-plan.mjs validator. It changes four upstream files: bumps the Cursor manifest, expands multi-phase-plan.md, deletes references/plan.md, and adds scripts/check-plan.mjs.

Open Pstack must port the behavior without copying Cursor-only runtime assumptions into the shared Claude Code and Codex skill tree. In particular, preserve parent-owned provider dispatch, configurable per-model effort from #15, the shared harness mapping boundaries, local writer isolation, no fallback, and no implicit timeout.

Integration direction

Port the upstream intent as one reviewable sync rather than merging Michael Denyer's port or copying the Cursor tree wholesale.

  • Replace plugins/pstack/skills/poteto-mode/playbooks/multi-phase-plan.md with the adapted inline checklist.
  • Delete the obsolete plugins/pstack/skills/poteto-mode/references/plan.md; do not keep a compatibility pointer.
  • Add the validator under plugins/pstack/skills/poteto-mode/scripts/check-plan.mjs and make it validate the adapted cross-harness skeleton.
  • Resolve planning explorers and verification workers through provider-dispatch.md. The configured judgment and prose and swarm workers descriptors remain authoritative; the first-run swarm default remains grok:grok-4.6@xhigh, but the checklist must not undo user-selected effort.
  • Route subagents, standing goals, cadence, and real-surface control through the existing harness boundaries in codex-tools.md and the installed playbooks. Claude and Codex continue to share one skill body.
  • Translate repository paths from Cursor's monorepo layout to Open Pstack's source and installed-plugin layouts.
  • Keep historical changelog entries intact. Add a new sync entry and update only current maintenance prose that points at the deleted planning reference.

Acceptance criteria

  • multi-phase-plan.md carries the 0.14.3 checklist structure: plan-only ownership, prototype-first open-question resolution, explicit execution playbook selection, program checklist, one section per PR, evidence-bearing boxes, unit/live/perf verification, interaction review gates, merge rules, and appendices.
  • references/plan.md is deleted and no live skill or maintenance instruction points at it.
  • check-plan.mjs enforces heading and block order, the verification rule, ten named live lanes with artifacts and pass predicates, perf metric/probe/baseline/failure threshold, review-gate shape, appendix placement, and prose punctuation constraints.
  • The adapted playbook and checker use the configured swarm workers descriptor instead of hard-coding Cursor's grok-4.6-fast-xhigh; Allow per-model effort selection in setup-pstack #15's selected-effort behavior remains intact.
  • Planning exploration resolves once through parent-owned provider dispatch. Children do not detect the parent, reroute, or silently substitute a failed provider.
  • Cursor's control-ui, control-cli, cloud-VM, /goal, and /loop assumptions are expressed through the existing Claude/Codex mapping boundaries without a second skill tree or compatibility layer.
  • A valid skeleton extracted from the playbook passes the checker. Focused negative fixtures fail for missing sections, malformed live lanes, incomplete perf evidence, invalid review gates, and forbidden punctuation.
  • Bun tests, strict typecheck, static invariants, manifest validation, and plugin validation pass.
  • UPSTREAM.md, README.md, docs/reference.md, NOTICE.md, CHANGES.md, and all versioned manifests record Cursor pstack 0.14.3 at bdf7aa355337897f167153e05069aca505dae17c and the chosen Open Pstack release version.
  • The exact packaged candidate is installed in fresh Claude Code and Codex sessions. In each harness, a multi-PR planning request produces the adapted checklist, does not implement code, and passes check-plan.mjs; the configured provider/effort route and real-surface control wording are observed from the installed artifact.
  • A one-or-two-file obvious request still takes the explicit skip path and stops without producing checklist ceremony.
  • No command trampoline layer, weaker-model fallback, or implicit runtime timeout is introduced.

Source refs

Scope boundary

This issue tracks Lauren Tan's canonical Cursor pstack 0.14.3 change only. Newer commits on michael-denyer/pstack-claude are a secondary port lineage and are not part of this upstream sync.

Activity

  1. added
    enhancement
    on Aug 26, 2026
  2. ericlitman commented on Aug 26, 2026

    @ericlitman
    OwnerAuthor

    Recommended integration order from the live divergence review:

    1. Resolve #19 first. The 0.14.3 checklist copies the terminal merge rule from the selected execution playbook, so the operator-click policy should be settled before adapting the skeleton and checker.
    2. Implement Sync Cursor pstack 0.14.3 verified multi-PR checklist #17 as a narrow canonical upstream sync against the final autopilot-full contract.
    3. Treat Adopt Bun bootstrap guard and pointer-only platform mapping #18 as an independent port-hardening PR. It can land before or after Sync Cursor pstack 0.14.3 verified multi-PR checklist #17, but it should not be folded into the upstream-sync diff.

    Use separate branches and PRs. The local main checkout currently has the unrelated untracked assets/open-pstack-social-preview.png; create isolated worktrees from origin/main and leave that asset untouched.

  3. ericlitman commented on Aug 26, 2026

    @ericlitman
    OwnerAuthor

    Triage decision

    Outcome: Ready

    Cursor pstack 0.14.3 adds a real, useful verified-planning contract, and the current Open Pstack tree lacks both the inline checklist and its checker. The work is executable as a narrow adapted upstream sync; issue #19 is not a prerequisite.

    Context

    At Open Pstack commit 74c5cb2110039d4e6cdd749a04a0988ba150ba9c, multi-phase-plan.md is a three-line pointer to the uncheckable 105-line references/plan.md, and no check-plan.mjs exists. Cursor commit bdf7aa355337897f167153e05069aca505dae17c advances pstack from 0.14.2 to 0.14.3 by replacing that design with an inline, evidence-bearing multi-PR checklist and a structural validator.

    The upstream skeleton and checker are coupled to Cursor-specific provider, goal, repository, VM, and control-tool strings. Open Pstack must port the contract through its existing provider-dispatch and Claude/Codex mapping boundaries rather than copy the files verbatim.

    Why still real

    • Supported: the upstream delta is exactly the manifest bump, expanded multi-phase-plan.md, deletion of references/plan.md, and addition of scripts/check-plan.mjs.
    • Supported: the current local planner has no mechanical validation, so this is a useful additive quality improvement rather than a bug fix.
    • Supported: the playbook and checker must be adapted together. The checker hard-codes the same Grok lane string that appears in the skeleton and also requires Cursor-specific /goal and git show origin/main: markers.
    • Supported: references/plan.md should be deleted, not retained behind a compatibility pointer. Its only live caller is the playbook being replaced.
    • Supported: version parity is enforced across UPSTREAM.md and the three versioned manifests.
    • Disproved: the existing comment's claim that #19 must land first. The checker requires a Merge block but enforces no merge-policy string; either ordering works, with at most one later placeholder edit.
    • Unverified until implementation: the adapted skeleton/checker remain mutually consistent and the installed artifact behaves correctly in both harnesses. The acceptance checks below make those release gates.

    Scope and non-goals

    This ticket owns the canonical Cursor 0.14.3 sync at bdf7aa3: adapt and inline the checklist, delete references/plan.md, add the adapted checker and fixtures, update current provenance/version records, and prove the exact installed candidate.

    Keep one shared Claude/Codex skill tree. Resolve planning exploration and verification through parent-owned configured roles; do not freeze a resolved provider effort in the contract. Translate Cursor's /goal, cloud-VM, repository-layout, control-ui, and control-cli assumptions at the existing boundaries. Preserve historical changelog text and README-UPSTREAM.md because Cursor did not change it.

    This ticket does not include michael-denyer's secondary-port commits, issue #18, issue #19, or issue #20. It does not add a compatibility pointer, command trampoline, provider fallback, or implicit timeout.

    Acceptance criteria

    • multi-phase-plan.md contains the adapted 0.14.3 plan-only protocol and complete executable checklist structure: prototype-first uncertainty resolution, explicit execution-playbook selection, program checklist, per-PR sections, evidence-bearing boxes, unit/live/performance verification, review gates, merge block, and appendices.
    • references/plan.md is deleted. No live skill or current maintenance instruction points to it; historical changelog references remain unchanged.
    • check-plan.mjs enforces ordered headings and blocks, the verification-rule sentence, ten live lanes with artifacts and pass predicates, four performance-evidence boxes, review-gate shape, appendix placement, and the punctuation rules.
    • The adapted skeleton and checker name the stable configured swarm workers role rather than hard-coding grok-4.6-fast-xhigh. Runtime evidence records the selected provider and effort without rerouting, substitution, fallback, or effort loss.
    • Planning exploration resolves once through parent-owned provider-dispatch.md; children neither detect the harness nor choose their route.
    • Cursor-only goal, cadence, VM, repository, destination, and control-tool concepts are translated through the existing shared harness boundaries. Relative references in a copied plan remain valid.
    • An instantiated or extracted valid skeleton passes the checker. The fenced playbook source is not presented as a checker input.
    • Positive and focused negative fixtures run in the repository test gate and prove failures for missing or reordered sections, malformed live lanes, incomplete performance evidence, invalid review gates, and forbidden punctuation.
    • A precisely defined obvious one- or two-file request takes the documented skip path and stops without checklist ceremony.
    • UPSTREAM.md, current provenance/maintenance prose, and all versioned manifests consistently record Cursor pstack 0.14.3 at bdf7aa355337897f167153e05069aca505dae17c and one newly selected Open Pstack version.
    • The final diff and package contain no second skill tree, compatibility pointer, command trampoline, weaker-model fallback, or implicit timeout.
    • The exact packaged candidate passes the real-surface checks below in fresh Claude Code and Codex sessions.

    Open risks and unresolved questions

    • The checker is intentionally coupled to exact prose. Consequence: a skeleton/checker mismatch could reject every plan or make a check vacuous. Guard: coupled positive/negative fixtures plus installed-plan validation.
    • The exact new Open Pstack version and fixture location are implementation choices, not product decisions. Guard: select one unused semantic version, keep every manifest/provenance value identical, and place the fixtures in the existing test gate.
    • Reviewer disagreement: Fable recommended Ready; Codex recommended Blocked over the precise role wording, release number, fixture location, and validation command. Direct evidence resolves these as bounded implementation choices with explicit invariants above, so the lead selects Ready.

    Verification

    • From plugins/pstack/skills/poteto-mode/scripts: bun install --frozen-lockfile, bun run test, and bun run typecheck.
    • From the repository root: the manifest JSON-parse used by CI and PSTACK_STATIC_ONLY=1 bash tests/skill-collision-repro.sh.
    • Run the new checker fixtures, including an extracted valid skeleton and each focused invalid case.
    • Install the exact candidate independently in Claude Code and Codex. In each harness, request a multi-PR plan, confirm no implementation occurs, run the checker against the generated plan, observe the configured provider/effort receipt and translated real-surface controls, and record installed version, surface, action, and observed result.
    • Exercise the defined small-request skip path in both harnesses.

    Source refs

    • Source issue: Sync Cursor pstack 0.14.3 verified multi-PR checklist #17
    • Source issue database ID: 5252387644; captured updated_at: 2026-08-26T01:37:39Z; normalized body SHA-256: befe0edda477b6c4d3683a74a4758646819193233b5de799a0f56e3ba1e40128.
    • Non-triage comment: database ID 5419400744; updated_at 2026-08-26T01:37:39Z; normalized body SHA-256 2c4bf7555cd37b1a10b73ba045e9e3c6e80258caaaf98194b9b1cbc3fdc2424d; Sync Cursor pstack 0.14.3 verified multi-PR checklist #17 (comment)
    • Cursor PR and commit: docs(pstack): make the multi-PR plan a verified checklist cursor/plugins#258 and cursor/plugins@bdf7aa3
    • Repository baseline: 74c5cb2110039d4e6cdd749a04a0988ba150ba9c; UPSTREAM.md; plugins/pstack/skills/poteto-mode/playbooks/multi-phase-plan.md; plugins/pstack/skills/poteto-mode/references/plan.md; plugins/pstack/skills/poteto-mode/references/provider-dispatch.md; plugins/pstack/skills/poteto-mode/references/codex-tools.md; tests/skill-collision-repro.sh; .github/workflows/ci.yml.
    • Duplicate/prior-implementation search: no matching issue or PR beyond the current issue set.
    • Current review fingerprint: the generated marker on the first line of this comment.

    Premise review evidence

    Outcome and decisive reason

    Ready. The missing upstream checklist/checker pair is directly observed and has a bounded adaptation path through existing repository contracts.

    Grounded premise findings

    • Supported: exact four-path upstream delta; consequence: keep the sync narrow.
    • Supported: current planner is uncheckable; consequence: port both checklist and checker.
    • Supported: Cursor strings conflict with existing Open Pstack mappings; consequence: adapt skeleton and validator as one contract.
    • Supported: configured provider routing and selected effort are parent-owned; consequence: use stable role language and prove the resolved receipt at runtime.
    • Disproved: #19 is a technical dependency; consequence: Sync Cursor pstack 0.14.3 verified multi-PR checklist #17 can execute independently.
    • Unverified until completion: packaged cross-harness behavior; consequence: exact-candidate live proof is mandatory.

    Reviewers

    • claude:claude-fable-5@xhigh: completed; Status ISSUES; Recommendation READY; biggest risk was skeleton/checker string drift.
    • codex:gpt-5.6-sol@xhigh: completed; Status ISSUES; Recommendation BLOCKED; biggest risk was the same string coupling plus underspecified release/validation details.

    Disagreement and adjudication

    Both reviewers agreed the problem and narrow sync are real. Codex treated ordinary choices of unused release version, fixture location, exact stable role wording, and named validation procedure as blockers. Fable treated them as correctable criteria. Repository parity checks, existing role ownership, and the concrete CI commands bound those choices without another product decision, so the lead adopts the corrected Ready scope.

    Rejected alternatives

    Residual risks

    Only the skeleton/checker coupling remains material; fixtures and installed-candidate validation are the guard.

    Provider dropouts

    None.

    Prior triage

    No prior valid triage comment existed at capture time.

  4. added a commit that references this issue on Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions