I'm finding all of the explanations of how to travel with 2 passports on various websites as dual citizen a bit frustrating. The explanation that "you just need to enter/exit on the same passport" is almost never sufficient and overly simplistic for the modern realities of air travel, when one considers API, online check ins, boarding passes on our phones, lack of exit controls in UK and many other places etc.
My plan was this:
1. Pre-departure from UK: When entering the API data for flight to Canada during on-line check-in, I enter my Canadian passport information, download boarding pass to phone.
2. At departure at the airport: As I usually only have carry-on luggage, with boarding pass in hand, I'm ready to go through security. But do I need to track down a human gate agent to show my UK passport on departure to "exit" the UK? Is this necessary?
3. On arrival in Canada, present Canadian passport to immigration control.
4. Pre-departure from Canada: check in for flight to UK, this time using UK passport details for API, download boarding pass.
5. At departure from airport in Canada: same as above, will have boarding pass in hand reflecting presumably updated API data, but again, do I need to track down another ticket agent to "exit" Canada also?
6. On return to UK, present UK passport to border.
Is this the correct sequence? I just get tripped up with understanding how one's exit is recorded if we're updating API mid-trip and without a proper exit control point and often checking in without ever needing to interact with a human being. Or is it not a big deal and I'm over-planning this (which I'm definitely prone to do!)

Thanks in advance for anyone with experience with this!