# Variable TaskDagSchema`Const`

TaskDagSchema: ZodObject<
{
nodes: ZodArray<
ZodObject<
{
id: ZodString;
description: ZodString;
type: ZodEnum<
{
code: "code";
test: "test";
refactor: "refactor";
config: "config";
docs: "docs";
},
>;
complexity: ZodEnum<
{
complex: "complex";
simple: "simple";
moderate: "moderate";
expert: "expert";
},
>;
capabilities: ZodArray<ZodString>;
dependsOn: ZodArray<ZodString>;
sourceRequirement: ZodOptional<ZodString>;
},
$strip,
>,
>;
edges: ZodArray<ZodObject<{ from: ZodString; to: ZodString }, $strip>>;
roots: ZodArray<ZodString>;
totalComplexity: ZodEnum<
{
complex: "complex";
simple: "simple";
moderate: "moderate";
expert: "expert";
},
>;
specTitle: ZodString;
},
$strip,
> = ...

The complete dependency DAG produced by decomposition.

- Defined in packages/nexus-agents/src/orchestration/spec-decomposer-types.ts:60