I think you give the government entirely too much credit for competency.
They made Al Capone, and then they unmade him. It was actually very easy, and I have to believe they learned valuable lessons from that experience.
Then they learned valuable lessons from the WoD, and thus we have the WoT and the TSA fondling crotchal areas, imprisonment with no trial or access to lawyers, warrentless searches and sneak & peek searches without notification.
Unwinnable 'wars' are an anti-civil rights gold mine for the government, both Republicans and Democrats know it and embrace it -- which is why they both vote for the eame anti-freedom legislation. Obama is on year 4, and we received a renewed Patriot Act and Gitmo running at full speed. Obama = Bush = Obama = Bush. The next guy will equal both of them too. Remember, Bush started the bail outs, Obama just finished them. Same action, difference of degree. Thank Regan for his contribution to gun control. Both parties push us in the same direction at different speeds.
Yes the government is generally incompetent, doesn't mean it lacks the ability to intentionally take unconstitutional actions and orchestrate a deliberate long term plan.