The Experience Provides the Stimulus: How LLM Agents Learn to Stop Producing Bad Code | Synapse