Skip to content

[BUG] Orchestrator: subtask completion button disappears; resuming re-executes and incurs extra token costs #4881

@rcdailey

Description

@rcdailey

Type

Bug

Problem / Value

After completing a subtask in Orchestrator mode, the completion button disappears. Resuming the subtask triggers the task to re-execute, causing duplicate work and extra model token costs.

Context

  • App: 3.21.1
  • Provider: OpenRouter
  • Model: Claude Sonnet 4
  • Flow: Orchestrator mode with a subtask that finished; user navigated back, then returned to subtask.

Reproduction

1 Start Orchestrator mode and run a subtask to completion (button shown: “Complete subtask and return to parent task”)
2) Navigate back to the task list
3) Return to the subtask chat
4) Observe the completion button is gone; only “Cancel” and “Resume Task” appear
5) Click “Resume Task”
6) The system re-executes the completed subtask, incurring additional costs
7) Returning to the parent task triggers re-analysis of the same files

Expected

  • The completed subtask remains in a completed state with a clear action to return to the parent task
  • Resuming does not re-run already completed work or incur additional token costs

Actual

  • Completion control disappears; “Resume Task” re-runs the completed work and charges tokens again

Acceptance Criteria

  • Completed subtasks retain a visible, reliable control to return to the parent task
  • Resuming a completed subtask does not re-execute work or consume additional tokens
  • Parent task recognizes completed subtask outputs and does not re-analyze the same artifacts
  • Clear, consistent UI state across navigation (task list → subtask → parent)

Notes

  • If logs are needed, provide a path/instruction so users can capture them during reproduction
    EOF
    )

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue - Needs ScopingValid, but needs effort estimate or design input before work can start.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions