Verification Loops: Never Trust an Unrun Edit
Wire verification into your agent so every edit is checked by machines - syntax, tests, behavior - before it counts as done.
The Route
0/4 verifiedVerify at the write boundary
The cheapest catch-point is the moment of the edit.
Add the post-change verify step
Syntax says it parses; only execution says it works.
Gate completion on evidence
Done is a property of the evidence, not the prose.
Red-team your own verification
Verification you have not tried to fool is decoration.
Context Pack
Paste this first. It briefs the AI on requirements, constraints, and the Definition of Done before your first build prompt.
Paste this into your AI builder first. It teaches the AI what you want before you give it the build prompt.
Related routes
More Harness Engineering flows that share ground with this one.
Assemble Tool Prompts Dynamically per Environment
Stop shipping one static mega-prompt: generate tool prompts from environment conditions, inject blocks only when features are on, and dedupe config to save tokens.
+1 more steps to Done
Best forproduction-grade builds with strict verification
Design Layered Tool Prompts with Preference Chains
Structure your tool prompts the way the leading harness does: preference chains up front, usage constraints in the middle, NEVER-guarded safety protocols at the end.
+1 more steps to Done
Best forbuilders who have shipped a basic app before
Design the Permission Approval UX
Design approval prompts users actually read: diffs, risk framing, scoped grants, and pacing that prevents approval fatigue.
+1 more steps to Done
Best forbuilders who have shipped a basic app before