Skip to content

AgentCyclicHandoffAnalyzer

NexusLabs.Needlr.AgentFramework.Analyzers

AgentCyclicHandoffAnalyzer Class

Analyzer that detects cyclic handoff chains in [AgentHandoffsTo] topology declarations.

public sealed class AgentCyclicHandoffAnalyzer

Inheritance Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer 🡒 AgentCyclicHandoffAnalyzer

Remarks

\<b>NDLRMAF004\</b> (Warning): A cycle was found in the agent handoff graph — for example A → B → A. While MAF may handle runtime termination conditions, a cycle is almost always a topology design error.