UAT: agents actor run --delegate-to delegation flag not implemented #6616

Open
opened 2026-04-09 22:21:29 +00:00 by HAL9000 · 0 comments
Owner

Bug Report

Feature Area: A2A Protocol — Agent delegation via CLI

Spec Reference

The specification defines agents actor run --delegate-to <ACTOR> as a delegation flag that enables hierarchical task delegation — one agent delegates a task to another agent via the A2A protocol.

Expected Behavior

The agents actor run command should accept a --delegate-to <ACTOR> option that:

  1. Specifies a target actor to delegate the task to
  2. Routes the execution through the A2A protocol to the specified actor
  3. Enables hierarchical A2A delegation (subsessions for delegated tasks)

Example usage:

agents actor run my-orchestrator "analyze this codebase" --delegate-to local/code-analyzer

Actual Behavior

Neither src/cleveragents/cli/commands/actor.py nor src/cleveragents/cli/commands/actor_run.py define a --delegate-to option. The run command signature in both files is identical and contains no delegation support:

# actor.py and actor_run.py - run() command parameters
def run(
    name: ...,
    prompt: ...,
    config: ...,
    output: ...,
    verbose: ...,
    unsafe: ...,
    context: ...,
    context_dir: ...,
    load_context: ...,
    temperature: ...,
    allow_rxpy_in_run_mode: ...,
    skill: ...,
    # ← NO --delegate-to option
) -> None:

Code Location

  • src/cleveragents/cli/commands/actor.pyrun() command (lines ~50-130)
  • src/cleveragents/cli/commands/actor_run.pyrun() command (lines ~20-100)

Note: Both files implement an identical run command, which appears to be a code duplication issue as well.

Additional Context

The A2A facade (src/cleveragents/a2a/facade.py) has no delegation/handoff handler either. The spec defines:

  • Handoff: one agent delegates a task to another agent
  • Delegation: hierarchical task delegation
  • A2A session management: subsessions for delegated tasks

None of these are implemented in the current CLI or facade.

Impact

  • Agents cannot delegate tasks to other agents via the CLI
  • A2A hierarchical delegation is completely non-functional
  • The --delegate-to flag is a core A2A protocol feature for multi-agent workflows

Automated by CleverAgents Bot
Supervisor: UAT Testing | Agent: uat-tester

## Bug Report **Feature Area:** A2A Protocol — Agent delegation via CLI ### Spec Reference The specification defines `agents actor run --delegate-to <ACTOR>` as a delegation flag that enables hierarchical task delegation — one agent delegates a task to another agent via the A2A protocol. ### Expected Behavior The `agents actor run` command should accept a `--delegate-to <ACTOR>` option that: 1. Specifies a target actor to delegate the task to 2. Routes the execution through the A2A protocol to the specified actor 3. Enables hierarchical A2A delegation (subsessions for delegated tasks) Example usage: ```bash agents actor run my-orchestrator "analyze this codebase" --delegate-to local/code-analyzer ``` ### Actual Behavior Neither `src/cleveragents/cli/commands/actor.py` nor `src/cleveragents/cli/commands/actor_run.py` define a `--delegate-to` option. The `run` command signature in both files is identical and contains no delegation support: ```python # actor.py and actor_run.py - run() command parameters def run( name: ..., prompt: ..., config: ..., output: ..., verbose: ..., unsafe: ..., context: ..., context_dir: ..., load_context: ..., temperature: ..., allow_rxpy_in_run_mode: ..., skill: ..., # ← NO --delegate-to option ) -> None: ``` ### Code Location - `src/cleveragents/cli/commands/actor.py` — `run()` command (lines ~50-130) - `src/cleveragents/cli/commands/actor_run.py` — `run()` command (lines ~20-100) Note: Both files implement an identical `run` command, which appears to be a code duplication issue as well. ### Additional Context The A2A facade (`src/cleveragents/a2a/facade.py`) has no delegation/handoff handler either. The spec defines: - **Handoff**: one agent delegates a task to another agent - **Delegation**: hierarchical task delegation - **A2A session management**: subsessions for delegated tasks None of these are implemented in the current CLI or facade. ### Impact - Agents cannot delegate tasks to other agents via the CLI - A2A hierarchical delegation is completely non-functional - The `--delegate-to` flag is a core A2A protocol feature for multi-agent workflows --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: uat-tester
HAL9000 added this to the v3.2.0 milestone 2026-04-09 22:25:26 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cleveragents/cleveragents-core#6616
No description provided.