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.
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.
- 01
Initiate the Loop
Paste the kickoff prompt into your preferred coding agent interface (Cursor, Claude Code, etc.) to start the automation process.
- 02
Monitor Iterations
Each iteration will involve analyzing code, making changes, and running checks. Allow the agent to proceed autonomously.
- 03
Verify Exit Condition
Once the agent reports that deployment succeeded unattended, confirm the changes work as expected in your environment.
Workflow Steps
- 01
Analyze Current Deployment Process
Review existing deployment scripts, documentation, and CI/CD configurations to identify all manual intervention points.
- 02
Automate Manual Task #1
Create or modify scripts to handle the first identified manual step (e.g., database migrations, environment variable setup).
- 03
Test and Validate Changes
Run unit tests, integration tests, or staging deployments to verify the automated step works correctly.
- 04
Execute Dry Run Check
Perform a deployment dry run to validate that the automation doesn't introduce regressions.
- 05
Inspect Dry Run Results
Review output from the dry run. If failures occur, troubleshoot and refine automation before proceeding.
- 06
Repeat for Remaining Manual Steps
Continue identifying and automating subsequent manual tasks until none remain, incrementing iteration count each cycle.
- 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
Related loops — Automation
Automation
Release Automation Builder
This loop automates the entire software release process by creating and validating a CI/CD pipeline that builds, tests, and deploys your application. The agent will iteratively refine the release pipeline until it passes all checks, ensuring a robust and reliable deployment process.
Automation
Automate Repetitive Task
This loop identifies repetitive manual tasks in a project and automatically generates automation scripts to replace them. The agent iteratively analyzes workflows, creates optimized scripts, validates their effectiveness, and refines until all targeted manual steps are eliminated.
Automation
Workflow Until Zero Failures
This loop automates the process of identifying, fixing, and resolving CI/CD workflow failures. It continuously monitors GitHub Actions workflow runs, inspects failure logs, applies targeted fixes, and re-runs workflows until all pass or maximum iterations are reached.