The ill-fated WorkChoices policy was developed in the context of a widely held belief the government was being “undermined”, new documents reveal.