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.
Verify an agent change instead of trusting it card 6 of 6

Earn the evidence yourself

builds on: Mocks that test nothing, Tests that restate the implementation, See it fail: red before green and break-it checks, Pin behavior before a refactor, Let the toolchain check first
A summary and a green suite are claims. Turn them into evidence: - Reproduce the bug. - See the test go red, then green. - Break the fix to prove the test has teeth. - Pin behaviour before code is reshaped. - Let the full toolchain run with its config intact.
Terms on this card
Red, then green
Seeing a test fail (red) without the fix and pass (green) with it, which shows the test really targets the bug.
toolchain
The build, test, type-checking and linting tools a project runs on its code.
red
A test or check that is failing. Green means passing.
green suite
A set of tests that all pass.
green
A test or check that passes.
Learn this step by step on Bytewise
Lesson goal: For a given change, build a short verification plan: reproduce the problem, see the tests fail and then pass, judge whether the tests could catch a real bug, pin behaviour before refactors and run the toolchain checks. Explain what evidence each step gives you. · the whole lesson