When AI rewrites your code in seconds, what should tests actually protect?

Posted by Cumak_@reddit | ExperiencedDevs | View on Reddit | 4 comments

Working with AI agents made me rethink how testing could work when code changes this fast. I wrote down my thoughts: test contracts, not implementation. Probably nothing new, but I'd appreciate feedback on whether this framing makes sense to you.