Skip to content

Allow sandbox writes to the pkl package cache - #76

Merged
technicalpickles merged 1 commit into
mainfrom
pkl-sandbox-allow
Oct 18, 2026
Merged

technicalpickles merged 1 commit into
mainfrom
pkl-sandbox-allow

Conversation

@technicalpickles

Copy link
Copy Markdown
Owner

Summary

  • Adds ~/.pkl to the sandbox allowWrite in the git stack, next to the existing hk cache entries.
  • hk configs amends "package://github.com/jdx/hk/...", so pkl needs its package cache writable. Without it, hk validate and pkl eval hk.pkl fail with FileSystemException: ~/.pkl: Operation not permitted inside the sandbox.

Test plan

  • After merge, run ./claudeconfig.sh and confirm mise exec -- pkl eval hk.pkl works from an hk repo inside a sandboxed session.

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@technicalpickles
technicalpickles merged commit bc28657 into main Oct 18, 2026
1 check passed
@technicalpickles
technicalpickles deleted the pkl-sandbox-allow branch October 18, 2026 23:58
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.

1 participant