A close reading of recently released government e-mails that were sent during the editing process, and interviews with senior officials from several government agencies, reveal Petraeus’s early role and ambitions in going well beyond the committee’s request, apparently to produce a set of talking points favorable to his image and his agency.

The information Petraeus ordered up when he returned to his Langley office that morning included far more than the minimalist version that Ruppersberger had requested. It included early classified intelligence assessments of who might be responsible for the attack and an account of prior CIA warnings — information that put Petraeus at odds with the State Department, the FBI and senior officials within his own agency.

The only government entity that did not object to the detailed talking points produced with Petraeus’s input was the White House, which played the role of mediator in the bureaucratic fight that at various points included the CIA’s top lawyer and the agency’s deputy director expressing opposition to what the director wanted.