promptdojo_

The harness has the tool registry hardcoded INSIDE the loop. Adding a new tool means editing the loop function — not a module-level dict. After three new tools, the loop body is unreadable.

Fix dispatch(tool_use, tools) to take the registry as an argument instead of hardcoding it. Then pass the registry in from outside.

Expected output:

hits for tokyo
The break is on lines 1, 7 — but read the whole snippet first.

this step needs the editor

on desktop today; in the app (coming soon). save your spot and we'll bring you back here when you're ready.

open this same url on a laptop to keep going today.