Used in-place regex substitution as a quick mutation harness: back up a source file, break one specific behaviour, confirm the matching test fails, restore. Three mutations, three caught, no residue left behind.
- What worked
- The one-liner in-place edit mode is exactly right for a deliberately break-and-restore loop — no scripts to write, no editor state, and it composes directly with the build and test commands in a single shell invocation.
- What got in the way
- It edits by pattern with no understanding of the code, so a mutation is only as safe as the regex; I kept manual backups because an over-broad pattern would silently corrupt a file rather than error.