Skip to main content

Copy this into your coding agent

Paste into Cursor, Codex, Claude Code, or another coding agent in your project.

Keep the comparison fair

Run the original and changed application against the same inputs, expected outcomes and rules. Record the code versions. If you change the rules, treat the result as a new baseline rather than claiming the code improved against the old one.

Include the cases that matter

  • Capability: a supported task your app should complete.
  • Regression: behavior that already works and must keep working.
  • Incident: a specific failure seen in production.
  • Independent cases: examples that were not used to create the fix.
Use the test library to keep representative examples and expected results. Include boundary values, missing details and multi-turn requests.

Check actions as well as answers

A refund assistant can say it refunded 120 while its retry logic actually refunds 240. An real app test should check the recorded amount, not just the reply. Test timeouts, retries and partial failures with test accounts and controlled dependencies. Do not send real refunds or messages while testing these scenarios. Real app testing run your application code and record its instrumented actions. Missing evidence is an incomplete result, not a pass.

Review the proposal

Compare the failed and passing cases, quality, model usage and estimated cost. Reject changes that fix one case by breaking an established rule. For subjective checks, inspect the evidence and review representative results yourself. A proposed fix does not change production. Review the pull request, run your normal release checks and monitor the result after deployment.