
Weekly pull request digest routine
Every Monday, a summary of open pull requests, written by a bot that can only read.
Illustration of the app. Names and values come from this template.
Create a digest bot, grant it the GitHub connector, allow only read, list and search tools, and deny every other GitHub tool for that bot. Run the digest prompt once in a chat, then make it a weekly routine. Routines run at most every 15 minutes, up to 20 per org, and pause after 10 failures in a row.
How to use this template
- Create a digest bot and grant it only the GitHub connector.
- Match the tool names below to your connector, scope the rules to the digest bot, and save them as an admin.
- Run the prompt once in a chat with the bot and check the result.
- Make it a routine with a weekly schedule, such as 0 9 * * 1 for 9am on Mondays in your own time zone.
The template
Copy it, then replace the values in angle brackets with your own.
Rules (scope each one to the digest bot):
[
{ "name": "Allow reads", "effect": "allow", "priority": 40, "tool_glob": "github__get_*" },
{ "name": "Allow lists", "effect": "allow", "priority": 40, "tool_glob": "github__list_*" },
{ "name": "Allow searches", "effect": "allow", "priority": 40, "tool_glob": "github__search_*" },
{ "name": "Deny everything else on GitHub", "effect": "deny", "priority": 100, "tool_glob": "github__*", "reason": "The digest bot only reads." }
]
Routine prompt:
List open pull requests in <owner>/<repo>. Group them as: waiting on review,
changes requested, approved, and no activity for 7 days. For each one give the
title, author, age and one line on what blocks it. End with the three to
unblock first.
Routine limits to know
- Routines run a prompt on a schedule: up to 20 enabled per org, at most every 15 minutes, paused after 10 failures in a row.
- A routine run posts the prompt as the person who made it, and the run mirrors the reply's status.
- Routines run with team connectors only, never with someone's personal connector, because no person is in the chat during a run.
- Routines are scheduled prompts, not multi-step visual workflows.
Why a read-only bot
A digest only needs to read. Allowing lookups at priority 40 and denying the rest of GitHub at 100 means a confused run cannot comment, merge or push, and nothing waits for an approval that nobody is there to give. Scope the rules to the digest bot so other bots keep their own rules.
How the rules interact
- Rules are tried by priority, lowest number first. At equal priority deny beats ask, and ask beats allow. The first matching rule decides.
- A rule has a name, an effect (allow, ask or deny), a priority, and optional matchers: one bot, one connector, a tool name glob, an argument match and a rooms-only flag.
- Connector tools are named after the connector and the tool, joined by two underscores, such as github__create_issue. The connector name is lowercased and anything that is not a letter or digit becomes an underscore.
Related reading
- GitHub PR triage agent
- Engineering MCP approval rules
- Copyable policy templates
- Security controls, from the code
- AI agent governance glossary
Questions
How often can a routine run?
At most every 15 minutes, with up to 20 routines enabled per org.
What happens if the routine keeps failing?
After 10 failures in a row it pauses, so a broken connection does not keep running.
Who does the routine run as?
The person who made it. The run posts the prompt as them.
Keep reading

GitHub PR triage with approval gates
A bot that reads every pull request, suggests what to do, and never merges on its own.

Engineering MCP approval rules
Copyable policy rules for engineering bots on MCP connectors like GitHub and Linear: deny deletes and force pushes, ask before merges, allow reads.


AI agents for engineering teams
Use the coding agents your engineers already like, and give the team shared bots that cannot wander into your network.

Deny-ask-allow starter policy
A copyable starter policy for AI agent tool calls: deny destructive tools, ask before writes and allow reads, built for the Bello Bot policy engine.
Try Bello Bot with your team
Public beta. Bring your own model keys, invite your team, and approve what your bots do.