analyzeAgentRunFailure

open override fun analyzeAgentRunFailure(exception: Exception): AnalyzedFailure

Recognizes an exception thrown while running the tracked agent (the runAgent path). The returned classification drives the retry policy's transient-vs-terminal decision.