How to Build an App That Fixes Its Own Bugs