Stop Writing Wishes: How to Write Checkable Acceptance Criteria for AI Agents
These articles are AI-generated summaries. Please check the original sources for full details.
Prose acceptance criteria are where intent goes to die
Developer Kunal Sharda identifies a critical failure point in AI-driven development. He found that vague acceptance criteria lead agents to confidently commit code based on incorrect assumptions.
Why This Matters
While human engineers provide a safety net by questioning ambiguous requirements, AI agents guess instantly and execute without friction. This removes the natural refinement process, meaning underspecified tickets that would normally be flagged by a human now sail straight into production as buggy or incorrect code.
Key Insights
- Replace adjectives with numbers: ‘Fast’ must become ‘under 200ms at p95’ to ensure the requirement is checkable (Sharda, 2026).
- Use the Given/When/Then format: Structure criteria as testable scenarios, such as defining specific row counts for large files instead of using the word ‘large’.
- Explicitly state unhappy paths: Define behavior for empty inputs, duplicates, or permission errors to prevent the agent from inventing its own logic.
Working Examples
A checkable specification replacing vague prose like ‘handle large files gracefully’.
Given a CSV with 100,000 rows
When the user triggers an export
Then the file streams to download and completes within 30 seconds
And peak memory stays under 512 MB
Practical Applications
References:
Continue reading
Next article
Mastering Incident Command: Non-Technical Skills for Production Outages
Related Content
Code as Data: Why LLMs Fail at Structural Programming Tasks
George Ciobanu introduces pandō, a structural engine designed to stop AI agents from treating codebases as unstructured text to prevent broken production builds.
Building a Single-Cell RNA-seq Analysis Pipeline with Scanpy: From PBMC Clustering to Trajectory Discovery
Learn to build a complete single-cell RNA-seq pipeline using Scanpy for PBMC analysis, covering quality control, doublet detection with Scrublet, and lineage trajectory discovery on benchmark datasets.
10 Essential AI SDLC Workspace Features for Engineering Leadership in 2026
Engineering VPs are shifting to AI-driven SDLC workspaces to solve tool fragmentation and automate continuous compliance evidence capture by 2026.