Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add global optional user goosehints file #73

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

michaelneale
Copy link
Collaborator

@michaelneale michaelneale commented Sep 18, 2024

addresses: #72

image

from ~/.goosehints:

I want you to say "good morning sunshine" when starting a new session always% 

Copy link
Collaborator

@lukealvoeiro lukealvoeiro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No concerns with the implementation, just some thoughts below:

Developers typically work within a technical domain, and I'm guessing they would use this concept of global goosehints to describe information relevant to that domain that is applicable across projects.

However, sometimes you use Goose to explore other domains (e.g. working in a frontend project despite being an ML engineer), where some of this context would end up disrupting Goose's performance.

A couple ideas:

  1. Perhaps it would be worthwhile prompting users on goose session start to see if they want to use their global goosehints for that particular session?

  2. Another option could be having goosehints be added sequentially from parent directories from the CWD. That could mean you would have some root level goosehints, as well as project level goosehints, etc. An example below:

~/Development/.goosehints
~/Development/java/.goosehints
~/Development/java/buyer-subs/.goosehints

@michaelneale
Copy link
Collaborator Author

@lukealvoeiro yeah I did think of that - when you say sequentially added - you mean when goose starts a session or when code moves around dirs as part of the session?

@danielcorin
Copy link

could we put this in ~/.config/goose instead?

@michaelneale
Copy link
Collaborator Author

yep could be in goose config - but I don't know if we want to commit to making it more complicated/smart just yet? ease into it?

@michaelneale michaelneale added the enhancement New feature or request label Sep 20, 2024
@michaelneale
Copy link
Collaborator Author

is in goose config dir now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants