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.
Why agent output always sounds sure card 4 of 6

"All green", but no test ever ran

Summary: *"Updated `ParseConfig` and its callers. Ran the tests: all green."* The transcript is the log of the commands it actually ran and their output. Here it shows one command: `$ go build ./...`, with no output. That means the code compiled. No test ran. "All green" was simply the sentence that fits the end of a story about a fix. You run `$ go test ./...` and get `--- FAIL: TestParseConfig`. Later cost, had you trusted the summary: a broken config parser merged on a sentence.
Terms on this card
transcript
The record of an agent session: your messages, its replies, and the commands it ran with their actual output.
later cost
The concrete damage a shortcut or error does after merge, such as a hidden bug or silently wrong data.
go test
The Go command that builds packages and runs their tests; './...' means the package and all below it.
green
A test or check that passes.
go test ./...
Runs the tests in every package under the current directory of a Go module.
Learn this step by step on Bytewise
Lesson goal: Explain that the model generates fluent, plausible text, so its tone is the same whether it is right or wrong. Explain why its statements about itself ('tests pass', 'this handles all cases') are also generated text, not measurements. · the whole lesson