vhaudiquet 1aa8d5578e feat(claw): choose where bash runs, this host or a remote sandbox
The daemon's `bash` always ran on its own host. A deployment that wants
the shell isolated, or on a machine with the project's toolchain, had no
way to say so, and the web settings had no surface for it.

A sandbox choice now persists in the settings table, and the daemon can
be seeded from `sandbox` in claw.yaml. `local` keeps the existing shell;
`http` wraps `rhema-sandbox-http` in a `ShellSandbox` and gives every
handler a `ShellTools` built over it. Chat turns, forge turns, and coding
jobs all read the choice per dispatch, so a switch applies on the next
turn without a restart.

A remote sandbox starts empty. The first command for a workspace probes
`/workspace` and, when it is empty, sends the host workspace as a tarball
through the protocol's seed route. Later edits stay in the sandbox; the
claw does not copy them back.

The web settings gain a System > Sandbox page: the two kinds, the URL and
a write-only token, a forget-token action, and the effective workspace.
`GET /v1/sandbox` never returns the token; `PUT` validates and persists
the choice.

Tests: the sandbox state and config validation, the HTTP route round
trip, and a remote turn that seeds a fresh sandbox and runs its shell
there. fmt, clippy with -D warnings, the workspace tests, and the web
typecheck and build pass.
2026-11-18 21:00:50 +01:00
2026-11-12 17:43:08 +01:00
2026-11-12 17:43:08 +01:00
2026-11-18 20:25:22 +01:00
2026-11-12 17:43:08 +01:00

ῥῆμα, "the spoken word": words that do things.

Rhema Claw

Rhema Claw is the resident tier of the Rhema agent framework: a claw-shaped daemon that watches forges (GitHub, Gitea, GitLab) and calendar feeds, dispatches work to its agents, and serves a chat surface over HTTP — native routes plus an OpenAI-compatible shim, with a web UI and an Android client talking to it.

The framework it embeds (the crates under crates/ it pulls from crates.io: rhema-autonomous-agent, rhema-coding-agent, rhema-rsd, and friends) lives in the rhema repository.

Layout

  • crates/rhema-claw/ — the daemon: forge watches, session dispatch, the chat surface, MCP wiring, and the vision helper. See its README.
  • integrations/ — the feed adapters that normalize forge and calendar activity into rhema-rsd dispatch.
  • tools/ — what runs on the user's machine: the rhema-claw-tools-contract (the scoped agent-token allowlist the auth middleware enforces), the shared thin-client code, and rhema-claw-tools-notify.
  • web/claw/ — the Nuxt web UI.
  • android/ — the Compose Android client.
  • deploy/ — the Docker images and the Helm chart.
S
Description
No description provided
Readme MIT
4.4 MiB
0 Stars 1 Watchers 1 Forks
Languages
Rust 76.8%
Kotlin 12%
Vue 7.2%
TypeScript 3%
Dockerfile 0.5%
Other 0.4%