Skip to content

"Safe by default with shell functions" documentation seems wrong? #153

Description

@kevinrenskers

The website has this text:

Safe by default with shell functions
Add these to your shell config and every agent runs inside Safehouse automatically — you don't have to remember. To run without the sandbox, use command claude to bypass the function.

And then has this code:

# ~/.config/fish/config.fish
function safe
    safehouse --add-dirs-ro="$HOME/mywork" $argv
end

# Sandboxed helpers without overriding the original binary names.
function sandbox-claude
    safe claude --dangerously-skip-permissions $argv
end

[...]

I am not sure in what way this fish config makes Claude "safe by default", or how it makes "every agent runs inside Safehouse automatically", without having to remember? You now have to run sandbox-claude instead of safehouse claude, if I'm not mistaken. But claude by itself isn't safe.

It seems the function name should shadow the agent name.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions