Skip to content

OpenCode doesn't respect external instructions files when added to opencode.json #4553

@Salloxy

Description

@Salloxy

Description

The docs include a way to add external files to act the same way as AGENTS.md by adding

"{
"$schema": "https://opencode.ai/config.json",
"instructions": ["docs/development-standards.md", "test/testing-guidelines.md", "packages/*/AGENTS.md"]
}"

but when adding this to my global config.json and testing it I see that only AGENTS.md is respected.

OpenCode version

V1.0.80

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

Windows 11

Terminal

Windows Terminal

Metadata

Metadata

Assignees

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