# Variable SelectionResultSchema`Const`

SelectionResultSchema: ZodObject<
{
primary: ZodObject<
{
expertId: ZodString;
score: ZodNumber;
matchedCapabilities: ZodArray<ZodString>;
reasoning: ZodString;
scoreBreakdown: ZodObject<
{
capabilityScore: ZodNumber;
domainScore: ZodNumber;
weightScore: ZodNumber;
finalScore: ZodNumber;
},
$strip,
>;
},
$strip,
>;
alternatives: ZodArray<
ZodObject<
{
expertId: ZodString;
score: ZodNumber;
matchedCapabilities: ZodArray<ZodString>;
reasoning: ZodString;
scoreBreakdown: ZodObject<
{
capabilityScore: ZodNumber;
domainScore: ZodNumber;
weightScore: ZodNumber;
finalScore: ZodNumber;
},
$strip,
>;
},
$strip,
>,
>;
requiresCollaboration: ZodBoolean;
suggestedPattern: ZodOptional<
ZodEnum<
{
parallel: "parallel";
sequential: "sequential";
review_chain: "review_chain";
pair: "pair";
},
>,
>;
confidence: ZodNumber;
},
$strip,
> = ...

Agents exports - Agent framework, Orchestrator, Experts Split from index.ts for file size compliance (Issue #285)

- Defined in packages/nexus-agents/src/agents/experts/expert-selector-types.ts:136