>>Are you saying the swearing in of congressmen, presidents, other politicians taking office doesn't include a line "to uphold the independence of the country" or something similar. That would surprise me.
Here is the Oath of Office the new President swears on Jan 20 (with allowances for flubs by the Chief Justice) in full:
"I do solemnly swear (or affirm) that I will faithfully execute the office of President of the United States, and will to the best of my ability, preserve, protect and defend the Constitution of the United States."
Now one could assert that the "defend" bit gets you where you want to go, but there are some problems with this. First the President has sworn to defend the Constitution, as opposed to the physical territory of the US and most folks tend to think of defending the Constitution in other than military terms, for instance by enforcing the civil rights written into the 13th, 14th and 15th Amendments. Then there is the bit I mentioned previously about the US having had a vestigial Army when not actually fighting Wars throughout its first century and a half. Nobody I know of thought that a violation of the Oath of Office, quite the contrary.
As far as the F-22 controversy itself, my suspicion is that either decision will probably turn out all right. Low rate production has the advantage of increased flexibility. Expanding production, provided you have enough time, should be doable if needed, whereas good luck trying to restart production for such a complex craft once it has been shut down.
On the other hand, as I pointed out, 187 aircraft (especially ones as capable as the F-22) is not exactly a militarily insignificant number nor is the F-35, which is to be built in its stead, exactly chopped liver. Another factor is that the scenarios where the US will need the capabilities of the F-22, and nothing else will do, can probably be counted on the fingers of one hand with change left over. By way of contrast, having a whole bunch of stealthy aircraft that are good at ground attack provides a capability that can be used across a broad swath of scenarios: everything from North Korea decides to restart the Korean War to fights like the current one against the Taliban and Bin Laden in "Af-Pak".
Look at it this way, whatever the decision the US will end up fielding both F-22s and F-35s, all the argument really comes down to is what is the optimal precise proportion of each. Either way, I believe, the results are likely to be acceptable.