Skip to content

Add a REVIEW.md that states open-pstack's actual usage, so Unfret stops blocking on triggers we never produce #153

Closed

Description

@ericlitman

Outcome

Unfret's judge weighs open-pstack findings against this repository's own statement of actual usage. A finding whose trigger lies outside that usage then arrives as an advisory, not a blocking finding. Security, secret exposure, data loss, and the integrity of a merge-gate or waiver decision stay material whatever the trigger. Eric decided that rule on 2026-10-06 (MASTRA-892).

Why

open-pstack has no REVIEW.md. Unfret reads AGENTS.md, CLAUDE.md, REVIEW.md and CODING_STANDARDS.md from the reviewed repository as mandates (mastra-pilot packages/dispatch/src/evidence.ts:39). mastra-pilot's REVIEW.md defines "reachable means our actual usage triggers it" and lists its own usage policy (MASTRA-871, MASTRA-884). Without that file here, the judge has no usage boundary for open-pstack.

On 2026-10-11, about nine blocking findings on PRs #122 and #151 needed triggers we never produce. Each one cost a manual waiver or a review round:

  • git 2.4 or older, or git older than 2.17 (the operator Mac runs git 2.50.1);
  • a directory literally named --git-common-dir;
  • a global protocol.file.allow=never or safe.bareRepository=explicit;
  • #, (, spaces or glob characters in a verifier run root, which the skill documents as mktemp …/open-pstack-evidence.XXXXXX;
  • a run root whose name contains fixture text;
  • a model under live test deliberately rebuilding a tool's output. The verifier's threat model is model claims, and its runner recipe already accepts that standard.

The batch records are at ~/projects/docs/projects/open-pstack/records/2026-10-11-batch-146/. The PR 151 step-back decision, which sets the evidence standard, is in stepback-151/decision.md.

A judge-prompt change for the same problem was measured and canceled: MASTRA-883 and MASTRA-884 cleared 8 more findings out of 267, but real misses rose from 3 to 6. Using this repository's own usage statement is the route Eric chose on 2026-10-11.

Acceptance criteria

  • A root REVIEW.md adapted from mastra-pilot's review-policy section, with an open-pstack "actual usage" policy. The candidate facts below are suggestions. Each one must be confirmed against the current repository, and an observation that contradicts one settles it:
    • The live gate and verifier run on the operator Mac (macOS, APFS, Apple git 2.50 or later). CI runs on ubuntu-latest.
    • Verifier run roots and fixtures are created by the verifier (mktemp), never named by hand.
    • Runner lanes run on supported Claude Code, Codex and Grok CLI versions, named in provider-dispatch.md.
    • The live gate guards against model claims, not deliberate forgery by the model under test. This is the runner-recipe standard.
  • Security, secret exposure, data loss, and merge-gate or waiver integrity stay material whatever the trigger, quoted as in mastra-pilot's REVIEW.md.
  • REVIEW.md is mapped in .claude/skills/verify-open-pstack/features/registry.json as nonRuntime, like the root attribution files in Map repository-root attribution files as nonRuntime in the verifier registry #134. Otherwise the verifier refuses the unknown path.
  • REVIEW.md is a port-only file. Note it in NOTICE.md if that file lists port-authored root files.
  • Verification:
    • Bun tests, strict typecheck, static invariants and plugin validation pass.
    • The live run uses the candidate head as publisher revision and runs project-skill with --self-test in both harnesses, because this PR edits the verifier's registry.json (design pass, 2026-10-12).
    • On the next runtime PR after merge, compare the share of blocking findings whose trigger lies outside the stated usage with this issue's evidence above.

Constraints

  • A PR that edits REVIEW.md must merge before any other PR in its batch starts review, or after all of them have merged. Unfret does not carry an approval across a mandate change (run-these rule; MASTRA-660).
  • Do not narrow what reviewers report. REVIEW.md decides only what blocks.

Activity

  1. ericlitman commented on Oct 12, 2026

    @ericlitman
    OwnerAuthor

    Design pass (2026-10-12, Astra high, read-only at 748a9bc)

    Record: ~/projects/docs/projects/open-pstack/records/2026-10-12-batch-153/design-153.md (private docs repo).

    Accepted

    • This PR is verifier-changing. Adding REVIEW.md to nonRuntime in .claude/skills/verify-open-pstack/features/registry.json edits the verifier itself, so the live run uses the candidate head as publisher revision and runs project-skill with --self-test in both harnesses. "No runtime change" applies to later REVIEW.md-only edits, not this PR. The acceptance criteria below are corrected.
    • State only facts the repository enforces or the operator chose, and label each one. The verifier enforces Darwin. APFS and git 2.50.1 are dated observations, not floors. CI runs on ubuntu-latest.
    • Verifier run roots are a fresh directory under TMPDIR that the documented launch recipe creates with mktemp, and the verifier refuses an existing path. Fixture names are generated by the verifier. Do not claim more than that.
    • provider-dispatch.md is not a CLI version matrix. State the capabilities it requires.
    • State the live gate's evidence standard: it guards against model claims, and a finding that needs the model under test to deliberately forge a tool's output is outside actual usage. A failure an honest run can hit that produces a false gate decision stays material.
    • Waiver authority: like mastra-pilot's, only a scope section authorizes a waiver. Copying the general review prose alone would not change what blocks.
    • List REVIEW.md in NOTICE.md with the other port-authored files.

    Rejected

    • None.
  2. added a commit that references this issue on Oct 12, 2026
  3. added a commit that references this issue on Oct 12, 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