Goal, constraint, verify. How I work with agents.

Coding agents are good at doing the work and bad at knowing when they are done. Here is the loop I use to fix that, the /goal command in Claude Code that runs it, and a real example from wiring up an ORATS data feed.