Skip to content

agents will create empty folders it didn't mean to when using mkdir -p {src,test,...} #3340

@riatzukiza

Description

@riatzukiza

Description

When some models want to create many folders all at once they'll use the syntax:

mkdir -p src/{folder1,folder2,folder3}`

and it will literally create a folder src/{folder1,folder2,folder3}

OpenCode version

0.15.11

Steps to reproduce

as an agent (I've been using big pickle and glm-4.6) to scaffold a module that will require it to create many directories, like trying to consolidate or move several modules

Screenshot and/or share link

No response

Operating System

Ubuntu 24.04

Terminal

Alacritty

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions