Skip to content

verify.sh run: enforce live-gate feature selection instead of trusting the named list #200

Closed

Description

@ericlitman

Outcome

verify.sh run enforces the live-gate feature-selection rule instead of leaving it to the agent. The rule today is prose: .claude/skills/verify-open-pstack/SKILL.md line 28 says to pick the features that exercise the PR's changed behavior, and that a full sweep is never the default. Agents broke it twice in one day, and each time Eric had to stop the run:

  • 2026-10-15, PR sync: Cursor pstack 0.15.25 as Open Pstack 1.10.0 (#191) #194 (Cursor pstack 0.15.25 sync): the session started a full sweep on pro14. Eric stopped it, then stopped a 35-feature rerun ("these tests are enormously expensive"). A 21-feature run passed. Record: the private batch-191 adjudication notes.
  • 2026-10-16, release PR release: Open Pstack 1.11.0 with the DeepSeek Harness and Antigravity providers (#198) #199: the session copied the 1.9.0 release's eight features (hook:startup, catalog, setup, runner in both harnesses, plus two runner routes), 30 sessions. Eric stopped it after 20 minutes. The rerun with hook:startup in both harnesses (2 sessions) passed in about 33 seconds of run time and recorded plugin 1.11.0 installed in both harnesses.

The verifier accepts any feature list today. classify in scripts/core.ts computes the features the changed paths reach. verify.ts line 104 then replaces that set with the named features and uses the classification only to decide noRuntime and project-skill. A manifest is a shared path, so its classification reaches every skill plus setup, runner and shipped-tools, even when only the "version" line changed.

Acceptance criteria

  • A PR whose only runtime change is the "version" line of the plugin manifests classifies as an install check: hook:startup in each harness whose manifest changed. Other edits to a shared path keep today's expansion.
  • verify.sh run refuses, before any install or GitHub write, a named feature that the PR's classified features do not include. The error names each refused feature and the reachable set.
  • Before any install, verify.sh run prints the number of headless sessions the named features will start. Above a fixed limit, it refuses unless the operator passes --wide "<reason>". The evidence comment records the reason, so review sees it. The limit is a constant in the verifier, not configuration.
  • Unit tests cover the release case (release: Open Pstack 1.11.0 with the DeepSeek Harness and Antigravity providers (#198) #199's files reach only hook:startup), a refused out-of-scope feature, and the limit with and without --wide.
  • SKILL.md describes the three checks and the --wide flag.
  • The PR changes the verifier, so its live gate runs from its own candidate head with --self-test, per AGENTS.md.

Constraints

Activity

  1. added
    enhancement
    on Oct 16, 2026
  2. added a commit that references this issue on Oct 16, 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