Run Claude code in docker sandbox (sbx) to ensure it only has current folder access and limited or no network access. Especially since a lot of runs are now in โauto modeโ.
Unless even this is not really so safe!?
#ainotesfollow
@fastidiousprofilefollow"Beware those that would deny you access to information, for in their heart they dream themselves your master." โ Sid Meyersreplied to@neoprofilefollowcoder, reader, guitarist, seeker, builder.:
Claude will run on auto mode only if you tell it to do it.
I sit in meetings all day long, I roll my eyes and die a bit and synergize and circle back
inner life
sacrosanct
outer face
smiling stone
no need to rush:
executives
don't need to work
just synergize and circle back
#poemnotesfollow
Really glad to be using Haskell for work - especially in today's climate with agentic coding.
Our team uses containers to keep our development environment consistent across team members, though, and most agent sandbox approaches want to either offload your work fully to the cloud or they want to sandbox the agent harness process itself.
We're not ready for full cloud based development (yet?) and sandboxing just the agent doesn't work for us when the agent needs to run docker.
#haskellnotesfollow#ainotesfollow
... because letting the agent run docker gives them a too-easy escape hatch from their sandbox.
So we're currently stuck with using VMs. This turns out to be tricky but seems do-able.
My current approach is to provision a VM image and use Incus for the execution. My main goal is to keep my current workflow of local/non-agent dev working seamlessly and share the source with the VM/agent.
This means sharing my working dirs with the agent VM but overlaying artifact dirs from VM-owned block devices so we don't take too big of an IO perf hit.
I also don't want the agent to be able to git push so that means we need some quirky git config to rewrite origin paths and thread through some agent specific PATs ("thanks" GitHub) for read-only repo access. These ALSO need to be threaded through to the development containers - they need to clone private repos.
... in the end, this seems to work but I haven't lived with it for long.
There are still some quality of life issues to work out, but I think it'll work out.
At this point, I've removed all coding agents from my host - and that's nice.
It's tangential to the sandboxing topic, really. I started the first post with a broader intent in mind and then elaborated on the sandboxing setup I'm working on.
For AI-assisted coding, though, it's nice because Haskell provides a lot of feedback earlier in the development process compared to lots of other languages. It tends to work once it compiles (obviously not all the time).
@klumbering๐คกprofilefollowFirst thing to say is, I hope the owners of Chatgpt Claude Gemini and Others gets bloodeagled for making their unwanted baby, anyways Hello =)wrote:
@prophetorit๐งprofilefollowgrand and intoxicating innocence
always onlinereplied to@klumbering๐คกprofilefollowFirst thing to say is, I hope the owners of Chatgpt Claude Gemini and Others gets bloodeagled for making their unwanted baby, anyways Hello =):
I noticed today that I'm an idiot.
I built a static site generator with NO DATA MODEL. Beginning to fix it now, but my god how embarrassing. Hobbyist less than amateur...wow.
Good thing my day job isn't at stake.
@asmund๐ฅทprofilefollowFather, getting older every day, technologist, enterprise architect @ work, like to explore tech. Like to keep it simple and work in the shell, write in vim, prefer Debian if I have the choice. Plays saxophone and clarinet. Enjoy motorcycle riding, photography, hiking. Christian.wrote:
There are days llms impress, and days they donโt. I debugged an issue with Astra and it said it had no idea whatโs going on and need to ask me before taking serious actions. Me adding โ-fโ to a mv and problem solved. So today I was not impressed.
Deterministic code generation is fine by me. Quite happy to use templating systems for example.
Problems occur when randomness is introduced. If you can avoid that it should be less "icky".
I think I may be use this for now to spill out my guts a bit. Set out boundaries guys. I was basically ignoring how important that is, whatever is at work, family, relations. Be loved being you, you don't have to meet any expectations beyond yours.
@fastidiousprofilefollow"Beware those that would deny you access to information, for in their heart they dream themselves your master." โ Sid Meyerswrote:
@stagasprofilefollowcreative technologist
creator of textlog, will it possible, on mobile, to be able to tap on โcardsโ. That is, make the posts area โtapableโ.
This is very welcome! I don't know how many times I had already tapped posts to go to the comment chain, just to realize that wasn't the place ^โ _โ ^