What if AI could discover your business logic by mining query history instead of requiring manual metric definitions?