Skip to content

Auto-configure permissions for make_new_job.sh script#151

Merged
nhorton merged 6 commits intomainfrom
claude/add-job-script-permissions-gTUMf
Jan 24, 2026
Merged

Auto-configure permissions for make_new_job.sh script#151
nhorton merged 6 commits intomainfrom
claude/add-job-script-permissions-gTUMf

Conversation

@nhorton
Copy link
Contributor

@nhorton nhorton commented Jan 24, 2026

Summary

This release adds automatic permission configuration for the make_new_job.sh script during installation, enabling Claude to create new jobs without requiring manual permission setup.

Changes

  • Version bump: Updated to v0.4.3
  • Permission auto-configuration: Modified the sync_permissions() method in adapters.py to automatically grant execution permissions for ./.deepwork/jobs/deepwork_jobs/make_new_job.sh
  • Installer enhancement: The installer now includes the job creation script in its default permission set, streamlining the initial setup process

Implementation Details

The change adds a new permission rule to the sync_permissions() method that grants Bash execution rights to the make_new_job.sh script. 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.

claude and others added 6 commits January 24, 2026 18:56
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
@nhorton nhorton merged commit bdb7fe0 into main Jan 24, 2026
4 checks passed
@nhorton nhorton deleted the claude/add-job-script-permissions-gTUMf branch January 24, 2026 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants