アーキテクチャ概要
Provider event から agent execution までを一本の route にする。
Rainrail は event ingestion と workflow selection を分け、各 adapter を小さく、testable に、責任範囲の見える形に保ちます。
Source pluginprovider input を受け取り、Rainrail の event envelope へ正規化します。
RainrailEventEnvelopeevent kind、source、identity、安全に扱える metadata を保持します。
Workflow pluginneutral event を task-specific な agent instruction に対応づけます。
Runtime provider決定的な input と一緒に agent workflow を開始または再開します。
実装契約は engineering docs に残す
Product site は architecture を要約します。payload shape、plugin API signature、retry behavior、runtime semantics は repository docs に置き、実装判断の source of truth をひとつに保ちます。