Bonus: Adopting It on Your Team
A 30-day plan for bringing spec-driven development to a real team, one change, one gate, one eval suite at a time, plus answers to the usual objections.
Before this: L7 Evidence and audit readiness
- Pick the one gate you would not let an agent pass unattended, and say what evidence would change your mind.
- Run a 30-day adoption plan: one change, one spec, one gate, one eval suite.
- Answer the common objections: too slow, too much paperwork, the agent is fine.
- Explain the approach to a product owner, an engineer, and an auditor in their own words.
Why this matters
Nadia has seen what Quill can do in nine minutes and wants Bramble Books to use it for everything by next quarter. Priya has seen what Quill did to the newsletter export and wants nothing to change until someone can prove it is safe. Omar sits between them with a course's worth of ideas and no plan. If he proposes "adopt spec-driven development," Nadia hears delay and Priya hears paperwork. If he proposes nothing, Quill keeps merging work that nobody defined and nobody can prove. This lesson is the path Omar can put in front of both: thirty days, one change, one spec, one gate, one eval suite, and three ways to talk about it.
1. The one gate you would not let an agent pass
Start with a question, not a plan. Ask your team: which single action would you never let an agent perform without a person watching?
A human gate is a point in the workflow where a named person must approve before an action proceeds. Every team has one action that already feels like that, even if nothing enforces it today. Finding it tells you where your first gate goes, and proves the team already believes in gates.
The second half of the question matters as much: what evidence would change your mind? If the answer is "nothing," the gate is permanent, and that is fine. If it is "a hundred runs where the agent got it right, and a log I can read," you have described the eval suite and decision log of weeks three and four.
2. Week 1: one change through the chain
The artifact chain is the sequence of files a change passes through: intent.md, spec.md, plan.md, make test, evals/*.json, and the merged pull request. In week one you push exactly one change through it. A CR-101-sized change: visible to a user, touching one boundary, finishable in days.
Do these four things and nothing else.
- Nadia writes
intent.md, one paragraph, in business terms. - Omar writes
spec.mdwith all six parts and routes the constraints to Priya. - Omar writes one failing test from one criterion and watches it fail for the expected reason.
- Quill builds from
plan.md, and Omar merges with the test log attached.
3. Week 2: one gate
In week two you add enforcement. gate.sh runs the checks the agent must pass before a person looks: build, tests, lint, stop on first failure, exit non-zero. One hook lets the gate allow, ask, or block an action. Every decision lands in .gates/log.jsonl.
Wire the hook with the Claude Code shape from L4:
{
"hooks": {
"PreToolUse": [
{ "matcher": "Bash|Edit|Write", "hooks": [{ "type": "command", "command": "./gate.sh hook" }] }
]
}
}
Pick one rule. For most teams the right first rule is the test lock: block writes under tests/. It is easy to explain and catches the most common way an agent cheats.
The log is the point. A gate that leaves no record is a gate you cannot prove ran. Put .gates/log.jsonl where no single engineer can edit it quietly, such as CI output or a shared bucket.
4. Week 3: the first 20 eval cases
An eval suite is a set of eval cases, each pairing a real task with the outcome the team accepted, stored as evals/*.json and run against the agent's configuration. In week three you write the first twenty. You mine them, not invent them.
Open the last month of merged pull requests. For each one, copy the request as it arrived, in the original words, into a case. Then write the checks: tests pass, lint clean, behavior unchanged, policy followed. Twenty cases take two people one afternoon.
Twenty is enough to see drift, a change in the agent's behavior with no change in the code. It is not enough for statistical confidence, and that is fine. You want a baseline pass rate to compare against next week.
5. Week 4: the gate moves into CI, and the first incident becomes an eval
Config is code: CLAUDE.md, skills, and hooks change what the agent does, so they get the same regression testing as source code. In week four you run the eval suite in CI, on configuration changes and nightly.
# .github/workflows/agent-evals.yml
on:
pull_request:
paths: ['CLAUDE.md', '.claude/**']
schedule:
- cron: '0 2 * * *'
Set a merge threshold. Bramble picks 90 percent: a configuration change that drops the pass rate below 90 needs review by the owning team before it merges.
Then turn the first incident into a permanent eval. Incident-to-eval is the rule that every production incident becomes a permanent eval case, written by the team that had it. Do not wait for a new one. Use the one that made your team care.
Week four is also when the refund gate goes live. The hook returns ask for a refund over $200, Priya approves in the PR, and the approval lands in the log. The untrusted action now has a human gate, a record, and an eval.
6. Objections and answers
You will hear three objections. Each answer is a measurement, not an argument.
| Objection | What it means | The answer |
|---|---|---|
| "This is too slow." | Gates add waiting. | Measure the wait. Wait-time cost is the time a change spends paused at a gate. Show it per gate and tune the threshold. |
| "This is too much paperwork." | Nobody wants to write files. | They are files you already need. Intent, criteria, and approval exist today in chat and heads, where nobody can check them. |
| "The agent is fine." | It worked last week. | Show the drift. Run the suite before and after a config change and watch the pass rate move. |
7. Three explanations
The same approach sounds different to different people. Use the version your listener needs.
For Nadia, the product owner: "You write one paragraph saying what done means, and you accept or reject it before anyone builds. Quill builds only what you accepted. The PR shows your paragraph next to the code."
For Omar's peers, the engineers: "The spec is the contract. Quill is the implementer. The gate is the evidence. You write the failing test, Quill makes it green without touching tests/, and the hook makes sure of that. Config changes run the eval suite the way code changes run the tests."
For Mr. Hale, the auditor: "Every change carries an author, a timestamp, and a reviewer of record. Every gate decision is logged outside any one engineer's control. Every action that moves money or touches personal data pauses for a named approver. Here is CR-102's evidence pack. It is six files."
8. What to read and do next
Thirty days gets you one change through the chain, one gate with a log, twenty eval cases, and a CI workflow that runs them. That is a working spec-driven lifecycle on one team. Next comes width: more change requests, more hook rules, more incidents turned into evals.
The evals side of this course was deliberately shallow. To build evaluators, generate scenarios, or measure an agent in depth, take the platform's Building and Evaluating AI Agents course. It covers what makes a case honest, how to grade a written answer, and when twenty cases is too few.
By day thirty Bramble has four changes shipped, every one with a named approver and a log line. Nadia got her speed. Priya got her proof.
Summary
- Start with the one action your team already refuses to trust an agent with, and write down what evidence would change that. That is your plan.
- Week 1: one small change through the artifact chain. Week 2:
gate.sh, one hook, a decision log. Week 3: twenty eval cases mined from merged PRs. Week 4: the suite in CI, the first incident as an eval. - Answer objections with measurements: wait time per gate, files the team already needed, the pass rate moving with no code change.
- One rule, three versions: outcome and acceptance for the product owner, contract and evidence for the engineer, control and log for the auditor.
- Adoption is one change, one spec, one gate, one eval suite. Width comes after; the Building and Evaluating AI Agents course covers evals in depth.
Key terms in this lesson
Check your understanding
Pick an answer to see why it is right or wrong. These are graded in code, instantly.
Apply it
Write your answer in your own words. Eve grades it against a rubric and gives you feedback, the same way an LLM judge works in Lesson 5.
Name one gate you would not let an agent pass unattended on a team you know, and say what evidence would change your mind.
Write the week-by-week 30-day adoption plan for a team you know. Name the first change request, the first hook rule, where the eval cases will come from, and how the gate reaches CI.
Instructor notes(for whoever is teaching this lesson)
Talking points
- This lesson is a plan, not a new concept. Every week reuses something from L1 to L7: week one is L1 to L3, week two is L4, week three is L5, week four is L6 and L7.
- The opening question ("which action would you never let an agent pass?") is the lesson in miniature. The team already believes in gates. Adoption makes the gate they already want real, with a log behind it.
- Scale down on purpose. One change, one hook rule, twenty cases. Teams that spec the whole backlog in week one stall.
- Objections are answered with numbers. If you find yourself arguing, you have stopped measuring.
- The three explanations are one rule in three vocabularies. Students should produce all three for any gate.
Live demo idea
Run the section 1 question live. Ask the room which action on their own team they would never let an agent perform unattended, and write the answers on a board. Group them: money, personal data, production, tests. Pick one and write the second half together: what evidence would change your mind. Push until the answer includes a number (runs, months, a pass rate) and a file (a log, an eval case). The group has now drafted weeks two and three of its own plan. Close by showing Bramble's first .gates/log.jsonl line and asking which of the board's gates would produce one like it.
Common misconceptions
- "Adoption means a rollout across every team." It means one change through the chain on one team, with evidence, then width.
- "The first gate should be the riskiest one." The first gate is the test lock, because it is easy to explain and hard to argue with. The refund gate goes live in week four.
- "Twenty eval cases is too few to mean anything." Too few for confidence, enough to see drift, which is all week three needs.
- "Too slow is a values argument." It is a measurement: Bramble's median wait was 40 minutes, and the threshold moved on that number.
- "The auditor wants to see the code." Mr. Hale wants the control the gate satisfies and the file that proves it ran.
Timing
Thirty minutes: story and section 1, six; weeks one and two, seven; weeks three and four, seven; objections, four; three explanations, four; next steps and summary, two.
If you only have 20 minutes
Run the live demo question for eight minutes, teach the four weeks as one table for eight, then read the three explanations aloud and ask which one students would give their own manager. Assign sections 6 and 8 as reading.