kosmos d887026ff6 fix(daemon): run the long lanes off the tick path
`tick` awaited `forge_driver.run_once()` (and the jobs one before it), and
`Driver::run_once` awaits every run it admits. So while a turn was under
way the loop stopped doing everything else: no forge poll, no watch
health, no due task, no calendar reminder, no phone delivery. With a 60s
poll interval and a ten-minute turn, the daemon polled once per turn —
which is why `last_ok_at` sat frozen at 00:35:02 while the turn that
started at 00:35:03 ran. Not a network problem, and not the watch.

Worse in combination with a longer lease: an hour-long turn would freeze
detection for an hour.

Split the pass. The resident loop (`run`) now uses `resident_tick`, which
detects and then hands the forge and jobs passes to their own tasks; the
interactive drain stays inline, since its runs are the chat itself. One
pass per lane at a time — a tick that fires mid-pass leaves its events in
the dispatcher's inbox for the next one, which is the queue the
dispatcher already is; a second concurrent pass would only lose lease
acquisitions to the first. The in-flight flag is cleared by a drop guard,
so a panicking pass cannot strand its lane permanently.

`tick` keeps its exact shape and semantics: `--once` and the tests still
mean "the work happened" when a pass returns, and the forge-line log
(`[claw] pass: N detected, H handled, F failed`) is unchanged there. The
detached passes log without the detected count, which they do not own.
2026-11-22 02:43:27 +01:00
2026-11-12 17:43:08 +01:00
2026-11-19 23:25:16 +01:00
2026-11-19 23:25:16 +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-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 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%