Even capital spending (e.g., spending on a satellite that can do X, Y, and Z, or a drone equipment that can blahblahblah) can give away capabilities or allow one to reach a solid conclusion about your current capabilities or new technology you’re looking into.
Arguably the only way to have accountability over this is to have a legislative body that isn’t captured by defense contractor donations but we need some hefty change in SCOTUS and the Senate before we can do that.