fix: improve new_user onboarding and reduce permission prompt spam#381
Merged
fix: improve new_user onboarding and reduce permission prompt spam#381
Conversation
…mpt spam - Check for `uv` at start of onboarding, install if missing (macOS/Linux/Windows) - Guide user through /reload-plugins after uv install so MCP server starts - Verify MCP server is reachable before continuing onboarding - Warn macOS users about safe-to-dismiss TCC dialogs - Pre-grant Bash permissions for common plugin operations in setup Addresses issues #3, #10, #11, #12 from onboarding testing. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
… list Replaces MCP_PERMISSION, DEEPWORK_DIR_PERMISSIONS, and BASH_PERMISSIONS with one ALLOW_PERMISSIONS array and a single loop. Test assertions now derive the expected count from the array length instead of hardcoding. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
uvat start of/deepwork:new_useronboarding, installs if missing (macOS/Linux/Windows), and guides user through/reload-pluginsso the MCP server startsdeepwork:*,uvx deepwork:*, uv cache paths) indeepwork setupto eliminate permission prompt spamAddresses issues #3, #10, #11, #12 from onboarding testing. Remaining issues filed in #380.
Test plan
uv run pytest tests/passes (setup test updated for new permission count)/deepwork:new_useron a machine withoutuvinstalled — should install and guide through reload/deepwork:new_useron a machine withuvalready installed — should skip straight to setupuvx deepwork setupadds the new Bash permissions to~/.claude/settings.json🤖 Generated with Claude Code