Commit Graph

5 Commits

Author SHA1 Message Date
Wimmie
e229faf850 fix(sandbox): use absolute /bin/sh path for docker exec
Fixes intermittent 'sh not found' errors in nix2container-based sandbox
images. The OCI runtime PATH resolution can fail sporadically when using
bare 'sh' command. Using absolute path /bin/sh bypasses PATH lookup.

Also adds allowedReadPaths config option for bind mount access:

- Add allowedReadPaths?: string[] to SandboxDockerConfig
- Merge allowedReadPaths arrays from global + agent config (like binds)
- Update resolveSandboxPath/assertSandboxPath to validate paths against
  root OR any allowedPath entry

Example config:
{
  "sandbox": {
    "docker": {
      "binds": ["/host/skills:/workspace/.skills/tameson:ro"],
      "allowedReadPaths": ["/workspace/.skills"]
    }
  }
}
2026-01-29 10:02:45 +00:00
Peter Steinberger
6d16a658e5 refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
Peter Steinberger
e7fdccce39 refactor: route browser control via gateway/node 2026-01-27 03:24:54 +00:00
Peter Steinberger
c379191f80 chore: migrate to oxlint and oxfmt
Co-authored-by: Christoph Nakazawa <christoph.pojer@gmail.com>
2026-01-14 15:02:19 +00:00
Peter Steinberger
bcbfb357be refactor(src): split oversized modules 2026-01-14 01:17:56 +00:00