Teaching a Kotlin Chess Engine to Debug Itself

Two independent sources of truth as judges, a coding agent as the mechanic — how to architect any logic module so an agent can test it…