Skip to content

docs(review): state open-pstack's actual usage for review (#153) - #162

Merged
mergify[bot] merged 1 commit into
mainfrom
docs/153-review-usage
Oct 12, 2026
Merged

mergify[bot] merged 1 commit into
mainfrom
docs/153-review-usage

Conversation

@ericlitman

Copy link
Copy Markdown
Owner

Summary

Unfret reads REVIEW.md from the reviewed repository as a mandate. open-pstack had none, so the judge had no statement of this repository's actual usage, and about nine blocking findings on PRs #122 and #151 needed triggers we never produce (#153).

+REVIEW.md                       # how findings are judged, usage facts, entry-point scope
 NOTICE.md                       # lists REVIEW.md as port-authored, adapted from mastra-pilot
 .claude/skills/verify-open-pstack/
   features/registry.json        # REVIEW.md is nonRuntime
   scripts/core.test.ts          # root-file test covers REVIEW.md

REVIEW.md has three parts:

  • How findings are judged. Adapted from mastra-pilot. It keeps "Finding is not judging", the reachable definition, and, word for word, the rule that security, secret exposure, data loss and merge-gate or waiver integrity stay material whatever the trigger.
  • Usage facts. Each is a contract that names the file enforcing it, or a dated operator observation. Shipped plugin code runs on users' machines. Non-shipped tooling runs on the operator's Mac, and CI runs its static checks.
  • Entry-point scope. The only section that authorizes a waiver, through a quoted sentence of 40 to 400 characters. Shipped code is excluded only where docs/reference.md or provider-dispatch.md already names a prerequisite. No exclusions apply to .github/workflows/**, .github/unfret.json or .mergify.yml.

Evidence

  • Before: on main, the verifier classifies an unknown root path such as REVIEW.md as unmapped and fails closed.
    After: registry and ownership > repository-root attribution files are not runtime covers REVIEW.md and passes.
  • Live gate: pending. The verifier runs from this candidate head with --feature claude:project-skill --self-test, and its evidence comment and exact-SHA live-gate status will be on this PR.

Merge Danger

Door: two-way

A revert removes the mandate. Unfret then judges the next PR without it, as it does today.

Blast Radius: review

Every later open-pstack PR is judged against this file. A sentence that excludes too much could let a real failure through as advisory. The security, secrets, data-loss and merge-gate exception stays dominant, and only scope sentences can authorize a waiver. Per run-these, this PR merges before any other PR in its batch starts review.

Acceptance criteria

  • "A root REVIEW.md adapted from mastra-pilot's review-policy section, with an open-pstack "actual usage" policy." Done. Each candidate fact from the issue was checked against the repository. The git observation changed: the operator Mac's PATH git is Homebrew 2.52.0 and /usr/bin/git is Apple Git 2.54.0 (2026-10-12), recorded as an observation, not a floor. The CLI version range was dropped, because provider-dispatch.md names none.
  • "Security, secret exposure, data loss, and merge-gate or waiver integrity stay material whatever the trigger, quoted as in mastra-pilot's REVIEW.md." Quoted verbatim under How findings are judged.
  • "REVIEW.md is mapped in .claude/skills/verify-open-pstack/features/registry.json as nonRuntime." Done, with the root-file test extended.
  • "REVIEW.md is a port-only file. Note it in NOTICE.md." Done.
  • Live gate: this PR edits the verifier's registry.json, so the run uses the candidate head as publisher revision with --self-test (project-skill in both harnesses), per the issue's corrected acceptance.

Gate results

My run on the committed head ff983c9, every command with MASTRA_TELEMETRY_DISABLED=1:

Check Exit
bun install --frozen-lockfile (poteto-mode scripts) 0
bun run test 0 (274 pass, 0 fail)
bun run typecheck (strict) 0
Manifest JSON parse 0
bun install --frozen-lockfile --ignore-scripts (verifier) 0
PSTACK_STATIC_ONLY=1 bash tests/skill-collision-repro.sh (includes the verifier's tests and typecheck) 0
claude plugin validate plugins/pstack 0

Not verified

  • Whether Unfret's judge applies these sentences as intended. The next runtime PR shows it. The issue asks to compare the share of blocking findings outside stated usage against its evidence then.
  • Two finding classes stay in scope on purpose. Old git (2.4 or older, older than 2.17) in shipped runner code would need a documented git floor in docs/reference.md, which is Eric's decision. A hand-named run root also stays in scope, because a path from an inherited TMPDIR is not constrained.

Closes #153

🤖 Generated with Claude Code

@mergify

mergify Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Merge Protections

🟢 All 2 merge protections satisfied — ready to merge.

Show 2 satisfied protections

🟢 Queue ready pull requests

Automatically queue non-draft pull requests targeting main after verify, Unfret, and live-gate pass on the head.

  • -draft
  • check-success=Unfret
  • check-success=live-gate
  • check-success=verify

🟢 🚦 Auto-queue

When all merge protections are satisfied and these conditions match, this pull request will be queued automatically.

  • -files~=^\.github/
  • base = main

@greptile-apps

greptile-apps Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

RetriggerConfidence Score: 5/5

[Low impact] The PR appears safe to merge; no actionable issue was established.

Summary

Adds REVIEW.md to describe actual usage and the limits on review waivers.

  • The review panel now judges changes against open-pstack’s stated usage.

Intentional exclusions acknowledged by ericlitman: deliberately forged tool output is outside the stated live-gate evidence standard; REVIEW.md is classified as non-runtime. The PR description also acknowledges that the external judge's application of these sentences has not yet been verified.

Reviews (1) · Last reviewed commit: "docs(review): state open-pstack's actual..." · Reviewed by Greptile

@unfret-eal

unfret-eal Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

✅ No blocking findings

Walkthrough

This PR adds a root `REVIEW.md` that the Unfret review panel reads as a mandate. It sets out how findings are weighed, records this repository's actual usage (Darwin-only live gate, Ubuntu CI, the mktemp-based run root, dated operator-Mac observations), and lists entry-point scope sentences. Those sentences are the only text that can authorize a waiver. Security, secrets, data loss, and merge-gate or waiver integrity stay material, and `.github/workflows/**`, `.github/unfret.json` and `.mergify.yml` get no exclusions. The PR also maps `REVIEW.md` as `nonRuntime` in the verifier registry, extends the root-file classification test to cover it, and notes it in `NOTICE.md` as a port-authored file. Whether the judge actually applies these sentences as intended is not yet shown, and the live gate is still pending per the author.

Area What changes
Review mandate New `REVIEW.md` has three parts. The judging rules are adapted from mastra-pilot. The usage facts each cite an enforcing file or are dated observations. The scope sentences are the only text that can authorize a waiver, by quoting a sentence of 40 to 400 characters.
Verifier classification `REVIEW.md` is added to the `nonRuntime` list in `registry.json`, and the root-attribution-files test now includes it, so the verifier no longer fails closed on this path.
Attribution `NOTICE.md` lists `REVIEW.md` as port-authored, adapted from mastra-pilot rather than upstream.
Details
Lane / stage Model Effort Outcome Duration
broad-gpt-5.6-sol-xhigh / review openai/gpt-5.6-sol → gpt-5.6-sol · primary xhigh succeeded 5 min 39 s
broad-opus-5.5-max / review anthropic/claude-opus-5-5 → claude-opus-5-5 · primary max succeeded 10 min 9 s
focal-gpt-5.6-sol-xhigh copy / review openai/gpt-6.1-sol → gpt-6.1-sol · primary xhigh succeeded 4 min 52 s
focal-gpt-5.6-sol-xhigh copy 2 / review openai/gpt-6.1-sol → gpt-6.1-sol · primary xhigh succeeded 4 min 54 s

First review of this pull request.
4 reviewers finished.
Commit ff983c9.
Check run.
Run: GET /unfret/run/panel:ff983c9ce1026203e9b5368c67b810b3c63ba9ad:d_qHKHsQCkw:EbgMmob3ulA.

@unfret review · @unfret status · @unfret help

@unfret-eal unfret-eal Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No blocking findings
Check

@ericlitman

Copy link
Copy Markdown
Owner Author

Live evidence: Open Pstack

  • Candidate SHA: ff983c9ce1026203e9b5368c67b810b3c63ba9ad
  • Base SHA: 748a9bc0c144fdcfa433c494806f23facc4daa9f
  • Result: PASSED — named features verified
  • Self-test: completed in both harnesses
  • Publisher revision: ff983c9ce1026203e9b5368c67b810b3c63ba9ad
  • Evidence-set SHA-256: a3c5fcc7298f523c74571c416cf9db4c965073c8752535783656485fbd0340f2
  • Installation (claude): CLI 2.1.294 (Claude Code), plugin 1.6.1, candidate ff983c9ce1026203e9b5368c67b810b3c63ba9ad, tree 156813629317939f7c271890f77239ace2edde72a27fbe27bcb55829961e906f.
  • Installation (codex): CLI codex-cli 0.160.0, plugin 1.6.1, candidate ff983c9ce1026203e9b5368c67b810b3c63ba9ad, tree 156813629317939f7c271890f77239ace2edde72a27fbe27bcb55829961e906f.
  • Observation (claude / project-skill): surface claude -p stream-json with the candidate plugin-dir; action recipe project-skill: doctor; result passed: doctor:exit-0 doctor:skill-loaded doctor:doctor-ran doctor:doctor-canonical-pass; 4 assertions machine-checked; transcript SHA-256 ac579ee7a736f4463804026929e9eea3a9db783ce94aa0243726d2cdd9cbc5ac; artifact-set SHA-256 d1b5830941c07b85d328f1737d17d17388d7809ca26a73263b7ff036c3c7aeab.
  • Observation (codex / project-skill): surface codex exec --json with the run-owned candidate installation; action recipe project-skill: doctor; result passed: doctor:exit-0 doctor:skill-loaded doctor:doctor-ran doctor:doctor-canonical-pass; 4 assertions machine-checked; transcript SHA-256 991d69acfbc7f4fbc9a2ae04b60c64efbc2d5f240df42086a93b239fc3cdfb3b; artifact-set SHA-256 3b34cbc0c0b40d07c791b6d338d7ad7973ada8dee4e965703d52d9e89d6b4cb3.
  • Policy: every new head requires a fresh run; this verifier does not change PR state, queue, or merge.

@mergify

mergify Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Merge Queue Status

  • ✅ Entered queue — 2026-10-12 14:27 UTC · Rule: default · triggered by merge protections
  • ✅ Checks skipped · PR is already up-to-date
  • ✅ Merged — 2026-10-12 14:27 UTC · at a41d06399b7ac5ed0e1868952ed7f7d69cb2be1a · merge

This pull request spent 9 seconds in the queue, including 2 seconds running CI.

Required conditions to merge
  • github-review-approved [🛡 GitHub repository ruleset rule Protect main]
  • all of [🛡 Merge Protections rule Queue ready pull requests]:
  • any of [🛡 GitHub repository ruleset rule Protect main]:
    • check-success = @github-actions/verify
    • check-neutral = @github-actions/verify
    • check-skipped = @github-actions/verify
  • any of [🛡 GitHub repository ruleset rule Protect main]:
    • check-success = live-gate
    • check-neutral = live-gate
    • check-skipped = live-gate
  • any of [🛡 GitHub repository ruleset rule Review gate]:
    • check-success = @unfret-eal/Unfret
    • check-neutral = @unfret-eal/Unfret
    • check-skipped = @unfret-eal/Unfret

@mergify
mergify Bot merged commit a41d063 into main Oct 12, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant