I was mulling over my understanding of the incompleteness theorems and here is something I'm having trouble with.
Seemingly, the pre-Gödel understanding of arithmetic can be modeled as $PA+\square$ where $\square$ is a modality meaning "it is provable that". We have as an inference rule that $A \vdash \square A$, so that anything we can prove, we can prove is provable. While completely useless for proving additional facts, the language allows us to express statements like $\neg \square 0=1$ ("$PA + \square$ is consistent"), as well as something we should like to interpret as the second incompleteness theorem, $\square \neg \square 0=1 \implies \square 0 = 1$.
So with this device we can characterize the Hilbertites as believing $\neg \square 0=1$, and any extremists who hold that arithmetic is complete are described by an additional axiom schema $\square X \iff \neg \square \neg X$.
Now here enters my alt-history Gödel with an indisputable proof of the PA-sentence:
$\text{Prov}(\#\{\text{Con}(PA+\square)\}) \iff \neg \text{Con}(PA+\square)$.
But that's not the only thing he accomplished. Apparently, he somehow convinced the rest of the world to also accept the following as an axiom schema:
$\text{Prov}(\#X) \iff \square X$
which combined with the theorem gives us its standard interpretation, that this theory is inconsistent if it can prove its own consistency:
$\square \neg \square 0=1 \iff \square 0=1$
What I am trying to understand is, how did he pull off this amazing trick?
From a modern point of view, I think we can untangle this issue using set theory. We can give a formal definition of exactly what we believe a proof is and then formally show the equivalence of the modality to the arithmetized provability predicate.
Was Gödel's result disputed on a similar basis after its announcement? It seems to me that in order for the result to be accepted by his contemporaries they would have had to all be in prior agreement about what exactly constitutes a formal proof. Otherwise, someone could claim that while the proof of $\text{Prov}(\#\{\text{Con}(PA+\square)\}) \implies \neg \text{Con}(PA+\square)$ is valid, $\text{Con}(T)$ doesn't actually mean $T$ is consistent and $\neg \square 0=1$ still holds.
Was it actually the case that this universal agreement existed or did the lack of it specifically create friction?
Also, what is the best modern resolution of this issue? Going back in time to 1931, what would we say to any doubters?