Back to catalog / Agent workflows
Turn an incident alert into a reviewable fix
Use an incident payload to investigate logs and configuration, then prepare a pull request that waits for human approval.
Goal
Use an incident payload to investigate logs and configuration, then prepare a pull request that waits for human approval.
Steps
- Handle the PagerDuty V3 webhook by creating a Managed Agents session with the runbook, recent logs, and repository mounted as resources. [source19]
- Allow investigation tools and expose
open_pull_requestplusrequest_approval; keep merge as a separate action after approval. [source19] - Review the agent’s root-cause evidence and diff; approve only the minimal fix and verify rejected proposals create no merged change. [source19]
How to verify
Replay a PagerDuty V3 test event; verify the session cites its runbook/log evidence, opens only a proposed PR, and a rejected approval leaves the repository unchanged.
Troubleshooting
If an investigation proposes a merge or lacks log evidence, disable that action and request a minimal diff with cited evidence; keep merge gated behind separate human approval.
Permissions
Prerequisites
- PagerDuty webhook verification, Managed Agents beta, read access to logs/repository, and a sandbox PR adapter.
Permissions
- Use approved test or anonymized data only; scope credentials to each workflow, and require explicit approval for external writes.
Limitations
Model output may be incomplete or wrong; API and beta behavior can change, so verify against the pinned source and current service behavior.
Pinned upstream source
- Repository
- anthropics/anthropic-cookbook
- File path
- managed_agents/sre_incident_responder.ipynb
- Pinned commit
9c1e493ddd2b82df399d2a61b9c806c539e18be6- Source checked
- 2026-10-14 · Reviewed against the pinned upstream source
Repository metrics
These values describe the upstream repository, not popularity or likes for an individual skill or playbook.
- Stars
- Not collected
- Forks
- Not collected
- Observed at
- Not collected
No metrics snapshot is available yet.
License: MIT
Main topic
Turn ecommerce campaign materials into a reviewable weekly brief