An insider’s account from the perspectives of those who helped construct America’s counter-terrorism machine — and of its targets.