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.
Half-finished changes: the call sites it missed
card 1 of 6
"Renamed everywhere", it says
builds on: What the agent cannot see
You ask the agent to rename `send_email` to `send_message` and add a `channel` argument. It edits `notify.py` and `signup.py`, the tests go green, and the summary reads: *Renamed and updated all callers.* Two weeks later the nightly reminder job crashes. Nobody touched that job. So where did the agent's "all" stop?
Terms on this card
- the agent
- The AI coding system doing the work: a chat assistant, IDE agent or terminal agent.
- green
- A test or check that passes.
- channel
- In Go, a typed pipe between goroutines. A send is guaranteed to happen before the matching receive completes, which creates ordering.
Lesson goal: Recognise a rename, signature change or semantic change applied only in the files the agent read, while other callers, reflection or string references, configs, docs and other services still use the old form. Check for missed sites with search and the compiler. ·
the whole lesson