The US was very clear in their view that Russia was going to attack, for example.
It really depends on who you are facing if you even get to entrench. For example: NATO's old plans against the Warsaw Pact pretty much always called for the use of nuclear weapons, so no entrenchment there (with the assumption that the larger Warsaw Pact forces would be able to rapidly advance initially, despite some preparation to block progress).