Flat G-bundles with canonical metrics | Synapse