Training to recover from verification failures is hard because a recovery trajectory only exists after a failure, and its context comes from that failure. FC-SWE handles this by keeping each attempt's own verifier reward and computing advantage estimates only over trajectories actually executed for a task. This lets RL use failure diagnostics as training signal.
On all 500 SWE-bench Verified tasks, FC-SWE improves a 4B SWE-agent over GRPO from 38.9% to 41.7% at one attempt and from 48.5% to 52.8% at two attempts. Trained on chains of at most two attempts, it reaches 70.7% resolution with eleven test-time attempts. The gains come from conditioning recovery on the failed patch and verifier output, not just from resampling.
The relevance is that repository-level agent training need not discard failed patches. Failed verification output can be turned into training context while preserving each attempt's actual outcome.