Automationprompt onlyIntermediate

Remove Manual Deploy Steps

This loop identifies and eliminates all manual steps in the current deployment process. It iteratively automates each task, verifies functionality through testing and dry runs, and ensures the deployment pipeline becomes fully unattended.

← all loops
automationdeploymentci-cddevopsmanual-tasksdry-rununattended-deploy

Goal

Eliminate manual deployment tasks

How to Run

Run this loop to automate your deployment process. The agent will analyze your current workflow, identify manual steps, and replace them with automated alternatives until deployment can succeed without human intervention.

  1. 01

    Initiate the Loop

    Paste the kickoff prompt into your preferred coding agent interface (Cursor, Claude Code, etc.) to start the automation process.

  2. 02

    Monitor Iterations

    Each iteration will involve analyzing code, making changes, and running checks. Allow the agent to proceed autonomously.

  3. 03

    Verify Exit Condition

    Once the agent reports that deployment succeeded unattended, confirm the changes work as expected in your environment.

Workflow Steps

  1. 01

    Analyze Current Deployment Process

    Review existing deployment scripts, documentation, and CI/CD configurations to identify all manual intervention points.

  2. 02

    Automate Manual Task #1

    Create or modify scripts to handle the first identified manual step (e.g., database migrations, environment variable setup).

  3. 03

    Test and Validate Changes

    Run unit tests, integration tests, or staging deployments to verify the automated step works correctly.

  4. 04

    Execute Dry Run Check

    Perform a deployment dry run to validate that the automation doesn't introduce regressions.

  5. 05

    Inspect Dry Run Results

    Review output from the dry run. If failures occur, troubleshoot and refine automation before proceeding.

  6. 06

    Repeat for Remaining Manual Steps

    Continue identifying and automating subsequent manual tasks until none remain, incrementing iteration count each cycle.

  7. 07

    Final Unattended Deployment

    Once all manual steps are automated, execute a complete deployment without human intervention to confirm success.

Kickoff Prompt

Start the "Remove Manual Deploy Steps" loop.

Goal: Eliminate manual deployment tasks
Max iterations: 10
Between iterations run: deployment dry run
Exit when: Deployment succeeds unattended


Analyze our current deployment process. Identify all manual steps required for a successful deploy. For each manual task found, create an automated solution. After every change, run a deployment dry run to validate. Keep iterating until deployment can succeed completely unattended. Output a summary of all manual steps removed and the automation implemented for each one.

Self-pace this loop. After each iteration, run `deployment dry run` and evaluate the output, and only continue if the exit condition is not met (Deployment succeeds unattended). Stop when the exit condition passes or 10 iterations are reached. Give a short status update each pass.

Guardrails

hardcoded
  • ·Never commit changes that break existing deployments
  • ·Maintain backward compatibility with current release process
  • ·Require explicit approval before applying changes to production
  • ·Ensure all automated steps have proper error handling
  • ·Verify idempotency of automated deployment commands
  • ·Document any non-obvious automation logic added

Flow Diagram

rendering…

Related loops — Automation