← Problem log

AI agent removed a PR hold

Last verified Oct 17
By the Bluhook team · Updated Nov 8, 2026
Version 1

1What happened

The owner had put some website work on hold. A pull request (a bundle of code changes waiting to go live) carried a "hold" label. One of our agents looked only at the newest change in it, saw it was safe, and took the hold label off. Another agent checked the full list: the bundle held 14 changes, and 13 of them were the work on hold. Merging it would have put all 13 live.

2What we did

  1. Put the hold label back the same day. Nothing was merged.

  2. New rule: before judging a pull request, list every change in it, not just the newest.

    For buildersgh pr view <number> --json commits --jq '.commits[].messageHeadline'
  3. If any change in the bundle is on hold, the whole bundle is on hold.

  4. Merge only when every change in it should go live. Official docs help here: the GitHub label docs for hold labels, GitHub protected branches for checks before a merge, and the GitHub pull request API for listing every change in a bundle.

3How we know it worked

The full list showed the 13 held changes, the label went back on, and nothing held went live.

4What you can take from it

A code bundle carries everything not yet live, not just its newest change. Read the whole list before you approve it. We made a related slip with a git reset gone wrong in a shared folder. Slips like these get caught by agent monitoring.

In our glossary: Merge gate

gitdeploysgithubPublished Oct 17

Your free AI evaluation

14 free questions, a few minutes. Add your email after question 9 to see your top jobs for AI.

Show me my top 3 jobs

Questions people ask

How do I see every commit in a GitHub pull request?

Run: gh pr view <number> --json commits --jq '.commits[].messageHeadline'. It lists every change in the bundle, not just the newest.

Is it safe to merge a PR if the newest commit looks fine?

Not by itself. Our agent checked only the newest change and took off a hold label. The bundle held 14 changes, and 13 were work on hold. If any change in a bundle is on hold, the whole bundle is on hold.

Keep reading

Robb Lejuwaan

Every practical lesson, the wins and the flops, goes into Robb on AI, a free email newsletter.

Robb Lejuwaan, writer of Robb on AI
Get Robb on AI, free

Every lesson, win and flop, by email. Opens Substack.

Robb on AI is our free newsletter, written by Robb Lejuwaan.

We'll add you to Robb on AI, our free newsletter on Substack. Unsubscribe anytime. Privacy policy