Developer event routing for agent operations
Rainrail routes development events into agent workflows.
Turn issues, pull requests, project queues, webhook deliveries, and operational signals into deterministic agent tasks with stable contracts between every source, plugin, and runtime.
- Sources
- GitHub, Cloudflare tail, project queues
- Boundary
- Neutral Rainrail event envelope
- Output
- Agent workflow with audit context
Development event
issue.openedrepo: reirei-lab/rainrailNeutral event
rainrail.event.v1source, actor, payload, tracePolicy and plugin routing
workflow: product-sitededupe, assign, observeAgent workflow
codex.issue.implementationbranch, tests, PR, result callbackWhy teams put Rainrail in the middle
Automation stays understandable when the routing is explicit.
Webhook storms become ordered work
Incoming events are normalized before they reach an agent, so retries, duplicate deliveries, and project queue changes are handled as routing decisions instead of improvised scripts.
Contracts stay stable
Source payloads can evolve while workflow plugins keep receiving a predictable event envelope with the context they need to act.
Operators can audit every handoff
Dispatch reasons, assignment choices, and runtime inputs are designed to be visible enough for reviews, incident follow-up, and local replay.
Core workflow
From repository signal to repeatable agent run.
Source adapters capture events
GitHub issues, pull requests, project queues, and runtime telemetry enter through source-specific adapters.
Rainrail normalizes the envelope
Provider details are preserved behind a stable event contract with traceable actor, source, and payload context.
Plugins own the routing logic
Workflow plugins match events, apply policy, and choose the runtime without hard-coding every source to every agent.
Runtimes receive deterministic work
Agents start with explicit instructions, branch context, observable execution state, and a completion path.
Plugin model
Keep integrations small enough to reason about.
Source plugins
Translate provider-specific signals into Rainrail events.
GitHub issueCloudflare tailProject queueWorkflow plugins
Decide what should happen and why.
triageimplementationreview follow-upRuntime providers
Start agents with reproducible input and reporting.
OpenClawCodexlocal runnerInitial content
Read the vocabulary, then trace the operating paths.
Concepts
Learn the event envelope, source plugin, workflow plugin, provider, and bridge room vocabulary before reading implementation contracts.
Guides
Follow the first GitHub issue automation, PR review loop, and Cloudflare event reporting paths at an operator level.
Examples
Trace the GitHub issue to Project queue to agent PR to review and merge workflow end to end.
Build the route before the agent runs