The army isn't a branch of government - and if you then wish for Defense to be accountable, there's the question of how to allocate money for secret things.
I don't know how other countries do this and if there are better ways to structure this.
In the history of war I find very few examples where an obscure secret technology was the key to military victory.
It's why people like to forget there were three distinct phases to that war. Russia was not always on our side. The outset was bleak, the middle was indeterminate, and the end, the part we like to remember, was when the tide really started going our way.
In any case, we weren't invested in any of those things _before_ the war, so even if you do believe your premise, there's no reason to suspect that we wouldn't be able to do the same in the next conflict. Trying to prognosticate what the next war will look like has led to some embarrassing military defeats throughout history. The military fails to be egalitarian.
Speaking of proximity fuses you should look into what it took to _actually_ get them used on the battlefield as I think it highlights this point. In concert with that I like to think about the "Millennium Challenge 2002." War is won by skilled soldiers not by lavish spending or deep secret technologies.