R147 Ask which account the browser is signed in to before a browser login
Before asking a principal to log an agent tool in through the browser, for example by running /login in an agent session, ask the principal which account the browser is signed in to now.
Reason
Such a login completes its authorization in the browser, with the account the browser is signed in to at that moment. Without asking first, the agent tool may end up logged in to an account nobody meant it to use, and which account that is would be a guess rather than a fact looked up (Art. VII §1(2)).
Verification
Before the message that asks the principal to log the tool in, the agent has asked which account the browser is signed in to now, and has the answer.
Violated when an agent asks a principal to log an agent tool in through the browser without first having confirmed which account the browser is signed in to.