Skip to content

Background terminal completion after attempt_completion should surface as completion response #11901

@hannesrudolph

Description

@hannesrudolph

Summary

When a task has already called attempt_completion and a background terminal command later finishes, the system should surface that completion in a way that aligns with the completion flow instead of only reporting through terminal/command_output paths.

Desired behavior

  • If a background terminal finishes after attempt_completion, the task/completion flow should surface an attempt_completion-style response or equivalent completion result.
  • The task should not silently stay completed while the terminal finishes out-of-band.
  • Keep the UX/model behavior coherent around late terminal completion after a task has declared itself complete.

Notes

Current behavior appears to release the terminal as a background terminal and report later output through terminal status / command_output mechanisms rather than through attempt_completion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions