Which memory to write to, and which side of the turn to keep.
This block writes the turn as conversation events. What AgentCore then extracts into durable records - preferences, summaries - is decided by the memory's own strategies, not here.
Who it is written for comes from the platform, so there is nothing to configure: each caller's turns go under their own identity.