The brief lives in a conversation, so the real program is the chat history — which no one can rerun.
Close the gaps in a written spec. Test it with the replication test: would a stranger, with only this document, produce the same thing? If the answer depends on the conversation you had before the document, the document is not the program. The conversation was.
Prompting is improvisation. Specification is authorship.
"Done" left undefined gets defined by whoever is asked — usually the agent, optimistically.
SPEC.md carries a "done means" section written as runnable checkboxes, each checkable by a specific action. Words like nice, clean, user-friendly and robust are not done; they are wishes.
Done is undefined until it is runnable.
Your own spec reads clearly to you because you have the conversation in your head.
Read your spec hunting for the word "it" and any word you would have to gesture at to explain. Every one is a gap. Replace it with the example that would settle a disagreement.
Every gesture-word is a gap.
"Should handle bad input" feels like a requirement, but nothing can pass or fail it.
Rewrite each wish as an observable check: "Submitting an empty form shows an error and nothing is sent." The whole discipline of this deck is turning wishes into checks.
The whole discipline is turning wishes into checks.
The agent takes the brief literally, and literally is never what you meant. A vague brief run three times produces three different products.
Write the spec first, then brief. The AI knows what you said; the spec is where you say what you meant.
The AI knows what you said. It does not know what you meant.
"It works" — one path through the software, walked once, by the person who already knows where the stepping stones are.
Software is done when the paths you never imagined have been tried, not when one path works.
'It works' is the beginning of the sentence, not the end.
The agent reports success in the same confident voice whether or not the thing works.
Demand three-part receipts for every acceptance item: the exact command run, the exact output observed, and PASS or FAIL against the checklist. No summaries. Nothing marked PASS that was not actually run in the conversation.
The explanation is not the evidence.
The agent will sometimes report a pass that is not real — and a report you spot-check occasionally keeps every report honest.
Pick one receipt at random and rerun the command yourself, every session. The spot-check is cheap; the habit is the control.
Check one at random. Every time.
The agent's checks can be wrong in the agent's favour: too few cases, a fake-defeatable comparison, an expected value copied from the program's output instead of the spec.
Ask of every check: would it still pass if the product were replaced with a hardcoded fake that prints the expected answers? Rewrite any check that a fake could defeat so it tests the real behaviour.
A check that a fake could pass is checking nothing.
Fluency and accuracy are different axes, and fluency is the one that gets trusted.
Trust first — trusting is cheap. Verify always — confidence is not evidence. Run it on a known input; explain how it works in your own words; poke an edge case the agent did not mention.
'It sounds right' is the most expensive sentence in AI-assisted work.
Process gets decided by enthusiasm at the start and regret at the end, instead of by two questions.
Ask: what is the blast radius if this breaks silently at the worst moment — and how long will it live? Low stakes, short life: check the output and vibe on. Anything real users touch, that stores data, that someone depends on: reviewed, tested, explained. No black boxes.
Radius, not language or framework, decides how much process you owe.
Vibe coding gets treated as either a sin or a lifestyle, when it is a gear selection.
Vibe coding is legitimate for prototypes with a small blast radius. Production code written by AI gets a higher bar than human code — it arrives with no context, so it must prove itself entirely through checks — met with guardrails, not heroics.
Vibe coding is one gear in a car that also has brakes, mirrors, and a licence.
You cannot read every line the department writes, so quality depends on stamina — and stamina loses.
Every change passes the same five gates in the same order, whether you made it or the agent did: style and obvious errors, behaviour tests, a coverage floor, a forgotten-promises sweep, and a change-size budget.
You cannot read every line. You can refuse to ship without a gate.
A gate built by the agent that nobody can explain gets silently disabled the first time it inconveniences anyone — which is slop defending itself.
Have the agent build the gate script from your spec, then read it once: you should be able to explain every gate in one sentence. If not, send it back — "explain each gate, then simplify."
A gate nobody understands gets disabled.
The thresholds (80% coverage, five TODOs, 400 changed lines) are starting points — and the first emergency argues them down quietly.
Tighten thresholds when the department earns it. Never widen them silently to let one change through; if it must be done, it happens in a commit that says so.
Widening the gate to pass a change is the exact move this deck exists to prevent.
Fear of breaking things keeps the department moving in half-steps, and the fear never gets tested.
Commit, branch, revert — three moves. One policy: if you can describe the change in one sentence, commit it in one sentence; if you cannot, split it. Run the fire drill until "we can always go back" is something you believe, because you have personally done it.
One wrong move ruins nothing, if everything is recorded.
Credentials, personal data and marked-confidential material enter prompts one rushed paste at a time.
Three categories never enter any prompt. Redact first, then paste — no blast-radius argument rescues them. And a key that was ever committed gets removed from history, not just deleted from the file. An unused key is an unlocked door: retire access on handover.
An unused key is an unlocked door.
The agent suggests a package name with total confidence — and a fake package may be squatting on exactly that name.
Before installing anything the agent suggested, look the package up in the official registry yourself. Vet every new dependency: maintainer, last release, licence, exact-name check. Fewer dependencies is better.
The agent's spelling is not evidence.
Two builds can both work, both pass every check, and differ completely in whether a human would enjoy using them. "Best" is not objective.
Taste is the judgement that one good option fits your situation better than another good option. The agent enumerates trade-offs fluently; it cannot know your client phones support at 11pm. That judgement, held and defended, is the deliverable.
'Best' is not objective. That is precisely why they need you.
Preferences stay verbal, so they die with the conversation and the nephew's version wins by default.
Keep CRITIQUE.md: position, why, what you gave up, what would change your mind. Every entry must be arguable — a reasonable person could disagree. The difference between you and the nephew is the file.
Take responsibility for a position, in writing, with reasons that survive your absence.
At every fork, the agent's reasoning gets adopted because it is fluent and present.
Ask four questions of every version: what is each optimising for; who will maintain it and what do they know; what does each do when the input is strange; what does it cost to change later?
Delegate the menu. Keep the choosing.
"It's basically done — just make it feel right" is where every practitioner smiles, because polish is the part that was never typing.
Directing polish — spacing, wording, the empty state, the error message — is management work. Brief it with examples, verify it like any other check.
The first 80% is a demo. The last 20% is the product.
One big prompt asking for everything produces the confident average of a big thing: plausible, interlocking, and wrong in ways that surface when users arrive.
The agent builds features; you build the sequence. Ten small briefs, each with a check, each landing on verified ground. Dispatch one issue per conversation, in order — parallel is how the fog gets back in.
Big things are not built in one go. They are decomposed, dispatched, and verified.
Commits grow into weekly dumps, and the history that was supposed to testify becomes noise.
If you can describe the change in one sentence, commit it in one sentence. Each commit is one idea; each message says what happened. When the audit comes, the commit messages are the department's testimony.
Commit messages are the department's testimony.
One agent building while the same agent self-reviews is a conflict of interest: the reviewer shares the blind spots of the builder.
Separate duties: a builder from the spec, a reviewer auditing the diff against the spec alone — never having seen the builder's self-assurance — and sometimes a third, hostile pass. Findings ordered by consequence: DROPPED, INVENTED, BROKEN, RISKY, CLEAN. Overrule in writing, in DECISIONS.md, with the reason.
Fresh eyes are not a compliment; they are a control.
The model gets upgraded, and the validated arrangement is assumed to still hold.
On every model change: re-run the replication test on two representative specs, re-run the full gate, re-audit one landed stage, and record the model and date in DECISIONS.md. The specs, checks, gates and skills are the durable layer.
The model is staff, and staff turn over.
The last gate is permission — waiting until the thing is officially blessed.
Start from a real itch — yours, your club's, your workplace's. Fill the rollback sentence: "if this goes wrong, I will ___ and the users will see ___." If the blank takes more than a minute to fill, ship behind a smaller blast radius first.
You do not need permission to ship. You need evidence it is true.