Monero never claims to be a store of value or makes any promises about that. Thats a Bitcoin thing.
We would know there was an inflation bug indirectly when the price abruptly started tanking to zero.
But you can sidestep all those worries by only using Monero as digital cash and using Bitcoin as a store of value.
Ok that's true. But transparent supply doesn't make Bitcoin immune to exploited supply inflation bugs and their aftermath. No good solution for that. Hardfork out all the fake Bitcoin and screw over all users and merchants that gave away real products and services, or break the 21 million meme. Both would be pretty disastrous for confidence and price.