Despite his long history of supporting the prime minister, the chief cabinet secretary is finding himself increasingly marginalized.