Repository navigation
Description
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,runnerin both harnesses, plus two runner routes), 30 sessions. Eric stopped it after 20 minutes. The rerun withhook:startupin 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:startupin each harness whose manifest changed. Other edits to asharedpath keep today's expansion. verify.sh runrefuses, 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 runprints 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.mddescribes the three checks and the--wideflag.- The PR changes the verifier, so its live gate runs from its own candidate head with
--self-test, perAGENTS.md.
Constraints
- No new configuration file and no per-repository setting.
- Suggestion, not a requirement: set the session limit from observed runs. The settling observation is the session count of recent passing live gates: feat(runner): add read-only dsh and Antigravity providers (#159, #37) #196's final run (
runner,setupandcatalogin both harnesses, 28 sessions), sync: Cursor pstack 0.15.25 as Open Pstack 1.10.0 (#191) #194's 21-feature run, and release: Open Pstack 1.11.0 with the DeepSeek Harness and Antigravity providers (#198) #199's 2-session run. A limit that would refuse feat(runner): add read-only dsh and Antigravity providers (#159, #37) #196's final run is acceptable, because--widewith its reason is the intended path for a PR like that. - Source: Eric asked on 2026-10-16 how to make the rule apply consistently, and approved filing this ahead of OpenCode (Opencode support? #68), Amp (Support Amp as an external provider #158) and Cursor CLI (Support Cursor CLI as an external worker provider #71).
Activity
Merge pull request #201 from ericlitman/feat/200-verify-feature-selec…
verify: enforce live-gate feature selection (ericlitman#200)
[MEDIUM] Update pstack and add formal verification skills (#2)