forked from vhaudiquet/rhema-claw
fix/forge-lease-ttl
This branch is 44 commits behind vhaudiquet/rhema-claw:main
The forge dispatcher was assembled on `DispatcherConfig::default()`, whose ten-minute lease TTL is the spec's example value, sized for a single agent step. A forge turn is not a step: it clones the repo, reads it, and may build and test a fix. Nothing renews the lease once the turn is under way — `poll_inbox` renews but is called once, at the start, and the commit hook between tool calls checkpoints, which fails on a lapsed lease rather than extending it — so the TTL is a hard ceiling on a whole turn. Crossing it is silent: the turn dies on its next tool call, the driver's own checkpoint and release then report `Expired`, and the key ends with no outcome recorded, indistinguishable from a pass that found nothing. Give the forge lane its own timing — the library defaults with an hour-long TTL, the same choice the interactive and jobs lanes already make — and use it in both shapes (`--once` included).
ῥῆμα, "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%