Work effectively with AI coding agents. Understand them as language models running in a tool loop with limited context, which is why they guess, game the visible signal and report confidently. Recognise the shortcut and correctness tells in their code across Python, TypeScript/JavaScript, Rust, Java and Go, and know the damage each one does later. Verify changes instead of trusting them, review diffs fast for quality and security, judge when work is truly finished, and choose, design and steer tasks so agents can finish them well.
Give it an executable definition of done card 6 of 6

Agree it, see it red, freeze it

builds on: See it fail: red before green and break-it checks, Agents optimise the signal they can see
Agree on the failing test before any fix exists. See it red for the bug's reason, then freeze it. The agent can no longer pick or move the target. It can only game what the test leaves unchecked, so make the cases varied.
Terms on this card
red
A test or check that is failing.
Learn this step by step on Bytewise
Lesson goal: Provide or first agree on a failing test or reproduction script that the agent works against, and protect that test from being edited. Explain why this narrows how far the agent can game the proxy signal. · the whole lesson