Contents Lesson 9 of 9

6 min read · practitioner

What you can now do, and what the exam checks

This course set up the partnership the rest of the track depends on. The code you wrote with it was small on purpose. What you can now do with an agent is not.

The part that was never about the watchlist

You decide what the agent may touch. A learning mode where every edit waits for you, allow rules for routine commands, a stop before anything that spends, a deny rule for the key file where your agent has one — and an honest view of what that protection cannot stop, which is a script the agent runs.

You write the rules it reads. A short AGENTS.md of rules that can be caught being broken, pointing at PLAN.md so the agent works to your scope rather than its guess.

You know what the data costs before it is spent. The MCP server for build time, the proxy for runtime, one budget for both, measured on your own counter.

You plan before it codes, and test before it builds. A spec, acceptance criteria that can be false, one test per criterion, red before green.

You let it prove its work. Tests, type check, lint and the leak check run by the agent itself, with hooks underneath that catch whoever commits.

You get a second opinion and read it sceptically. Fresh context or another model, every finding proved or rejected with a reason.

You manage the session, and you know when to let go. Clear when stale, hand the state over in a file, undo with git — or Claude Code's rewind for its own edits; hand off tasks that a command can check, keep the ones that touch the key, live calls or a decision.

What is deliberately still missing

The tool itself. Build Your First Tool starts from this same repository and builds your watchlist for real: your instruments, your plan filled in, your key on the server, deployed at a URL. It moves faster because of this course — every lesson there assumes the loop you now have.

What the exam asks

Two parts. The quiz is ten questions, seventy per cent to pass, twenty-four hours before a retake, drawn from a pool so a retake is a different paper. Expect to:

  • Place a rule. A requirement is described; say whether it belongs in the rules file, a permission rule, or both.
  • Price a question. A request the agent wants to make through the MCP server; say what it costs on the free plan.
  • Read a status code. 402 or 429, and what to do next.
  • Spot the weak criterion. Four acceptance criteria; say which one cannot be false.
  • Judge a finding. A review comment and the code; say whether it is real, taste or wrong.
  • Choose the hand-off. Four tasks; say which one to give a background agent.

The practical part is your repository, and you can check it yourself before anyone else does:

  • an AGENTS.md with your five rules and the pointer to PLAN.md;
  • no key anywhere in its history;
  • a test you wrote, passing.

Before you sit it

Each of these takes a minute at your desk. Any that does not names the lesson to reopen first.

Try it now

Check the practical part yourself, in the starter folder. These commands are bash (grep, sh); on Windows run them in Git Bash:

git log -p --all --format= | grep -qE '[0-9a-f]{12,}\.[0-9]{6,}' && echo "KEY-SHAPED STRING IN HISTORY" || echo "history clean"
sh scripts/key-scan.sh
grep -n "PLAN.md" AGENTS.md
npm test
  1. The first command prints history clean. It reads every change ever committed, on every branch, and leaves out commit messages — one of the starter's own messages quotes a made-up string of that shape. If it does not print clean, a key has been in a commit: rotate it first (in your EODHD dashboard, on the page where your API token is shown, generate a new token so the old one stops working; then put the new one in .env.local), then deal with the history.
  2. The key scan reports no key-shaped string in any tracked file.
  3. The grep finds the pointer line in your rules section.
  4. npm test is green, and its list includes a test file you wrote — tests/move.test.ts from lesson 4.

If all four hold, sit the quiz.