Agencies adopt plan to fight domestic terrorism