migrate-spawn-task

Migrate spawn_task.rs to plan_spawn

Metadata

Statusdone
Assignedagent-111
Agent identityf51439356729d112a6c404803d88015d5b44832c6c584c62b96732b63c2b0c7e
Created2026-04-26T20:26:56.902052313+00:00
Started2026-04-26T20:44:06.631102381+00:00
Completed2026-04-26T21:04:50.183616349+00:00
Tagseval-scheduled

Description

Description

Migrate src/commands/spawn_task.rs (the unified entry point) to call workgraph::dispatch::plan_spawn() rather than constructing the executor + model decision ad-hoc.

File scope: src/commands/spawn_task.rs only. Do NOT touch other spawn sites in this subtask.

Implement directly — do not decompose further.

Validation

  • spawn_task.rs constructs no executor/model decision logic of its own — calls plan_spawn() and consumes plan.executor / plan.model / plan.endpoint
  • Provenance log line emitted on spawn (eprintln! prefixed [spawn_task])
  • cargo build + cargo test pass
  • grep src/commands/spawn_task.rs for direct executor string handling outside plan_spawn → minimal residue (only the plan-consuming wrappers)

Depends on

Required by

Log