Skip to content

Lesson 4.2 · 3:59

Define "done"

Goal: Write checks anyone could run, before you ask the agent for a change.

Try it

  1. Pick one small feature to add or fix in your Module 3 app.
  2. Write three acceptance checks in Given / When / Then form: one for the new behaviour, one for an odd input (blank, spaces, very long), and one that proves something old still works.
  3. Do the friend test: could someone else run each check? Rewrite any fuzzy one.
  4. Optional: send it to OpenCode, then run all three checks yourself.

You're done when you have three checks written and each one ends in something you can see on screen.

Recap

  • "Done" is decided by checks you wrote, not by the agent saying so.
  • Good checks are Given / When / Then, ending in something anyone can see.
  • Always include one check that proves the old behaviour still works.

Next lesson (4.3): put your goal and checks in a project brief file that every session can read.