Canberra Raiders coach Ricky Stuart has signed a four-year extension to his contract, keeping him as the club's NRL leader until at least 2029.