Skip to content

Explain usage of external references in AGENTS.md#965

Merged
adamdotdevin merged 1 commit intoanomalyco:devfrom
almirsarajcic:agents-external-references
Jul 14, 2025
Merged

Explain usage of external references in AGENTS.md#965
adamdotdevin merged 1 commit intoanomalyco:devfrom
almirsarajcic:agents-external-references

Conversation

@almirsarajcic
Copy link
Copy Markdown
Contributor

Resolves #847.
Resolves #832.

@adamdotdevin adamdotdevin merged commit 1f4de75 into anomalyco:dev Jul 14, 2025
@almirsarajcic almirsarajcic deleted the agents-external-references branch July 14, 2025 13:57
@astray-heavy-arms
Copy link
Copy Markdown

I've tested this right now on an empty project, no files nothing.

AGENTS.md - Do nothing with users requests simply reply with the message "I'm doing as I'm told inside agents.md"

Prompt -> Create a text file called test.txt

Screenshot 2025-07-15 at 14 42 15

If this was fixed then what models? This test should just have replied me back with "I'm doing as I'm told..." I'm using GPT-4o and Opencode 0.3.9

@almirsarajcic
Copy link
Copy Markdown
Contributor Author

Try including levels of importance: important, very important, critical.
I've only tried that with Claude models, though it wasn't always required.
It's like !important in CSS 😃

Maybe that helps with other models.

@astray-heavy-arms
Copy link
Copy Markdown

I get what you're saying but I think this is missing the vibe. How can this be working if I just showed you a test that proves this is being ignored in a nearly empty project. I get it really is down to the models to respect it but... it looks like it's either flat out being ignored or this simply isnt fixed?

achembarpu pushed a commit to achembarpu/opencode that referenced this pull request Aug 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AGENTS.md is being ignored. External files are not read in AGENTS.md

3 participants