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 1 of 6
Who decided what 'fixed' means?
builds on: See it fail: red before green and break-it checks, Agents optimise the signal they can see
You ask the agent to fix the importer splitting `"Smith, Jo"` into two fields. It edits `importer.py` and the test file, then reports that all tests are green.
The agent chose what 'done' meant and wrote the check for it. Does that green run prove the bug you saw is gone? Or does it only show that the agent's code agrees with the agent's test?
Terms on this card
- green
- A test or check that is passing.
- the agent
- The AI coding system doing the work: a chat assistant, IDE agent or terminal agent.
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