Conversation
…t webhook Out-of-process supervisor that runs W2A sensors as subprocesses and POSTs each emitted signal to OpenClaw's public /hooks/agent webhook with Bearer auth. Mirrors hermes-sensor-bridge's architecture; differs only in the delivery hop — Bearer + structured payload instead of per-sensor webhook URLs + HMAC. - supervisor: per-sensor reconciliation, hot-reload via fs.watch on ~/.world2agent/config.json, dedup by signal_id, retry on 5xx/network, fail-fast on 4xx, restart-with-backoff on child exit - runner: channel-agnostic (stock startSensor + SDK stdoutTransport) - openclaw-config: auto-discover gateway URL + hook token + session-key prefix from ~/.openclaw/openclaw.json (env overrides supported) - manifest: shared ~/.world2agent/config.json under _openclaw_bridge namespace block; foreign _<runtime> blocks preserved verbatim - skill: 13 host-side bash scripts (bootstrap / install-sensor / remove-sensor / list / status / log / start / stop / read-setup / install-launchd / install-systemd / uninstall-bootstrap) + SKILL.md for conversational install via the user's main agent - e2e: 24 checks covering delivery contract (URL, headers, payload shape, retry behavior) and config-watcher reconcile (spawn on add, terminate on remove)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Out-of-process supervisor that runs W2A sensors as subprocesses and POSTs
each emitted signal to OpenClaw's public /hooks/agent webhook with Bearer
auth. Mirrors hermes-sensor-bridge's architecture; differs only in the
delivery hop — Bearer + structured payload instead of per-sensor webhook
URLs + HMAC.
~/.world2agent/config.json, dedup by signal_id, retry on 5xx/network,
fail-fast on 4xx, restart-with-backoff on child exit
prefix from ~/.openclaw/openclaw.json (env overrides supported)
namespace block; foreign _ blocks preserved verbatim
remove-sensor / list / status / log / start / stop / read-setup /
install-launchd / install-systemd / uninstall-bootstrap) + SKILL.md
for conversational install via the user's main agent
shape, retry behavior) and config-watcher reconcile (spawn on add,
terminate on remove)