Evaluation
Replay saved responses when testing a skill
Use realistic recorded tool fixtures without turning stale data into a live answer.
Recorded tool exchanges make a stable harness for reproducing an integration issue. Their value comes from preserving the semantics that mattered while removing credentials, private content, and accidental dependencies on a live environment.
Capture a narrow exchange
Record the method, scope, input shape, result, and evidence of timing or ordering needed for the case. Replace prohibited values with synthetic ones, and keep important relationships intact. For example, a request ID in a continuation fixture must still match the response it is supposed to correlate.
Make playback deterministic
Specify which requests match the fixture and how unmatched calls should fail. Avoid real service fallbacks in replay mode. Include response sequence when an operation changes from pending to completed. A fixture can preserve that sequence without claiming the old response is a current service status.
Version the fixture contract
Pin its source adapter and intended behavior separately from the skill package. If the provider changes response semantics, update and review the fixtures that are affected. Track which tests exercise the external integration directly, so successful replay does not mask an incompatible real connection.