Skip to content

setup-pstack: on a rerun with a valid sheet and passing probes, steps 4/6/7 should take the sheet as their answers #46

Closed

Description

@zeitlinb

Current scope (maintainer, 2026-10-20)

Still reproduces on main (9368993): setup-pstack/SKILL.md asks at step 2 (keep the roles), step 4 (one effort per family) and step 7 (confirm the write) on every rerun. Cursor pstack 0.15.29 does not change this, and the three questions are Open Pstack's own text, so the fix is a port patch, not upstream-first.

Scheduled inside the Cursor pstack 0.15.29 sync (#234), because both change what setup does and share one setup live gate. 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 sync's two new offers print one line each instead of asking. A first run, an invalid sheet, a kept-predecessor proposal or a named change still asks. A failed probe stops without writing, as setup-pstack/SKILL.md:71 already says. The fix gets an entry in the UPSTREAM.md ledger.

Acceptance criteria

  • On a qualifying rerun (the sheet loads, passes step 3, keeps its setting line, and the caller names no change), setup asks no role, effort or write-confirmation question, still probes, writes the sheet unchanged when every probe passes, and mentions each verification offer in one line without asking.
  • A first run, an invalid sheet, a kept-predecessor proposal or a named change still asks, and a failed probe still stops without writing.

Original request

What happened

setup-pstack was rerun on a machine whose override sheet already held every role and every per-family effort, and whose four probes all passed. Steps 4, 6 and 7 still put their operator prompts (the four effort questions, the keep-roles confirmation, the write confirmation) in front of the human. Every answer was already on disk and the human's reaction was that none of it should have reached them.

Proposal

On a rerun where the parsed sheet passes matrix validation and every probe passes, steps 4, 6 and 7 take the parsed sheet as their answers and print what they kept, unless the caller names a change (a new lane, a new family, a different effort). A first run, a failed probe, or an invalid sheet still asks.

Why upstream

The skill body owns the prompts, so the idempotent rerun belongs in the skill rather than in a per-project wrapper. This project does not fork pstack.

Context: open-pstack 1.2.1 on Claude Code, macOS. Happy to send a PR if you prefer.

Activity

  1. Repository owner deleted a comment from mast-factory on Oct 2, 2026
  2. ericlitman commented on Oct 12, 2026

    @ericlitman
    Owner

    Still relevant on main (1.6.1). On a rerun with a valid sheet and passing probes, setup still asks whether to keep the role assignments (step 2), asks one effort question per assigned family (step 4), and asks before writing (step 7).

    The model and provider registry rewrites setup's steps 5 to 7 in #157 (registry U3), so this change lands right after #157. That avoids editing the same steps twice. It is queued for then.

  3. ericlitman commented on Oct 21, 2026

    @ericlitman
    Owner

    Thanks again for the clear report. This still reproduces on main: on a rerun with a valid sheet and passing probes, setup still asks to keep the roles, asks one effort per family, and asks before writing. Cursor's pstack 0.15.29 does not change this, and those three questions are Open Pstack's own text, so we'll fix it here rather than upstream.

    On such a rerun, setup will print what it kept, probe, and write without asking. A first run, a failed probe, an invalid sheet or a change you name will still ask. The fix lands in the 0.15.29 sync PR (#234).

  4. ericlitman commented on Oct 21, 2026

    @ericlitman
    Owner

    This shipped in Open Pstack 1.16.0 (https://github.com/ericlitman/open-pstack/releases/tag/v1.16.0). On a rerun with a valid sheet that has its setting line, with no change named, setup now prints the kept roles, efforts and table, probes, and writes without asking when every probe passes. Thanks again for the report.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions