# Variable ExpertAssignmentSchema`Const`

ExpertAssignmentSchema: ZodObject<
{
subtaskId: ZodString;
expertRole: ZodEnum<
{
custom: "custom";
orchestrator: "orchestrator";
code_expert: "code_expert";
architecture_expert: "architecture_expert";
security_expert: "security_expert";
documentation_expert: "documentation_expert";
testing_expert: "testing_expert";
devops_expert: "devops_expert";
research_expert: "research_expert";
pm_expert: "pm_expert";
ux_expert: "ux_expert";
infrastructure_expert: "infrastructure_expert";
},
>;
selectionReason: ZodString;
confidence: ZodNumber;
ictmConfig: ZodOptional<
ZodObject<
{
instructions: ZodString;
context: ZodObject<
{
maxTokens: ZodNumber;
relevanceThreshold: ZodNumber;
includeHistory: ZodBoolean;
pruneStrategy: ZodEnum<
{
importance: "importance";
recency: "recency";
hybrid: "hybrid";
},
>;
},
$strip,
>;
tools: ZodObject<
{
capabilities: ZodArray<ZodString>;
restrictions: ZodOptional<ZodArray<ZodString>>;
},
$strip,
>;
model: ZodObject<
{
provider: ZodOptional<ZodString>;
modelId: ZodOptional<ZodString>;
temperature: ZodOptional<ZodNumber>;
maxTokens: ZodOptional<ZodNumber>;
reasoning: ZodOptional<
ZodEnum<
{
standard: "standard";
minimal: "minimal";
extended: "extended";
},
>,
>;
},
$strip,
>;
metadata: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
},
$strip,
>,
>;
},
$strip,
> = ...

Zod schema for ExpertAssignment.

- Defined in packages/nexus-agents/src/agents/tech-lead-types.ts:276