Skip to content

[FEATURE]: AGENTS.md startup instructions not executed proactively #21978

@gmarthews

Description

@gmarthews

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Opencode assumes my system, so I must ask it to read the system file I specifically put into the AGENTS.md file. I was hoping that it might know my system each startup by reading this, but apparently it cannot do this without a specific instruction each time to do so.

Maybe unrelated: Reference the issue I found #141 which notes "Injection occurs only when the agent uses the Read tool on a file, not at session start" - the fix expected was that instructions in AGENTS.md should run at startup, not just be read passively into context.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions