# Make the manual recovery step a script with a dry run

The recovery step somebody performed by hand under pressure, turned into a script with a dry run.

Category: Incident follow-through
Source: https://letsship.ai/use-cases/make-the-manual-recovery-step-a-script
Published: 2026-08-25

## Goal

Turn a manual recovery step into a reviewed script with a dry-run mode.

## Acceptance criteria

- The script has a dry-run mode that changes nothing
- Dry-run output is attached to the pull request
- It refuses to run against the wrong environment
- Execution stays with a person; the ticket delivers the script only

## What lands as proof

Dry-run output showing exactly what would change, reviewed before anybody runs it for real.

## Prompt

Copy this to an agent to open the ticket:

```text
Create a Linear issue in my team and assign it to the SHIP agent.

Title: Script the {step} recovery step

Description: Turn a manual recovery step into a reviewed script with a dry-run mode.

Acceptance criteria:
- The script has a dry-run mode that changes nothing
- Dry-run output is attached to the pull request
- It refuses to run against the wrong environment
- Execution stays with a person; the ticket delivers the script only

Before you create the issue, find the manual step in the incident timeline and replace {step} with it. Say explicitly that execution stays with a human.
```

## Questions

### What does the agent actually change?

The ticket is scoped to one outcome: turn a manual recovery step into a reviewed script with a dry-run mode. Work that serves that outcome is in scope, and anything outside it is left for a separate ticket, so the pull request stays reviewable.

### How do I know the work is done?

The pull request carries the evidence, not only the diff. Here that means dry-run output attached, the real execution stays with the team, so a reviewer can confirm the result without reproducing the work locally.

### How much oversight does this need?

The run stops for the plan, and the review bar is raised afterwards so that smaller suggestions block the merge too, not only serious findings.
