Simply achieve the Algorithm Completed outcome (eliminate the Lord Ameer's Attack, led by the Dauntless Linebreaker by default, and the campaign had went for at least 12 days).
Achieve the Algorithm Completed outcome (eliminate the Lord Ameer's Attack and the campaign had went for at least 12 days) after changing the Attack's leader into "The Ruinbringer" by completing the main and Ending 2 questlines in a single campaign.
Achieve the Algorithm Completed outcome (eliminate the Lord Ameer's Attack and the campaign had went for at least 12 days) after changing the Attack's leader into "Al-Rafiq" by completing the main, Manticore Killer, and Ending 3 questlines in a single campaign.