If somebody had said in the early years of the Church:
“You have to be circumcised to follow Jesus.”
This would have been an opinion - it could have been true or false. Only after the Council of Jerusalem would it have been heresy.
If somebody had said in the 14th century, long before the council of Trent:
“Those who are saved can have total assurance that they will never fall from grace.”
This would again have been an opinion, albeit an unusual one in the medieval Catholic Church, but not yet declared heresy.
If somebody had said in the 1940’s:
“Mary was sinless from the moment of her ensoulment, about 14 days after conception.”
This would have been a valid opinion, though now it would be heresy, as the Church has declared infallibly something different.
My point is, there are some things in our faith that are doctrine, some that are merely opinion, and some that are heresy.
Could there ever come a time (in theory) when all the matters of opinion were pronounced upon definitively, in such detail that there were no longer any questions left in our faith?
If so, would there be any role left for wisdom?