AI AGENTS

Stale Doc-PR Chaser for Runbook Gaps

On a daily schedule the agent finds runbook doc PRs that were opened from resolved incidents but never reviewed, summarizes what each one fixes.

CategoryAI Agents
Enginepaperclip
Difficultyintermediate
Triggerschedule
Steps6
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerDaily schedule fires
  • ActionList open incident-driven runbook PRsGitHubGitHub
  • ActionRead PR age, reviewers, and linked Sentry issueSentrySentry
  • LogicFilter to PRs idle past staleness threshold
  • ActionAgent drafts context-rich nudge per PR
  • OutputNudge reviewer in Slack; escalate stale PRs to leadSlack

What it does

Drafting the doc PR is only half the battle — they pile up unmerged. This agent runs daily, finds open GitHub PRs labeled as incident-driven runbook updates, and for each stale one writes a short reminder explaining the originating Sentry issue and why the doc matters, then nudges the reviewer in Slack. PRs idle past a threshold get escalated to the team lead.

When to use it

Use it when your team already opens doc PRs from incidents but they rot in review limbo, defeating the purpose. Keeps runbook fixes moving while context is fresh.

How it works

  1. 1A daily schedule starts the run.
  2. 2The agent lists open runbook doc PRs in GitHub and reads their age, reviewers, and linked Sentry issue.
  3. 3It filters to PRs idle beyond the staleness threshold.
  4. 4For each, it drafts a concise nudge with the incident context and what the doc closes.
  5. 5It pings the assigned reviewer in Slack; PRs stale past the escalation window are flagged to the team lead.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect GitHubRepos, issues, pull requests, actions.
  2. 2
    Connect SentryErrors, performance, releases.
  3. 3
    Connect SlackChannels, DMs, threads, mentions.
  4. 4
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  5. 5
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  6. 6
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.