Repository navigation
Add role-home.sb so safe works on the home role - #65
Merged
Merged
Conversation
On home, ~/.pickles and ~/.gitconfig.d point into ~/github.com/technicalpickles/dotfiles, which common.sb doesn't grant (it only covers the links). Under safe, git couldn't read claude-agent-home and ~/.pickles/bin was EPERM. Grant read-only; write access would reach files that run outside the sandbox later. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
technicalpickles
enabled auto-merge
October 16, 2026 23:12
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
Follow-up to #61. I tried
safeon the home machine for the first time and it fell over on the dotfiles symlinks.~/.picklesand~/.gitconfig.dpoint into~/github.com/technicalpickles/dotfileshere, andcommon.sbonly grants the links, not the target. Result:git configcouldn't readclaude-agent-homeand~/.pickles/binwas EPERM. Work gets this for free through the~/pickletongrant, home had nothing.role-home.sbwith a read-only grant on the checkout. Read-only on purpose, since that checkout is also where rc files andbin/safeitself link into, so write access would reach stuff that runs outside the sandbox later.Test plan
Ran a copy of
bin/safepointed at this branch's profiles, from a scratch dir:git config user.emailnow returns the agent identity,~/.pickles/binlists, andtouchin the checkout is still denied.Signing inside the sandbox on home is still broken: with Automic Vault serving the agent key,
load-agent-ssh-keysskips it and the dedicated agent comes up empty. That's the gap the ADR already calls out, not fixed here.🤖 Generated with Claude Code