Changing a prompt or skill changes how your agent behaves. Treat that edit with the same discipline as a code change.
Write down what you expect to improve, test against fixed cases, inspect the diff, and agree on rollback conditions before shipping.
What to keep fixed
Put these checks in place before you run or compare results.
Step-by-step workflow
Follow each step in order, and pause if a required input or baseline is missing.
Evidence to record
Keep enough detail that another engineer can repeat your comparison and reach the same call.
| Record | What to save | Warning sign |
|---|---|---|
| Hypothesis | Expected improvement and risk | Edit has no clear goal |
| Versions | Exact text, content hash, and author | Unclear which revision was tested |
| Cases | Fixed case IDs and versions | Baseline and candidate ran on different inputs |
| Results | Per-group scores and changed failures | Only an overall average was saved |
| Decision | Owner, reason, and rollback trigger | No record of why the edit shipped |
Scope and boundaries
- Do not prompt models to expose hidden reasoning or private chain-of-thought.
- Do not let untrusted input override system instructions or tool permissions.
- Do not ship an edit just because a single manual spot check looked better.
- Do not overwrite the previous version or discard its evaluation record.