forked from vhaudiquet/rhema-claw
fa135acbc6c7f5cbb5fa8a1b561175e744ac04db
The provisioning resolved its target itself: GIT_CONFIG_GLOBAL when set, `.gitconfig` in the home otherwise. That guess is wrong on half the machines git runs on — git's global scope spans both `.gitconfig` and the XDG `~/.config/git/config`, and when the user's identity lives in the XDG file, writing `.gitconfig` shadows it: the daemon's values win silently over the user's, and the guard — which read only the file it was about to write — never saw the existing identity it was built to respect. On this machine the daemon then booted once during testing and the next commit was authored claw <claw@k6>, and pushed. The scope is git's now. Reads and writes run through `git config --global`, so the guard sees whatever a commit would actually carry, from whichever file holds it; writes land in the file git itself picks — the established XDG config when that is the one, `.gitconfig` otherwise. A scope given explicitly pins `GIT_CONFIG_GLOBAL` on the child process only, which keeps the tests isolated without touching the caller's environment. Verified on the machine that was bitten: booting the daemon bare now resolves the defaults and then keeps the user's identity — no file written, the XDG values untouched.
ῥῆμα, "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-host-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 intorhema-rsddispatch.tools/— what runs on the user's machine: therhema-claw-tools-contract(the scoped agent-token allowlist the auth middleware enforces), the shared thin-client code, andrhema-claw-tools-notify.web/claw/— the Nuxt web UI.android/— the Compose Android client.deploy/— the Docker images and the Helm chart.
Languages
Rust
74.9%
Kotlin
13.8%
Vue
7.1%
TypeScript
3%
Dockerfile
0.5%
Other
0.6%