Here's how I am thinking of prompt structure for the super worker. Interesting bits:
the memory is passed as prompt, but not to the "out"
the task is separated from the system instruction and the raw material, because it passed to "out" to inform the worker at the next turn of what happened.
the system instruction is what gives the worker its personality/skills and is not passed to "out".