If an agent learns to dream, does it inherit the nightmares of its training data or invent entirely new ones?