sprout

docs / herdr-integration

Herdr review integration (operator machine)

On this page

Run operator-side automation that reviews every merge / pull request and applies feedback without human relay. Adopters need nothing for it: no extra CI job, no extra variable, no .sprout.yaml key. This page is for the operator who runs it on their own machine, so reviewers know where the bot comments come from and where to look when they don't arrive. Each section below is one piece: trigger → output → log location. The ~/.hermes / ~/.herdr-eyes paths below live on the operator machine, not in this repo, and may drift — the scripts themselves are the source of truth.

pr-review-watch — thermo-nuclear review per MR

Review each push with the read-only code-quality rubric:

pr-review-fix — auto-fix loop

Apply review feedback and push to the MR branch:

herdr-eyes tick — agent monitor

Track agent worktrees and post status transitions:

sprout-chain — next-ticket kicker

Kick the next unblocked ticket, at most one per run:

Discord output format (one-liners)

Keep Discord to one short line per event. Full findings always live on the forge (the MR/PR comment) — Discord carries no technical detail, no report paste:

text
🧊 mr-review <repo>#<iid> · round <n> · verdict <APPROVE|REQUESTCHANGES> · 🔗 <comment-url>
🔧 feedback implemented on #<iid> — pushed to `<branch>` · <pr-url>
⚠️ mr-review <repo>#<iid> · APPROVE `<sha>` not merged — <reason> · needs a human push
👀 monitoring herdr agent `<name>` · `<repo>/<worktree>` / status: <status>

herdr-eyes transitions render as ▶️ working, ⏸ NEEDS INPUT (with a short output excerpt), ✅ done — ready for pickup, and 🗑 <agent> — worktree gone, channel deleted.

See also