Auto-configure permissions for make_new_job.sh script#151
Merged
Conversation
Update ClaudeAdapter.sync_permissions() to automatically add the Bash permission for .deepwork/jobs/deepwork_jobs/make_new_job.sh during installation, allowing Claude to run the job creation script.
Update version and changelog for the new installer feature that automatically adds permission for the make_new_job.sh script.
- Revert version from 0.4.3 to 0.4.2 in pyproject.toml - Move make_new_job.sh changelog entry from [0.4.3] to [Unreleased] - Update test assertions to expect 5 permissions (was 4) to account for the new make_new_job.sh permission added by this feature branch
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
This release adds automatic permission configuration for the
make_new_job.shscript during installation, enabling Claude to create new jobs without requiring manual permission setup.Changes
sync_permissions()method inadapters.pyto automatically grant execution permissions for./.deepwork/jobs/deepwork_jobs/make_new_job.shImplementation Details
The change adds a new permission rule to the
sync_permissions()method that grantsBashexecution rights to themake_new_job.shscript. This follows the existing pattern of auto-configuring permissions for deepwork CLI commands and deepwork directory operations, ensuring users don't need to manually add this permission after installation.