Find the bad config and draft the rollback
During a simulated outage, an SRE used Gemini CLI to trace logs, identify a bad config push, and prepare the revert and follow-up work.
- What they did
- An SRE opened Gemini CLI during a simulated incident and let it pull incident details, line up time-series signals, and inspect logs with internal ProdAgent tools. After the agent suggested a restart plan, the SRE approved it, but the restart did not work. The agent then checked the service source and recent edits, spotted a faulty config push, and drafted a changelist to undo it. A custom command also wrote the postmortem and filed action items through MCP.
- How it went
- The bad config push was located in under two minutes. After the SRE approved the revert, it went out and the service recovered. The scenario was simulated, and no other timing details were given.
- Tips
- Keep a person in the loop for every production change. If your stack uses internal tools, you’ll need equivalent typed, policy-checked commands and your own MCP setup.
Try it yourself with Gemini
You are helping with an outage in [service name]. Pull the latest incident data, logs, and time-series signals from [log source], then look for the most recent config change that best explains the failures. Show your evidence and propose a restart or rollback plan. Pause and wait for my approval before you apply any restart, revert, deploy, or other change. After I approve, draft the rollback as [patch / changelist / pull request] and prepare postmortem action items in a format I can review before anything is sent or filed.
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Map a legacy system without source code
A Thoughtworks team used Gemini to build and check functional blueprints for old systems when source code was unavailable.
Set up macOS and developer tools from the terminal
Gemini CLI can change macOS settings and help install developer tools by showing each command for approval first.
Plan a phased cloud migration with checkpoints
Use an agent to break a large migration into approved phases and carry out each step test-first.
Repair a Delete button in a GitHub repo
A developer had Jules fix a broken Delete button, add tests, and leave the branch ready for review.
Auto-triage pull requests before merging them
A bot screened PRs on a schedule, routed broken ones back for fixes, and auto-merged only low-risk changes.
Control Claude Code by voice while you work hands-free
A developer built a local spoken-command setup around Claude Code and used it to fix a WhatsApp integration without touching the keyboard.