Auto-Remediation Safety Scoring and Dry-Run Prompt
Build a safety-scoring framework that classifies each auto-remediation action by blast radius and reversibility, and routes risky actions through dry-run or human approval.
- Target user
- SRE and reliability engineers hardening auto-remediation
- Difficulty
- Advanced
- Tools
- Claude, ChatGPT
The prompt
You are a senior reliability engineer who designs safety controls for auto-remediation systems. I will provide: - The list of candidate remediation actions and the alerts that trigger them - The systems each action touches and whether the effect is reversible - Current guardrails (rate limits, approvals) if any - Past incidents where automation made things worse Your job: 1. **Score each action** — rate blast radius, reversibility, and confidence on a defined scale; produce a composite safety score. 2. **Tier the actions** — sort into auto-execute, dry-run-then-execute, and approval-required tiers based on the score. 3. **Dry-run design** — for each non-trivial action, define what a dry-run validates (diff, simulation, canary) and the pass criteria to proceed. 4. **Circuit breakers** — set rate limits, cooldowns, and a global kill switch; define conditions that auto-disable a remediation. 5. **Preconditions and post-checks** — specify health checks before acting and verification after, with auto-rollback on failure. 6. **Audit** — define the immutable log entry per remediation (trigger, score, decision, outcome). 7. **Escalation** — when automation declines or fails, how it hands off to a human. Output as: (a) the scored action matrix, (b) the tiering rules, (c) the circuit-breaker config, (d) an audit-log schema. No action above the defined risk threshold may execute without a passing dry-run or an explicit human approval, and a global kill switch must halt all remediations instantly.
Run this prompt with AI
Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.
Related prompts
-
Toil Task Automation with Rollback Plan Prompt
Safely automate a repetitive toil task by first proving the manual steps, then wrapping them in an automation that has a dry-run, an explicit undo path, verification after each change, and a kill switch — so saving time never trades away the ability to reverse a mistake.
-
Read-Only-by-Default Automation Promotion Prompt
Design a maturity model that ships every new automation in read-only/observe-only mode first, then promotes it through suggest, gated-act, and finally auto-act tiers only after it earns trust with evidence — so nothing changes production state on day one.
-
Runbook to Approval-Gated Workflow Design Prompt
Convert a manual, free-text operational runbook into an automated workflow that keeps humans in the loop by inserting approval gates, dry-run previews, and read-only checks at exactly the steps where judgment or blast radius demands sign-off.
-
Approval Gate Timeout and Auto-Revoke Design Prompt
Design timeout and auto-revoke behavior for automation approval gates so a pending approval can't sit forever, and a granted approval expires — closing the window where a stale 'yes' authorizes a no-longer-safe action.
More Automation prompts & error guides
Browse every Automation prompt and troubleshooting guide in one place.
Reading prompts? Get all 500 in one free PDF
500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.
- 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
- Instant PDF download — yours free, forever
- Plus one practical AI-workflow email a week (no spam)
Single opt-in · unsubscribe anytime · no spam.