MafDiagnosticIds
NexusLabs.Needlr.AgentFramework.Analyzers¶
MafDiagnosticIds Class¶
Contains diagnostic IDs for all Needlr Agent Framework analyzers.
Inheritance System.Object 🡒 MafDiagnosticIds
Remarks¶
Agent Framework analyzer codes use the NDLRMAF prefix.
Fields¶
MafDiagnosticIds.AgentFunctionMissingDescription Field¶
NDLRMAF012: A method decorated with [AgentFunction] has no
[System.ComponentModel.Description] attribute.
Field Value¶
MafDiagnosticIds.AgentFunctionParameterMissingDescription Field¶
NDLRMAF013: A parameter of an [AgentFunction] method (other than
CancellationToken) has no [System.ComponentModel.Description] attribute.
Field Value¶
MafDiagnosticIds.AgentFunctionTypesMiswired Field¶
NDLRMAF014: A type listed in FunctionTypes on a [NeedlrAiAgent] has no
methods decorated with [AgentFunction], so the agent silently receives zero tools
from that type.
Field Value¶
MafDiagnosticIds.CyclicHandoffChain Field¶
NDLRMAF004: A cyclic handoff chain was detected (e.g. A → B → A).
Field Value¶
MafDiagnosticIds.DuplicateSequenceOrder Field¶
NDLRMAF006: Two or more agents in the same [AgentSequenceMember] pipeline declare
the same Order value.
Field Value¶
MafDiagnosticIds.GapInSequenceOrder Field¶
NDLRMAF007: The Order values within a named [AgentSequenceMember] pipeline
are not contiguous (a gap exists).
Field Value¶
MafDiagnosticIds.GroupChatTooFewMembers Field¶
NDLRMAF002: [AgentGroupChatMember("g")] group "g" has fewer than two members in this compilation.
Field Value¶
MafDiagnosticIds.HandoffsToSourceNotNeedlrAgent Field¶
NDLRMAF003: A class has [AgentHandoffsTo] but is not itself decorated with [NeedlrAiAgent].
Field Value¶
MafDiagnosticIds.HandoffsToTargetNotNeedlrAgent Field¶
NDLRMAF001: [AgentHandoffsTo(typeof(X))] target type X is not decorated with [NeedlrAiAgent].
Field Value¶
MafDiagnosticIds.OrphanAgent Field¶
NDLRMAF008: A class decorated with [NeedlrAiAgent] participates in no topology
declaration ([AgentHandoffsTo], [AgentGroupChatMember], or
[AgentSequenceMember]).
Field Value¶
MafDiagnosticIds.PreferAgentTerminationConditionForGroupChat Field¶
NDLRMAF011: [WorkflowRunTerminationCondition] is declared on a
[AgentGroupChatMember] class; prefer [AgentTerminationCondition] for group
chat members.
Field Value¶
MafDiagnosticIds.TerminationConditionTypeInvalid Field¶
NDLRMAF010: The conditionType passed to [WorkflowRunTerminationCondition]
or [AgentTerminationCondition] does not implement
IWorkflowTerminationCondition.
Field Value¶
MafDiagnosticIds.UnresolvedFunctionGroupReference Field¶
NDLRMAF005: An agent declares a FunctionGroups entry whose name has no matching
[AgentFunctionGroup("name")] class in this compilation.
Field Value¶
MafDiagnosticIds.WorkflowRunTerminationConditionOnNonAgent Field¶
NDLRMAF009: [WorkflowRunTerminationCondition] is declared on a class that is not
decorated with [NeedlrAiAgent].