both. You get a TaskStarted(executionId, taskId, scopedKey) which connects it all together. Then in each event we just have the taskId and you could have chosen to remember the executionId and/or scopedKey as needed, from the TaskStarted.