Skip to content

Agent Gate Loop

A GitHub Action that turns a labelled issue into a pull request, with a four-part gate before a human sees it: path and test guards, your own check commands, a read-only Claude reviewer, and Jev checking each finding plus whether the change does what the issue asked.

Stars
0
Language
TypeScript
Published by
Community
Author
Ripwords
Last verified
Oct 2026

Reusable GitHub Action: agent fix loop gated by checks, an AI reviewer, and TypeSafe Jev

Forks
0
Last pushed
Updated Sep 2026

Repo stats from the GitHub API, cached Oct 2026.

About this project

A GitHub Action that turns an issue into a pull request. An AI agent writes the change, and a gate checks it before a human sees it. The gate has four parts: Guards. No edits to protected paths, no deleted tests, a size limit, and at least one change. Your checks. Your own typecheck, lint and test commands. Reviewer. A separate, read-only Claude session that lists findings.

Quoted from the project's README. Read the full README.

Highlights

  • Cheap gates first: guards, your checks and one Jev pre-check, which can skip the AI reviewer entirely.
  • Four outcomes, not pass/fail: passed, escalated, failed and needs-info, each mapping to a PR shape.
  • review_shortlist greps added lines - hard rules fail the round, judgement rules go to the reviewer.
  • The action never merges; a failed gate returns one merged feedback note and the agent retries.

Watch out

The README calls this a prototype and names two known gaps before unattended use: the agent can still change .git/config through its shell, and your check commands can read the job's GitHub token and TypeSafe key from the parent process. It advises using it only on issues written by people you trust. Cost controls are Claude-side only - max_cost_usd (default 2) and max_rounds (default 2) stop the loop, and the README is explicit that max_cost_usd counts Claude spend only, with TypeSafe Jev calls billed separately and not included. Because checks run before each commit and the agent commits every non-ignored file in the working tree, anything missing from .gitignore lands in the diff and the PR. Security-wise the agent's shell shares the process holding the credential, a subscription token cannot be spend-limited and a leak exposes your whole Claude plan, and a PR opened with the default GITHUB_TOKEN will not trigger your other workflows unless you pass AGENT_GITHUB_TOKEN. On private repos without draft PR support, non-passing runs open a normal PR marked with the agent:* label. No accuracy data, no false-positive rate and no comparison against running the agent without the gate are published. Copy reviewed against the repository README on 2026-10-04, not from running it.

Questions about this entry

Short answers drawn from the linked project or page.

More Jev resources like this

22GitHub stars
Runnable agent harness that moves pick, score and yes-no loop choices to Jev or Laya in milliseconds while reserving the language model for writing, compiling DECISION.md into executable questions.
Jev Agents & MCP#community#jevbest#catalog-import
15GitHub stars
Node CLI that lints a file tree against fuzzy natural-language rules in one Markdown file, judging each matched file with a swappable TypeSafe-backed judge.
Jev Agents & MCP#community#jevbest#catalog-import
22GitHub stars
Command-line toolkit that wraps Jev judgments into scriptable verify, screen, classify, extract, find, rerank, match, route, ask, compact, and batch commands.
Jev Agents & MCP#community#jevbest#catalog-import
24GitHub stars
Wires Jev into agents as seven MCP tools, an embeddable JevDecisionModel library with run functions, and Claude Code hooks at tool and turn boundaries.
Jev Agents & MCP#community#jevbest#catalog-import
12GitHub stars
Pi extension that puts Jev behind coding-agent hooks: JSON packs ask closed questions on redacted state and turn probabilities into block, confirm, annotate, or steer actions.
Jev Agents & MCP#community#jevbest#catalog-import
7GitHub stars
MCP server exposing Jev Choice, Score, Noul, batched ask, file-reading triage, and model listing as typed tools with full probability distributions.
Jev Agents & MCP#community#jevbest#catalog-import
Back to all resources

From the Jev community

Posts from builders shipping with Jev right now.

Follow @typesafeai