MafDiagnosticDescriptors
NexusLabs.Foundry.MicrosoftAgentFramework.Analyzers¶
MafDiagnosticDescriptors Class¶
Contains diagnostic descriptors for all Foundry Agent Framework analyzers.
Inheritance System.Object 🡒 MafDiagnosticDescriptors
Fields¶
MafDiagnosticDescriptors.AgentFunctionJsonStringParameter Field¶
FDRYMAF030: [AgentFunction] string parameter described as JSON could be JsonElement.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.AgentFunctionMissingDescription Field¶
FDRYMAF012: [AgentFunction] method has no [Description] attribute.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.AgentFunctionParameterMissingDescription Field¶
FDRYMAF013: Parameter of an [AgentFunction] method is missing a [Description] attribute.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.AgentFunctionTypesMiswired Field¶
FDRYMAF014: A type in FunctionTypes on [FoundryAgent] has no
[AgentFunction] methods.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.CyclicHandoffChain Field¶
FDRYMAF004: A cyclic handoff chain was detected.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.DuplicateSequenceOrder Field¶
FDRYMAF006: Duplicate Order value within the same [AgentSequenceMember] pipeline.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.GapInSequenceOrder Field¶
FDRYMAF007: Gap in Order sequence within the same [AgentSequenceMember] pipeline.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.GraphAllEdgesOptional Field¶
FDRYMAF024: All edges from a fan-out node are optional.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.GraphConditionMethodInvalid Field¶
FDRYMAF028: Condition method not found or invalid signature.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.GraphCycleDetected Field¶
FDRYMAF016: A cycle was detected in an agent graph.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.GraphEdgeSourceNotAgent Field¶
FDRYMAF020: A class has [AgentGraphEdge] but is not a declared agent.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.GraphEdgeTargetNotAgent Field¶
FDRYMAF019: An [AgentGraphEdge] references a target that is not a declared agent.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.GraphEntryPointNotAgent Field¶
FDRYMAF021: A class has [AgentGraphEntry] but is not a declared agent.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.GraphMultipleEntryPoints Field¶
FDRYMAF018: A named agent graph has multiple entry points.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.GraphNoEntryPoint Field¶
FDRYMAF017: A named agent graph has no entry point.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.GraphReducerMethodInvalid Field¶
FDRYMAF029: Reducer method not found or invalid signature.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.GraphTerminalNodeHasOutgoingEdges Field¶
FDRYMAF027: A terminal node has outgoing edges.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.GraphUnreachableAgent Field¶
FDRYMAF022: An agent graph contains unreachable agents.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.GroupChatTooFewMembers Field¶
FDRYMAF002: [AgentGroupChatMember("g")] group "g" has fewer than two members.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.HandoffsToSourceNotFoundryAgent Field¶
FDRYMAF003: A class has [AgentHandoffsTo] but is not decorated with [FoundryAgent].
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.HandoffsToTargetNotFoundryAgent Field¶
FDRYMAF001: [AgentHandoffsTo(typeof(X))] target type X is not decorated with [FoundryAgent].
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.OrphanAgent Field¶
FDRYMAF008: Agent participates in no topology declaration.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.PreferAgentTerminationConditionForGroupChat Field¶
FDRYMAF011: Prefer [AgentTerminationCondition] over
[WorkflowRunTerminationCondition] for group chat members.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.TerminationConditionTypeInvalid Field¶
FDRYMAF010: Condition type does not implement IWorkflowTerminationCondition.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.ToolResultToStringCall Field¶
FDRYMAF015: .ToString() is called on a tool result property that may
contain a JsonElement. Use ToolResultSerializer.Serialize() instead.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.UnresolvedFunctionGroupReference Field¶
FDRYMAF005: An agent declares a FunctionGroups entry with no matching [AgentFunctionGroup] class.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.WaitAnyIncompatibleWithCreateGraphWorkflow Field¶
FDRYMAF025: CreateGraphWorkflow called on a graph that has WaitAny nodes.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.WorkflowRunTerminationConditionOnNonAgent Field¶
FDRYMAF009: [WorkflowRunTerminationCondition] declared on a non-agent class.