Skip to content

[BUG] Multiline commands executed by an agent don't get auto approved #10226

@tanevanwifferen

Description

@tanevanwifferen

Problem (one or two sentences)

It's with a quote inside the command I think. We have quoted strings (beads descriptions) that span multiple lines. Even with auto approve for the bd create task in there, the commands don't get auto approved

Context (who is affected and when)

When using commands that span multiple lines (I think quoted strings) and when I want auto approve

Reproduction steps

  1. Install beads
  2. Auto approve beads commands
  3. bd create commands that span multiple lines don't get accepted

Expected result

Multiline commands that are approved and don't use && for other unapproved commands (or other methods to execute multiple commands in one line) should get approved

Actual result

Multiline commands that are approved and that don't use && for other unapproved commands don't get auto approved

Variations tried (optional)

No response

App Version

3.36.16

API Provider (optional)

None

Model Used (optional)

No response

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions