Skip to content

chore: declare Unfret's review gate in the repository [MASTRA-776] - #119

Merged
mergify[bot] merged 2 commits into
mainfrom
claude/mastra-776-unfret-gate-file
Oct 4, 2026
Merged

mergify[bot] merged 2 commits into
mainfrom
claude/mastra-776-unfret-gate-file

Conversation

@ericlitman

@ericlitman ericlitman commented Oct 4, 2026 •

Copy link
Copy Markdown
Owner

Closes #

What changed

Adds .github/unfret.json with {"wait_for": ["verify"]}. Unfret is moving its review gates out of mastra-pilot's factory-host/config/review-gates.json and into each reviewed repository (mobilyze-llc/mastra-pilot#585). This file keeps open-pstack's existing gate: Unfret waits for verify before it reviews.

Verification

  • Bun tests, strict typecheck, static invariants, and plugin validation pass. (No code changes; CI runs them.)
  • The exact candidate is installed in every affected harness. (Not applicable: Unfret configuration only.)
  • The changed behavior passes from each real user surface.
  • The installed version, action, and observed result appear below.

Live evidence (2026-10-04): mobilyze-llc/mastra-pilot#585 is deployed on studio2 (DEPLOYED_SHA e6d1d0d9). mobilyze-llc/mastra-pilot#589 then waited on verify and was woken by its completion through the gate read from mastra-pilot's .github/unfret.json at the base (admission 06:35:15Z, verdict 07:02:46Z). This file gives open-pstack the same gate. It takes effect for PRs whose base contains it, so it is inert until merged.

Linear: MASTRA-776

🤖 Generated with Claude Code

@mergify

mergify Bot commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

Merge Protections

🔴 1 of 2 protections blocking · waiting on 🙋 you

Protection Waiting on
🔴 🚦 Auto-queue 🙋 you
🟢 Queue ready pull requests —

🔴 🚦 Auto-queue

Waiting for

  • -files~=^\.github/
This rule is failing.

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

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

Show 1 satisfied protection

🟢 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

@greptile-apps

greptile-apps Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

RetriggerConfidence Score: 5/5

[Low risk] Adds a configuration file for a review gate tool.

The PR appears safe to merge; its gate names an existing pull-request check.

What we checked:

  • Gate waits for a missing check: Yes. The CI workflow runs on pull requests and defines a verify job.

Summary

Adds an Unfret setting that keeps open-pstack’s review gate on verify as gate settings move into each repository. The setting applies to pull requests whose base contains the file.

  • Declares verify as the gate Unfret waits for.

Reviews (2) · Last reviewed commit: "chore: declare Unfret's review gate in t..."

Unfret now reads the checks it waits for from .github/unfret.json on the
base branch instead of mastra-pilot's review-gates.json. This keeps
open-pstack's existing gate (verify).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@ericlitman
ericlitman force-pushed the claude/mastra-776-unfret-gate-file branch from 3624999 to 1edd029 Compare October 4, 2026 01:26
@ericlitman
ericlitman marked this pull request as ready for review October 4, 2026 07:04
@unfret-eal

unfret-eal Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

✅ No blocking findings

Walkthrough

This PR adds a one-line `.github/unfret.json` file declaring `{"wait_for": \["verify"\]}`, so Unfret's review gate for open-pstack lives in this repository instead of in mastra-pilot's central `review-gates.json`. The intent is to keep the existing behavior, where Unfret waits for the `verify` check before reviewing. Per the author, the corresponding mastra-pilot change (#585) is deployed and this mechanism already worked for a mastra-pilot PR. The file only takes effect for PRs whose base branch contains it, so it does nothing until merged. No code or tests change.

Details
Lane / stage Model Effort Outcome Duration
broad-gpt-5.6-sol-xhigh / review openai/gpt-5.6-sol (reported model unavailable) xhigh succeeded 5 s
broad-opus-5.5-max / review anthropic/claude-opus-5-5 (reported model unavailable) max succeeded 20 s
focal-gpt-5.6-sol-xhigh / review openai/gpt-5.6-sol (reported model unavailable) xhigh succeeded 3 min 12 s
judge / judge openai/gpt-6-astra (reported model unavailable) high succeeded 14 s
confirmation / confirmation anthropic/claude-opus-5-5 (reported model unavailable) max succeeded 48 s

Reviewed the whole pull request.
3 reviewers finished.
Commit 6b709ab.
Check run.
Run: GET /unfret/run/panel:6b709abb1ff8aaa6e65e5af00b9c86ca18d05752:HfQ1QnA6AiH:NDvEf1fotoE.

@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 for head 1edd029

This PR adds only .github/unfret.json ({"wait_for": ["verify"]}). The file is read by the deployed Unfret service (mobilyze-llc/mastra-pilot#585, on studio2 since 2026-10-04).

  • The gate-file path is proven live on mastra-pilot: #589 waited on verify, and verify's completion woke it through the gate read from .github/unfret.json at the base (admission 06:35:15Z, verdict 07:02:46Z). The repo-setup canary mobilyze-llc/repo-setup-canary#1 then merged with its gate (format, lint) read the same way.
  • This file takes effect for PRs whose base contains it, so it can only apply after merge. Until then, open-pstack PRs are reviewed without waiting for verify; merging still requires verify through Mergify.
  • This head: verify succeeded, and Unfret succeeded with "No blocking findings".

Posting live-gate success on this head with Eric's authorization (2026-10-04).

@mergify

mergify Bot commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

Queued — the merge queue status continues in this comment ↓.

@ericlitman

Copy link
Copy Markdown
Owner Author

@Mergifyio queue

@mergify

mergify Bot commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

Merge Queue Status

  • ✅ Entered queue — 2026-10-04 12:33 UTC · Rule: default · triggered by @ericlitman with the @mergifyio queue command
  • ✅ Checks passed · in-place
  • ✅ Merged — 2026-10-04 12:44 UTC · at f28a73fdebad65e846a4a96afda95112b239d608 · merge

This pull request spent 11 minutes 6 seconds in the queue, including 10 minutes 51 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 added the queued label Oct 4, 2026

@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

@mergify
mergify Bot merged commit f28a73f into main Oct 4, 2026
5 checks passed
@mergify mergify Bot removed the queued label Oct 4, 2026
andrewfree pushed a commit to andrewfree/open-pstack that referenced this pull request Oct 4, 2026
Bring in ericlitman/open-pstack main at f28a73f (ericlitman#119), which adds
.github/unfret.json. No plugin files change, so 1.5.1-local.7 stays as
installed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.

1 participant