Table Nine Got a Frozen Dinner

Table Nine Got a Frozen Dinner

Eleven AI cooks built my app with AI-DLC in 33 hours, and table nine still got a frozen dinner. Find out who did it, then open your own kitchen.

AI Developer
At 9:47 on the night my restaurant opened, table nine ordered the planner dish, and the kitchen sent out a frozen dinner.
Nothing crashed. The plate looked tidy, its label said what it was, and the frozen dinner was my own idea: if the kitchen failed to cook a dish, the guest would still leave fed. The planner dish had passed each tasting during rehearsal. I stood at the pass and watched it go out.
I had opened the restaurant about thirty-three hours earlier, with a one-page brief pinned above the pass and a staff of eleven I had not met.



The kitchen ran from a voice on the intercom. The manager cooked nothing: it chose which station worked next, handed that station a written ticket, and held the kitchen still until I signed for each course. Everything went into a logbook on the counter, so each cook started from the tickets the last cook had written, and each change I made left a line in the book.
A different cook took each station. The menu writer asked who the guests were before anyone touched a pan, the head chef asked what could burn and what the gas would cost, and the line cook wrote each recipe with its taste test first. A food critic and an inspector cooked nothing and tasted the work at each station before it reached me. I signed the early tickets myself; once the first course was out, I let the manager clear the routine ones, and the failures still came to me.
On the first evening the expediter asked how the cooks should rehearse. I approved a sensible rule: rehearse with a stand-in ingredient. Rehearsals would run fast, cost nothing and taste the same each time.
At 1:48 the next morning the inspector held up a receipt. The order on it looked like one dish and carried 9,002 hidden add-ons, and the till at the front had let it through because it counted only the items a person can see. No guest had arrived yet. The line cook fitted a second till that counted each item, seen or hidden, and I signed at 2:27.
At 5:06 the gas went off in the middle of the fifth course. I came back about seven hours later, paid the bill and said carry on. The cooks picked up the same pans at the same step, because the logbook remembered where each of them had stopped.
By evening the doors were open, and the expediter sent its test orders through one by one. Order nine was the planner dish for table nine, and the frozen dinner came back out.
Each rehearsal had passed. The critic and the inspector had tasted the work put in front of them, and I had approved what reached me. Something had still got past the whole kitchen, and past me.

Meet the kitchen

The manager stays out of sight and speaks over the intercom. The eleven who work the stations are these:
  • The menu writer carries a notebook of questions and keeps the pans cold until you say who the guests are.
  • The food critic cooks nothing. She reads each menu and floor plan and circles any promise a guest could not check.
  • The head chef sniffs the air for anything that might burn and checks the gas bill before the first order.
  • The dining-room designer moves chairs until a guest in a hurry and a guest using a keyboard both find their table.
  • The sous chef pins the order of service to the wall and decides which course goes first.
  • The expediter stands at the pass with a checklist and writes the house rules beside it.
  • The line cook writes the taste test before the recipe, then cooks until the dish passes it.
  • The inspector cooks nothing either, and spends the night trying to break whatever leaves the line.
  • The taster dips a spoon in each pot before it leaves the kitchen and writes down what is missing.
  • The building manager knows where the gas meter is, how many burners the fire code allows, and whose name is on the lease.
  • The night manager stays after closing and writes up what broke while it is still warm.



The restaurant was AI-DLC

The kitchen is AI-DLC, the AI-Driven Development Life Cycle from AWS Labs, and the staff of eleven are the AI personas it runs. I ran version 2.11.3, the latest stable release when I started, in Kiro CLI on 10 and 11 November 2026. I wrote a one-page intent brief, and AI-DLC planned, designed, built, tested and deployed an app from it.
The app it cooked is a web app called Learning Journey. You type a professional topic, pick a teaching style, and Amazon Nova Lite on Amazon Bedrock writes you a learning path of five or six stages. The app is the example; the rest of this article follows AI-DLC as it built it, and each kitchen character appears as its persona takes the station.



How AI-DLC differs from a traditional SDLC

A traditional software development life cycle (SDLC) gets a team to a tested app through plans, documents, reviews and handoffs between people. AI-DLC keeps those steps, hands the work inside each to AI, and writes the sequence, questions, reviews and your decisions down as a workflow you can run again.

Traditional SDLC
AI-DLC
How requirements get captured
Workshops, tickets and documents
Lettered questions in files, answered by you and tagged into later work
Who reviews the work
Teammates, in design and code review
A separate reviewer persona at each stage, before you see it
Where the rules live
Wiki pages and team habit
Layered rule files that each stage loads
Who plays each role
People in named roles, often one person covering several
One model that switches persona at each stage, with handoffs through files
What you keep
Documents, tickets and meeting notes
A state file, an audit log and stage documents in your repository



Initialization: the manager takes the first order

At 13:08 on Tuesday 10 November I typed  /aidlc  in Kiro CLI and pasted my brief. No cook answered. The voice on the intercom came first: AI-DLC's orchestrator, which is plain code with no model inside. It reads a state file and a graph of stages, and it hands the AI one instruction at a time. Its first instruction was a choice for me, a plan sized to the job:

On 2.11.3 the plans run from  poc  at 4 stages to  feature  and  enterprise  at 29. It suggested  mvp ; I chose  feature , the full life cycle, and the orchestrator laid out three setup stages, then Ideation (7 stages), Inception (9), Construction (7) and Operation (7): 33 in all. The offer counted 29, leaving out setup and Reverse Engineering, and 29 ran: the 33 minus Reverse Engineering, Team Formation, and two Construction stages I trimmed for my deadline.
The setup ran before any persona spoke. Workspace Scaffold created the  aidlc/  folder, Workspace Detection found no code and marked the project greenfield, and State Init created  aidlc-state.md , the logbook on the counter. I gave that file no thought until 5:06 the next morning, when it held the only copy of the night's progress.
The workspace also holds the rules each stage reads, in  aidlc/spaces/default/memory/ :  org.md  for AI-DLC's defaults,  team.md  and  project.md  for your team's and your project's rules, and one file per phase in  phases/ . Each stage imports its phase's file, and a narrower layer can add rules but not contradict a broader one. When a persona below does something you did not ask for, look there first.


Then the first cook walked in.

Phase 1: Ideation

Ideation decides whether to build, for whom, and what stays out, before anyone names a technology. Its phase rules say so in plain terms: keep ideation artifacts at the problem level, with "no implementation details", and make each success metric measurable. Each decision landed in a file the later stages read.



1.1 Intent Capture, the product manager, who is the menu writer. Each stage runs under a persona: a role the AI plays, with its own job description and checklist.  aidlc config  wrote 14 persona files into  .kiro/agents/ , and eleven worked in my build. AI-DLC starts with the product manager because each later stage needs a confirmed answer to who the app is for and why. This stage ran the loop that each later stage repeated:
  1. Questions. It wrote seven questions to a markdown file, each with lettered options and an empty  [Answer]:  line.
  1. Read-back. It repeated my answers, asked Does this all look correct before I generate the artifact?, and wrote nothing until I confirmed.
  1. Work. It wrote the stage's documents with source tags, such as  [Q3]  for my answer to question 3, so a later reader can find the answer behind each line.
  1. Review. The product lead reviewer, who is the food critic, listed findings with an ID, a severity and a location. You fix a Major or knowingly accept it at the gate; a Minor is a smaller improvement. Because the phase rules ask for measurable outcomes, this reviewer flagged any modern browser, and it became the latest two releases of Chrome, Firefox, Safari and Edge.
  1. Gate. The gate is where a person owns the decision. I could approve, request changes, or approve and name the findings to fix, and the orchestrator recorded my choice and released the next stage.


1.2 Market Research, the product manager. With my intent signed, the menu writer looked outside the kitchen. AI-DLC checks the market before scope so you do not build what you could buy, and its rules ask for a source behind each market claim. The build-versus-buy decision was to call Bedrock directly, and my answers added two compliance needs, a label on AI content and no personal data in storage, which come back in Scope Definition.
1.3 Feasibility, the architect, who is the head chef. Market Research had settled what to make. Whether it could run was an engineering question, so the persona changed for the first time: the same model, a new job description and checklist. The head chef read the menu writer's two files word for word and, as the phase rules ask, kept its estimates conservative with each assumption flagged: six risks and one open issue, Bedrock access unverified, which stayed open until the platform engineer confirmed Nova Lite access. With the risks on paper, the menu writer came back to decide what would fit.
1.4 Scope Definition, the product manager. Scope comes after market and feasibility because it trades both against your time. I had marked each feature essential and given a deadline four days away, and before writing anything the menu writer set the two answers side by side and made the deadline the tie-breaker:

On a traditional team, a clash like this often surfaces in a planning meeting; here it surfaced in a file, before any design existed. The backlog dropped the two compliance needs from Market Research, so I sent it back, and the revised backlog tagged both to their source,  [Q7-market-research] . Files carry the context between personas, and the gate is where you check that the persona used it. With the scope settled, the next question was who would cook it.
1.5 Team Formation belongs to the delivery lead and decides who builds which part. I built alone, so the orchestrator skipped it.
1.6 Rough Mockups, the designer, who is the dining-room designer. AI-DLC sketches the screens while a change is still cheap, before the requirements harden. The food critic compared the wireframes with the user flow and raised the run's first Major: the two disagreed about when to nudge a learner.


1.7 Approval and Handoff, the delivery lead, who is the sous chef. AI-DLC closes each phase with a handoff, so the next phase starts from one approved brief instead of seven files. Once the nudge rule matched, the sous chef gathered a brief and a log of 16 decisions, ran a phase check that passed with three warnings, and wrote GO. Ideation had taken the afternoon and part of the evening and raised one Major finding.

Phase 2: Inception

With GO on the ticket, the kitchen moved from what to cook to how to cook it. Inception turns the idea into requirements, design and a build plan, and its phase rules set the bar: each requirement needs a pass/fail criterion and must trace back to an ideation file, and each architecture decision names at least two alternatives.



2.1 Reverse Engineering reads existing code. Workspace Detection had marked my project greenfield, so it did not run.
2.2 Practices Discovery, the release engineer, who is the expediter. AI-DLC asks for the house rules before any requirement, because they shape each design that follows. My answers went into rule files that later stages load:  team.md  for how the team works, such as a walking skeleton first (a thin version that works end to end) and tests first for core logic, and  project.md  for hard rules, one line each:
## Forbidden
- NEVER store AWS credentials in GitHub (affirmed 2026-11-10)

## Mandated
- ALWAYS fake Bedrock in automated tests (affirmed 2026-11-10)
The Mandated line is the stand-in ingredient. I approved it for good reasons: tests against a fake model run in seconds, cost nothing and return the same reply each time. It also meant that no unit test would see what Nova Lite returns, and each later stage that wrote tests read that line. With the rules pinned beside the pass, the menu writer came back to turn the brief into requirements.
2.3 Requirements Analysis, the product manager. The phase rules reject words such as "fast" without a threshold, and the food critic held my requirements to that: the 20-second promise had no room for a retry, and my limits had no figures. They became a 15-second budget for all AI attempts, a throttle of 5 requests a second, and budget alerts at $2 a day and $8 a month.
2.4 User Stories, the product manager. AI-DLC writes stories in Given/When/Then form, each with an actor and its value, so each one can become a test. It wrote 25 for three learners, one of them using a keyboard and a screen reader.
2.5 Refined Mockups, the designer. The dining-room designer redrew the wireframes as working HTML, CSS and TypeScript, with a focus-trapped dialog for that keyboard learner. With the screens and stories agreed, the head chef took over the design.
2.6 Domain Design, the architect. AI-DLC designs the parts of the system before it plans the work, so the build plan follows the design. The architecture reviewer, who is the inspector, raised two Majors: the generator would have retried a refusal from the model as a malformed reply, and two progress saves arriving together would lose one. The architect fixed both before any code existed. From here on the inspector was the busiest member of staff: my audit log shows the architecture reviewer 155 times, against 90 for the other ten personas combined.
2.7 Units Generation and 2.8 Contract Design, the architect. AI-DLC cuts the work into units, vertical slices that each carry their own design, code and review, then fixes the contract between them before code exists. My app got six units, from a walking skeleton to an accessibility pass, and one  /journey  API, and the inspector raised three more Majors on the contract.
2.9 Delivery Planning, the delivery lead. The sous chef put the units in build order, and this gate is where you change it. I answered 2, request changes and moved the throttle and budget alerts into the skeleton, so the app carried its limits from the first deploy.
Inception ended at 00:23 on 11 November, 17 stages in, at about 346 Kiro credits, the units Kiro meters usage in. Its reviewers had raised 11 Major findings, and no application code existed yet.

Phase 3: Construction

A little after midnight the first course began at the head chef's station. Construction builds one unit at a time, with design, code and review for each, then tests the whole build. Its phase rules ask for complete runnable files, error handling at each integration boundary, input validation at each system boundary, and tests that cover at least two error cases. On many teams a reviewer first sees code in a pull request; here the architecture reviewer, which wrote none of the code, tried to break each unit minutes after the developer finished it.


3.1 Functional Design, the architect. Business rules and edge cases go on paper before code, where a fix costs a sentence. For the skeleton the inspector raised three Majors, and the architect fixed them on paper.
3.2 and 3.3 NFR Requirements and NFR Design: trimmed. These stages set performance and security targets for each unit. The architect proposed skipping both for all six units, because Inception had already set measurable targets and twelve extra stage runs would threaten my deadline. I approved, and the state file records both as  SKIP  with the reason, so the skip stays a decision you can audit.

3.4 Infrastructure Design, the architect. The head chef wrote the infrastructure as Python in the AWS CDK: CloudFront and S3 for the site, an API Gateway HTTP API, one Lambda function and one DynamoDB table. The throttle I moved into the first unit landed in  infra/stacks/journey_stack.py :
stage = apigwv2.HttpStage(
self, "JourneyStage",
http_api=api,
stage_name="$default",
auto_deploy=True,
throttle=apigwv2.ThrottleSettings(rate_limit=5, burst_limit=10),
)
3.5 Code Generation, the developer, who is the line cook, then the architecture reviewer. The line cook wrote the skeleton's tests first, as  team.md  asked, and finished at 1:42. Six minutes later the inspector's table arrived. Decide which findings you would fix before the next unit:

This was the inspector's receipt, and the topic check was the till. The construction rules ask for input validation at system boundaries, and R-01 found a boundary that let input through: the check counted only visible characters, so a 9,002-character topic built from invisible joiners and combining accents passed as a short one. The developer wrote a failing test, then added a raw 200-character limit before the visible-length check, in the backend and the browser. I approved at 2:27.
With the first unit signed, I chose Continue automatically: plans, summaries and failures still reach you, and the orchestrator clears routine checkpoints. Units two to four were done by 4:32.
The fifth unit was half cooked when the gas went off at 5:06: my Kiro credits ran out, after about 1,076 that night.

The chat stopped and the work stayed, because AI-DLC keeps its progress in  aidlc-state.md  and the stage folders, outside the chat. About seven hours later I upgraded my Kiro plan, resumed the session by its ID, typed carry on, and the developer continued unit five where it had stopped.
The fifth unit fixed one more Major, keyboard focus dropping off the page after a banner closed, and the sixth, the accessibility pass, added 203 tests. Across the six units, design and code reviews raised 33 Major findings.
3.6 Build and Test, the quality engineer, who is the taster. The taster ran the whole suite: 616 Python and 629 front-end tests at 99.78% coverage. Seven targets needed a deployed stack, a real browser, a person at a screen reader or a first CI run, so it marked those Unverified and asked me instead of claiming a pass. Each planner test passed against the fake model, as the Mandated rule required.
3.7 CI Pipeline, the release engineer. The expediter wrote the checks future changes must pass: a GitHub Actions workflow with actions pinned to commit SHAs, dependency audits and a gitleaks secret scan.

Phase 4: Operation

By the evening of 11 November the build had passed its tests, so the orchestrator turned to opening the doors. In AI-DLC the run that wrote the code also deploys it, watches it and plans for its failures, and the phase rules require rollback steps for each change, a smoke test for each production deployment, and a post-incident review for each serious incident.



4.1 Deployment Pipeline, the release engineer. The expediter planned the release and its way back:  cdk diff  read before each deploy, a rollback runbook, and thirteen smoke checks against the live app after each deploy.
4.2 Environment Provisioning, the platform engineer, who is the building manager. This stage touches your AWS account, so AI-DLC gives it a persona of its own. The building manager ran read-only checks first, including which account the CLI would use and my Lambda concurrency limit of ten, and bootstrapped the CDK only after my yes.

4.3 Deployment Execution, the release engineer. The expediter asked 61 items are about to be built, may I go ahead?, and after my yes the deploy reached  CREATE_COMPLETE : 61 resources in 247 seconds. At 21:47 smoke check 9 failed:

This was table nine, and the template was the frozen dinner. The request succeeded, the app returned a tidy learning path, and the path came from the template, labelled  source=template .

Who sent out the frozen dinner




No single cook did it. A prompt defect got past the tests, and a fallback made the failure look like a successful request.
The defect sat in the planner prompt. A sentence asked the model to add  hoursByKind  to each stage, but the example reply, which the prompt tells the model to follow exactly, left that field out, and Nova Lite followed the example. Before and after the fix:
"hours": 3
"hours": 3,
"hoursByKind": {"reading": 1, "exercises": 1, "miniProject": 0.5, "quiz": 0.5}
This was the stand-in ingredient: following the Mandated rule, the planner tests used hand-written fake replies that already carried  hoursByKind , so each passed, and no unit test sent the real prompt to the real model.
The fallback then did what I had designed it to do. The validator rejected each planner reply, and the template turned the failure into a usable plate, so a check on the status code alone would have passed. Smoke check 9 read  source  and caught it. Both causes trace to lines I approved: the rule in  project.md  and the fallback in my intent.
The fix added the missing field to the planner example in  backend/src/learning_journey/prompt.py , with a comment explaining the incident. The redeploy took 50 seconds, and the app was healthy at 22:15 on 11 November, about 33 hours after my first command, including the seven hours I waited for credits. The last stage closed at 23:36.
4.4 Observability Setup and 4.5 Incident Response, the operations engineer, who is the night manager. The night manager arrived with table nine still fresh. The phase rules ask for a health metric and an error-rate metric for each component and a review after each serious incident, so it set up four alarms, one of them for template fallbacks, a dashboard and runbooks, and wrote the first post-incident review, for the planner failure. Its lesson, one real Bedrock call per teaching style before each release, went into the plan. The  Corrections  sections of the rule files stayed empty, so a future run follows that lesson only if you add it there.
4.6 Performance Validation, the quality engineer. The taster came back to measure the app against the targets Inception set:

95% of path creations finished within 10.4 seconds, and all 30 paths in the paced load test finished under 14 seconds. Two results stayed Not Met, recorded instead of rounded up: a burst of 30 reads drew no 429 because HTTP API throttling is best-effort, and  cdk destroy  left empty log groups behind.
4.7 Feedback and Optimization, the operations engineer. AI-DLC ends the cycle by comparing what is live with what was planned, so the next cycle starts from evidence. Drift detection flagged one false positive among 60 resources, and the night manager left seven tasks before the demo and eight proposals for a next cycle.

Before real users arrive

The stack already holds the basics, including least-privilege IAM, the R-01 limit and an alarm on template fallbacks, and idle it cost under $0.01 a day. These limits change before real learners arrive:
Limit today
What happens
Change before real users
Lambda concurrency limit of 10 in my account, none reserved
A create holds a function for up to 13 seconds, so extra creates get throttled
Raise the limit, then reserve concurrency
Your Bedrock quota for Nova Lite
Model calls fail and the template answers
Check and raise it in Service Quotas
Real-model checks only in smoke tests
A prompt mistake reaches the live site
Run the step 9 check in CI through an OIDC role that can only invoke the model
The real-model row comes from the night manager's feedback file; the other two are my additions from reading the stack.

AI-DLC on a production app




AWS presents AI-DLC as a way to speed up production delivery. Its announcement says teams can "complete tasks in hours or days that previously took weeks", working in short cycles it calls bolts instead of sprints ( AWS DevOps Blog ). ConnectiveRx reports that work which previously took about 180 hours took about 24 ( AWS Public Sector Blog ), and an unnamed European bank went from 12 developers delivering 15 features a sprint to 3 developers delivering 35 ( AWS for Industries ).

What my run confirmed

  • Decisions waited for me. First reviews raised 45 Major findings, and the reviewer tables reached me at the gates.
  • The record survives. The audit log, the state file and the source tags trace R-01 and the planner fix back to the questions behind them.
  • The documents came fast. Most stages took 10 to 30 minutes, with one person answering.
  • The checks stay yours. A real-model check caught the defect the tests let through.

What my run did not test

My build was greenfield, solo and demo-scale. For existing code, Reverse Engineering reads your codebase before any design. For a team, Team Formation splits the work, and the announcement describes Mob Elaboration and Mob Construction, where the whole team validates the AI's questions together. The financial-services post adds a prerequisite: mature DevSecOps practices already in place.

What you take away



AI-DLC gave me a deployed, tested app at demo scale for about 1,560 Kiro credits, with 627 Python and 651 front-end tests passing at the end of the run and each handoff written to files I can open today. Three lessons carry over to any project you start with it.
The reviewers earn their cost. The architecture reviewer caught the R-01 bypass six minutes after the code existed, before the first deploy.
The gate is where you work. Approving accepts any finding you leave unfixed as risk, and the throttle moved into the first unit because I disagreed with the delivery plan.
Check what the real model returns. Faking the model in unit tests and keeping a fallback are both good practice, and together they hid a prompt mistake from each test I had. Add one release check per prompt shape that calls the real model and checks where the answer came from. My next cycle moves that check into CI, so the next prompt mistake shows up in a pull request.

Open your own kitchen



The kitchen story ends here. Each step below says what to run and what you should see. I ran it on macOS with AI-DLC 2.11.3 and Kiro CLI 3.x. Your run will ask its own questions and the model's output varies, so expect a similar app that differs in its details; an  mvp  or  poc  plan teaches the same loop for fewer credits.

Watch the run before you start yours

The  11-minute video  shows the real terminal from my session, with personal details masked: the plan offer, a gate, the persona changing, R-01, smoke check 9 failing and the finished app. Watch it first, and pause on a gate to read the reviewer table.

Before you start

You need
How to check
An AWS account with the AWS CLI configured
 aws sts get-caller-identity  prints your account
Amazon Nova Lite access in us-east-1
Step 3 returns  AUTHORIZED 
Kiro CLI with the v3 engine, from the
 aidlc doctor  in step 1 warns if yours is older than 2.24.1
Python 3.12 and Node.js, for the CDK app and its TypeScript front end
 python3.12 --version  and  node --version 
Enough Kiro credits for the plan you pick
My feature run used about 1,560; the free plan stopped during Ideation

The steps

1. Install AI-DLC 2.11.3 and point it at Kiro. Run these in an empty project folder. The install URL names the release, so you get the version this article used:
git init
curl -fsSL https://github.com/awslabs/aidlc-workflows/releases/download/v2.11.3/install.sh | sh -s -- --version 2.11.3
aidlc config --harness kiro-ide
aidlc doctor
Check: the installer prints  PASS installed AI-DLC  and  2.11.3 , the config step prints  Setup check - 0 of 8 sections need you , and  aidlc doctor  reports 0 problems (my 3 warnings were advisory). Release 2.11.4 came out on 13 November; to try it, replace  v2.11.3  in the URL with that tag.
2. Write your intent. Save an  intent.md  in the project folder that says who the app is for, what it does, your constraints and what stays out. Mine is in the repo as  intent.md .
3. Check model access before you design around it.
aws bedrock get-foundation-model-availability --region us-east-1 --model-id amazon.nova-lite-v1:0
Check: the reply shows  AUTHORIZED . If it does not, request access to Nova Lite in the Amazon Bedrock console for that region, then run the command again.
4. Start the run.
kiro-cli --v3
> /aidlc
Paste your intent when it asks. Check: before any persona speaks, the orchestrator offers a plan with its stage count and approval gates. Reply with the plan's number.
5. Answer in the questions files. Choose "I'll edit the file", write your letter under each  [Answer]:  line with a reason where the choice is not obvious, save, and tell the persona you are done. Check: it reads your answers back and asks Does this all look correct before I generate the artifact?
6. Read each gate before you approve. Read the reviewer table and the line under it: Approving accepts any finding you don't ask me to fix as risk. Reply  1  to approve,  2  with what to change, or approve and list findings to fix. Check:  /aidlc --status  shows the stage done and names the next one, and its files sit in  aidlc/spaces/default/intents/<your intent>/ .
7. Switch to Continue automatically after the first unit. Review the first unit's design and code closely, then choose Continue automatically. Check: plans, summaries and failures still reach you.
8. Resume when you stop. The state lives in  aidlc-state.md  and the stage folders, so a stopped session loses no work:
kiro-cli --v3 --resume-id <session id>
> carry on
Check: the run continues at the stage that  /aidlc --status  names.
9. Confirm the live app calls the real model. The Operation stages run their own smoke checks; run one more yourself. For this app, the script creates one path in each teaching style and stops at the first answer the model did not write. The parentheses keep a failure from closing your terminal:
(
set -euo pipefail
SITE=https://<your site address>
for STYLE in guide instructor planner; do
curl -fsS -X POST "$SITE/api/v1/journey" \
-H "X-Session-Id: $(uuidgen | tr A-Z a-z)" \
-H "Content-Type: application/json" \
-d "{\"topic\":\"Basics of bread baking\",\"style\":\"$STYLE\"}" \
| STYLE=$STYLE python3 -c 'import json, os, sys
d = json.load(sys.stdin); s = os.environ["STYLE"]
assert d["source"] == "ai", s + ": source is " + d["source"]
assert d["teachingStyle"] == s, s + ": wrong style"
assert 5 <= len(d["stages"]) <= 6, s + ": wrong stage count"
if s == "planner":
assert all("hoursByKind" in st for st in d["stages"]), "planner: hoursByKind missing"
print(s, "ok:", len(d["stages"]), "stages written by the model")'
done
)
Check: three lines ending in  stages written by the model . If it stops with  source is template , the request succeeded and the app served the fallback, as at table nine. For your own app, ask the release engineer in Deployment Pipeline for one real model call per prompt shape in the smoke checks.
10. Tear down cleanly. From the  infra  folder, destroy the stack, wait about two minutes, then delete the log groups this stack left:
npx --yes aws-cdk@2.1148.0 destroy -c budget_email=<your email>
aws logs describe-log-groups --log-group-name-prefix LearningJourney --region us-east-1 \
--query 'logGroups[].logGroupName' --output text
# Delete only the names above that belong to this stack, one at a time:
aws logs delete-log-group --log-group-name <log group name> --region us-east-1
Another stack can share the LearningJourney prefix, so check each name first. Check: both commands below return an empty list.
aws resourcegroupstaggingapi get-resources --region us-east-1 --tag-filters Key=Project,Values=learning-journey
aws logs describe-log-groups --log-group-name-prefix LearningJourney --region us-east-1
The CDK bootstrap stack,  CDKToolkit , stays after the destroy because other CDK apps in the account can use it.
11. Keep your recordings out of the repo. Add your notes or recordings folder to  .gitignore  before your first commit. Mine held my email and account ID.

  • The run on video: if you’d like to see the kitchen at work before you open your own, I cut the whole 33-hour build into 11 minutes of real terminal footage. It covers the orchestrator offering plans, a questions file and a gate, each persona taking its station, the inspector catching R-01, smoke check 9 failing on the live stack, and the finished app writing a path.  Watch the AI-DLC run on YouTube .
  • Deploy my version without running AI-DLC: follow the deploy steps in  the repository README , then run steps 9 and 10 above.

The empty kitchen




When I closed the kitchen, I kept the folder for table nine. It held the smoke check that failed, the example in the prompt that caused it, and the fix with its 50-second redeploy. Beside it sat the rule I had approved on the first evening: rehearse with a stand-in ingredient.
The cooks built the app, and the inspector stopped the 9,002-item order before any guest arrived. The record shows which decisions were mine, which defects the reviewers found, and the one that reached the dining room. In my next kitchen, the real ingredient gets tasted before the doors open.
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article