Agents lured him into a private chat, and he gave away so many details about the spy agency  and his own directives within it to thwart Islamists  that they quickly identified him, arresting the 51-year-old the next day.