tune-snapshot-replay
Iteratively tune the TESTS of a Speedscale snapshot or proxymock recording until its replay is accurate, in a persistent loop that re-runs the replay (locally or in the cloud), measures, changes one thing, and keeps or reverts. Owns test accuracy - replayed responses that differ from the recording (expired credentials, IDs created during the session, stateful environments, legitimately volatile fields like timestamps), transforms, test config and assertions. Any mock problem (MISS, passthrough, low match rate) is handed to improve-mock-match-rate. Use when the user asks to "tune this snapshot", "tune the tests", "get this replay to pass", "raise replay accuracy", "the replay keeps failing, fix it", or wants a Ralph Wiggum style loop on a replay.
Pinned to revision 31b99cf52caf, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/tune-snapshot-replay/SKILL.md
- skills/tune-snapshot-replay/references/classification.md
- skills/tune-snapshot-replay/references/loop-file.md
- skills/tune-snapshot-replay/references/test-config.md
- skills/tune-snapshot-replay/scripts/checkpoint.sh
- skills/tune-snapshot-replay/scripts/score.sh
Every link opens the file at its source, pinned to the revision this page describes.