Agent job failed but the UI showed a success toast
A real-world bug report: a failed agent job displayed a success toast because the progress component treated both completed and failed as terminal states and called onComplete() without passing status. The fix was passing explicit status and error through the callback. A good reminder that terminal-state signaling should never default to success.