'Fix the bug' is a bad agent task: separate expected behavior, evidence, and acceptance

Reasonable_Ant_8356 · reddit · 2026-11-22

Many agent failures start before the agent runs. The author argues a task like "fix the pagination bug" is underspecified — duplicate records, empty-result crashes, and wrong page counts after filtering are different problems. The fix: structure task descriptions into expected behavior, evidence (tests covering edge cases), and acceptance (AI review plus human sign-off), so someone other than the executing agent can verify the result. Mirrors Sodu Work's request workflow.

Original post →

More from coding & agent

coding & agent channel →