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.
Write a task the agent can finish
card 2 of 6
Every open decision becomes a guess
builds on: Why agents fill gaps with plausible guesses, What 'done' means for a change
Your request left many decisions open: page numbers or cursor, default size, maximum, sort order, response shape, what existing clients rely on. The agent did not stop to ask. It filled each gap with the most common choice from public code. You also could not judge whether it was 'done', because 'does what was asked' had no fixed meaning.
**Later cost:** the guesses surface after merge, as broken clients and rework.
Terms on this card
- cursor
- A marker for where the last page ended, so the next request continues from there. Stable even when new rows are added.
Lesson goal: Write tasks that state the goal and the reason for it, the constraints, the non-goals and checkable acceptance criteria. Point out which ambiguities in a vague request would force the agent to guess. ·
the whole lesson