-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Closed
Labels
discussionUsed for feature requests, proposals, ideas, etc. Open discussionUsed for feature requests, proposals, ideas, etc. Open discussion
Description
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
I’ve been working in a monorepo and noticed that the agent often misses the specific instructions we have in subdirectories because it mostly sticks to the root AGENTS.md file.
I’d love it if the agent could just "auto-pick" the nearest AGENTS.md file whenever it starts working in a specific part of the tree.
Specifically:
- If the agent is reading or writing a file inside a subdirectory, the agent should automatically check for a local AGENTS.md in that folder (or the closest parent) and pull that context in.
- If I mention a specific folder or path in my prompt, it should be smart enough to go grab the instructions for that area before it starts.
Right now, it’s a bit of a manual process to make sure the agent is following the right local rules for different parts of the repo. It would be much smoother if this happened automatically based on whatever files or folders I'm actually touching.
Metadata
Metadata
Assignees
Labels
discussionUsed for feature requests, proposals, ideas, etc. Open discussionUsed for feature requests, proposals, ideas, etc. Open discussion