How an Engineering Team Gets Faster with AI -- Practice and lessons from AI-DLC. AI made code cheap. Here’s how a team makes what it learns stick.
AI made writing code cheap, yet most teams ship barely faster. The time goes to repeated corrections, waiting for decisions and lost hand-offs. Drawing on AI-DLC 2.0 and our own sample, this post shows how a team keeps what it learns and lets the right people decide.
You have probably typed some version of this sentence into an AI agent more than once: amounts are stored in cents, as integers.
The agent apologizes, fixes the refund calculation, and the tests go green. The next morning someone else on your team opens a fresh session for a different feature, and the agent writes
amount: 12.99 again. A reviewer might catch it. If the reviewer is busy that day, a customer will.Multiply that by every engineer on the team and you get the strange arithmetic many companies are living with. Across more than 400 companies, developers’ use of AI tools rose 65% in about a year and a half. Over the same period, the median team’s pull-request throughput rose 7.76%. Writing code got much faster. Shipping it barely moved.
Writing code got cheap. What still costs a team its time are the moments around the code: the correction someone has to make again, the question that waits for the one person allowed to answer it, the release that waits for a sign-off. Those moments belong to people, and almost none of them are kept.
This post is about keeping them, and about the team practices that make an engineering team faster as a whole.
Where a team’s time goes
Once AI writes most of the code, a team loses its time in three places.
The same correction, again. Every agent session starts empty. A correction made in one conversation stays in that conversation, so someone has to say it again, and someone has to catch it when nobody does. The cents sentence is one example. Every team has dozens.
Waiting for a decision. Agents now ask good questions, and every question waits for a person. The founder of Spawn, a ten-person company building a game engine, writes that one morning 700 decisions were waiting for the founder alone. We see the same thing in a sample we built on AI-DLC (described at the end of this post). One request, a promotion page for China’s Double-11 shopping festival, took 17 minutes from request to release. The agents worked for 9 of them. The run spent the other 9 waiting for a person to approve at three gates.
Context lost at hand-offs. A requirement passes from product to design to engineering to test, and each hand-off keeps a summary and drops the rest. Manus wrote that once its engineers sped up, product managers became the bottleneck for the first time, and that information gets lost a little at every hand-off.
So the constraint has moved. Execution is fast. What slows a team down sits with people: what they correct, what they decide, and what they pass on. In our experience a team gets faster with three things:
- A delivery process that keeps context in files and stops for people only where judgment is needed.
- A team brain that keeps what people correct, decide and catch, so each run needs less of them.
- A way for the right people to decide together, in one place.
The rest of this post takes them in that order. AI-DLC 2.0 provides the first out of the box, and the starting points for the other two.
1. A delivery process: AI-DLC 2.0
AI-DLC, the AI-Driven Development Lifecycle, is a software delivery method that AWS published in July 2025. Its open-source implementation, AIDLC-workflows , turns the method into a workflow that runs inside the coding agents teams already use: Kiro, Claude Code, Codex, Cursor, GitHub Copilot and others. The current version is 2.0.
How a request runs. A request moves through five phases and up to 33 stages, from deciding whether the work is worth doing to running it in production. In each stage the AI writes a plan, puts its questions in a file for a person to answer, does the work, and stops at an approval gate. Everything a stage produces is a file the next stage reads. A new session, or a new person, picks up from the files.
Two loops. Inside a stage, the AI generates, deterministic checks run, and a reviewer agent looks for problems. That inner loop runs at machine speed with no person involved. The outer loop is the approval gate, where a person decides.
The AI-DLC Workflows 2.0 specification, the document that defines version 2.0 of AIDLC-workflows, sums up its aim in one sentence:
Version 2 keeps the methodology and rebuilds the workflow layer to march progressively towards autonomous software delivery — reducing human intervention as machine-checkable verification expands.
In plain terms: the more of “is this right?” a program can check, the less a person has to step in. A stage whose only check is an LLM’s opinion doesn’t release itself. A person still looks at it.
It runs on day one, and it’s where a team starts. The documentation says the implementation ships it working out of the box.

Runs out of the box, and it’s where you start
- The method: nine principles and the seven-step loop between people and AI.
- The machinery: a deterministic engine that decides what runs next, approval gates, and an audit trail with 113 event types.
- The defaults: 14 agents, 33 stages, 11 scopes and 6 sensors.
- Adapters for 7 host tools.
Everything a team changes is data. A stage, an agent, a scope, a rule, a sensor or a piece of knowledge is a Markdown or JSON file, and no engine code is touched. The framework’s own files are overwritten on upgrade, so a team’s content lives in its own layer.
2. A team brain: five layers on one base
A good process keeps one run on track. It doesn’t stop the cents correction from coming back next week, because each new run starts from what the team has written down. To get faster from one run to the next, a team has to keep what it learns. We sort what it can keep into five layers and a base.

Five layers that compound, on one base
Layer | What it holds | What it saves | Which time sink it addresses |
|---|---|---|---|
Map | Code, business and architecture: what exists, where, how it connects | Rereading the codebase on every change | Context lost at hand-offs; “fixed it here, broke it there” |
Norms | Coding, UI, testing, security, ways of working | Repeating the same correction | The same correction, again |
Process | The route from request to release, sized to the problem; delivery, release, rollback, incidents | Skipped steps and lost intent | Context lost at hand-offs |
Judgment | Decisions, reasons, rejected options, precedents | Waiting for a person on a question already answered | Waiting for a decision |
Checks | Enterprise checks, sensors, tests, independent review | People checking what a machine can judge | Waiting for a decision |
Base | A runnable environment, test accounts, log and metrics access, MCP tools | AI can verify its own work and see the result | — |
The first three layers make agents capable. The last two let people let go.
Manus’s Mono lists a repo map, coding norms, UI norms, release runbooks and live debugging. Those sit in the first three layers and the base. Enterprise work needs more: business and domain knowledge, security and compliance, decisions with their reasons, and checks the company owns.
3. Who builds each layer
A common assumption is that the team’s half has to be written by hand from scratch. Most of it is drafted by AI-DLC’s own stages and confirmed by people.

AI-DLC ships one half and helps grow the other
- Ships with AI-DLC. The method, the roles and the machinery. These are the same for every customer.
- Grown with AI-DLC. Stages draft the map and the norms, people confirm them, and confirmed plans can be saved as the team’s own routes.
- Added by the team. Precedents that carry across requests, the logic inside checks, and the base.
AI-DLC’s 14 agents and their built-in knowledge are generic: how a product expert asks, how an architect breaks a system down. None of it is about your product. Your product knowledge lives in the team’s half.
4. Layer by layer
Map: know what a change will touch before making it
How AI-DLC builds it. For an existing system, the reverse-engineering stage runs first. A developer agent scans the repository, and an architect agent writes nine documents into
codekb/<repo>/ : architecture, code structure, APIs, components, dependencies and more. The map lives at the space level, so the next request reads it directly, and a rerun checks first whether it is still current. Documents the team already has, such as PRDs, policies and contracts, go into DocumentKB, where agents can cite them.Example (illustrative). Adding order cancellation to a shop. The map records that the inventory module and the auto-confirm-delivery job both read the order status. Before anyone touches the cancel logic, the agent knows it has to restore stock and teach the scheduled job about “cancelled”.
What the team adds. Business terms, entities and business rules.
Norms: correct something once
How AI-DLC builds it. The framework ships organization defaults: trunk-based development, a testing posture, and a thin end-to-end slice first. The practices-discovery stage reads evidence in the code, drafts the team’s practices, asks about the gaps, and writes them into
memory/team.md once a person affirms them. The file has five sections: ways of working, walking skeleton, testing posture, deployment and code style. Every stage loads the rule chain at the start: org, team, project, phase, stage.Example: the cents sentence. Before every approval gate, AI-DLC asks: anything to add for next time? Answer “amounts are stored in cents, as integers” and it goes into
memory/project.md . One click widens it to the team. From the next workflow on, every stage that touches money starts with that rule loaded, so nobody has to type it again. The AI-DLC docs have a similar case: on a banking project, a reviewer records at a gate that “transaction” means a payment and the customer entity is “ANZ customer”, and the bugfix workflow run later that day uses those words from its first stage.What the team adds. Company coding, security and testing standards, filed per agent in the team knowledge folder; the design system; and organization-level rules, which the organization maintains separately. The learning loop never writes at org scope.
Process: take the right route, and keep the good ones
How AI-DLC builds it. There are 11 preset routes, called scopes. A known-defect fix runs 9 stages; a full feature runs 33. When none fits, the composer weighs five uncertainties: how ambiguous the intent is, how uncertain the code structure is, how hard the result is to verify, the risk, and the open assumptions. It proposes the smallest workflow that is enough, and a person confirms it at a gate. Once it runs, the deterministic engine decides each next step.
Example (from the AI-DLC docs). “Harden the deployment pipeline and add observability”: the composer proposes a plan and a person confirms it. Saying “save this plan as quick-fix” stores it as a scope, and the next task of the same kind starts from it.
What the team adds. Its own stages, scopes and plugins, all as files. Each request also produces release and incident documents: a deployment strategy, a rollback runbook, incident runbooks. Those stay in that request’s record. Turning them into team versions is manual today.
Judgment: don’t wait twice for the same answer
How AI-DLC builds it. Judgment is already recorded. Each stage writes a questions file with options, a recommendation and the person’s answer. Architecture decisions go into an ADR log, and the Inception phase rule asks for at least two alternatives per decision. The audit keeps the person’s own words. The learning loop turns some long-lived decisions into rules; the docs describe rules as standing decisions.
The gap is reuse. In our Double-11 sample run, four minutes in, the approver set a limit of two units per customer per model. Twelve minutes in, a plan went back because the refunds it could trigger crossed an approval line. Both decisions stay in that run’s record. On the next promotion, the same questions wait for a person again.
What the team adds. A precedent library that spans requests: the question, the answer, the reason, where it applies and where it came from. When the same question comes back, the precedent is offered as the suggested answer with its source, and the owner can change it. We’re building this next.
Checks: let machines judge what they can
How AI-DLC builds it. Six sensors ship with the framework: claim sources, required sections, upstream coverage, traceability, a linter and a type checker. Two reviewer agents look at the work with fresh context. A stage checked only by an LLM doesn’t release itself. And there is a path from a person’s habit to a machine check: when a reviewer keeps checking a stage’s output for the same gap, they can confirm that at the gate. AI-DLC scaffolds a sensor and binds it to the stage (the audit records
SENSOR_PROPOSED ). A person writes the check itself.Example (from our sample). In the Double-11 run, all 37 automated checks passed, and 28 of them came from the company, kept in a folder the agents can’t write to. At the release gate, the approver still found a problem none of them looked for. The retailer promises to refund the difference if a price drops after purchase. With these discounts, those refunds could add up to ¥486,000, and anything above ¥300,000 needs the CFO’s approval. The work went back, the agents cut two discounts in two minutes, and the total fell to ¥280,000. That catch is exactly the check to add next. Today it lives in one approver’s head and one line of the run’s record.
What the team adds. The logic inside each check, an enterprise check pack kept where agents can’t write, and the base: environments and test accounts that let the checks run.
A lesson we paid for: keep the exam away from whoever writes the answers. In a separate experiment, we calibrated an LLM-based detector three times. Each time, the criteria and the test samples came from the same conversation, and each time the AUC landed between 0.999 and 1.000. On 60 real inputs, the highest score was 0.290. Our threshold was 0.30, so the detector never fired. We threw away three rounds of data. In another experiment, an agent with two independent checks in place got 372 of 372 values right. The same model on the same task without those checks got 64 right and reported success. Each experiment ran once or twice, so treat them as anecdotes. They still changed how we build.
5. Make the flywheel turn
The layers grow through a five-step loop: catch, record, promote, release, measure. In AI-DLC terms, this is principle 7 (progressive autonomy) and principle 9 (learning from practice) of the 2.0 specification working together.

One human catch, one more machine check
Step | The Double-11 catch | AI-DLC today |
|---|---|---|
Catch | A person stops refunds that would cross the CFO line | Yes: sensors, reviewers, approval gates |
Record | The reason, the amounts and the decision are written down, linked to the run and the gate | Yes: questions files, the stage diary, the audit |
Promote | When the same issue shows up in three independent runs, it’s proposed as a check: “price-drop refunds stay under the CFO approval line unless a CFO decision is on record” | Partly: the learning loop and SENSOR_PROPOSED exist; an evidence threshold doesn’t |
Release | Next time, the check stops it first, and people watch one fewer thing | Yes: the autonomy ladder |
Measure | Machines catch a growing share; people catch a shrinking share | Not yet |
A promoted item needs a real source, independent evidence, the exact rule text and a person’s approval. Before it goes live, we replay old runs to see what it would have blocked by mistake. When the model changes, we review the list and delete what’s out of date.
6. Rules have to be overturnable
For the flywheel to keep turning, rules have to change when they’re wrong.

When a rule is overturned, decide right then
AI-DLC’s rule model is strictly additive. Every layer of rules goes into the agent’s context together, and nothing overrides anything at run time. The learning loop appends one dated entry at a time, and before writing it checks a new entry against org rules only. So when a gate decision overturns an earlier team or project rule, the new line is added and the old one stays. Next time, the agent reads both. Re-running practices-discovery and affirming the result replaces whole sections, but that happens later, after the overturn.
At that moment, one question settles it: is this an exception, or is the rule wrong?
- An exception becomes a precedent with conditions: where it applies, why, and who approved it. The rule stays. Example (illustrative): the team rule allows at most two stacked discounts. For the festival, ops approves three. Record a precedent that applies during the festival only, approved by ops.
- A wrong rule is overridden or withdrawn, with the rule owner’s approval, and the old version is kept outside the main file. Example: the cents sentence again. If an older rule said amounts are in yuan with two decimals, adding “integer cents” leaves the agent reading two answers to one question. Replace the old line so the two never appear together.
The main file then holds only the rules in force. One caution: a single overturn shouldn’t rewrite a rule automatically. Deciding whether two rules contradict each other is itself error-prone, so a person confirms.
7. Measure it
“Getting better” should show up in a few numbers.

Getting better should show up in numbers
- Caught by machines: of the issues stopped before release, the share caught by checks and review. It should rise.
- Repeat corrections: the share of corrected issues that come back. The target is zero. The cents sentence should be typed once.
- Answered by precedent: the share of gate questions answered from precedent. It should rise.
- Waiting for people: the minutes a delivery waits for approval. In our sample run it was 9 of 17. It should fall.
AI-DLC already records the raw data: 113 audit event types, and the number of learnings each run leaves behind. What’s missing is the trend across runs. These numbers track how much less people need to step in; the count of stored rules says little about that.
8. The right people deciding together
The third thing a team needs is for the right people to decide. In our sample run, one person approved everything (that was me, following a script). In a company, the refund call belongs to finance, the page design to a designer, and the release to an engineering lead. A gate that waits for one person makes that person the bottleneck. We call the setup we’re building a human team on the loop, an agent team in the loop. It has three parts.
One work item, one record. Several roles crowded into one agent conversation fill the context window, and compaction drops the constraints that mattered. So the team shares the record of the work item: the original ask, the decisions, where things stand, the code and environment, the trace, and who decides what. Each person and each agent reads what it needs from that record and starts with a small, fresh context. AI-DLC’s intent directory is that record.

One work item, one record
One work item, one channel. Anyone on the team can raise a request, answer a question or ask for a change in the channel, and everyone sees it. A coordinator, AI-DLC’s conductor placed where people can talk to it, sends each question to the person who owns it and passes the work to the agent team.

One work item, one channel
Picture the Double-11 page built this way. Ops posts the request. Halfway through, the coordinator needs a spend-and-save threshold, so it asks finance, and finance picks A. Design asks for a red countdown in the same channel. When the tests are green, the coordinator asks the engineering lead to approve the release. Four rules keep this safe:
- The coordinator reads the record every time it answers. Its chat history is there to search.
- Rules decide the next step, which gate opens and who may approve. A busy group chat can’t talk an agent past a gate.
- Each question names the role that decides, and the gate waits for that role. The audit records both the person and the role.
- When two people disagree, the coordinator takes it to the decision owner.
AIDLC-workflows already supports several human teams on one intent: an integration lead, unit teams that claim work through git, a review group and a read-only team board. The channel gives them one place to talk.
Gate density follows risk. AI-DLC’s default is a gate at every stage. Manus describes a feature that went from model selection to launch with people making three kinds of judgment. Spawn puts hard gates only on actions that can’t be undone, such as sending a payment, and fixes everything else forward.

Gate density follows risk
We place a change on that range with four questions. Can we undo it fast? Will we see it if it breaks? How big is the impact? Who uses it? Two things stay the same everywhere: every decision names its owner, and a person signs.
9. Where to start
Start with one team and one low-risk request, in four steps.

Start with one team, in four steps
- Map and norms. Run reverse engineering and practices discovery; the tech lead confirms the results.
- Enterprise checks. Turn whatever the review checklist can automate into sensors, keep them where agents can’t write, and set gate density by risk. This is the platform team’s job.
- Keep decisions. Collect corrections at every gate, give precedents a source, and let rules be overturned and rewritten. Name a rule owner.
- Measure, then copy. Watch the four numbers. Promote rules that work to team level, and leave org-level rules with the organization. Then repeat with the next team.
Two rules run through all four steps: whoever hits the problem writes it down, and an entry goes live only with a source and a person’s approval.
About our sample
The Double-11 examples in this post come from a sample we built over two months on AI-DLC 2.0 and Kiro Crew. A one-line request starts an agent team with product, architect, front-end, back-end, test, deploy and review roles. The roles follow AI-DLC’s expert definitions, and each one works in its own session and git worktree. The app merges the work, runs the tests, sends failures back to the role that owns them, stops at the human gates, deploys locally and produces a sign-off sheet. The retailer is fictional and the gate decisions were scripted; the runs, their timings and their checks are real. A CTO view rolls up many runs; its history is simulated, and the measured runs are labeled.

The Double-11 run in the sample dashboard (UI in Chinese): 17 minutes end to end; agents 7, rework 2, waiting for people 9 across 3 gates; 37 of 37 checks passed, with one send-back at the release gate.
Four choices mattered more than we expected:
- The agents can’t edit the company’s checks. Company-issued tests sit in a folder that is read-only for the agents. They run the tests and leave them as they are.
- The reviewer is a separate, read-only session. It only reviews code written by another session.
- Every decision is written down. When a role needs a person, it writes the question, the options, a recommendation and a reason. The answer goes into the run’s
decisions.mdand into the task of every later role.
- A person signs. Only delivered, deployed runs can be signed. The sheet shows what people decided, which risks were stopped, what the machines checked and what the agents did.

The sign-off sheet of another Double-11 run (UI in Chinese): the request, the issue and PR, the human decisions, the risk stopped at the gate, 38/38 machine checks, and a compliance review from a separate read-only session.
What the sample doesn’t have yet, in the order we’re building it:
- What this run left behind. At the end of each run, list the candidate checks, rules and precedents it produced, each with its evidence and a status: proposed, approved or active. Each candidate is also marked as a new rule, a change to an existing rule, or an exception.
- A channel per run. People post under their name and role. Questions and gates appear as cards for the role that decides, and they call the gate APIs we already have. This step uses no LLM.
- The coordinator. It answers “what are we waiting on, and why?” from the run’s state. It turns “make the countdown red” into a structured change request, and the app routes it.
- Precedent answers and the four numbers. A repeated question gets its precedent as the suggested answer, matched by rules. The dashboard shows the trend for each of the four numbers.
Open questions
- How few gates is too few? We have four questions. We don’t yet have a check a gate can run for “reversible and observable.”
- Will precedent make people stop reading? A judge that’s right 95% of the time may get less attention than one that’s right 70% of the time. Spawn’s answer is that judges cite their sources and hold anything new. We’d like to see data from more than one company.
- Who owns the team’s brain? Easy writing and careful trust pull against each other in every organization I know.
- Our numbers are small. The sample runs are demos, and the other teams’ numbers are their own. We’ll know more after the flywheel has run with a real customer team for a few months.
What people do
People decide what’s worth doing and what right means. They make the calls only they can make, and they sign. A team gets faster when each of those calls is made once, by the person who owns it, and kept for next time.
The cents sentence, typed once.
Sources
- DX analysis of 400+ companies (150–10,000 engineers, November 2024 to February 2026), reported by LeadDev, 2026: AI tool usage +65% (average), PR throughput +7.76% (median).
- AI-DLC Workflows 2.0 Specification, and awslabs/aidlc-workflows , commit 8a04f01 (2026-10-05): docs/guide/05 (scopes and the adaptive composer), 08 (knowledge), 09 (rules, the learning loop, sensors, the ANZ example), 10 (state and audit); docs/harness-engineering/00 and 05 (out of the box; strictly additive rules); stage files for reverse-engineering, practices-discovery and domain-design.
- Amazon DevOps Blog, July 31, 2025: the AI-DLC method.
- Manus, 《用 Manus 改造 Manus,AI Native 组织改造的实践和思考》, October 26, 2026: https://mp.weixin.qq.com/s/I\_hNNAf7LFBf5nJ0rEJHig . Figures are the author’s own.
- Spawn, How I Built the Most AI-Pilled Company in the World. Figures are the author’s own; we leave out its comparisons between model vendors.
- Our sample: AI-DLC × Kiro Crew, dashboard app 0.9.0, with a fictional retailer modeled on real customer patterns. Run figures come from the measured runs shown; the gate decisions were scripted; the CTO-view history is simulated.
- Our team’s detector and canary experiments, each run once or twice. Treat them as anecdotes.
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article