The State Store answers a task's effective model aliases (instance aliases with the task org's own over them), deriving the org from the task. Model egress and the run credential resolver use the task's stored org instead of the identity mapping in config.