Discussion about this post

User's avatar
Pawel Jozefiak's avatar

The 'lane-aware FIFO queue with one active run per session' detail is what I've been missing. I've been hitting concurrency issues in my own setup - multiple triggers, unclear which session owns the current state.

The JSONL transcript approach for state persistence makes sense. Disk-based durability beats keeping everything in memory when agents restart unexpectedly (which they do, often, for reasons you won't predict in advance).

One thing I'm curious about: how does the Gateway handle priority? If a higher-priority event comes in while a session is mid-run, does it queue and wait, or is there preemption? The docs I've seen are silent on this.

Karthik S's avatar

Thanks, this is super useful stuff! And I finally get what the OpenClaw hype is all about!

Though I find it funny that people jump to anthropomorphise it, when it's just a heartbeat , and a bunch of other triggers that makes it do stuff!

5 more comments...

No posts

Ready for more?