Skip to content

[Bug]: "Implement" plan button incorrectly re-submits text input from previous clarifying question #1598

@quentinleon

Description

@quentinleon

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/desktop

Steps to reproduce

  1. Instruct the agent to create a plan that involves asking for user input (e.g., "Write a plan to write something to a test.txt file and ask me for input as to what to write. Just a few options like A, B, C.").
  2. The agent responds with a "Questions" prompt, presenting multiple-choice options and a text input field.
  3. Instead of selecting an option, type a custom response into the text input field (e.g., "write hello world").
  4. Click the Submit answers button.
  5. The agent successfully uses the input to generate a plan (titled "Plan: Test File Write Plan").
  6. A "PLAN READY" section appears at the bottom with a blank input field for feedback and an Implement button.
  7. Leave the feedback input field blank and click the Implement button.

Expected behavior

Clicking "Implement" with a blank feedback field should cause the agent to immediately begin executing the generated plan.

Actual behavior

When the "Implement" button is clicked, the text previously entered in step 3 ("write hello world") is automatically submitted as a new user message. The system incorrectly treats this replayed text as feedback on the plan, causing the agent to respond to the redundant input rather than executing the plan.

Impact

Major degradation or frequent failure

Version or commit

0.0.15

Environment

Windows 11

Logs or stack traces

Screenshots, recordings, or supporting files

plan-user-input-replay.mp4

Workaround

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.needs-triageIssue needs maintainer review and initial categorization.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions