The weighted AI-SDLC

A typo fix in a button label and a change to who can delete a team can land on the same afternoon. An agent wrote each of them in a few minutes. In most teams both now go through the same lifecycle, with the same template and the same review. If that lifecycle is heavy, the typo waits two days for a meeting. If it is light, the permission change gets the same quick glance as the typo.

When writing code was slow, the process around it cost little by comparison. Agents reversed that. The code now takes minutes, so process takes most of the time and money, and when the process is too thin it also carries most of the risk.

Below I compare the AI lifecycles that AWS, Anthropic and GitHub have published, then describe the lifecycle we built on a map of the system, where the map decides how much process each change gets.

The AI lifecycles published so far

AWS: AI-Driven Development Life Cycle

AWS published its AI-Driven Development Life Cycle in July 2025. It keeps three phases (Inception, Construction and Operations) and lets the AI drive them. The AI drafts plans and asks clarifying questions, and it implements the work once the team has validated it. Sprints become "bolts" that last hours or days, and requirements are settled in a "Mob Elaboration", a session where the whole team reviews the AI's questions together. AWS open-sourced the AI-DLC workflows in November 2025 and has built them into its Kiro tool.

Anthropic: the AI-native SDLC playbook

Anthropic's AI-native SDLC playbook, published in August 2026, describes six stages from planning to maintenance. Each stage ends by committing a file that the next stage reads, starting with an intent.md written with the product owner. It is the most hands-on of the three. Policies live in skills and are enforced by hooks, and the agent that wrote a change can never approve it. Deploys face stricter gates closer to production, and team conventions live in a CLAUDE.md file that grows each time Claude repeats a mistake.

GitHub: Spec Kit

GitHub's Spec Kit, released in September 2025, is spec-driven. A project writes down its principles once. Each feature then moves through the same steps (specify, plan, break into tasks, implement), and each step produces a document the next one uses.

What they share, and where they differ

All three give the AI the long middle of the work and leave people responsible for deciding what to build and whether it came out right. Ours starts from the same split. People decide what to build and accept the result, agents do the work in between, and the repository holds the rules both have to follow.

The frameworks differ in two places: how they handle the gap between a typo and a permission change, and what holds their rules in place.

AWS gives every change the same rituals, and Spec Kit gives every feature the same documents. Anthropic's playbook goes further. It reserves human review for critical code, lets routine work with a small blast radius be accepted automatically, and tightens the gates near production. Its risk handling is a set of good practices, though, and none of the three checks the code against a description of how the system should be built. Ours does both with one artifact: a map of the system's flows, components and data, which sets the weight of each change and fails the build when the code drifts from it.

A step-by-step view makes this clearer. The three published lifecycles differ in their stages and approval points, but each one runs every change through the same path. Ours starts by asking the map what a change reaches and writes the tests before the code. The same machine checks run under every step, and what the change touches decides how many steps it gets.

Where intent fits

Anthropic's playbook starts every change with an intent, a short document written with the product owner that says what problem is being solved and how everyone will know it worked. Ours keeps the idea and lets the map set its size.

A new app, or a large new area, starts with a blueprint. It names the actors and what each of them does, lists every flow with its edge cases, marks the critical ones and decides how each shared concern is handled. No application code is written until a person approves it. A feature in an existing app gets the same design, done inside the existing map. A small change starts from the brief of the component it touches, a short card with that component's contract, its rules and the decisions already made about it.

In every case the edge cases become tests before the code exists. Deciding what counts as evidence before writing code gives the later checks their meaning.

Weighting process by risk

Our lifecycle rests on one rule: process follows risk, and the size of a change says little about its risk. A three-line edit to who can delete a team is quick to write and serious to release, while renaming a field across forty files follows a known pattern and is easy to undo.

The rule
Process follows risk, and the map says where the risk is.

The risk is written into the map. When a flow is designed, it is marked critical if it touches money, access, irreversible changes to user data or the product's core loop. Each store names the one component that may write it and the rules it must keep. The few pieces that must never fail, such as the access gate or a webhook handler that must not charge twice, are listed for proof. How risky a change is becomes a question of what in the map it reaches.

That gives four kinds of change. A small change reaches no critical flow and is easy to undo, such as a label from approved copy or an extra validation rule. A new feature adds a flow in an area the map already covers. A critical-flow change touches money, access, deletion or the core loop. A must-never-fail change touches one of the pieces listed for proof.

Every kind rides on the same base: read the brief, go through refine-pr and pass the pre-push hook. The kind decides what sits on top.

How the flow changes with complexity

The kind changes the path a change takes. The steps keep their order, and each kind adds work and stopping points to the one below it.

StepSmall changeNew featureCritical flowMust never fail
DesignThe component's briefA blueprint inside the map, approved by a personThe same, with the flow marked criticalThe same, plus a plain-language spec a person approves
Tests firstThe tests that already cover the codeOne per edge case and failurePlus the access matrix and the statechart walksPlus the proof
BuildOne agentOne builder per write scopeThe sameThe proven module, generated from verified source
Reviewrefine-prrefine-prrefine-pr and a map review by a model from another familyThe same, with the verifier in CI
GateHook and CIHook and CI, up to three fix roundsThe sameThe same, and CI rejects hand edits to generated code

With this in place, the cost of process follows the cost of a mistake. A label change no longer waits for a design review, and a permission change can no longer slip through on a quick glance. A new workflow still gets the full design it always needed.

How a change gets its weight

Weighting only works if it is hard to game, because everything looks small to someone in a hurry. In ours, nobody argues the weight in a ticket. Before work starts, flows.py impact lists what the change reaches: its callers, the flows that pass through it and the tests that cover it. If any of those flows is critical, the change is a critical-flow change, whatever its size.

Three rules keep the weight honest after that. First, the critical marks are decisions. Marking a flow critical, or taking the mark away, is recorded in the map with who decided and why, and every later session reads it.

Second, the build stops when the work contradicts the map. A request that breaks an invariant, a status field with no statechart or a step on a component the map lacks all stop the run until a person decides, and the answer goes into the map.

Third, the rules run whatever weight a change was given. The map's policies say what every flow of a kind must go through, such as every critical flow passing the access check, and the gate checks them on every push along with the boundaries and the project's tests.

In this example, a change that looked like a label tweak edits a file that a critical flow passes through. impact lists that flow before any code is written, so the change gets the access matrix and the map review before it merges.

Why the weight needs a codebase that checks itself

Every weighted process has a weak point. A light path is only as safe as whatever still runs when the process steps aside, and in most codebases the process is the only safety net. Skipping review on a typo is harmless. Skipping it on a "typo" next to an access check can let a stranger into someone's data, so teams that weight their process by hand tend to drift back to one heavy process for everything.

Trust by structure describes the fix: guarantees that live in the repository as a map plus checks that fail the build when the code drifts from it. In our lifecycle the map that sets the weight is the same map that carries those guarantees.

Machines enforce the base

A small change still passes the pre-push hook and still cannot write to a store from the wrong component. The gate runs the boundary rules, the check that the code matches the map and the project's own tests on every push, and CI runs them again. The light path drops ceremony and keeps the guarantees, which is why a typo can take two minutes.

The strongest evidence goes to the highest risk

Each kind adds stronger checks than the one below it. The flow's own tests come first, then an access matrix that tries every role against every flow, and for the few pieces that must never fail, a plain-language specification and a machine-checked proof.

People can then rely on the structure under every change and spend their own attention where it shows risk.

Attention is the budget

When code was expensive, the lifecycle was designed to save engineering hours. Typing is no longer scarce. The scarce resource is the attention of the few people who can judge whether a change is right, such as the product owner who knows what the customer meant.

A uniform lifecycle spreads that attention evenly. The typo wastes some of it, and the permission change gets less than it needs because it arrives after forty typos. A weighted lifecycle puts attention where the risk is, so most changes cost a person almost nothing and the few that matter get a careful review.

Speed against the cost of change

Two measures summarize the argument: how fast code gets written, and how expensive the next change becomes. One heavy process keeps changes cheap but limits speed to the rate of human review. Agents with little process are fast, but each session adds drift, so the cost of change keeps climbing. Weighted process on a structured codebase is the only combination that is both fast and cheap to change.

Teams reach that corner from two directions. Teams deep in type-and-go add the map and its checks and clean up the drift they already have, so new drift fails the build. Teams that build carefully by hand weight their process, so agents take over low-risk work while high-risk work keeps its full review.

The two parts support each other. The structure keeps the light path safe, and because every change has to respect the map, the next change stays cheap.

Many agents on one map

Because the map says who owns what, it also makes it safe to run several agents at once. The build skill takes one flow from the map to a green commit. Its plan assigns one builder to each write scope, so two agents never edit the same files, and each builder works in its own worktree. A builder can be a cheaper model wherever the gate can catch its mistakes.

When the gate goes red, the builders fix only inside their own scopes. After three red rounds the flow stops and waits for a person, with the failing lines recorded. Every flow then goes through refine-pr, and a critical flow also gets the map review from a model of another family. The run ends in one commit and never pushes.

Work comes from the map as well. flows.py status lists the flows still to build, the rules that check nothing, the critical flows without tests and what changed since the last audit, and the cycle skill runs the first item with the skill that owns it. A ledger in the repository records every gate run, review and flow with its cost, and flows.py report reads it back.

Corrections close the loop. When a person corrects an agent, the correction becomes the strongest guard that can catch it, from a structural change or a map rule down to a lint or a test. The guard counts only after it has been shown to fail on the original mistake.

Where this is heading

Most published AI lifecycles read like process documents with AI added. I expect the next ones to look different in four ways.

Lifecycles become code

Rules and approval points will move from wiki pages into hooks and CI checks, where they are versioned and tested like other code. Anthropic's playbook already moves this way with hooks and managed settings. In ours the rules already live in the map, the hook and CI run them, and a self-test shows that each rule fails on the mistake it was written for.

The weight is computed on every push

Today the critical marks are set when a flow is designed, and impact is read before work starts. The gate could do this on every push, reading the diff against the map and adding the access matrix and the map review whenever a change reaches a critical flow.

People focus on three decisions

People will decide what should happen and why, approve the approach where real risk lives, and accept the result on evidence. Agents do the work between those points. Review becomes reading evidence, such as which checks passed and what is proven.

Proof becomes affordable

Formal verification used to need rare specialists and weeks of work. Agents handle that mechanical loop well, and the verifier checks a proof whoever wrote it, so I expect proofs to become normal for code that handles money or access.

Phase names and rituals will keep varying between vendors. The lifecycles that last will be the ones whose guarantees are enforced by the system.

TL;DR

In short
  • Agents made code cheap, so the process around it is now the main cost. One process for every change either wastes attention on small changes or lets risky ones through.
  • AWS, Anthropic and GitHub keep people accountable while agents do the work. None of them weights process by risk as a system or checks code against a map of how it should be built.
  • Our lifecycle reads the weight of a change from a map of the system. What the change reaches makes it a small change, a new feature, a critical-flow change or a must-never-fail change.
  • Every change rides the same base, and each kind adds stronger evidence, up to a machine-checked proof.
  • The weight is hard to game. impact lists what a change reaches, critical marks are recorded decisions, and the map's policies run on every push.
  • The map lets several agents build at once, one builder per write scope, with the gate on every flow and a review from another model family on critical ones.
  • The next lifecycles will be policies that machines run, with each change weighted continuously.

Sources