migrate-coordinator-agent

Migrate coordinator_agent.rs supervisor spawn to plan_spawn

Metadata

Statusdone
Assignedagent-108
Agent identityf51439356729d112a6c404803d88015d5b44832c6c584c62b96732b63c2b0c7e
Created2026-04-26T20:27:24.918544337+00:00
Started2026-04-26T20:41:00.214835496+00:00
Completed2026-04-26T21:03:56.786051553+00:00
Tagseval-scheduled

Description

Description

Migrate src/commands/service/coordinator_agent.rs (chat-agent supervisor's per-iteration spawn at lines ~319 and ~507) to call workgraph::dispatch::plan_spawn() for executor/model resolution. Replace the requires_native_executor calls with plan_spawn.

File scope: src/commands/service/coordinator_agent.rs only.

Implement directly — do not decompose further.

Validation

  • Both call sites at coordinator_agent.rs:319 and :507 use plan_spawn
  • requires_native_executor calls in coordinator_agent.rs removed (function may stay defined in coordinator.rs as long as no other site calls it)
  • Provenance log line emitted per supervisor iteration spawn
  • cargo build + cargo test pass

Depends on

Required by

Log