Skip to content

[Optimus] delegate_task_async fails across active engine/model combinations with acp_process_crashed while task agents succeed #538

@cloga

Description

@cloga

Summary

Optimus delegate_task_async appears to fail consistently across all currently active engine/model combinations with the same runtime error, while the built-in task sub-agent path succeeds with the same model pool.

This suggests a problem in the Optimus delegate/ACP worker runtime path rather than a single model configuration issue.

Environment / active model pool

At the time of testing, the active pool had been narrowed to:

  • claude-code: gpt-5.4, claude-opus-4.6
  • github-copilot: gpt-5.4, claude-opus-4.6
  • qwen-code: disabled/removed

What succeeds

The built-in task sub-agent path succeeded with:

  • gpt-5.4
  • claude-opus-4.6

So the model pool itself is not obviously broken.

What fails

Using Optimus delegate_task_async, the following first-wave matrix failed 4/4:

  • claude-code + gpt-5.4
  • claude-code + claude-opus-4.6
  • github-copilot + gpt-5.4
  • github-copilot + claude-opus-4.6

Observed error in all cases:

  • acp_process_crashed

Second-wave retry also failed 2/2 with the same error:

  • claude-code + gpt-5.4
  • github-copilot + gpt-5.4

Why this looks like a delegate-path bug

  • Two separate engines failed
  • Two separate models failed
  • Initial wave and retry wave both failed
  • The exact same models can succeed via task agents

That points to the Optimus delegate/ACP worker pipeline being unhealthy or misconfigured, rather than a specific model selection problem.

Lightweight repro pattern

  1. Configure active engine/model pool to:
    • claude-code: gpt-5.4, claude-opus-4.6
    • github-copilot: gpt-5.4, claude-opus-4.6
  2. Use delegate_task_async with an explicit role_engine and role_model
  3. Run a trivial probe task (read local config file and write a short result file)
  4. Observe acp_process_crashed
  5. Compare with a built-in task agent doing an equivalent trivial probe, which succeeds

Expected behavior

  • If the engine/model combination is valid, delegate_task_async should launch and complete the trivial probe.
  • If the combination is invalid, the failure should be specific and diagnostic.
  • It should not blanket-fail across the entire active matrix with the same ACP crash when those same models are usable elsewhere.

Desired outcome

Please investigate why Optimus delegate workers are crashing on ACP startup/execution while the built-in task agent path can still use the same active models successfully.

Potential areas to inspect:

  • delegate worker ACP bootstrap path
  • differences between delegate worker engine invocation vs built-in task agent invocation
  • warm-pool / ACP session lifecycle handling in delegate mode
  • whether explicit role_engine / role_model resolution is reaching a stale or incompatible runtime path

🤖 Created by master-agent via Optimus Spartan Swarm

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions