goose to look around before starting when no .goosehints
When goose cold starts - there are things it can do (which many of us prompt to do) before starting a task, it would be nice to build this in. It can include looking through git if there, examining structure a bit and more.
I like this idea, and other agents are doing something like this.
For instance Warp's Codebase Context feature:
Outline generation works in the following way:
When opening a new terminal pane or changing to a new directory in the terminal, check if this directory is a part of a Git repository.
If it is in a Git repository, extract metadata from each code file in the repository.
Only file types for languages supported by Agent Mode are processed.
Files in .gitignore are not processed.
This metadata currently includes function names in the file, but this may expand.
The first time that a user opens a directory after the Warp application is opened, the outline for the repository is fully generated. Creating an outline for repositories can take a few minutes for large repositories. Codebase context will not be used in Agent Mode queries until the outline is generated.
Cursor calls it Codebase Indexing. Its a basically the same idea, except they're throwing embeddings into a vector db instead of managing a project hints file.
This "read the room on entrance" feature would be a nice behavior, but depending on the user's workflow and the size of the project, it could be annoying and/or expensive. Just another configuration setting if you don't want that.