Failure-targeted reinforcement learning guidance: The method trains software agents using textual feedback only on turns where they fail. Combining this feedback with criterion-specific rewards improves difficult behaviors while reducing training instability.