-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
Goose reads the hints in the working directory but does not read hints in subdirectories. This is problematic for working in monorepos.
E.g. If you run Goose from the repo-root folder, then Goose reads repo-root/agents.md on startup.
If you direct goose to make changes to the frontend in repo-root/frontend, Goose will start reading and editing files without reading repo-root/frontend/agents.md.
Claude code and cursor do read hints when they access files in subdirectories
I have a draft PR that adds logic to dynamically load hints in subdirectories when Goose reads files in those subdirectories.
It also maintains a turn counter and prunes the hints from the context when Goose hasn't accessed files in the subdirectory in the last N turns.
I'm new to the codebase and leaned heavily on AI to produce the draft PR so I'd like some help assessing if this is the right approach.
- I have verified this does not duplicate an existing feature request