The trap prompt
Gemini never makes up the mistake. Kazan wrote each misconception as a card with three fields: the wrong belief, what a correction has to cover, and why the belief feels true to a beginner. When a session reaches the misconception checkpoint, the server picks the card for the student’s topic and copies its claim into the system prompt word for word.
id: while-condition-vs-update
claim: In a while loop, the condition is the line that
changes the variable each time.
correctionFocus: Explain that the condition only checks
state, and a separate update must change the variable.
whyItFeelsTrue: Beginners see the condition every iteration
and assume it is doing the work of changing the variable.If you introduce confusion, it must be this exact wrong
belief in first person: "In a while loop, the condition is
the line that changes the variable each time." Make the
student correct that specific idea.Every other turn gets the opposite line: “Do not inject a new misconception in this turn.” Cookie only says something wrong when the checkpoint asks for it, and only a claim we wrote and checked.


