Agentic SDLC — The Whole Lifecycle Map

Agentic SDLC — The Whole Lifecycle Map
AGENTIC SDLCThe whole lifecycle, on one mapSoftware made by a team of AI agents still goes round the same loop human teams do — it just goes round much faster, so every stepneeds a process that doesn't depend on you remembering it. Click a district to zoom in. Esc zooms out. Arrow keys walk the tour.GO DEEPER — SIBLING MAPS & DECKSPlan map ↗Agents map ↗Ship map ↗Evolve map ↗Git situations deck ↗DevOps: ship deck ↗Complexity ladder deck ↗Day companion ↗PLANdrafting roomBUILDworkshop floorREVIEWinspection gateSHIPshipping dockEVOLVElibrary & gardenYOUthe CTOvision · judgment· when to stopEach lap makes the system better — and the lap gets faster. then build itthen check itthen ship itthen learn from it…and the next lap starts smarteryou steer Drafting Room1 · PLAN1 · PLANDrafting RoomWhat are we building, for whom, and in what order?Agents build exactly what you describe — including the vague parts. So planning isn'ta warm-up, it's the factory: a brain dump becomes requirements, requirements become aphased roadmap, and the roadmap becomes specs agents can be held to.→ Brain dump → roadmapthe pipeline of prompts→ Artifactsroadmap ⊃ feature ⊃ story ⊃ spec ⊃acceptance→ Fast Waterfallspec it all, build in phasesThe pipeline produces the artifacts; Fast Waterfall is why you do it all up front. Plan map ↗ PROCESSBrain dump → RoadmapSix prompts turn what's in your head into specs an agent can build from.Brain dumpyou talk, it listensRequirementswhat must be trueBusiness valuewhat matters mostPhased roadmapwhat orderParallelizationwhat can run at onceOpenSpec proposalsone spec per featureEvery arrow is a prompt to Claude. You answer questions; Claude writes the artifact. Theartifacts — not the code — are the factory.SO WHAT: plan the whole thing fast, then build in phases, not tickets.Brain dump → RoadmapUSE IT WHENBefore any code. Also whenever the projectdrifts — re-run the pipeline on whatyou've learned.IN AN AGENT'Interview me about this app one questionat a time, then write requirements.'Claude asks; you answer; it writes theartifact.GOTCHASkipping the parallelization step meansagents later collide on the same files.ASK THE ROOMWhat would your brain dump miss that a user would notice on day one? VOCABULARYThe planning artifactsRoadmap, feature, user story, requirement, acceptance criteria — five words, nested.Roadmapphases, in orderFeaturea thing users can doUser storyAs a __, I want __ so that __Requirement / specwhat must be trueAcceptance criteriahow we'll know it's doneONE OF EACH, NESTEDRoadmap: Phase 1 = people can sign up. Feature: passwordreset. Story: as a user who forgot my password, I want areset link by email so that I can get back in. Requirement:the link expires and works once. Acceptance: clicking a usedlink shows 'expired' and does NOT log you in.worked examplezoom in ⌕Plan › Artifacts › one of eachBENCH · WHICH ONE IS IT?Click a sentence. Decide which box itbelongs in first.'Payments''As a teacher I want…''Refunds over $50 need a human''A $51 refund shows Pending''Phase 2: teams''It should be fast'Pick one ↑ — answer for your own agent first,then click to compare.The planning artifactsUSE IT WHENWhen someone says 'the spec' and you'renot sure which box they mean.IN AN AGENTAn agent's test asserts an acceptancecriterion. If you didn't write one, theagent invents one.GOTCHA'It should be fast' is a wish, not arequirement. Put a number on it.ASK THE ROOMWrite one acceptance criterion for your project. Could a test check it? PHILOSOPHYFast WaterfallPlan everything quickly, build in big phases, ship working systems — because building got cheap.WATER-FRAGILE (what most companies do)sprint 1plan · build · demosprint 2plan · build · demosprint 3plan · build · demosprint 4plan · build · demosprint 5plan · build · demosprint 6plan · build · demoOne feature per sprint made sense when one feature took a long time to build. With agents the building got cheap —the re-planning overhead didn't.FAST WATERFALL (what we do)Spec it allrequirements, roadmap, specs —quicklyBuild in phasesagents in parallel, big incrementsWorking systemnot a minimal featurelearn → re-spec → next lapBuild the factory, not the thing. Your specs and prompts are the factory; code is what comes out.SO WHAT: the spec is the steering wheel. Agile ceremonies were for slow hands.Fast WaterfallUSE IT WHENDeciding how big a chunk of work to handan agent.IN AN AGENTInstead of one ticket per sprint, a phaseof 5 independent features goes to 5 agentsat once.GOTCHAFast doesn't mean skipping the spec. Fastmeans the spec is the work.ASK THE ROOMWhich of your team's rituals exist only because building used to be slow? Workshop Floor2 · BUILD2 · BUILDWorkshop FloorWho does the work — and how do they not trip over each other?One agent is a pair programmer. Many agents are a team — and teams need benches,briefs and rules. Subagents and forks split the thinking; worktrees split the files;the worker loop makes each agent finish what it starts.→ Agent · subagent · forkwho knows what→ Worktreesone bench per agent→ The worker looptest first, commit if greenForks decide who thinks; worktrees decide where they work; the loop decides when they're done. Agents map ↗ CONCEPTAgent · Subagent · ForkThe difference is what's in its context: everything, only your brief, or a copy of everything.YOUR SESSIONthe whole conversationSUBAGENTfresh, empty contextknows only your briefbriefsummaryFORKcopy of everything so farclonereportBoth run in the background while you keep talking. You only ever see what theysend back — so ask for the conclusion, not the file dumps.SO WHAT: subagent = new hire with a brief. Fork = a clone of you.BENCH · SUBAGENT OR FORK?Pick a job. Which would you send?Search 40 files for XBuild a map of what we just discussedIndependent code reviewA two-line typo fixPick one ↑ — answer for your own agent first,then click to compare.Agent · Subagent · ForkUSE IT WHENAny job big enough that you'd rather readthe conclusion than watch the work.IN AN AGENTThis map: a fork of the planning sessionbuilt it while the main session keptteaching.GOTCHAA subagent with a vague brief does vaguework — and reports it confidently.ASK THE ROOMWhat's one task you did this week that a fork could have done in the background? GITWorktreesOne repository, many working folders — so parallel agents never edit the same files..git (one repo)history + objects, shared by all../app-loginbranch feat/loginagent A../app-searchbranch feat/searchagent B../app-billingbranch fix/billingagent Cgit worktree add ../app-search -b feat/searchOne repo, many working folders, each on its own branch. Agents can't overwrite each other's half-finishedfiles — their work meets again only through a pull request.SO WHAT: one agent, one bench, one branch.WorktreesUSE IT WHENWhenever two agents work on the same repoat the same time.IN AN AGENTThree agents, three worktrees, threebranches, three pull requests — merged inorder by a release manager.GOTCHAEach worktree needs its own installs, andthey still share your database and ports.ASK THE ROOMWhich two parts of your project could two agents build without touching the same file? PATTERNThe autonomous workerA loop that picks a task, writes the test first, and only commits when it's green.Pick taskWrite failingtestImplementRun testsCommitMark donefail → fix & retryTHE LOOPTHE OUTDOOR PET — run it outside the house▸ its own machine (or container) — not your laptop▸ its own GitHub account for its commits▸ its own budget card with a hard limit▸ secrets from a vault, not your .env▸ hooks that block bad commitsThe cautionary tales from class — a deleted database, akernel panic — both came from an agent with too muchaccess on a machine that mattered.A WORKER'S SYSTEM PROMPT, IN FOUR PARTS1 Identity & role: 'You are Roy, backend developer for this repo.' 2 Coreworkflow: 'Pick the top unclaimed task in tasks/, write a failing test, makeit pass, commit, mark done.' 3 Capabilities & constraints: 'You may editsrc/api only.' 4 Rules & guardrails: 'Never disable a test to make it pass.Never commit with failing tests.'worked examplezoom in ⌕Build › Worker › system promptSO WHAT: tests first, so 'done' means something the agent can't fake.The autonomous workerUSE IT WHENWhen you want work to continue whileyou're away from the keyboard.IN AN AGENTHeadless Claude on a schedule: read nexttask → implement → test → commit ifpassing → mark complete → repeat.GOTCHAGive it the keys to your real machine andit will eventually use them. Keep the petoutdoors.ASK THE ROOMWhat's the worst thing your agent could do with the access it has right now?Outdoor pet deck ↗ Inspection Gate3 · REVIEW3 · REVIEWInspection GateHow do you trust code nobody typed?Agents write fast and confidently — including the bugs. Review stops being one personreading diffs and becomes a stack of filters: machines catch what's certain, a reviewagent catches the patterns, and you catch what only a human knows.→ The process stackhooks → scans → agent → you→ The silent fallbackan anti-pattern, defeated→ Escape-Escapedon't argue, rewindThe stack is the gate; anti-patterns are what it's tuned to catch; Escape-Escape is how you fix a bad run. Git situations deck ↗ PROCESSThe process stackFour filters, cheapest and most certain first — so a human only sees what machines can't settle.1 · Pre-commit hooksBLOCKStests, types, lint, pattern detectors — any fail = commit rejected2 · Post-commit analysisFLAGSE2E, security scans, perf, behaviour drift — fail =flagged3 · Senior review agentQUESTIONSchecks the senior-dev checklist and knownanti-patterns4 · Human reviewDECIDESproduct sense, architecture, 'isthis what we wanted?'Cheap, certain checks first; expensive judgment last. A human should only seewhat three machines couldn't settle.SO WHAT: you are the last filter, not the only one.BENCH · WHICH LAYER CATCHES IT?Click a problem. Guess the layerfirst.A type errorLogin breaks in the browserA silent fallbackThe feature nobody asked forPick one ↑ — answer for your own agent first,then click to compare.The process stackUSE IT WHENSetting up any repo agents will commit to.IN AN AGENTA pre-commit hook that runs the testsmeans no agent, ever, can commit red.GOTCHAA hook with a 'skip just this once' flagis not a hook.ASK THE ROOMWhich layer does your project have today? Which one is missing? ANTI-PATTERNThe silent fallbackAn error swallowed and replaced with a default — the program lying to you politely.WHAT THE AGENT WROTEdef get_price(item): try: return api.fetch_price(item) except Exception: return 0 # ← looks safeWHAT ACTUALLY HAPPENSThe pricing API goes down. Nothing crashes.Every item now costs $0. Tests pass, dashboardsare green, and you find out from the bank.THE IMPROVEMENT LOOPFindname the patternDefeata test that fails on itTeachadd it to the checklist + memory# test_no_silent_fallbacks.pyassert no 'except' block returns a default without logging + re-raising→ now the hook catches it forever, for every agentSO WHAT: an error you can see is a gift. Agents love to hide them.The silent fallbackUSE IT WHENReading any agent code with try/except,'|| default' or 'if not x: return []'.IN AN AGENTFind → Defeat (a test) → Teach (checklist+ memory) — then it never comes back.GOTCHAIt passes every test you wrote before youknew about it.ASK THE ROOMWhere in your code would a $0 or an empty list hide a failure? HABITEscape-EscapeWhen a run goes wrong, rewind and fix the prompt — don't argue in the next message.ARGUING (don't)you: No, I said use Postgres.agent: You're right! Switching to SQLite…you: POSTGRES.agent: Apologies — here's the SQLite version…Every correction stays in context. You're now arguingwith a transcript that contains the wrong answer fourtimes.ESCAPE-ESCAPE (do)Esc EscrewindRephrasefix the promptWrong approachEsc-Esc, rephraseAsks what you answeredEsc-Esc, clarifyStuck in a loopEsc-EscGarbage outputEsc-EscTiny typojust fix it inline“A new error is progress. Every time there's a new error, you have made progress.”Arguing isn't progress. It's noise.SO WHAT: fix the prompt, not the agent's opinion.Escape-EscapeUSE IT WHENThe moment you start typing 'No, I said…'.IN AN AGENTAgent picks the wrong library: Esc Esc,add 'use Postgres, not SQLite' to theoriginal prompt, rerun.GOTCHAArguing leaves the wrong answer incontext, so it keeps coming back.ASK THE ROOMWhen did you last argue with an agent? What would the rewritten prompt have said? Shipping Dock4 · SHIP4 · SHIPShipping DockHow does a change get from an agent's branch to real userswithout breaking them?With one developer, shipping is a push. With ten agents, it's logistics: every changerides a branch and a pull request through automated checks, lands in order, and istried somewhere cheap before it reaches real users.→ Branch → PR → mergethe one road into main→ Environmentspreview, staging, production→ Release managerwhat order things land inPRs are the road; environments are the test track; the release manager is the traffic controller. Ship map ↗ GITBranch → PR → MergeEvery change rides a branch, becomes a pull request, passes checks, then merges.main / productionfeat/searchyour agent's branchcommitsPull request'please pull mybranch in'CI checks✓ tests✓ lint✓ build… reviewMergeA pull request is a request for the main branch to pull in yours. It's where the checks run and where review happens— the inspection gate lives here.SO WHAT: nothing reaches main except through a PR with green checks.Branch → PR → MergeUSE IT WHENEvery change, from every agent — no directpushes to main.IN AN AGENT'Open a PR for this branch and tell mewhen CI is green.' Then read the PR, notthe agent's summary of it.GOTCHAIf agents can push to main directly, noneof your review stack exists.ASK THE ROOMWho — or what — is allowed to press Merge in your project?Git situations deck ↗ INFRAEnvironmentsCopies of the app, each more real and more expensive to break than the last.Your machinebreaks? only younoticePreviewone per PR,throwawayStagingthe dressrehearsalProductionreal users← cheaper to break more real →TWO WAYS TO SWAP SAFELYblue (live)green (new)routerBlue-green: flip all traffic at once;flip back if it breaks.old · 90%new · 10%Canary: a few users first;widen if it holds.SO WHAT: break things where it's cheap.BENCH · WHERE DO YOU TEST THIS?Click a change. Pick the cheapestplace that would actually catch theproblem.A button colourA database migrationNew checkout flowA refactor with good testsPick one ↑ — answer for your own agent first,then click to compare.EnvironmentsUSE IT WHENDeciding where a change must be seenbefore real users see it.IN AN AGENTEvery PR gets a preview URL; mergingdeploys staging; production is a separate,deliberate step.GOTCHAStaging that shares production's databaseisn't a rehearsal — it's production.ASK THE ROOMWhat's the most expensive place your project has ever found a bug?DevOps: ship deck ↗ ROLEThe release managerWhen many branches are waiting, someone decides the order — and when to say no.PARALLELIZE WHEN…Feature AFeature BFeature CShipdifferent files · different systems · clearinterfaces · no data dependenciesSERIALIZE WHEN…ABCShipsame files · shared database schema · changing API contracts· state dependenciesTHE RELEASE MANAGER'S MERGE ORDER1 Infrastructureaffects everything2 BackendAPIs the frontend needs3 Frontenddepends on backend4 Thensmaller changes firstIt blocks a merge when main is red, a pending change has failing tests, two changes conflict, or a change reachesoutside its author's scope.SO WHAT: independent work fans out; dependent work queues up.The release managerUSE IT WHENMore than two agents producing PRs on thesame repo.IN AN AGENTInfra PR merges first, the API PR rebaseson it, the UI PR goes last.GOTCHAParallel agents on the same files don'tsave time; they manufacture mergeconflicts.ASK THE ROOMWhich features in your roadmap must be serialized? Why? Library & Garden5 · EVOLVE5 · EVOLVELibrary & GardenHow does the team get better instead of repeating the samemistakes?A fresh agent knows nothing about your project's scars. Evolution is how the lessonsstick: memory that keeps what matters and composts the rest, a stack that turns rulesinto habits, and loops inside loops that each improve something.→ Five-layer memorywhat to keep, what to forget→ Discipline stackhook → checklist → memory → habit→ Iteration cyclesmicro, daily, weekly, monthlyCycles decide when you improve; memory stores what you learned; the discipline stack makes it stick. Evolve map ↗ ARCHITECTUREFive-layer memoryLayers that forget at different rates — and a nightly pass that turns notes into wisdom.COREidentity, role, voice, relationshipsnever clearedLONG-TERMmajor insights, milestonesnever clearedMEDIUM-TERMpatterns noticed this weekcleared weeklyRECENTtasks, learnings, conversationscleared nightlyCOMPOSTfailed & rejected ideascleared monthly↑ REM sleep: the nightly / weekly pass consolidates notes upward into long-term memory.SO WHAT: a mistake remembered is a mistake not repeated.BENCH · WHERE DOES IT GO?Click a thing your agent learned.'I'm Roy, backend'Third time citing a fake paperToday's ticket notesWe tried event sourcing; too complexPick one ↑ — answer for your own agent first,then click to compare.Five-layer memoryUSE IT WHENAny agent that will run more than once onthe same project.IN AN AGENTTen 'forgot to validate input' notesconsolidate into one long-term rule.GOTCHAMemory that only grows becomes noise.Consolidation is the point.ASK THE ROOMWhat's one mistake you'd want your agent to never make twice?Agent memory deck ↗ PROGRESSIONThe discipline stackEnforce it, check it, remember it, then it's habit.1 · Hookexternal enforcement — the commit is rejected2 · Checklistthe reviewer checks it3 · Memorythe agent remembers failing at it4 · Habitit just doesn't write it any morethe goalis the top stepEvery discipline starts at the bottom: a hook thatrefuses the commit. Over time it moves up — reviewerscheck it, the agent remembers it, then it's simply howthe agent writes code.SO WHAT: enforce it with a machine first; habits come later.The discipline stackUSE IT WHENAny rule you've had to say to an agentmore than twice.IN AN AGENTSilent fallbacks: a hook rejects them →the reviewer flags them → the agent'smemory notes it → it writes expliciterrors by default.GOTCHASkipping straight to 'just tell it in theprompt' is level 4 without levels 1–3. Itwon't hold.ASK THE ROOMWhich rule in your project lives only in your head right now? RHYTHMIteration cyclesLoops inside loops — each one improves something different.MONTHLYWEEKLYDAILYMICROMICROtask → test → commitDAILYovernight work · morning review · tech-debtpassWEEKLYpattern review · REM sleep · checklistupdate · defeat testsMONTHLYbehaviour audit · agent versioning · compostcleanup · cost reviewSO WHAT: small loops ship code; big loops improve the team.Iteration cyclesUSE IT WHENSetting up the rhythm for a project thatwill run for a while.IN AN AGENTWeekly: 'What recurred this week? Write adefeat test for it and add it to thechecklist.'GOTCHAIf you only run the micro loop, you shipfaster and get no better.ASK THE ROOMWhich of these loops does your project actually run? CTO's Office0 · YOU0 · YOUCTO's OfficeIf agents write the code, what's still your job?Vision, judgment and knowing when to stop. You decide what gets built and what 'good'means; agents do the rest. That's a promotion — and like any promotion it comes witha ladder to climb, new vocabulary, and a real risk of overwork.→ Maturity ladderwhere you are, what's next→ It's all promptscommands, skills, subagents, tools→ Your limitsthe rate limit is on your sideClimb the ladder one step at a time, with words you understand, at a pace you can keep. CTO mindset deck ↗ MODELThe maturity ladderSeven levels from 'I write the code' to 'the team improves itself'.0Manual1Assisted2Automated3Orchestrated4Autonomous5Evolving6Self-improvingYou can't skip a step. Each one is the foundation for the next.SO WHAT: know which step you're on; build the next one.BENCH · WHERE ARE YOU?Click the sentence that's mosttrue.I paste code from chatIt edits; I read every diffI run a few agents at onceIt works overnightPick one ↑ — answer for your own agent first,then click to compare.The maturity ladderUSE IT WHENDeciding what to set up next — andnoticing when you're trying to skip astep.IN AN AGENTLevel 2 → 3 needs tests and hooks first,or parallel agents just make parallelmistakes.GOTCHALevel 4 without level 2's tests is anagent shipping untested code overnight.ASK THE ROOMWhich level are you on — honestly? What's the one thing that gets you to the next?Complexity ladder deck ↗ VOCABULARYIt's all promptsCommands, skills, subagents, tools, plugins — the same thing in different packaging.a shortcut to a prompta prompt + code that runsCommand/reviewa saved prompt you callwith a slashSkilla playbooka detailed, multi-stepprocedure the agentfollowsSubagenta briefa prompt that runs inits own contextTool / MCPRead, Bash, GitHuba prompt plus code theagent can execute“They're all just different ways of handling prompts.”Plugins bundle several of these to install together; hooks run your code on agent events.SO WHAT: don't get stuck on the names — ask what context it runs in.It's all promptsUSE IT WHENWhenever the vocabulary is getting in theway of building.IN AN AGENTA /review command, a code-review skill anda reviewer subagent can contain the samewords — they differ in where they run.GOTCHAInstalling many plugins doesn't make aprocess. Knowing what each prompt doesdoes.ASK THE ROOMWhat's a prompt you type often enough that it should be a command? HEALTHYour limitsWhen agents unblock everything, the bottleneck becomes you. Guard it mechanically.THE DIARRHEA PHASE (the course's own term)Agents suddenly unblock years of backlogged ideas. All ofthem feel buildable right now. Multiple developers inthis field have hit manic episodes from exactly that.WARNING SIGNS▸ skipping meals▸ coding at 3am▸ 'one more feature' loops▸ nobody's heard from youGUARDRAILS THAT WORKone subscription — let the limit stop youmerchant-locked card with a captimers you actually obeytell someone who loves you, nowThe goal isn't to work 10× longer because you can. It's to work 10× faster in focusedbursts — then stop and do something else with your life.SO WHAT: the rate limit is the one part of the stack on your side.Your limitsUSE IT WHENBefore you start. Seriously.IN AN AGENTOne subscription. When it runs out for theday, you're done for the day — that's thefeature.GOTCHABeing new at this is no protection.ASK THE ROOMWho will you tell, and what's your stop signal?
Course ↗
0 / 0

Explore

Click anything to zoom into it · scroll to zoom · drag to pan
Esc zoom out one level · Home whole atlas
1–4 jump to a quadrant · / search

Tour

→ / space next stop · ← previous
The tour visits every district and framework in teaching order.

Teach

N presenter notes for whatever you're looking at · F fullscreen
Every view has its own link — copy the URL to send someone straight to it.

Reading the map

The whole atlas is one safety case. The top goal is “this agent is fit to deploy”; each quadrant is one leg of the argument; each district is a family of tools for that leg. Small text appears as you zoom in. Some tiles have controls you can click.
Click anything to zoom in · scroll to zoom · Esc to back out · → for the guided tour