b5ecc1268c6819ef9cc5045fd22767592be193d4
The daemon is PID 1 in its container and the loop watched only ctrl-c. SIGTERM is what a rollout, a `kubectl delete` and a node drain send, and the kernel drops a signal whose init has no handler: `kill -TERM 1` inside the pod left the daemon running. So nothing ever asked the live turns to stop, and however the process ended, it ended with them mid-step: the client's stream dead without an end frame, the record holding a dangling call for the next boot to repair. The loop watches SIGTERM beside ctrl-c now, and the signal can land mid-pass: the pass is a future the loop holds across the select instead of awaiting it bare, so the shutdown arm answers while a turn is still running. It cuts every live turn through the abort registry, which all three handlers listen on, so each turn closes its dangling calls and writes its session back before releasing, the same end the abort route gives it. The pass then has ten seconds to return, and the forge and jobs lanes, which run as tasks off the tick, share that deadline. The binary takes both signals: SIGTERM and SIGINT exit 0 in 25 ms with "shutting down" in the log. The registry's new signal_all is unit-tested across two live keys.
ῥῆμα, "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-rsd, rhema-host-agent, rhema-bash,
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
76.2%
Kotlin
11.7%
Vue
7.8%
TypeScript
3%
Dockerfile
0.6%
Other
0.6%