Merge Gateway · Draft policy

Draft your approvals policy from your own repo. In your terminal, from your own git access.

One command reads the last 30 days of merged PRs, shows how many hours went to approving agent PRs that were already fine, and drafts a policy in plain YAML. It opens here, where you edit it and activate it.

Paste this to your coding agent (Claude Code, Cursor, Codex):
Set up Hud Merge Gateway for this repo. Follow https://play.hudx.io/skills/hud-merge-gateway/SKILL.md
Or run it yourself:
$ npx hud-gateway
Already have a run file from your agent? . It is read on this device; nothing is uploaded.
Runs locally with your gh login or a read-only token. Read-only GitHub calls, one per 50 PRs. The result travels in the link it opens; nothing is uploaded.
1 · The pain

Hours your team waited for approvals that changed nothing, and whether those PRs held up for 14 days.

2 · The draft

Rules from your tree, CODEOWNERS, branch rules and the AI reviewers you already run, replayed on your PRs.

3 · Activate

Edit the rules here, watch the split update, and activate. Only then does the Hud GitHub App get installed.

Merge Gateway

Draft policy

Not active
Autonomy
Hud posts its decision as a comment. A person approves and merges. Hud approves Fast Track PRs. A person merges. Hud approves and merges Fast Track PRs.
0 PRs 0 PRs 0 PRs
GitHub checks
Reviewers
CI
Custom conditions
Telemetry set: none
Fast track0 PRsDry run
Hud safe rollout

What this policy would have done

Fast track
Manual review

Activate this policy

  1. Install the Hud GitHub App on this repository. It reads PRs and posts one check and one comment per agent PR.
  2. Tell your agent you activated. It opens the setup PR with the policy from this page. Nothing is opened in your repo before that.
  3. Merge the PR, then open an agent PR. Hud posts its verdict on it. No keys are needed to start, and in Dry run Hud only comments; raise the autonomy when you trust it.
Install the Hud GitHub App