Failure to reach agreement by August 2 will mean the government will no longer be able to pay all its bills, leaving markets faced with the prospect of the first ever major default by the US, which would threaten its AAA credit rating.