The seven-step loop behind every AI-assisted task we run

Task, plan, clarify, refine, approve, execute, verify: the AI-DLC loop step by step, what each step catches, and what goes wrong when a team skips one.

Westerwick4 min read

A curving blue running track with white lane lines and a large number 7 painted on the lane
Photo: Alejandro Barba on Unsplash (Unsplash License)
On this page

AI can now write a plan, a specification and working code faster than most teams can hold a meeting about it. That speed is exactly why "just let the AI build it" goes wrong: you get confident, finished-looking work that solves a slightly different problem from the one you had.

For every unit of work, we run a short loop instead: task, plan, clarify, refine, approve, execute, verify. It isn't our invention. It's the collaboration cycle at the heart of AWS's AI-Driven Development Life Cycle (AI-DLC). Here is what each step does, and what breaks when a team skips it.

The AI-DLC loop, step by step

AWS draws this cycle as seven alternating steps, starting with "Humans Provide Task" and ending with "Humans Verify Outcome", with the AI planning, refining and executing in between1. The caption sums it up: "Humans decide and validate, AI plans and executes"1.

The original AI-DLC announcement describes the same pattern: the "AI creates a plan, asks clarifying questions to seek context, and implements solutions only after receiving human validation"2. The reason given is that the AI "defers critical decisions to humans", because "only humans possess the contextual understanding and knowledge of business requirements needed to make informed choices"2.

AWS doesn't market this as a named seven-step method. The names below are our shorthand for the steps in its diagram.

Task and plan: intent becomes something you can read

Task. A person states what they want and why, in plain business language. A good task says what "done" looks like for the business, not how to build it.

Plan. The AI turns that into a written plan before touching anything. In Kiro, the AI development tool we use, a plan is a "spec" of three documents: requirements.md, design.md and tasks.md4. Any tool will do, as long as the plan is written down and a non-engineer can read it.

Skip it and you find out what the AI understood only once it has built it. That is the most expensive moment to learn it misunderstood.

Clarify and refine: close the gaps first

Clarify. The AI asks questions about what is missing or ambiguous, and the person answers. AWS's open-source implementation of AI-DLC is designed to do exactly this: it "asks for missing decisions, and stops at approval gates before moving forward"3. Kiro has a step built to "catch inconsistencies, ambiguities, and gaps in your requirements before design"4.

Refine. The AI rewrites the plan with the answers. Anthropic, which builds the Claude models, describes the general pattern: "one LLM call generates a response while another provides evaluation and feedback in a loop"5. Here, the person does the evaluating.

Skip it and the AI fills every gap with an assumption. Each one looks reasonable, and together they add up to the wrong system.

Approve: the decision stays with a person

Approve. A named person reads the refined plan and says yes, no or not yet. Nothing gets built without that.

This step is easy to do badly. AWS names the failure "process atrophy", where developers "drift into passive execution" and let the AI decide everything, leading to "a loss of reflection, weakened oversight, and erosion of shared understanding"1. Its answer is team review sessions that "ensure that AI's suggestions are not blindly accepted"1.

We make the case for this gate in more detail in why AI-assisted delivery still needs human approval.

An approval nobody actually read is just a signature on the AI's homework.

Execute and verify: build it, then prove it

Execute. The AI builds what was approved, and only that. If it hits something the plan didn't anticipate, it comes back to clarify rather than improvising.

Verify. A person checks the result against the plan's definition of done, using tests and review, not a quick look. AWS's own implementation carries a plain warning: "Generative AI can make mistakes. Review generated output and costs before acting on them"3.

The research backs this up. Google's 2025 DORA report on AI-assisted software development found AI adoption "does continue to have a negative relationship with software delivery stability"6. Its explanation is that without "strong automated testing, mature version control practices, and fast feedback loops, an increase in change volume leads to instability"6. Anthropic makes the same point about autonomous agents, which bring "the potential for compounding errors"5.

Skip it and problems surface in production, where someone else finds them.

Match the loop to the size of the work

The loop isn't a ceremony to run in full on every typo. AWS's adaptive workflow deliberately avoids fixed processes: "a simple defect fix doesn't require elaborate requirements analysis and planning"1. Kiro even offers a quick mode that generates the plan "without approval gates"4 for small, well-understood work. Anthropic's general advice is to find "the simplest solution possible, and only increasing complexity when needed"5.

In our experience, the rule is simple. The more expensive a mistake would be to undo, the more carefully you run clarify, approve and verify. A copy change can move quickly. Anything that touches money, customer data or a system of record gets the full loop, every time. For breaking large jobs into units the loop can handle, see how to keep AI from single-shotting complex work.

What to do next

  1. Require a written plan before any AI tool changes code or data, and make sure a non-engineer can read it.
  2. Name the approver for each piece of work and record their decision.
  3. Define "verified" up front, including which tests must pass and who checks the result.
  4. Size the loop to the risk. Agree which kinds of work get the full loop and which get a lighter one.
  5. Watch for atrophy. If approvals take seconds and nobody ever says no, the loop has become theatre.

Sources

  1. 1.Open-Sourcing Adaptive Workflows for AI-Driven Development Life Cycle (AI-DLC)AWS DevOps & Developer Productivity Blog · 29 November 2025
  2. 2.AI-Driven Development Life Cycle: Reimagining Software EngineeringAWS DevOps & Developer Productivity Blog · 31 July 2025
  3. 3.awslabs/aidlc-workflowsAWS Labs on GitHub
  4. 4.SpecsKiro Docs
  5. 5.Building effective agentsAnthropic · 19 December 2024
  6. 6.Announcing the 2025 DORA Report: State of AI-Assisted Software DevelopmentGoogle Cloud Blog · 23 September 2025

See it on your own data first.

We stand up a working proof of concept on our AWS account. Real sample data, no cost to you, before you commit to a build.