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.
Feedback with evidence, asked neutrally card 3 of 6

Evidence first, diagnosis before fix

builds on: Agents tend to agree with you, The agent knows only what its tools returned
Feedback that carries evidence: 1. **Where**: the commit or branch, and the working directory. 2. **Command**: the exact one you ran. 3. **Output**: pasted verbatim, with the full error, not a paraphrase. 4. **Expected vs actual**, plus the input that triggers it. 5. **Ruled out**: what you checked, stated as facts. Then ask for a diagnosis: "Explain the cause and the output that shows it. Don't edit yet." Ask open questions. Offer a hunch only as one unverified candidate.
Terms on this card
diagnosis
An explanation of what causes a failure, backed by evidence such as output or code lines, given before any code is changed.
verbatim
Copied exactly as shown, character for character, without summarising or retyping.
working directory
The folder a command runs in. Relative paths and patterns like `./...` are resolved from it.
commit
Making database writes permanent. Once committed, a write stays even if later steps fail.
Learn this step by step on Bytewise
Lesson goal: Give feedback as exact errors, outputs and reproduction steps instead of 'still broken'. Ask for a diagnosis before a fix, and phrase questions so they do not lead the agent toward your guess. · the whole lesson