Skip to content

add new tool git-status and support for --require-clean-branch on filesystem server #1759

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

Open
rednap opened this issue May 13, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@rednap
Copy link

rednap commented May 13, 2025

Is your feature request related to a problem? Please describe.
one of the main concerns when using the filesystem server is untracked changes to files/directories. this feature allows us to ensure the files being changed are in a git repo with a clean branch before making changes.

Describe the solution you'd like
a new tool git-status that can check the working dir git status and return "clean" or "not clean" with a new flag --require-clean-branch. when set filesystem will require a clean git branch when making changes to files/dirs.

Describe alternatives you've considered
Alternatives right now: don't prompt it to do work unless you've manually checked the dir/repo status first. not great. i could ensure it's only working in git repos now with a more fine-tuned configuration. ie: allow access to less directories, but nothing prevents changes to files not yet committed.

Additional context
this would be gold.

@rednap rednap added the enhancement New feature or request label May 13, 2025
rednap pushed a commit to rednap/servers that referenced this issue May 13, 2025
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

No branches or pull requests

1 participant