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.
A confident summary that doesn't match the diff card 6 of 6

A claim list, not a record

builds on: Why agent output always sounds sure, The agent knows only what its tools returned
Read the summary as a list of claims to check, not a record of what happened. Each claim needs a diff hunk or command output behind it. Treat any claim without one as unverified until you see the evidence yourself.
Terms on this card
hunk
One contiguous block of changes in a diff. It starts with an `@@` line giving line numbers and often the enclosing function.
unverified
A claim with no matching diff hunk or command output. It is not known to be false, only not yet backed by evidence.
diff
The set of line changes between two versions of the code: removed lines start with '-', added lines with '+'.
Learn this step by step on Bytewise
Lesson goal: Check the agent's summary claims ('added tests', 'handled edge cases', 'all tests pass') against the actual diff and the tool output in the transcript. Treat any claim that has no matching diff hunk or command output as unverified. · the whole lesson