Guide · Operations

How do you write a done-when line an AI can check?

A done-when line says what must exist, where it is saved, what it is called and who says yes. How The AI Academy ends every AI brief, with a template.

A folder on a dark desk with a short piece of white tape ready to mark when the work is done.

Quick answer

A done-when line says what must exist, where it is saved, what it is called and who has to say yes before you call a job finished. Write it into the brief before the AI starts, so you and the AI check the same thing. At The AI Academy every brief ends with it: goal, inputs, output, approval needed, done when.

On this page

What is a done-when line, and where does it go?

It is the last field of our brief format. The same five fields appear in Core Docs 02, 03 and 04:

  1. Goal: what the job is for.
  2. Inputs: the files or links the AI must use.
  3. Output: the format, the Drive folder and the file name.
  4. Approval needed: who must say yes before anything goes public.
  5. Done when: how anyone can tell the job is finished.

Output tells the AI what to make. Done when tells you, and the AI, when to stop. Without it, “finished” means whatever the AI decides, and a confident tone looks like completion.

What does a real done-when line look like for us?

The Daily Content Workflow (28 November, approved) is full of them, though it does not use the label. Read each row as “the job is done when this exists”:

Job What must exist, where, and what it is called
Record The recording saved to 03 YouTube / Recordings Inbox, named “YYYY-MM-DD - Recording - Title - RAW”
Transcript The transcript copied into Content Library / 01 Transcripts as “YYYY-MM-DD - Transcript - Title - RAW”, with nothing fixed yet
Daily batch One doc, “YYYY-MM-DD - Content - [Video title] - FOR APPROVAL”, in Content Library / 02 Daily Batches, with 2 social posts (each with 5 platform variants), 2 X guides, 2 blog posts and 2 emails
Approval Steve replies “yes”, or “yes except 3 and 5, change 2”

Notice what each row has. A thing you can open, a place to find it, a name, and a clear count or yes. None of them says “good” or “thorough”.

How do you write one, step by step?

  1. Name the thing that will exist. A doc, a row, a post draft. If you cannot name it, the job is still a wish.
  2. Say where it lives and what it is called. Folder and file name, as in the table above.
  3. Add the count or the shape. “2 emails”, “one row per recording”, “under 2 pages”.
  4. Add the checks it must pass. Point at a list rather than a feeling. Our skills carry a self-check, for example “every fact traces to a transcript timestamp” and “no banned phrases”.
  5. Name who says yes. If nothing goes public, say so. If something does, name Steve’s approval.
  6. Read it as a stranger. Could a bot that was not in your chat tell whether it is done? If not, add what is missing.

What does good look like?

Illustrative example, based on our own format:

Bad example (illustrative) Good example (illustrative)
“Done when: the blog post is good and ready to go.” “Done when: one doc named ‘YYYY-MM-DD - Website - Article - Title - FOR APPROVAL’ is saved in 04 Website / Articles, with a question title, a quick answer first, a good and a bad example side by side, FAQs and a Sources list. Nothing is published.”
Why it fails: “good” and “ready” cannot be checked, and “ready to go” invites the bot to publish. Why it works: every part can be ticked, the name and folder are fixed, and the last sentence blocks publishing.

How do you check an output against it?

Our rule in Core Doc 04 is that each bot checks its output against the brief and the done-when line before Steve sees it. Claude reviews only high-stakes outputs, such as offers, pricing pages, ads before launch and emails to the full list.

When the job ends, the report back is one line. Our Daily Log format is “HH:MM | tool | what was done | links | needs Steve”. That line is where you say “done when met” or what is missing, with the link, so the next person does not have to ask.

When can the job run without you checking?

Not at first. Core Doc 11 says a step becomes automatic only after 5 correct runs in a row and Steve’s agreement. A done-when line is what makes “correct” countable. If the line is vague, you cannot say whether a run was correct, so you cannot count to five.

Can you see three weak lines rewritten?

Illustrative rewrites, in the style of our own file names and folders:

Weak line (illustrative) Stronger line (illustrative)
“Done when: the transcript is sorted.” “Done when: the transcript is in Content Library / 01 Transcripts as ‘YYYY-MM-DD - Transcript - Title - RAW’, unedited, and any unclear words are marked [unclear], not guessed.”
“Done when: the emails are written.” “Done when: two emails, one how-to and one news or review, each with two subject options, a preview line, one link that sells something that exists, saved in the batch doc as FOR APPROVAL.”
“Done when: the site is updated.” “Done when: the page is live on the preview link, the links work, and the Daily Log has a line with the link and ‘needs Steve: publish yes or no’.”

In each case the stronger line gives the AI something to finish and gives you something to open. If you cannot write the stronger version, you probably do not yet know what you want, and that is worth finding out before the AI spends credits on it.

Now do it in your AI

Paste this, with your own job in the brackets:

“I am going to give you a job: [describe it]. Before you start, write the done-when line. It must say what will exist, where it will be saved, what it will be called, what count or shape it has, which checks it must pass, and who must say yes. Show me the line and wait. Do not start until I say yes.”

Then edit the line and send it back. You have turned a wish into something you can check.

What should you watch for?

  • Words that cannot be checked: good, thorough, polished, ready. Replace them with a thing you can open.
  • No place and no name: the output exists but nobody can find it. Fix the folder and file name in the line.
  • No stop: “keep improving it” never finishes. Add the count or the checks and stop there.
  • Publishing slipping in: say “FOR APPROVAL, nothing published” in the line.
  • Giving the AI the last word on done: the bot says done; you or the checklist confirm it.

Your checklist

  • The line names a thing that will exist
  • Folder and file name are written down
  • A count or shape is given
  • The checks it must pass are listed or linked
  • Approval is named, and publishing is blocked until then
  • A stranger could tell if it is done

The AI Academy is independent and is not affiliated with or endorsed by xAI, Anthropic or OpenAI.

More on this: AI for Business · All guides

Frequently asked questions

Is a done-when line the same as a goal?

No. The goal is why you want the job. The done-when line is how you recognise it is finished.

How long should it be?

Usually one or two sentences. If it needs a list, put the list in the brief and point to it.

Do I need one for tiny jobs?

For a one-off question, no. For anything a bot does again and again, or that someone else will pick up, yes.

Who writes it, me or the AI?

Ask the AI to draft it, as in the prompt above, then you approve it. The line is yours because you decide what finished means.

Where does this fit with the rest of the brief?

It is the fifth field. See the guide on setting up a small team of agents for the other four.

Get the next guide by email

Join the free email list for new guides and articles from the work we actually do.

Stuck on a step?

Ask the AI Tutor. It's built to answer from our own guides and lessons.

Ask the AI Tutor
  • Guide · Grok Bot

    How to set up a small team of AI agents with a manager

    How The AI Academy sets up specialist AI agents: a manager that does no work itself, a done-when line for each job, and a human yes before anything goes public.

    6 min read

  • Guide · AI for Business

    How Do You Get Started With AI in Your Business?

    How to get started with AI in your business: pick one tool, give it context, a task and a format, use it on a real job from your week, then check it before use.

    6 min read

  • Guide · AI for Business

    How Do You Prompt AI to Get Better Answers?

    How to prompt AI for better answers: give context, a task and a format (our CTF method), add six simple upgrades, save what works and check what you use.

    7 min read

More on this topic: AI for Business

Ask the AI Tutor

Type your question below and we'll take you to the AI Tutor page with it filled in, where you can get started.

Ask the AI Tutor