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.
The agent knows only what its tools returned
card 3 of 6
Is this claim backed? Four checks
builds on: A coding agent is a model in a loop, What the agent sees: its context
For each claim in the summary, find the tool call behind it:
1. **Exists:** is there a command whose output would show this? No call means unbacked.
2. **Covers:** right directory, package, build target? Did tests actually run (not `no test files`, not `no tests ran`)?
3. **Complete:** did you see the end, the summary line, or was it cut by `head` or the tool's own truncation?
4. **Fresh:** did it run after the last edit, on a rebuilt artifact?
Terms on this card
- unbacked
- A claim with no tool output in the transcript that shows it to be true.
- truncation
- Cutting output short, either with a command like `head` or by the agent's tool limiting how much output it passes back.
- artifact
- A file produced by a build step, such as a compiled jar, binary or JavaScript bundle.
- head
- Shell command printing only the first N lines of its input; everything after is dropped.
- ?
- Rust operator: on Err (or None), return it from the current function right away, converting the error type if needed; on Ok (or Some), unpack the value.
Lesson goal: Explain that if the agent did not run the test, it has not seen it pass. Show how truncated output, the wrong working directory or a stale build can mislead it. Read a transcript to tell claims backed by tool output apart from unbacked assertions. ·
the whole lesson