Address the ds-review-bot v6 review on PR #3849: the guard sat before the create branch only, so adopting an already-live identity could still run a session whose history dies at exit. Move it to the top of resolveAgent, where it covers both the live and the create path, and add a rejection test for the live path alongside the existing create-path one.