A five-step test design for catching agent policy regressions in refund skills

MiserableFlatworm337 · reddit · 2026-10-23

The author outlines a test design for repetitive policy tasks where an agent's plausible answer can still use the wrong deadline or include an excluded charge. Using a fictional refund policy (30-day window, shipping excluded, cents rounded down), the five steps: write expected outcomes for days 29/30/31 before touching the skill; mix in prices, shipping charges, and rounding-exposing values; add missing-input and policy-contradicting follow-ups; save baseline results and rerun identical cases after revising instructions; check separate holdouts instead of rewriting failing tests.

The key distinction is improving how instructions read versus proving behavior changed on the cases you care about. The post also introduces skillEd, an Apache-2.0 toolkit for versioned cases, agent-driven evals via CLI/MCP, and report comparisons.

Original post →

More from coding & agent

coding & agent channel →