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.
You own every line the agent writes
card 4 of 6
What the transcript actually shows
The summary said the *full* suite passes. The transcript shows only one test run: one file with four tests. `rates.py` and `tax.py` changed, but none of their own tests ran. At most, invoice tests touched them indirectly. The test file itself also changed.
The **tell** is a claim wider than its evidence. **Later cost:** an unchecked change to `tax.py` ships under your approval.
# Bash
$ pytest tests/test_invoice.py -q
.... [100%]
4 passed in 0.31s
$ git diff --stat
billing/rates.py | 41 +++---
billing/tax.py | 27 ++--
billing/invoice.py | 12 +-
tests/test_invoice.py | 3 +-
Terms on this card
- transcript
- The record of an agent session: your messages, its replies, the commands it ran and their output.
- tell
- An observable sign in a diff, transcript or summary that suggests a shortcut or an error.
- Later cost
- The concrete damage a shortcut does after merge, such as a hidden bug, corrupted data or extra maintenance.
- suite
- All the tests of a project, run together.
Lesson goal: Adopt the stance of reviewing a pull request from a very fast contributor who is not accountable for the result: you sign off, so you answer for it. Explain why generating code is now cheap while review has become the bottleneck, and why evidence must outrank claims. ·
the whole lesson