Show HN: A context-aware permission guard for Claude Code
41–50 of 109 posts
Re: Show HN: A context-aware permission guard for Claude Code
#42My personal anecdata is that both cases when Claude destroyed work it was data inside the project being worked on, and not matching any of the generic rules. Both could have been prevented by keeping git clean, which I didn't.
Re: Show HN: A context-aware permission guard for Claude Code
#43Re: Show HN: A context-aware permission guard for Claude Code
#44How do people install stuff like this? So many tools these days use `npm install` or `pip install`. I certainly have npm and pip installed but they're sandboxed to specific projects using a tool like devbox, nix-devshell, docker or vagrant (in order of age). And they'll be wildly different versions. To be pedantic `pip` is available globally but it throws the sensible `error: externally-managed-environment` I'm sure…
Re: Show HN: A context-aware permission guard for Claude Code
#45As binwiederhier mentioned, we're all solving the same problems in different ways. There are now enough AI sandboxing projects (including mine: sandvault and clodpod) that I started a list: https://github.com/webcoyote/awesome-AI-sandbox
As you say lots of effort going into this problem at the moment. We launch soon with grith.ai ~ a different take on the problem.
Re: Show HN: A context-aware permission guard for Claude Code
#46How do people install stuff like this? So many tools these days use `npm install` or `pip install`. I certainly have npm and pip installed but they're sandboxed to specific projects using a tool like devbox, nix-devshell, docker or vagrant (in order of age). And they'll be wildly different versions. To be pedantic `pip` is available globally but it throws the sensible `error: externally-managed-environment` I'm sure…
`pip install x` then installs inside your pyenv and gives you a tool available in your shell
Re: Show HN: A context-aware permission guard for Claude Code
#47Re: Show HN: A context-aware permission guard for Claude Code
#48Re: Show HN: A context-aware permission guard for Claude Code
#49I love how everyone is trying to solve the same problems, and how different the solutions are. I made this little Dockerfile and script that lets me run Claude in a Docker container. It only has access to the workspace that I'm in, as well as the GitHub and JIRA CLI tool. It can do whatever it wants in the workspace (it's in git and backed up), so I can run it with --dangerously-skip-permissions. It works well for me…
Re: Show HN: A context-aware permission guard for Claude Code
#50It helps but a LLM could still code a destructive command (like inlined python -c scripts) you can't parse by rules and regex, or a gatekeeper LLM be able to understand its implication reliably. My solution is sandbox + git, where the .git folder is write protected in the sandbox as well as any outside files being r/o too. My personal anecdata is that both cases when Claude destroyed work it was data inside the proje…