Skip to the lesson
CivOps AI Academy · F02Intent Before Code: the One-Page Decision Your Platform Serves
0%

Chapter 1 · Session 2

The decision, not the dashboard

Plant software usually starts from a screen someone saw somewhere else. This session starts from the one decision your plant makes badly today, and writes it on one page before anyone writes code. Claude Code helps with the writing; the decision itself comes from the floor.

20 min1 stepNo code

By the end of this chapter you can

  • Explain why a platform built around a decision beats one built around a dashboard.
  • Name the six parts of the one-page intent and what each must say.
  • Tell a decision from a wish, a report or a project title, and pick one to walk.

Why start with a decision

A dashboard shows data. A decision changes what happens next: a lot is held, a technician goes to line 3, a die is pulled for repair. If the first thing you build does not change a decision, it becomes one more screen that people stop opening after a month.

Systems engineering has said the same for decades: agree what the system must do, and for whom, before you design it. ISO/IEC/IEEE 29148 calls this stakeholder requirements, and NIST's guide to engineering trustworthy systems puts it before every design step [1][2]. On a plant floor the stakeholder is usually one person with a clipboard, and the requirement is one decision they make every shift.

From intent to testsSix boxes left to right: intent, schema, data, role matrix, screens and tests, with an arrow from tests back to intent. Each step is checked against the one before itIntentSession 2SchemaSession 5DataSession 6Role matrixSessions 7–8ScreensSessions 12–15Testsevery sessionA test that fails sends you back to the intent: is it built wrong, or was it written wrong?
The intent drives every later session. The schema stores what the decision needs, the role matrix decides who sees it, the screens show it and the tests prove it. When a test fails, the question is always: built wrong, or written wrong?

The one-page intent

Every platform in this course starts from a single page with six parts, saved in the repository as docs/INTENT.md. It is short on purpose. If it takes two pages, you have two problems: pick one.

The one-page intentSix parts in a two-column page: the decision, who decides and how often, the data it needs, what changes, what is not being built, and the rules and sign-off. ONE PAGE · WRITTEN BEFORE ANY CODE1 · The decisionWhat is chosen, between which options2 · Who and how oftenOne role; every shift, hour or event3 · The data it needsThree to five items, and where each lives4 · What changesA measure: today's number and the target5 · Not buildingWhat is left out on purpose, and why6 · Never by itself, and sign-offThe one rule, and who agreed the page
The one-page intent. The first three parts describe the decision; the last three keep the project honest.
PartWhat it must sayA sign it is not ready
1. The decisionThe choice made, and the options chosen betweenIt names a screen or a system instead of a choice
2. Who decides, and how oftenOne role, and the rhythm: each shift, each hour, each event"Everyone" or "management"
3. The data it needsThree to five items, and where each lives today"All the data"
4. What changesOne or two measures: today's measured value, how it was measured, and the target"Better visibility", or a number nobody measured
5. Not building (yet)What is left out on purpose, each with its reasonThe list is empty
6. Never by itself, and sign-offThe one action the system must never take on its own, and who agreed the page, with the dateNobody on the floor has read it

A worked example

The example used through the whole course is a mid-size metal stamping plant: six presses, two shifts, parts for automotive and appliance customers. Today, first-piece results are written on paper at the press and carried to the quality office. When a first piece fails, the lot keeps running until someone reads the sheet. This is the page the stamping plant ends this session with; yours will name your own decision.

docs/INTENT.md: the stamping plant's intent at the end of this session
# Intent: hold or release a lot
Agreed by: quality lead (day shift), quality lead (night shift), plant manager, 2026-10-13, in person

## 1. The decision
Hold or release a lot after first-piece and hourly inspection.

## 2. Who decides, and how often
The quality lead on shift, at every die change and every hour a press runs.

## 3. The data it needs, and where it lives today
| Data                              | Lives today                  | Kept by          | Late by       |
| First-piece result per press      | paper sheet at the press     | press operator   | up to 2 hours |
| Gauge readings (key dimensions)   | handheld gauge, then paper   | press operator   | up to 2 hours |
| Open nonconformances for the part | shared spreadsheet           | quality engineer | a day         |
| Die change log                    | whiteboard by press 4        | setter           | minutes       |
| Customer complaints for the part  | complaints log in the ERP    | quality manager  | days          |

## 4. What changes (measured, not guessed)
- Minutes from failed first piece to hold: today 95 (median of 3 timed events, 8-9 Oct 2026), target 15.
- Lots held with no reason recorded: today 40 a quarter (hold log, Q3 2026), target 0.

## 5. Not building (yet), and why
- SPC charts: a later module, once results are recorded reliably.
- Supplier quality: not this decision.
- ERP integration: needs IT review first (Session 21).
- Automatic holds: a person decides (see 6).

## 6. Never by itself
The system never releases a lot by itself: a person decides every hold and every release.

Why one decision and not five

The first platform has to work on real shifts, with real people, within weeks. One decision done well earns the trust that gets you the second. Five decisions half done earn a reputation. Lean practice makes the same point with the A3 report: one problem, one sheet of paper, agreed by the people who do the work [3].

Step 1

Test your candidate decisions before you walk

10 minutes

Why

Most first ideas are a wish ("real-time visibility") or a screen ("a quality dashboard"), and you cannot build tables or a measure from either. Writing two or three candidates and having Claude Code sort them takes five minutes and stops you walking the floor for the wrong thing. Claude Code does not choose for you: it says which candidates are decisions and what each one is missing, and you choose.

Do this

Terminal or PowerShell
cd ~/code/acme-platform && git switch main && git pull && claude

Write two or three candidates in your own words in place of the <...> lines, then paste:

Paste into Claude Code, after replacing the <...> lines
I am choosing the first decision our platform will serve at Acme Bottling (Cleveland). Do not create or change any files.

For each candidate below, tell me in plain words:
- whether it is a decision (someone chooses between options), a wish, a report or a project title;
- if it is a decision: who decides, between which options, how often, and from which data, as far as the sentence says;
- what is missing that I should find out on the floor.

Then tell me which candidate is the narrowest and is made most often, and why. Do not invent facts about our plant: where you do not know, say so.

Candidates:
1. <your first candidate>
2. <your second candidate>
3. <your third candidate>

You will see recreated screen

claude — acme-platform
> I am choosing the first decision our platform will serve at Acme Bottling (Cleveland)…
⏺ 1. "Real-time visibility of quality across the plant" is a wish. Nobody chooses anything. Ask: what would someone do differently if they could see it?1
⏺ 2. "The quality lead decides whether to hold a lot after first-piece inspection" is a decision: hold or release. Who: the quality lead. From: first-piece results. Missing: how often it happens, which other data they look at, and how late the results reach them today.2
⏺ 3. "A weekly scrap report for the plant manager" is a report. It may be useful later, but it does not change a decision this week.
⏺ Narrowest and most frequent: 2. It happens at every die change and has one owner. I do not know how often die changes happen at Cleveland: that is a question for the floor.3
Claude Code sorts the candidates without changing any file. The stamping plant's three are shown; yours will differ.
  1. A wish: it can never be finished, so it can never be checked.
  2. A decision, with what the floor walk must find out.
  3. It says what it does not know instead of guessing. That is the behaviour you will ask for again in Step 5.

Check it worked

You have one candidate written as one line: who decides what, between which options, and roughly how often. Claude Code changed no files (git status shows nothing new).

Fastest path

If your plant already argues about one decision every week (holding a lot, which job runs next, whether a machine runs or stops), start there. The decision people complain about is usually the one whose data is late or scattered.

If it goes wrong

Every candidate comes back as a wish or a report

Ask the person who wanted the dashboard: What would you do differently if you could see this? Their answer is the decision. "Hold the lot" is a decision; "see the scrap" is not.

Claude Code starts describing screens or tables

Say: No design yet. Only tell me whether each is a decision and what is missing. The tables come in Session 5, from the signed-off intent.

The decision involves five departments

Narrow it to the one role that makes it most often, at one place. The others can be on the Not building list, with the reason "after version one works on real shifts".

Knowledge check

Which of these is a decision you could build Session 5's tables from?

Knowledge check

The Not building list on an intent page is empty. What does that usually mean?

References

  1. ISO/IEC/IEEE 29148:2018, Systems and software engineering: requirements engineering. https://www.iso.org/standard/72089.html
  2. NIST SP 800-160 Vol. 1 Rev. 1: Engineering Trustworthy Secure Systems. https://csrc.nist.gov/pubs/sp/800/160/v1/r1/final
  3. Lean Enterprise Institute lexicon: A3 report. https://www.lean.org/lexicon-terms/a3-report/

Chapter 2 · Session 2

Go and see: walk the decision, measure today

The decision is not found in a meeting room. It is found at the press, with the person who makes it, among the paper, the whiteboard and the workarounds they use today. You walk it once, write their words, and time real events to get today's number.

35 min3 stepsOn the floorTiming spreads over a shift or two

By the end of this chapter you can

  • Book a walk with the decider, with the area supervisor's permission and the plant's safety rules.
  • Ask the five questions and write the decider's own words, the data they use and where it lives.
  • Measure the baseline: time three real events from the event to the decision.

Go and see

Lean manufacturing calls the place where work happens the gemba, and the habit of going there to understand a problem genchi genbutsu: go and see for yourself [1][2]. For an intent, that means standing next to the quality lead during a die change, not asking about it in an office. The screens in this chapter are your own notes: the floor itself has no copy button.

Step 2

Book the walk, with permission, in writing

5 minutes, then wait for the reply

Why

The decision happens at a time and place you do not control. The area supervisor must know you will be on the floor, for your safety and theirs, and the decider must agree to be watched while they work. Asking in writing also says plainly that this is not an audit of anyone, and gets the safety equipment and photo rules answered before you arrive.

Do this

Send this to the area supervisor and the person who makes the decision. It is an email, not a Claude Code prompt:

Email to send (copy, then fill in the <...> parts)
To: <area supervisor>; <the person who makes the decision>
Subject: 30 minutes on the floor, to see how <the decision> is made

We are building a small platform for Acme Bottling (Cleveland) to help with one decision: <your one line from Step 1>.

Before anything is built, I would like to stand with <their role> for about 30 minutes during a real shift, at a time when the decision is likely to happen (for example a die change), and ask five short questions. This is not an audit of anyone. I want to see the paper, screens and workarounds used today, so that the platform helps and does not add work.

Please let me know:
1. A day and time that suits the shift.
2. The safety equipment I need, and any area I must not enter.
3. Whether photographs are allowed, and of what.

Thank you.

You will see recreated screen

Company email
FromArea supervisor, press shop
SubjectRe: 30 minutes on the floor, to see how lot holds are made
Thursday 06:00, die change on press 4. The day-shift quality lead is fine with it.1
The reply you are waiting for: a time, the safety equipment and the photo rule.
  1. A real event to watch: a die change is when first-piece inspection happens.
  2. Bring it, wear it. If you do not have it, the stores or the supervisor will.
  3. Write the photo rule on your notes sheet so you do not forget it on the floor.

Check it worked

You have a time, the safety equipment list and the photo rule in writing, and the decider has agreed.

If it goes wrong

The supervisor says no visitors this month

Ask for 15 minutes at a shift handover instead, or ask the decider to walk you through last week's sheets in the office, and time the next real events yourself (Step 4). Note in the intent that the walk was not on the floor; the sign-off in Step 7 catches what you missed.

The decider is worried this is about their performance

Say it in person: the measure is how long the data takes to reach them, not how fast they work. Show them the five questions in advance.

Five questions for the decider

  1. Walk me through the last time you made this decision. Ask for a real one, from this week. Write down every piece of paper, screen and person involved.
  2. What did you wish you had known at that moment? This is the data list.
  3. How long after the event did you find out? This is the latency (Step 4).
  4. What goes wrong when the decision is late or wrong? This is the cost, and usually the measure. Ask "why?" again until you reach a cause, not a symptom [3].
  5. What must the system never do on its own? This is the safety rule. In quality, the answer is almost always: never release a lot without a person.
Step 3

Walk the decision and write their words

30 minutes on the floor

Why

The paper, the whiteboard and the workarounds only show up where the work happens. Writing the decider's own words, not your summary, matters because Claude Code will draft the intent from these notes in Step 5: anything you smooth over now is lost, and anything you guess now becomes a "fact" that every later session builds on.

Do this

Copy this sheet to your phone or print it, and fill it in on the floor. Use roles, not people's names.

Floor notes sheet (copy to your phone, or print)
FLOOR NOTES: Cleveland, <date>, <start and end time>
Decision: <your one line from Step 1>
Decider (role, not name): <role>     Area: quality

1. Walk me through the last time you made this decision.
   Their words:
   Paper, screens and people involved:
2. What did you wish you had known at that moment?
   Their words:
3. How long after the event did you find out?
   Their words:
4. What goes wrong when the decision is late or wrong? (Ask why again, until you reach a cause.)
   Their words:
5. What must the system never do on its own?
   Their words:

DATA THEY LOOKED AT          WHERE IT LIVES TODAY          WHO KEEPS IT          HOW LATE
-
-
-
WORKAROUNDS SEEN (sticky notes, whiteboards, personal phones, private spreadsheets):
-
READ BACK TO THE DECIDER: yes / no     Their corrections:

You will see recreated screen

Notes · floor walk, press 4
FLOOR NOTES: Cleveland, 2026-10-08, 06:00–06:35
Q4, their words: "If I hear at ten that the six o'clock first piece failed, that's four hours of parts in the bin. Or worse, at the customer."1
2
Data they looked atLives todayKept byHow late
First-piece resultPaper sheet at the pressPress operatorUp to 2 hours
Open nonconformancesShared spreadsheetQuality engineerA day
Die change logWhiteboard by press 4SetterMinutes
WorkaroundSetter photographs the whiteboard on a personal phone before it is wiped on Mondays.3
Read back to the deciderYes. Two corrections: gauge readings are also on paper; night shift has no quality lead after 02:00.
The stamping plant's notes after the walk, typed up the same morning. Short phrases, their words in quotes.
  1. Their words, in quotes: Claude Code will keep them, and they make the best case for the platform.
  2. Each item with where it lives and how late it is. This becomes part 3 of the intent.
  3. A workaround: data the official systems do not carry. Note it, without judging anyone.

Check it worked

Every question has the decider's words, the data list has three to five items each with where it lives, and you read the notes back to the decider and wrote their corrections.

Fastest path

Write short phrases on the floor and type them up within the hour, while you still remember the context. Do not try to write the intent on the floor: Claude Code drafts it from these notes in Step 5.

If it goes wrong

The decision did not happen while you were there

Ask question 1 about the last real one, from this week, with the actual sheet in front of you. Time the next real events in Step 4.

The decider describes how it should work, not how it does

Ask for the last real one: Show me the sheet from Tuesday. Procedures describe the plan; the sheet shows what happened.

The data list grows to twelve items

Ask: Which three would you look at first if you only had a minute? The rest go on the Not building list or a later version.

Map where the data lives

For each item on the data list, write where it lives today. Four places cover almost everything on a plant floor: a system of record (ERP, MES, maintenance system), a spreadsheet, paper (a sheet or a whiteboard), and someone's memory. The further right on that list, the less the data can be trusted and the later it arrives.

Where the data livesFive data items on the left, each linked to where it lives today. Customer complaints are in a system of record, open nonconformances in a spreadsheet, and first-piece results, gauge readings and the die change log on paper or a whiteboard. Nothing is drawn in memory here, but the walk usually finds something there. System of recordERP, MES, CMMSSpreadsheeton a shared drivePapersheets, whiteboardsMemorya person's headFirst-piece resultGauge readingsOpen nonconformancesDie change logCustomer complaintsTrust falls from left to right: a fact in someone's memory is a fact only while they are on shift.
The stamping plant's data map. Only one of five items lives in a system of record. Three are on paper or a whiteboard until someone types them in.
Data itemLives todayWho keeps itLate byTrust
First-piece resultPaper sheet at the pressPress operatorUp to 2 hoursMedium: legible, sometimes missing
Gauge readingsHandheld gauge, then paperPress operatorUp to 2 hoursMedium
Open nonconformancesShared spreadsheetQuality engineerA dayMedium: edited by several people
Die change logWhiteboard by press 4SetterMinutes, if you walk thereLow: wiped each week
Customer complaintsComplaints log in the ERPQuality managerDaysHigh, but hard to find

Measure today, before you build

Decision latency is the time from the event (a first piece fails) to the decision (the lot is held). It is the easiest thing to measure before you build and the clearest thing to show afterwards. Time it on three real events with a watch or from records that carry both times, never from memory: people's estimates are wrong in both directions.

Decision latencyTwo bars to scale. Today a failed first piece takes a median of 95 minutes to become a hold: on paper, walked to the office, then typed in and seen. The target is 15 minutes, entered at the press and seen at once. 0 min20 min40 min60 min80 min100 min120 minTodayOn paperWalked to the officeTyped in, then seen95 minutes from event to decisionTarget15 minutes from event to decisionentered at the press, seen at once
Decision latency at the stamping plant, to scale. Today a failed first piece becomes a hold after a median of 95 minutes. The target is 15.
Step 4

Time three real events: the baseline

15 minutes, over a shift or two

Why

The baseline is today's number, measured, not remembered. It is the only honest way to show later that the platform changed anything, and it is the one number Claude Code must never invent. Three timed events are enough to start; the median of three is not thrown off by one unusual day.

Do this

Copy this log. The clock starts at the event (the first piece fails) and stops at the decision (the lot is held).

Baseline log (copy to your phone, or print)
BASELINE LOG: <the measure, e.g. minutes from failed first piece to hold>
Event (starts the clock): <e.g. first piece measured out of limits>
Decision (stops the clock): <e.g. hold tag on the lot>
How each time is taken: <watch, or the time written on a sheet or tag>

#   Date   Press or line   Event time   Decision time   Minutes   Where each time came from
1
2
3
Median of the three: ____ minutes     Range: ____ to ____

Second measure (optional, counted from records): <e.g. lots held with no reason recorded, last quarter> = ____
Where it was counted: ____

You will see recreated screen

Notes · baseline log
1
#DatePressEventDecisionMinutesSource
12026-10-08P406:1207:4189Sheet / hold tag
22026-10-08P210:0511:4095Watch
32026-10-09P606:2008:31131Sheet / hold tag
Median of the three95 minutes (range 89 to 131)2
Second measureLots held with no reason recorded, Q3: 40 (hold log)3
The stamping plant's log after three events. The median goes into part 4 of the intent.
  1. Each time has a source. "About an hour" from memory is not a time.
  2. The median, with the range next to it.
  3. Counted from records, with where it was counted, so anyone can count it again.

Check it worked

Three events with times taken from a watch or a record, a median and a range, and the source of every time.

Fastest path

If the event and the decision are both stamped somewhere already (a sheet with a time, a hold tag, an email), take two from last week's records with the decider's help and time one live, to check the records are honest.

If it goes wrong

Only one event happened

Write the one you timed and the dates you tried. Add any from last week's records that hold both times. Say in the intent how many events the baseline comes from; it can be firmed up later, but never guessed.

The times are wildly different (10 minutes and 4 hours)

That spread is a finding: ask why the slow one was slow. Use the median, write the range next to it, and keep the slow case's cause in your notes. It is often the strongest reason for the platform.

Nobody records when the decision is made

Then the second measure, counted from records, may be the one you can use now. Note that the platform must record the decision time: that becomes a column in Session 5.

Knowledge check

Where is the decision for the intent best understood?

Knowledge check

The decider says the delay is 'about an hour, usually'. What goes in the baseline?

References

  1. Lean Enterprise Institute lexicon: gemba. https://www.lean.org/lexicon-terms/gemba/
  2. Lean Enterprise Institute lexicon: genchi genbutsu. https://www.lean.org/lexicon-terms/genchi-genbutsu/
  3. ASQ: What is root cause analysis?. https://asq.org/quality-resources/root-cause-analysis
  4. OSHA: Personal protective equipment. https://www.osha.gov/personal-protective-equipment

Chapter 3 · Session 2

Write it with Claude Code, sign it, commit it

Claude Code turns your floor notes into the one-page intent, asking you about every gap instead of guessing. You check it against fixed questions, the decider signs it off in a pull request, and one line in CLAUDE.md makes every later session read it first.

35 min4 stepsEnds with a gate

By the end of this chapter you can

  • Have Claude Code draft docs/INTENT.md from your notes in the six parts, without inventing anything.
  • Check the draft: a measure that can be counted, a Not building list, a rule the system can obey.
  • Get the decider's sign-off in the pull request, and make CLAUDE.md point every session at the page.

A number to beat

"Better quality" cannot be checked. "Minutes from failed first piece to hold: today 95, target 15" can. A good measure is one the decider already cares about, can be counted from the data the platform will hold, and moves when the decision gets better. Plan-Do-Check-Act needs a Check, and the Check needs a number [1][2].

The measure, before and afterTwo measures with today's value and the target on the same scale: minutes from failed first piece to hold, 95 today and 15 the target; lots held with no reason recorded per quarter, 40 today and 0 the target. TodayTarget (same scale)Minutes from failed first piece to hold (median)9515Lots held with no reason recorded, per quarter400
The stamping plant's measures, today and target, drawn to scale. Both will be counted from the tables built in Session 5.
TestQuestionStamping plant answer
OwnedDoes the decider already care about it?Yes: suspect parts at a customer are their worst week
CountableCan it be counted from the platform's own data?Yes, once the platform records the failure time and the hold time
Moved by the decisionDoes it improve when the decision improves?Yes: faster holds mean fewer suspect parts
BaselinedDo you know today's value, measured, not guessed?Median of three timed events: 95 minutes

The scope, and the rule the system never breaks

Version one does one job. Everything else goes on the Not building list with its reason, so that when someone asks for it in week three, the answer is already written and agreed.

Scope of version oneTwo panels: what version one does, and what it leaves out on purpose with the reason for each. Version one doesRecord first-piece and hourly resultsShow results against the limitsLet the quality lead hold or release a lotRecord who decided, when and whyWork on a phone at the pressNot now (and why)Full SPC charts (later module)Supplier quality (no data yet)ERP integration (IT review first)Automatic holds (a person decides)Customer portal (not this decision)
Version one, and what it leaves out. Each item on the right has a reason. Automatic holds are out because a person decides: that is also the rule the system never breaks.
Step 5

Claude Code drafts the page from your notes

15 minutes

Why

Turning a page of floor notes into a clean one-page intent is the slow part, and it is exactly what Claude Code is good at, as long as it is told what it may not do. The prompt fixes the six parts and one page, keeps the decider's words, and makes it ask about every gap rather than fill it. An intent with an invented number in it is worse than none, because every later session treats it as true.

Do this

Type up your floor notes and baseline log (or copy the words off a photo). Check they use roles, not people's names, and leave out customer names unless your company allows them in the platform's documents. Then, in Claude Code:

Paste into Claude Code, after replacing the <...> parts
Read CLAUDE.md. Then, on a new branch intent/first-decision, draft docs/INTENT.md from my floor notes and baseline log, pasted below.

Use exactly these six parts, as headings, and keep the whole page to one printed page:
1. The decision: what is chosen, between which options.
2. Who decides, and how often: one role, and the rhythm (each shift, each hour, each event).
3. The data it needs, and where it lives today: three to five items, as a table with where it lives, who keeps it and how late it is.
4. What changes: one or two measures, each with today's measured value, how and when it was measured, and the target.
5. Not building (yet), and why: at least three items, each with its reason.
6. Never by itself: the one action the system must never take on its own. Put a line "Agreed by:" under the title, left empty for the sign-off.

Rules:
- Keep the decider's own words where my notes quote them.
- Never invent, estimate or round a number, a time, a name or a source. Every number must come from my notes or log.
- If a part needs something my notes do not have, do not fill it in. Ask me first: all your questions together, numbered, before you write the file.
- Use roles, not people's names.
- Do not write any code, tables or screens.

When the file is written, show it to me. Do not commit yet.

MY FLOOR NOTES:
<paste your notes>

MY BASELINE LOG:
<paste your log>

You will see recreated screen

claude — acme-platform
⏺ Read(CLAUDE.md)
⎿ Read 14 lines
⏺ Before I write docs/INTENT.md, three questions. Your notes do not settle them, and I will not guess: 1. Part 4 needs a target for minutes from failed first piece to hold. Your notes say "much faster". What number? 2. Part 5 has two items (SPC charts, supplier quality). A third, with its reason? 3. Part 2: the notes say night shift has no quality lead after 02:00. Who decides then?1
> 1. 15 minutes, to confirm with the quality lead at sign-off. 2. ERP integration: IT review first. 3. The night supervisor holds; the quality lead releases at 06:00.
⏺ Write(docs/INTENT.md)
+## 4. What changes (measured, not guessed)
+- Minutes from failed first piece to hold: today 95 (median of 3 timed events,
+ 8-9 Oct 2026), target 15 (to be confirmed at sign-off).
+- Lots held with no reason recorded: today 40 a quarter (hold log, Q3 2026), target 0.
2
⏺ The draft is written: 41 lines, one printed page. Every number is from your log (95 is the median of 89, 95 and 131). Not committed yet. Read it and tell me what to change.3
Claude Code asks before it writes. Answer every question, together, numbered the same way.
  1. Questions instead of guesses: exactly what the prompt asked for.
  2. The numbers carry where they came from, so anyone can check them.
  3. It says where each number came from and that nothing is committed. If it does not, ask.

Check it worked

docs/INTENT.md exists on the branch intent/first-decision, has the six headings, fits on one printed page, and every number in it appears in your notes or log.

Fastest path

Answer all of Claude Code's questions in one message, numbered the same way. One round of questions is normal; a second round usually means the notes were thin, so check the notes rather than answering from memory.

If it goes wrong

The draft has a number you did not measure (a target, a cost, a percentage)

Say: The number on line N is not in my notes. Remove it and ask me for it instead. Then give the decider's figure, or leave the target to be agreed at sign-off.

The draft is three pages long, or describes screens and features

Say: One page only. Move every feature into Not building, each with a reason, and remove anything about screens or tables.

You are replacing a spreadsheet or prototype that already does part of the job

We hit this: when our own prototype was rebuilt as a real app, things nobody had listed quietly disappeared, and an audit found only a 78% match. Keep the intent to one page, and also ask: Read nothing else. From my description of the current tool, write docs/INTENT-CHECKLIST.md: one numbered line per thing a person can see or do in it today. Do not change any code. Later sessions check the new build against that list.

Claude Code commits or opens a pull request before you have read the draft

No harm: it is on a branch. Say: Do not commit until I have read the draft. Then read it.

Step 6

Check the draft against the tests a good intent passes

5 minutes

Why

You wrote the notes, so you will read what you meant, not what is written. A fixed list of questions, answered with the line that proves each one, catches the gaps a tired reader misses: a measure nobody can count, an empty Not building list, a safety rule that is really a wish, a number with no source.

Do this

Paste into Claude Code
Check docs/INTENT.md against these questions. For each, answer Yes or No, quote the line that shows it, and say what is missing. Do not change the file.

1. Does part 1 name a choice between options, not a screen, a report or a system?
2. Does part 2 name one role and a rhythm?
3. Does every data item say where it lives today?
4. Does each measure have today's measured value, how and when it was measured, and a target?
5. Can each measure be counted from data the platform will hold once it records this decision?
6. Does Not building have at least three items, each with a reason?
7. Is Never by itself an action the system can be stopped from taking, not a wish?
8. Is every number on the page also in my notes or log? List any that are not.
9. Does it fit on one printed page?

You will see recreated screen

claude — acme-platform
⏺ 1 Yes. "Hold or release a lot after first-piece and hourly inspection" (line 5). 2 Yes. "The quality lead on shift, at every die change and every hour" (line 8); night shift: the supervisor holds, the quality lead releases (line 9). 3 Yes. Five items, each with where it lives (lines 12–17). 4 Yes, both measures (lines 20–22). 5 Yes, once the platform records the time of the failed result and the time of the hold. 6 Yes. Four items, each with a reason. 7 Yes. "Never releases a lot by itself" is an action that can be refused. 8 Yes. 95, 89, 95, 131, 40, 15 and 0 all appear in your notes or log. 9 Yes. 41 lines.1
⏺ One thing for the sign-off: the target of 15 minutes is yours. The quality lead has not agreed it yet.2
Nine answers, each with the line that proves it. The notes at the end matter most.
  1. All Yes. Answer 5 also tells Session 5 what to record: the time of the result and the time of the hold.
  2. The notes are where the real findings are. Take this one to the decider in Step 7.

Check it worked

Nine answers, all Yes, or a change made and the questions asked again until they are.

If it goes wrong

Question 5 is No: the measure cannot be counted from the platform's data

Either the platform must record something more (say what: it becomes a column in Session 5), or choose a measure it can count. "Better visibility" never passes.

Question 8 lists a number that is not in your notes

Say: Remove the number on line N. Then measure it, or agree it with the decider in Step 7. Never let a guessed number reach main.

Question 7 says the rule is a wish ("quality is always maintained")

Rewrite it as an action: The system never releases a lot by itself. Only an action can become an access rule in Session 8.

Step 7

Open the pull request and get the decider's sign-off

15 minutes

Why

The decider knows things the notes left out, and they are the one who will use the result every shift. Their agreement, written with their role and the date, is what makes the page an intent rather than your opinion. Doing it in a pull request keeps the page, every change to it and the approval together, for good.

Do this

Paste into Claude Code, after replacing the <...> part
Commit docs/INTENT.md on the branch intent/first-decision, push it, and open a pull request titled "Intent: <the decision, in a few words>". In the description, under the template's headings, say that this is the one-page intent, that it is waiting for the decider's sign-off, and list any questions still open. Show me the link.
Open

https://github.com/acme-ops/acme-platform/pulls

Open the new pull request, then its Files changed tab.

Read the page with the decider, on your screen or printed (in the pull request's Files changed tab, the ⋯ menu on the file, then View file). Ask: Is this how it really happens? Is the target one you agree to? Is there anything here you would refuse to be held to? Then give Claude Code their answers:

Paste into Claude Code, after replacing the <...> parts
The decider read docs/INTENT.md with me. Their answers and changes, in their words:
<paste their changes>

Update the page to match, adding nothing they did not say. Fill the sign-off line: "Agreed by: <their role>, <today's date>, <in person or by email>". Push to the same pull request and show me the final page.

You will see recreated screen

github.com/acme-ops/acme-platform/pull/5/files
ConversationCommitsFiles changed
docs/INTENT.md
Agreed by: quality lead (day shift), quality lead (night shift), plant manager, 2026-10-13, in person1
4. What changesMinutes from failed first piece to hold: today 95 (median of 3 timed events, 8-9 Oct 2026), target 15.2
6. Never by itselfThe system never releases a lot by itself: a person decides every hold and every release.
The pull request with the signed-off page, as the decider and owner two read it.
  1. The sign-off: roles, the date and how they agreed. No signatures or personal details are needed.
  2. The target is now the decider's, not yours: "to be confirmed" has gone.

Check it worked

The pull request shows the sign-off line with the decider's role, the date and how they agreed, and no open questions are left in the description.

Fastest path

If the decider cannot meet, email them the link (or the printed page) with the three questions above. Do not merge without an answer: an unsigned intent is the most expensive shortcut in the course, because Session 5 builds the tables from it.

If it goes wrong

The decider changes the decision itself

Good: far better now than after the tables exist. Go back to Step 5 with the new decision, keep the floor notes, and time new events if the measure changed.

The decider has no GitHub account

They do not need one. Show or print the page, and record how they agreed ("in person" or "by email, 13 Oct"). If they agreed by email, add it as a comment on the pull request with nothing personal beyond their role.

Someone wants to add a second decision

Put it on the Not building list with the reason "second decision, after version one works on real shifts". One decision done well earns the second.

Point every session at the page

Claude Code reads CLAUDE.md at the start of every session [5]. Session 1 wrote a rule there to read the intent "once it exists". Now it exists, so the rule becomes unconditional. Point at the file; never copy the intent into CLAUDE.md, because two copies drift apart and the agent believes whichever it read.

From intent to a merged changeSix steps: the intent page, committed as docs/INTENT.md, an agent brief, a pull request, CI and a person's review, then main. Intent pageagreed with the deciderdocs/INTENT.mdcommitted to mainAgent briefone task, cites the intentPull requestthe agent's proposalCI + reviewtests and a personmainlive on VercelThe agent reads the intent on every task; a change that does not serve it is sent back.
From the intent page to a merged change. The intent is committed once; every brief (Session 3) points at it; nothing reaches main without the checks and a person's review.
Step 8

Make every session read the intent, then merge

10 minutes

Why

Claude Code reads CLAUDE.md at the start of every session and treats what it says as true. One line there pointing at docs/INTENT.md means no later task starts without the decision in front of it. Point to the file rather than copying it: we found six of the ten areas listed in our own CLAUDE.md naming nothing that existed, because a copied list had drifted from the truth while the agent kept building on it.

Do this

Paste into Claude Code
On the same branch, in CLAUDE.md, replace the line about reading docs/INTENT.md "once it exists" with these two lines, and change nothing else:
- Before any task, read docs/INTENT.md. Every change must serve the decision written there.
- If a request does not serve it, or would do what "Never by itself" forbids, stop and tell me before building anything.
Do not copy any of the intent into CLAUDE.md. Push to the same pull request.

Owner two reads the pull request (two files: docs/INTENT.md and CLAUDE.md), approves it, and you merge. Then prove the rule works: type /exit to quit Claude Code, and start a new session on main:

Terminal or PowerShell
git switch main && git pull && claude
Paste into Claude Code
What decision does this platform serve, who makes it, and what must the system never do by itself? Tell me which file each answer comes from.
Open

https://github.com/acme-ops/acme-platform/blob/main/docs/INTENT.md

The signed-off intent on main. Bookmark it: you will send this link to the decider, IT and anyone who asks what the platform is for.

You will see recreated screen

claude — acme-platform
⏺ Write(CLAUDE.md)
-- Read docs/INTENT.md before any task once it exists.
+- Before any task, read docs/INTENT.md. Every change must serve the decision written there.
+- If a request does not serve it, or would do what "Never by itself" forbids, stop and tell me before building anything.
1
(a new session, on main, after the merge)
> What decision does this platform serve, who makes it, and what must the system never do by itself?…
⏺ Read(docs/INTENT.md)
⎿ Read 41 lines
2
⏺ Hold or release a lot after first-piece and hourly inspection. The quality lead on shift decides, at every die change and every hour a press runs. The system never releases a lot by itself. All three come from docs/INTENT.md, which CLAUDE.md tells me to read before any task.3
The change to CLAUDE.md, then a fresh session on main that reads the intent before answering.
  1. One line replaced, nothing else changed. If more changed, ask why before merging.
  2. It reads the intent first, without being told to in the prompt: the CLAUDE.md rule is working.
  3. The answer names the file it came from. Session 3 builds on this habit: ask where an answer came from.

Check it worked

On main: docs/INTENT.md, signed off, and CLAUDE.md with the "Before any task" line. A fresh Claude Code session answers the three questions from docs/INTENT.md.

If it goes wrong

The new session answers without reading docs/INTENT.md, or gets the decision wrong

Open CLAUDE.md on GitHub and check the line merged. If it is there, say: CLAUDE.md says to read docs/INTENT.md before any task. Read it now and answer again. If it keeps happening, ask Claude Code to move the line to the top of CLAUDE.md in a small pull request.

CLAUDE.md now holds a copy of the intent

Say: Remove the copied intent from CLAUDE.md and leave only the lines pointing to docs/INTENT.md. A copy goes stale the first time the intent changes.

Merging is blocked: review required

That is the protect-main rule from Session 1 working. Owner two approves; you cannot approve your own pull request.

Before you go on · Session 2 is done whenTick each one

Knowledge check

Which is a measure the platform can be checked against?

Knowledge check

Why does CLAUDE.md point at docs/INTENT.md instead of holding a copy of it?

References

  1. ASQ: The Plan-Do-Check-Act (PDCA) cycle. https://asq.org/quality-resources/pdca-cycle
  2. The W. Edwards Deming Institute: PDSA cycle. https://deming.org/explore/pdsa/
  3. CISA: Secure by Design. https://www.cisa.gov/securebydesign
  4. GitHub Docs: About pull requests. https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests
  5. Claude Code docs: Memory and CLAUDE.md. https://code.claude.com/docs/en/memory

Chapter 4 · 12 questions · 80% passes

Final assessment

Twelve questions across the element. Score 80% (10 of 12) to pass. Your LMS records your score and each answer; you can review the chapters and try again.

15 min12 questions≈ 15 minutesRetake allowed

Choose one answer for each question, then submit. You will see the right answer and why for every question.

1. What does the first part of the one-page intent name?
2. Which role statement is ready to build from?
3. Why keep the first intent to a single decision?
4. In lean practice, what does genchi genbutsu ask you to do?
5. A data item lives only in one setter's memory. On the data map it is:
6. What is decision latency?
7. How should today's value for the measure be found?
8. Which measure passes the four tests (owned, countable, moved by the decision, baselined)?
9. Why write a 'not building' list?
10. For a quality hold platform, which is the right safety rule?
11. Claude Code is drafting docs/INTENT.md and your notes have no target for the measure. What should it do?
12. Which line does CLAUDE.md gain in Session 2?