Skip to content

Big Pickle overstepping file/directory reference #18910

@fsorodrigues

Description

@fsorodrigues

Description

Unsure if this is the correct place to report a Big Pickle-related bug, but here it goes anyways:

Big Pickle does not respect (or at least oversteps) @ file references. More than once I've seen it receive a file reference a misinterpret it, reading more file than it should have. The mistake is always greedy, never lazy.

Here's a screenshot of the latest example. the context is subdirectory in a kubernetes cluster. I specifically referenced directory apps/ai and file apps/kustomization.yaml, but the tool call uses a greedy glob and reads all files.

Admittedly, apps/kustomization.yaml has a reference to resources in dirs ai and whoami, but this is not the first time I've seen Big Pickle greedily read my files when I specifically pointed it to the references I wanted it to have.

Plugins

none

OpenCode version

1.3.0

Steps to reproduce

  1. Have a directory structure that follows the following structure:
apps/
├── kustomization.yaml (parent)
│   ├── whoami/
│   │   ├── kustomization.yaml
│        ....
│   └── ai/
│       ├── kustomization.yaml
│       ├── namespace.yaml
│       └── ollama/
│           ├── kustomization.yaml
│            ...
  1. Prompt Big Pickle execute a task and use @ references to specifically point to @apps/kustomization.yaml and apps/ai

  2. See model thinking

Screenshot and/or share link

Image

Operating System

MacOS 15.7.4

Terminal

Ghostty

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions