promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_

building a harness — scaffold, tools, loop, gate — step 6 of 9

the harness stuffed the routing rule into the prompt. deterministic logic does not belong there — policy, guardrails, a model swap, compaction of history. a paragraph the model can ignore is not a decision, and you cannot unit-test it.

fix decide(note) so the rule is HarnessSpec.decisions in code: if "FLAG" is in the note, return "ROUTE". otherwise return "KEEP". leave the prompt as tone, not policy.

expected output:

ROUTE
The break is on lines 7, 8 — but read the whole snippet first.

full-screen editor opens — close anytime to keep reading.