Skip to content

Run only the live checks named for the PR's changed behavior #138

Closed

Description

@ericlitman

Problem

The verifier selects features by path ownership. The shared rule turns any change under poteto-mode/references/** or plugins/pstack/agents/** into 54 skill invocations plus setup, runner, shipped-tools and project-skill, in both harnesses. #115's final run took about 3 hours. Its Claude half cost about $28 in Claude spend on the earlier measured attempt, and the Codex half cost about the same again. The AGENTS.md live-test rule came from #7. It asks for a live test of the changed behavior, not of every possible consumer.

Eric decided on 2026-10-04 that no PR runs the 58-feature sweep again, and that a live test is a single targeted session.

Outcome

An agent runs verify.sh run --pr N --feature <harness>:<feature> [...] and gets exactly the named checks, usually one session, with the same exact-SHA, provenance, restoration, evidence and publication rules.

Acceptance criteria

  • run takes repeatable --feature <harness>:<feature>. When the PR has a runtime change, at least one --feature is required, and the run exercises only the named features. The verifier never falls back to the classified set. Path classification still runs, and unmapped paths still fail closed.
  • A PR whose paths are all nonRuntime launches no harness, as today. --self-test still adds project-skill in both harnesses.
  • The evidence comment lists the features that ran. The publisher does not claim the rest of the classified set was exercised.
  • A new recipe agent-preload:poteto-agent (Claude only) covers fix(pstack): preload poteto-mode in Claude poteto-agent (#49) #114 (Preload poteto-mode in the Claude poteto-agent #49). A claude -p session dispatches pstack:poteto-agent through the Agent tool and asks it to name the first Core principle of the preloaded poteto-mode skill without invoking Skill or reading files. The check asserts that the record shows that Agent dispatch, that the child reply names Laziness Protocol, and that the child made no Skill call and no Read of poteto-mode's SKILL.md.
  • SKILL.md and features/README.md say that the agent picks the features for the PR's changed behavior and lists them in the PR body, where review sees them.
  • The verifier's own tests and typecheck pass. The delivery PR passes its own --self-test run.

Superseded

This replaces the earlier scope of consumer selection, parallel harnesses and one-lane fixtures. Targeted features make all three unnecessary.

Related: #112 (PR #137), #115, #114, #49.

Activity

  1. changed the title [-]Cut verifier run time: select skills by consumer, run harnesses in parallel, one-lane fixtures[/-] [+]Run only the live checks named for the PR's changed behavior[/+] on Oct 5, 2026
  2. added a commit that references this issue on Oct 5, 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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions