For the past few decades there has been a rough consensus about how to run a modern capitalist economy.