# Function createDryRunHandler

- createDryRunHandler(
  node: {
  id: string;
  description: string;
  type: "code" | "test" | "refactor" | "config" | "docs";
  complexity: "complex" | "simple" | "moderate" | "expert";
  capabilities: string[];
  dependsOn: string[];
  sourceRequirement?: string;
  },
  ): (state: Readonly<GraphState>) => Promise<Partial<GraphState>>

  Creates the default dry-run node handler for a subtask. Returns a placeholder string describing the subtask.

  #### Parameters

  - node: {
    id: string;
    description: string;
    type: "code" | "test" | "refactor" | "config" | "docs";
    complexity: "complex" | "simple" | "moderate" | "expert";
    capabilities: string[];
    dependsOn: string[];
    sourceRequirement?: string;
    }

    - ##### id: string

      Unique identifier for this subtask

    - ##### description: string

      Human-readable description of what this subtask does

    - ##### type: "code" | "test" | "refactor" | "config" | "docs"

      The type of work

    - ##### complexity: "complex" | "simple" | "moderate" | "expert"

      Estimated complexity

    - ##### capabilities: string[]

      Required capabilities for the executing agent

    - ##### dependsOn: string[]

      IDs of subtasks this depends on

    - ##### `Optional` sourceRequirement?: string

      Source requirement text that generated this subtask

  #### Returns (state: Readonly<GraphState>) => Promise<Partial<GraphState>>

  - Defined in packages/nexus-agents/src/orchestration/spec-pipeline.ts:24