[{"data":1,"prerenderedAt":2513},["ShallowReactive",2],{"navigation_docs":3,"-docs-reference-coordination":968,"-docs-reference-coordination-surround":2508},[4,27,63,129,287,311,893,902,950,964],{"title":5,"path":6,"stem":7,"children":8,"order":10,"icon":11},"Overview","\u002Fdocs\u002Foverview","docs\u002F1.overview\u002Findex",[9,12,18,24],{"title":5,"path":6,"stem":7,"order":10,"icon":11},1,"i-lucide-info",{"title":13,"path":14,"stem":15,"order":16,"icon":17},"Getting Started","\u002Fdocs\u002Foverview\u002Fgetting-started","docs\u002F1.overview\u002F2.getting-started",2,"i-lucide-rocket",{"title":19,"path":20,"stem":21,"order":22,"icon":23},"Contributing","\u002Fdocs\u002Foverview\u002Fcontributing","docs\u002F1.overview\u002F3.contributing",3,"i-lucide-heart",{"title":5,"path":25,"stem":26,"order":10},"\u002Fdocs\u002Foverview\u002F_dir","docs\u002F1.overview\u002F_dir",{"title":28,"path":29,"stem":30,"children":31,"page":62},"Concepts","\u002Fdocs\u002Fconcepts","docs\u002F2.concepts",[32,37,42,47,53,59],{"title":33,"path":34,"stem":35,"order":10,"icon":36},"Events","\u002Fdocs\u002Fconcepts\u002Fevents","docs\u002F2.concepts\u002F1.events","i-lucide-zap",{"title":38,"path":39,"stem":40,"order":16,"icon":41},"Transports","\u002Fdocs\u002Fconcepts\u002Ftransports","docs\u002F2.concepts\u002F2.transports","i-lucide-network",{"title":43,"path":44,"stem":45,"order":22,"icon":46},"Module System","\u002Fdocs\u002Fconcepts\u002Fmodules","docs\u002F2.concepts\u002F3.modules","i-lucide-puzzle",{"title":48,"path":49,"stem":50,"order":51,"icon":52},"Flows","\u002Fdocs\u002Fconcepts\u002Fflows","docs\u002F2.concepts\u002F4.flows",4,"i-lucide-workflow",{"title":54,"path":55,"stem":56,"order":57,"icon":58},"Scheduler","\u002Fdocs\u002Fconcepts\u002Fscheduler","docs\u002F2.concepts\u002F5.scheduler",5,"i-lucide-clock",{"title":28,"path":60,"stem":61,"order":16},"\u002Fdocs\u002Fconcepts\u002F_dir","docs\u002F2.concepts\u002F_dir",false,{"title":64,"path":65,"stem":66,"children":67,"page":62},"Guides","\u002Fdocs\u002Fguides","docs\u002F3.guides",[68,73,77,81,85,89,93,98,104,110,116,122,126],{"title":69,"path":70,"stem":71,"order":10,"icon":72},"Creating a Go App","\u002Fdocs\u002Fguides\u002Fcreating-go-app","docs\u002F3.guides\u002F1.creating-go-app","i-lucide-terminal",{"title":74,"path":75,"stem":76},"E2E tests & demo videos","\u002Fdocs\u002Fguides\u002Fe2e-and-demo-videos","docs\u002F3.guides\u002F10.e2e-and-demo-videos",{"title":78,"path":79,"stem":80,"icon":17},"Deploying to production","\u002Fdocs\u002Fguides\u002Fdeploying-to-production","docs\u002F3.guides\u002F11.deploying-to-production",{"title":82,"path":83,"stem":84,"order":16,"icon":46},"Creating a Go Module","\u002Fdocs\u002Fguides\u002Fcreating-go-module","docs\u002F3.guides\u002F2.creating-go-module",{"title":86,"path":87,"stem":88,"order":22,"icon":36},"Adding Events","\u002Fdocs\u002Fguides\u002Fadding-events-to-go-module","docs\u002F3.guides\u002F3.adding-events-to-go-module",{"title":90,"path":91,"stem":92,"order":51,"icon":52},"FlowDSL to Service","\u002Fdocs\u002Fguides\u002Fflowdsl-to-redelay","docs\u002F3.guides\u002F4.flowdsl-to-redelay",{"title":94,"path":95,"stem":96,"order":57,"icon":97},"Choosing a Transport","\u002Fdocs\u002Fguides\u002Fchoosing-a-transport","docs\u002F3.guides\u002F5.choosing-a-transport","i-lucide-git-branch",{"title":99,"path":100,"stem":101,"order":102,"icon":103},"Module Browser (\u002Fmodules)","\u002Fdocs\u002Fguides\u002Fmodules-browser","docs\u002F3.guides\u002F6.modules-browser",6,"i-lucide-layout-dashboard",{"title":105,"path":106,"stem":107,"order":108,"icon":109},"Running Flows","\u002Fdocs\u002Fguides\u002Frunning-flows","docs\u002F3.guides\u002F7.running-flows",7,"i-lucide-play-circle",{"title":111,"path":112,"stem":113,"order":114,"icon":115},"Trace + Live Observability","\u002Fdocs\u002Fguides\u002Fobservability","docs\u002F3.guides\u002F8.observability",8,"i-lucide-activity",{"title":117,"path":118,"stem":119,"order":120,"icon":121},"Project AI Assistant","\u002Fdocs\u002Fguides\u002Fai-assistant","docs\u002F3.guides\u002F9.ai-assistant",9,"i-lucide-sparkles",{"title":123,"path":124,"stem":125},"Debug taps — trace live data through any node","\u002Fdocs\u002Fguides\u002Fdebug-taps","docs\u002F3.guides\u002F9.debug-taps",{"title":64,"path":127,"stem":128,"order":22},"\u002Fdocs\u002Fguides\u002F_dir","docs\u002F3.guides\u002F_dir",{"title":130,"path":131,"stem":132,"children":133,"page":62},"Reference","\u002Fdocs\u002Freference","docs\u002F4.reference",[134,139,143,148,153,158,163,168,172,177,182,187,193,199,205,210,215,219,225,230,236,242,247,253,259,263,267,273,278,284],{"title":135,"path":136,"stem":137,"order":10,"icon":138},"Go Framework","\u002Fdocs\u002Freference\u002Fgo-framework","docs\u002F4.reference\u002F01.go-framework","i-simple-icons-go",{"title":140,"path":141,"stem":142,"order":16,"icon":46},"Built-in Modules","\u002Fdocs\u002Freference\u002Fgo-modules","docs\u002F4.reference\u002F02.go-modules",{"title":144,"path":145,"stem":146,"order":22,"icon":147},"Domain Addon Modules","\u002Fdocs\u002Freference\u002Fgo-modules-addons","docs\u002F4.reference\u002F03.go-modules-addons","i-lucide-blocks",{"title":149,"path":150,"stem":151,"order":51,"icon":152},"Go Events","\u002Fdocs\u002Freference\u002Fgo-events","docs\u002F4.reference\u002F04.go-events","i-lucide-radio",{"title":154,"path":155,"stem":156,"order":57,"icon":157},"Email Module","\u002Fdocs\u002Freference\u002Fgo-module-email","docs\u002F4.reference\u002F05.go-module-email","i-lucide-mail",{"title":159,"path":160,"stem":161,"order":102,"icon":162},"Go Core & IR","\u002Fdocs\u002Freference\u002Fgo-core","docs\u002F4.reference\u002F06.go-core","i-lucide-cpu",{"title":164,"path":165,"stem":166,"order":108,"icon":167},"Module Definition Files","\u002Fdocs\u002Freference\u002Fgo-module-files","docs\u002F4.reference\u002F07.go-module-files","i-lucide-file-code",{"title":169,"path":170,"stem":171,"order":114,"icon":72},"CLI Reference","\u002Fdocs\u002Freference\u002Fgo-cli","docs\u002F4.reference\u002F08.go-cli",{"title":173,"path":174,"stem":175,"order":120,"icon":176},"Go Formats","\u002Fdocs\u002Freference\u002Fgo-formats","docs\u002F4.reference\u002F09.go-formats","i-lucide-file-json",{"title":178,"path":179,"stem":180,"order":181,"icon":152},"AsyncAPI Module","\u002Fdocs\u002Freference\u002Fgo-asyncapi","docs\u002F4.reference\u002F10.go-asyncapi",10,{"title":183,"path":184,"stem":185,"order":186,"icon":52},"Go FlowDSL","\u002Fdocs\u002Freference\u002Fgo-flowdsl","docs\u002F4.reference\u002F11.go-flowdsl",11,{"title":188,"path":189,"stem":190,"order":191,"icon":192},"FlowDSL Examples","\u002Fdocs\u002Freference\u002Fflowdsl-examples","docs\u002F4.reference\u002F12.flowdsl-examples",12,"i-lucide-file-code-2",{"title":194,"path":195,"stem":196,"order":197,"icon":198},"FlowDSL Sync","\u002Fdocs\u002Freference\u002Fflowdsl-sync","docs\u002F4.reference\u002F13.flowdsl-sync",13,"i-lucide-refresh-cw",{"title":200,"path":201,"stem":202,"order":203,"icon":204},"Node.js Framework","\u002Fdocs\u002Freference\u002Fjs-framework","docs\u002F4.reference\u002F14.js-framework",14,"i-simple-icons-nodedotjs",{"title":206,"path":207,"stem":208,"order":203,"icon":209},"Python Framework","\u002Fdocs\u002Freference\u002Fpy-framework","docs\u002F4.reference\u002F14.py-framework","i-simple-icons-python",{"title":211,"path":212,"stem":213,"order":214,"icon":204},"Node.js Events","\u002Fdocs\u002Freference\u002Fjs-events","docs\u002F4.reference\u002F15.js-events",15,{"title":216,"path":217,"stem":218,"order":214,"icon":209},"Python Events","\u002Fdocs\u002Freference\u002Fpy-events","docs\u002F4.reference\u002F15.py-events",{"title":220,"path":221,"stem":222,"order":223,"icon":224},"go-ai — LLM Providers, Guard, Ledger","\u002Fdocs\u002Freference\u002Fgo-ai","docs\u002F4.reference\u002F16.go-ai",16,"i-lucide-brain-circuit",{"title":226,"path":227,"stem":228,"order":229,"icon":41},"Infrastructure Modules","\u002Fdocs\u002Freference\u002Fgeneric-infra-modules","docs\u002F4.reference\u002F17.generic-infra-modules",17,{"title":231,"path":232,"stem":233,"order":234,"icon":235},"Flow Templates","\u002Fdocs\u002Freference\u002Fflow-templates","docs\u002F4.reference\u002F18.flow-templates",18,"i-lucide-library-big",{"title":237,"path":238,"stem":239,"order":240,"icon":241},"Assistant (chat + handoff)","\u002Fdocs\u002Freference\u002Fassistant","docs\u002F4.reference\u002F19.assistant",19,"i-lucide-messages-square",{"title":243,"path":244,"stem":245,"order":246,"icon":41},"Coordination","\u002Fdocs\u002Freference\u002Fcoordination","docs\u002F4.reference\u002F20.coordination",20,{"title":248,"path":249,"stem":250,"order":251,"icon":252},"Search (vector)","\u002Fdocs\u002Freference\u002Fsearch","docs\u002F4.reference\u002F21.search",21,"i-lucide-search",{"title":254,"path":255,"stem":256,"order":257,"icon":258},"Profiles","\u002Fdocs\u002Freference\u002Fprofiles","docs\u002F4.reference\u002F22.profiles",22,"i-lucide-bookmark",{"title":260,"path":261,"stem":262},"Flow-driven HTTP endpoints","\u002Fdocs\u002Freference\u002Fflow-driven-endpoints","docs\u002F4.reference\u002F23.flow-driven-endpoints",{"title":264,"path":265,"stem":266},"Deployments","\u002Fdocs\u002Freference\u002Fdeployments","docs\u002F4.reference\u002F24.deployments",{"title":268,"path":269,"stem":270,"order":271,"icon":272},"i18n (translations)","\u002Fdocs\u002Freference\u002Fi18n","docs\u002F4.reference\u002F25.i18n",25,"i-lucide-languages",{"title":274,"path":275,"stem":276,"order":277,"icon":152},"WebSockets","\u002Fdocs\u002Freference\u002Fwebsockets","docs\u002F4.reference\u002F26.websockets",26,{"title":279,"path":280,"stem":281,"order":282,"icon":283},"Localized content","\u002Fdocs\u002Freference\u002Flocalized-content","docs\u002F4.reference\u002F27.localized-content",27,"i-lucide-file-text",{"title":130,"path":285,"stem":286,"order":51},"\u002Fdocs\u002Freference\u002F_dir","docs\u002F4.reference\u002F_dir",{"title":288,"path":289,"stem":290,"children":291,"page":62},"Integrations","\u002Fdocs\u002Fintegrations","docs\u002F5.integrations",[292,296,300,304,308],{"title":293,"path":294,"stem":295,"order":10,"icon":52},"FlowDSL","\u002Fdocs\u002Fintegrations\u002Fflowdsl","docs\u002F5.integrations\u002F1.flowdsl",{"title":297,"path":298,"stem":299,"order":16,"icon":283},"OpenAPI","\u002Fdocs\u002Fintegrations\u002Fopenapi","docs\u002F5.integrations\u002F2.openapi",{"title":301,"path":302,"stem":303,"order":22,"icon":152},"AsyncAPI","\u002Fdocs\u002Fintegrations\u002Fasyncapi","docs\u002F5.integrations\u002F3.asyncapi",{"title":305,"path":306,"stem":307},"MCP Integration","\u002Fdocs\u002Fintegrations\u002Fmcp","docs\u002F5.integrations\u002F4.mcp",{"title":288,"path":309,"stem":310,"order":57},"\u002Fdocs\u002Fintegrations\u002F_dir","docs\u002F5.integrations\u002F_dir",{"title":312,"path":313,"stem":314,"children":315},"FlowDSL Node Catalog","\u002Fdocs\u002Fnodes","docs\u002F5.nodes\u002Findex",[316,317,321,325,329,333,337,341,345,349,353,357,361,365,369,373,377,381,385,389,393,397,401,405,409,413,417,421,425,429,433,437,441,445,449,453,457,461,465,469,473,477,481,485,489,493,497,501,505,509,513,517,521,525,529,533,537,541,545,549,553,557,561,565,569,573,577,581,585,589,593,597,601,605,609,613,617,621,625,629,633,637,641,645,649,653,657,661,665,669,673,677,681,685,689,693,697,701,705,709,713,717,721,725,729,733,737,741,745,749,753,757,761,765,769,773,777,781,785,789,793,797,801,805,809,813,817,821,825,829,833,837,841,845,849,853,857,861,865,869,873,877,881,885,889],{"title":312,"path":313,"stem":314},{"title":318,"path":319,"stem":320,"order":57},"Node Catalog","\u002Fdocs\u002Fnodes\u002F_dir","docs\u002F5.nodes\u002F_dir",{"title":322,"path":323,"stem":324},"Record Alert","\u002Fdocs\u002Fnodes\u002Falerts_record","docs\u002F5.nodes\u002Falerts_record",{"title":326,"path":327,"stem":328},"Log to API Log","\u002Fdocs\u002Fnodes\u002Fapilog_record","docs\u002F5.nodes\u002Fapilog_record",{"title":330,"path":331,"stem":332},"ClickHouse Exec","\u002Fdocs\u002Fnodes\u002Fclickhouse_exec","docs\u002F5.nodes\u002Fclickhouse_exec",{"title":334,"path":335,"stem":336},"ClickHouse Insert","\u002Fdocs\u002Fnodes\u002Fclickhouse_insert","docs\u002F5.nodes\u002Fclickhouse_insert",{"title":338,"path":339,"stem":340},"ClickHouse Query","\u002Fdocs\u002Fnodes\u002Fclickhouse_query","docs\u002F5.nodes\u002Fclickhouse_query",{"title":342,"path":343,"stem":344},"Array Op","\u002Fdocs\u002Fnodes\u002Fcore_array-ops","docs\u002F5.nodes\u002Fcore_array-ops",{"title":346,"path":347,"stem":348},"Assert","\u002Fdocs\u002Fnodes\u002Fcore_assert","docs\u002F5.nodes\u002Fcore_assert",{"title":350,"path":351,"stem":352},"Audit Emit","\u002Fdocs\u002Fnodes\u002Fcore_audit-emit","docs\u002F5.nodes\u002Fcore_audit-emit",{"title":354,"path":355,"stem":356},"Catch","\u002Fdocs\u002Fnodes\u002Fcore_catch","docs\u002F5.nodes\u002Fcore_catch",{"title":358,"path":359,"stem":360},"DateTime","\u002Fdocs\u002Fnodes\u002Fcore_datetime","docs\u002F5.nodes\u002Fcore_datetime",{"title":362,"path":363,"stem":364},"Dead Letter","\u002Fdocs\u002Fnodes\u002Fcore_dead-letter","docs\u002F5.nodes\u002Fcore_dead-letter",{"title":366,"path":367,"stem":368},"Delay","\u002Fdocs\u002Fnodes\u002Fcore_delay","docs\u002F5.nodes\u002Fcore_delay",{"title":370,"path":371,"stem":372},"ForEach","\u002Fdocs\u002Fnodes\u002Fcore_foreach","docs\u002F5.nodes\u002Fcore_foreach",{"title":374,"path":375,"stem":376},"Idempotency Key","\u002Fdocs\u002Fnodes\u002Fcore_idempotency-key","docs\u002F5.nodes\u002Fcore_idempotency-key",{"title":378,"path":379,"stem":380},"If","\u002Fdocs\u002Fnodes\u002Fcore_if","docs\u002F5.nodes\u002Fcore_if",{"title":382,"path":383,"stem":384},"Inspect","\u002Fdocs\u002Fnodes\u002Fcore_inspect","docs\u002F5.nodes\u002Fcore_inspect",{"title":386,"path":387,"stem":388},"JSON Merge","\u002Fdocs\u002Fnodes\u002Fcore_json-merge","docs\u002F5.nodes\u002Fcore_json-merge",{"title":390,"path":391,"stem":392},"JSON Schema Validate","\u002Fdocs\u002Fnodes\u002Fcore_json-schema-validate","docs\u002F5.nodes\u002Fcore_json-schema-validate",{"title":394,"path":395,"stem":396},"JSONPath Extract","\u002Fdocs\u002Fnodes\u002Fcore_jsonpath-extract","docs\u002F5.nodes\u002Fcore_jsonpath-extract",{"title":398,"path":399,"stem":400},"Log","\u002Fdocs\u002Fnodes\u002Fcore_log","docs\u002F5.nodes\u002Fcore_log",{"title":402,"path":403,"stem":404},"Math","\u002Fdocs\u002Fnodes\u002Fcore_math","docs\u002F5.nodes\u002Fcore_math",{"title":406,"path":407,"stem":408},"Merge","\u002Fdocs\u002Fnodes\u002Fcore_merge","docs\u002F5.nodes\u002Fcore_merge",{"title":410,"path":411,"stem":412},"Metric Counter","\u002Fdocs\u002Fnodes\u002Fcore_metric-counter","docs\u002F5.nodes\u002Fcore_metric-counter",{"title":414,"path":415,"stem":416},"Metric Gauge","\u002Fdocs\u002Fnodes\u002Fcore_metric-gauge","docs\u002F5.nodes\u002Fcore_metric-gauge",{"title":418,"path":419,"stem":420},"Mock","\u002Fdocs\u002Fnodes\u002Fcore_mock","docs\u002F5.nodes\u002Fcore_mock",{"title":422,"path":423,"stem":424},"No-op","\u002Fdocs\u002Fnodes\u002Fcore_noop","docs\u002F5.nodes\u002Fcore_noop",{"title":426,"path":427,"stem":428},"Object Omit","\u002Fdocs\u002Fnodes\u002Fcore_object-omit","docs\u002F5.nodes\u002Fcore_object-omit",{"title":430,"path":431,"stem":432},"Object Pick","\u002Fdocs\u002Fnodes\u002Fcore_object-pick","docs\u002F5.nodes\u002Fcore_object-pick",{"title":434,"path":435,"stem":436},"Parallel Fan-Out","\u002Fdocs\u002Fnodes\u002Fcore_parallel","docs\u002F5.nodes\u002Fcore_parallel",{"title":438,"path":439,"stem":440},"Raise","\u002Fdocs\u002Fnodes\u002Fcore_raise","docs\u002F5.nodes\u002Fcore_raise",{"title":442,"path":443,"stem":444},"Rate Limit Check","\u002Fdocs\u002Fnodes\u002Fcore_rate-limit-check","docs\u002F5.nodes\u002Fcore_rate-limit-check",{"title":446,"path":447,"stem":448},"Regex Extract","\u002Fdocs\u002Fnodes\u002Fcore_regex-extract","docs\u002F5.nodes\u002Fcore_regex-extract",{"title":450,"path":451,"stem":452},"Require Fields","\u002Fdocs\u002Fnodes\u002Fcore_require-fields","docs\u002F5.nodes\u002Fcore_require-fields",{"title":454,"path":455,"stem":456},"Rethrow","\u002Fdocs\u002Fnodes\u002Fcore_rethrow","docs\u002F5.nodes\u002Fcore_rethrow",{"title":458,"path":459,"stem":460},"Return","\u002Fdocs\u002Fnodes\u002Fcore_return","docs\u002F5.nodes\u002Fcore_return",{"title":462,"path":463,"stem":464},"HMAC Signature Verify","\u002Fdocs\u002Fnodes\u002Fcore_signature-verify","docs\u002F5.nodes\u002Fcore_signature-verify",{"title":466,"path":467,"stem":468},"String Op","\u002Fdocs\u002Fnodes\u002Fcore_string-ops","docs\u002F5.nodes\u002Fcore_string-ops",{"title":470,"path":471,"stem":472},"Subflow Invoke","\u002Fdocs\u002Fnodes\u002Fcore_subflow-invoke","docs\u002F5.nodes\u002Fcore_subflow-invoke",{"title":474,"path":475,"stem":476},"Switch","\u002Fdocs\u002Fnodes\u002Fcore_switch","docs\u002F5.nodes\u002Fcore_switch",{"title":478,"path":479,"stem":480},"Template Render","\u002Fdocs\u002Fnodes\u002Fcore_template-render","docs\u002F5.nodes\u002Fcore_template-render",{"title":482,"path":483,"stem":484},"Throttle","\u002Fdocs\u002Fnodes\u002Fcore_throttle","docs\u002F5.nodes\u002Fcore_throttle",{"title":486,"path":487,"stem":488},"Timeout","\u002Fdocs\u002Fnodes\u002Fcore_timeout","docs\u002F5.nodes\u002Fcore_timeout",{"title":490,"path":491,"stem":492},"Type Cast","\u002Fdocs\u002Fnodes\u002Fcore_type-cast","docs\u002F5.nodes\u002Fcore_type-cast",{"title":494,"path":495,"stem":496},"Webhook Respond","\u002Fdocs\u002Fnodes\u002Fcore_webhook-respond","docs\u002F5.nodes\u002Fcore_webhook-respond",{"title":498,"path":499,"stem":500},"File Delete","\u002Fdocs\u002Fnodes\u002Ffilesys_delete","docs\u002F5.nodes\u002Ffilesys_delete",{"title":502,"path":503,"stem":504},"Directory List","\u002Fdocs\u002Fnodes\u002Ffilesys_list","docs\u002F5.nodes\u002Ffilesys_list",{"title":506,"path":507,"stem":508},"File Read","\u002Fdocs\u002Fnodes\u002Ffilesys_read","docs\u002F5.nodes\u002Ffilesys_read",{"title":510,"path":511,"stem":512},"File Stat","\u002Fdocs\u002Fnodes\u002Ffilesys_stat","docs\u002F5.nodes\u002Ffilesys_stat",{"title":514,"path":515,"stem":516},"File Write","\u002Fdocs\u002Fnodes\u002Ffilesys_write","docs\u002F5.nodes\u002Ffilesys_write",{"title":518,"path":519,"stem":520},"FTP Delete","\u002Fdocs\u002Fnodes\u002Fftp_delete","docs\u002F5.nodes\u002Fftp_delete",{"title":522,"path":523,"stem":524},"FTP Download","\u002Fdocs\u002Fnodes\u002Fftp_download","docs\u002F5.nodes\u002Fftp_download",{"title":526,"path":527,"stem":528},"FTP List","\u002Fdocs\u002Fnodes\u002Fftp_list","docs\u002F5.nodes\u002Fftp_list",{"title":530,"path":531,"stem":532},"FTP Upload","\u002Fdocs\u002Fnodes\u002Fftp_upload","docs\u002F5.nodes\u002Fftp_upload",{"title":534,"path":535,"stem":536},"HTTP DELETE","\u002Fdocs\u002Fnodes\u002Fhttp_delete","docs\u002F5.nodes\u002Fhttp_delete",{"title":538,"path":539,"stem":540},"HTTP GET","\u002Fdocs\u002Fnodes\u002Fhttp_get","docs\u002F5.nodes\u002Fhttp_get",{"title":542,"path":543,"stem":544},"HTTP POST","\u002Fdocs\u002Fnodes\u002Fhttp_post","docs\u002F5.nodes\u002Fhttp_post",{"title":546,"path":547,"stem":548},"HTTP PUT","\u002Fdocs\u002Fnodes\u002Fhttp_put","docs\u002F5.nodes\u002Fhttp_put",{"title":550,"path":551,"stem":552},"HTTP Request","\u002Fdocs\u002Fnodes\u002Fhttp_request","docs\u002F5.nodes\u002Fhttp_request",{"title":554,"path":555,"stem":556},"Fill Translations","\u002Fdocs\u002Fnodes\u002Fi18n_fill-translations","docs\u002F5.nodes\u002Fi18n_fill-translations",{"title":558,"path":559,"stem":560},"Resolve Locale","\u002Fdocs\u002Fnodes\u002Fi18n_resolve-locale","docs\u002F5.nodes\u002Fi18n_resolve-locale",{"title":562,"path":563,"stem":564},"Translate","\u002Fdocs\u002Fnodes\u002Fi18n_translate","docs\u002F5.nodes\u002Fi18n_translate",{"title":566,"path":567,"stem":568},"Mongo AGGREGATE","\u002Fdocs\u002Fnodes\u002Fmongoops_aggregate","docs\u002F5.nodes\u002Fmongoops_aggregate",{"title":570,"path":571,"stem":572},"Mongo DELETE","\u002Fdocs\u002Fnodes\u002Fmongoops_delete","docs\u002F5.nodes\u002Fmongoops_delete",{"title":574,"path":575,"stem":576},"Mongo FIND","\u002Fdocs\u002Fnodes\u002Fmongoops_find","docs\u002F5.nodes\u002Fmongoops_find",{"title":578,"path":579,"stem":580},"Mongo FIND ONE","\u002Fdocs\u002Fnodes\u002Fmongoops_find-one","docs\u002F5.nodes\u002Fmongoops_find-one",{"title":582,"path":583,"stem":584},"Mongo INSERT","\u002Fdocs\u002Fnodes\u002Fmongoops_insert","docs\u002F5.nodes\u002Fmongoops_insert",{"title":586,"path":587,"stem":588},"Mongo UPDATE","\u002Fdocs\u002Fnodes\u002Fmongoops_update","docs\u002F5.nodes\u002Fmongoops_update",{"title":590,"path":591,"stem":592},"Postgres COPY FROM","\u002Fdocs\u002Fnodes\u002Fpostgres_copy-from","docs\u002F5.nodes\u002Fpostgres_copy-from",{"title":594,"path":595,"stem":596},"Postgres Exec","\u002Fdocs\u002Fnodes\u002Fpostgres_exec","docs\u002F5.nodes\u002Fpostgres_exec",{"title":598,"path":599,"stem":600},"Postgres Query","\u002Fdocs\u002Fnodes\u002Fpostgres_query","docs\u002F5.nodes\u002Fpostgres_query",{"title":602,"path":603,"stem":604},"Postgres Transaction","\u002Fdocs\u002Fnodes\u002Fpostgres_transaction","docs\u002F5.nodes\u002Fpostgres_transaction",{"title":606,"path":607,"stem":608},"RabbitMQ Consume","\u002Fdocs\u002Fnodes\u002Frabbitmq_consume","docs\u002F5.nodes\u002Frabbitmq_consume",{"title":610,"path":611,"stem":612},"RabbitMQ Declare","\u002Fdocs\u002Fnodes\u002Frabbitmq_declare","docs\u002F5.nodes\u002Frabbitmq_declare",{"title":614,"path":615,"stem":616},"RabbitMQ Publish","\u002Fdocs\u002Fnodes\u002Frabbitmq_publish","docs\u002F5.nodes\u002Frabbitmq_publish",{"title":618,"path":619,"stem":620},"Auth Login","\u002Fdocs\u002Fnodes\u002Fredelay_auth-login","docs\u002F5.nodes\u002Fredelay_auth-login",{"title":622,"path":623,"stem":624},"Require Permission","\u002Fdocs\u002Fnodes\u002Fredelay_auth-require-permission","docs\u002F5.nodes\u002Fredelay_auth-require-permission",{"title":626,"path":627,"stem":628},"Validate Token","\u002Fdocs\u002Fnodes\u002Fredelay_auth-validate-token","docs\u002F5.nodes\u002Fredelay_auth-validate-token",{"title":630,"path":631,"stem":632},"Render Email Template","\u002Fdocs\u002Fnodes\u002Fredelay_email-render-template","docs\u002F5.nodes\u002Fredelay_email-render-template",{"title":634,"path":635,"stem":636},"Send Email","\u002Fdocs\u002Fnodes\u002Fredelay_email-send","docs\u002F5.nodes\u002Fredelay_email-send",{"title":638,"path":639,"stem":640},"Send Templated Email","\u002Fdocs\u002Fnodes\u002Fredelay_email-send-templated","docs\u002F5.nodes\u002Fredelay_email-send-templated",{"title":642,"path":643,"stem":644},"Event Source","\u002Fdocs\u002Fnodes\u002Fredelay_event-source","docs\u002F5.nodes\u002Fredelay_event-source",{"title":646,"path":647,"stem":648},"Create Group","\u002Fdocs\u002Fnodes\u002Fredelay_groups-create-group","docs\u002F5.nodes\u002Fredelay_groups-create-group",{"title":650,"path":651,"stem":652},"Delete Group","\u002Fdocs\u002Fnodes\u002Fredelay_groups-delete-group","docs\u002F5.nodes\u002Fredelay_groups-delete-group",{"title":654,"path":655,"stem":656},"Resolve Permissions","\u002Fdocs\u002Fnodes\u002Fredelay_groups-resolve-permissions","docs\u002F5.nodes\u002Fredelay_groups-resolve-permissions",{"title":658,"path":659,"stem":660},"Update Group","\u002Fdocs\u002Fnodes\u002Fredelay_groups-update-group","docs\u002F5.nodes\u002Fredelay_groups-update-group",{"title":662,"path":663,"stem":664},"HTTP Endpoint","\u002Fdocs\u002Fnodes\u002Fredelay_http-endpoint","docs\u002F5.nodes\u002Fredelay_http-endpoint",{"title":666,"path":667,"stem":668},"JSON Stream Source","\u002Fdocs\u002Fnodes\u002Fredelay_json-stream-source","docs\u002F5.nodes\u002Fredelay_json-stream-source",{"title":670,"path":671,"stem":672},"JSON → Event","\u002Fdocs\u002Fnodes\u002Fredelay_json-to-event","docs\u002F5.nodes\u002Fredelay_json-to-event",{"title":674,"path":675,"stem":676},"Kafka Produce","\u002Fdocs\u002Fnodes\u002Fredelay_kafka-produce","docs\u002F5.nodes\u002Fredelay_kafka-produce",{"title":678,"path":679,"stem":680},"Create Short Link","\u002Fdocs\u002Fnodes\u002Fredelay_links-create","docs\u002F5.nodes\u002Fredelay_links-create",{"title":682,"path":683,"stem":684},"Delete Short Link","\u002Fdocs\u002Fnodes\u002Fredelay_links-delete","docs\u002F5.nodes\u002Fredelay_links-delete",{"title":686,"path":687,"stem":688},"Resolve Short Link","\u002Fdocs\u002Fnodes\u002Fredelay_links-resolve","docs\u002F5.nodes\u002Fredelay_links-resolve",{"title":690,"path":691,"stem":692},"LLM Chat","\u002Fdocs\u002Fnodes\u002Fredelay_llm-chat","docs\u002F5.nodes\u002Fredelay_llm-chat",{"title":694,"path":695,"stem":696},"LLM Embed","\u002Fdocs\u002Fnodes\u002Fredelay_llm-embed","docs\u002F5.nodes\u002Fredelay_llm-embed",{"title":698,"path":699,"stem":700},"LLM Guard","\u002Fdocs\u002Fnodes\u002Fredelay_llm-guard","docs\u002F5.nodes\u002Fredelay_llm-guard",{"title":702,"path":703,"stem":704},"LLM Tool Router","\u002Fdocs\u002Fnodes\u002Fredelay_llm-tool-router","docs\u002F5.nodes\u002Fredelay_llm-tool-router",{"title":706,"path":707,"stem":708},"NATS Publish","\u002Fdocs\u002Fnodes\u002Fredelay_nats-publish","docs\u002F5.nodes\u002Fredelay_nats-publish",{"title":710,"path":711,"stem":712},"Mark Notification Read","\u002Fdocs\u002Fnodes\u002Fredelay_notifications-mark-read","docs\u002F5.nodes\u002Fredelay_notifications-mark-read",{"title":714,"path":715,"stem":716},"Send Notification","\u002Fdocs\u002Fnodes\u002Fredelay_notifications-send","docs\u002F5.nodes\u002Fredelay_notifications-send",{"title":718,"path":719,"stem":720},"Redis Stream XADD","\u002Fdocs\u002Fnodes\u002Fredelay_redis-stream-publish","docs\u002F5.nodes\u002Fredelay_redis-stream-publish",{"title":722,"path":723,"stem":724},"S3 Copy Object","\u002Fdocs\u002Fnodes\u002Fredelay_s3-copy-object","docs\u002F5.nodes\u002Fredelay_s3-copy-object",{"title":726,"path":727,"stem":728},"S3 Delete Many","\u002Fdocs\u002Fnodes\u002Fredelay_s3-delete-many","docs\u002F5.nodes\u002Fredelay_s3-delete-many",{"title":730,"path":731,"stem":732},"S3 Head Object","\u002Fdocs\u002Fnodes\u002Fredelay_s3-head-object","docs\u002F5.nodes\u002Fredelay_s3-head-object",{"title":734,"path":735,"stem":736},"S3 List Objects","\u002Fdocs\u002Fnodes\u002Fredelay_s3-list-objects","docs\u002F5.nodes\u002Fredelay_s3-list-objects",{"title":738,"path":739,"stem":740},"Create Schedule","\u002Fdocs\u002Fnodes\u002Fredelay_scheduler-create-schedule","docs\u002F5.nodes\u002Fredelay_scheduler-create-schedule",{"title":742,"path":743,"stem":744},"Cron Trigger","\u002Fdocs\u002Fnodes\u002Fredelay_scheduler-cron-trigger","docs\u002F5.nodes\u002Fredelay_scheduler-cron-trigger",{"title":746,"path":747,"stem":748},"Delete Schedule","\u002Fdocs\u002Fnodes\u002Fredelay_scheduler-delete-schedule","docs\u002F5.nodes\u002Fredelay_scheduler-delete-schedule",{"title":750,"path":751,"stem":752},"Interval Trigger","\u002Fdocs\u002Fnodes\u002Fredelay_scheduler-interval-trigger","docs\u002F5.nodes\u002Fredelay_scheduler-interval-trigger",{"title":754,"path":755,"stem":756},"Search Query","\u002Fdocs\u002Fnodes\u002Fredelay_search-query","docs\u002F5.nodes\u002Fredelay_search-query",{"title":758,"path":759,"stem":760},"Search Upsert","\u002Fdocs\u002Fnodes\u002Fredelay_search-upsert","docs\u002F5.nodes\u002Fredelay_search-upsert",{"title":762,"path":763,"stem":764},"Delete Setting","\u002Fdocs\u002Fnodes\u002Fredelay_settings-delete","docs\u002F5.nodes\u002Fredelay_settings-delete",{"title":766,"path":767,"stem":768},"Get Setting","\u002Fdocs\u002Fnodes\u002Fredelay_settings-get","docs\u002F5.nodes\u002Fredelay_settings-get",{"title":770,"path":771,"stem":772},"Set Setting","\u002Fdocs\u002Fnodes\u002Fredelay_settings-set","docs\u002F5.nodes\u002Fredelay_settings-set",{"title":774,"path":775,"stem":776},"Delete File","\u002Fdocs\u002Fnodes\u002Fredelay_storage-delete","docs\u002F5.nodes\u002Fredelay_storage-delete",{"title":778,"path":779,"stem":780},"Download File","\u002Fdocs\u002Fnodes\u002Fredelay_storage-download","docs\u002F5.nodes\u002Fredelay_storage-download",{"title":782,"path":783,"stem":784},"Generate Presigned URL","\u002Fdocs\u002Fnodes\u002Fredelay_storage-presign-url","docs\u002F5.nodes\u002Fredelay_storage-presign-url",{"title":786,"path":787,"stem":788},"Upload File","\u002Fdocs\u002Fnodes\u002Fredelay_storage-upload","docs\u002F5.nodes\u002Fredelay_storage-upload",{"title":790,"path":791,"stem":792},"Subworkflow","\u002Fdocs\u002Fnodes\u002Fredelay_subworkflow","docs\u002F5.nodes\u002Fredelay_subworkflow",{"title":794,"path":795,"stem":796},"Activate User","\u002Fdocs\u002Fnodes\u002Fredelay_users-activate","docs\u002F5.nodes\u002Fredelay_users-activate",{"title":798,"path":799,"stem":800},"Create Pending User","\u002Fdocs\u002Fnodes\u002Fredelay_users-create-pending","docs\u002F5.nodes\u002Fredelay_users-create-pending",{"title":802,"path":803,"stem":804},"Create User","\u002Fdocs\u002Fnodes\u002Fredelay_users-create-user","docs\u002F5.nodes\u002Fredelay_users-create-user",{"title":806,"path":807,"stem":808},"Delete User","\u002Fdocs\u002Fnodes\u002Fredelay_users-delete-user","docs\u002F5.nodes\u002Fredelay_users-delete-user",{"title":810,"path":811,"stem":812},"Find User By Email","\u002Fdocs\u002Fnodes\u002Fredelay_users-find-by-email","docs\u002F5.nodes\u002Fredelay_users-find-by-email",{"title":814,"path":815,"stem":816},"Get User","\u002Fdocs\u002Fnodes\u002Fredelay_users-get-user","docs\u002F5.nodes\u002Fredelay_users-get-user",{"title":818,"path":819,"stem":820},"List Users","\u002Fdocs\u002Fnodes\u002Fredelay_users-list-users","docs\u002F5.nodes\u002Fredelay_users-list-users",{"title":822,"path":823,"stem":824},"Update User","\u002Fdocs\u002Fnodes\u002Fredelay_users-update-user","docs\u002F5.nodes\u002Fredelay_users-update-user",{"title":826,"path":827,"stem":828},"Request Email Verification (legacy)","\u002Fdocs\u002Fnodes\u002Fredelay_verification-request","docs\u002F5.nodes\u002Fredelay_verification-request",{"title":830,"path":831,"stem":832},"Request Email Verification","\u002Fdocs\u002Fnodes\u002Fredelay_verification-request-email","docs\u002F5.nodes\u002Fredelay_verification-request-email",{"title":834,"path":835,"stem":836},"Request SMS Verification","\u002Fdocs\u002Fnodes\u002Fredelay_verification-request-sms","docs\u002F5.nodes\u002Fredelay_verification-request-sms",{"title":838,"path":839,"stem":840},"Verify Token","\u002Fdocs\u002Fnodes\u002Fredelay_verification-verify","docs\u002F5.nodes\u002Fredelay_verification-verify",{"title":842,"path":843,"stem":844},"Redis DEL","\u002Fdocs\u002Fnodes\u002Fredisops_del","docs\u002F5.nodes\u002Fredisops_del",{"title":846,"path":847,"stem":848},"Redis EXPIRE","\u002Fdocs\u002Fnodes\u002Fredisops_expire","docs\u002F5.nodes\u002Fredisops_expire",{"title":850,"path":851,"stem":852},"Redis GET","\u002Fdocs\u002Fnodes\u002Fredisops_get","docs\u002F5.nodes\u002Fredisops_get",{"title":854,"path":855,"stem":856},"Redis HGET","\u002Fdocs\u002Fnodes\u002Fredisops_hget","docs\u002F5.nodes\u002Fredisops_hget",{"title":858,"path":859,"stem":860},"Redis HSET","\u002Fdocs\u002Fnodes\u002Fredisops_hset","docs\u002F5.nodes\u002Fredisops_hset",{"title":862,"path":863,"stem":864},"Redis INCR","\u002Fdocs\u002Fnodes\u002Fredisops_incr","docs\u002F5.nodes\u002Fredisops_incr",{"title":866,"path":867,"stem":868},"Redis LPOP","\u002Fdocs\u002Fnodes\u002Fredisops_lpop","docs\u002F5.nodes\u002Fredisops_lpop",{"title":870,"path":871,"stem":872},"Redis LPUSH","\u002Fdocs\u002Fnodes\u002Fredisops_lpush","docs\u002F5.nodes\u002Fredisops_lpush",{"title":874,"path":875,"stem":876},"Redis PUBLISH","\u002Fdocs\u002Fnodes\u002Fredisops_publish","docs\u002F5.nodes\u002Fredisops_publish",{"title":878,"path":879,"stem":880},"Redis SET","\u002Fdocs\u002Fnodes\u002Fredisops_set","docs\u002F5.nodes\u002Fredisops_set",{"title":882,"path":883,"stem":884},"SFTP Download","\u002Fdocs\u002Fnodes\u002Fsftp_download","docs\u002F5.nodes\u002Fsftp_download",{"title":886,"path":887,"stem":888},"SFTP Upload","\u002Fdocs\u002Fnodes\u002Fsftp_upload","docs\u002F5.nodes\u002Fsftp_upload",{"title":890,"path":891,"stem":892},"Send SMS","\u002Fdocs\u002Fnodes\u002Fsms_send","docs\u002F5.nodes\u002Fsms_send",{"title":894,"path":895,"stem":896,"children":897,"page":62},"Rfcs","\u002Fdocs\u002Frfcs","docs\u002F6.rfcs",[898],{"title":899,"path":900,"stem":901},"RFC 0001 — Worker Assignment for Flow Deployments","\u002Fdocs\u002Frfcs\u002F0001-worker-assignment","docs\u002F6.rfcs\u002F0001-worker-assignment",{"title":903,"path":904,"stem":905,"children":906,"page":62},"Admin","\u002Fdocs\u002Fadmin","docs\u002F7.admin",[907,912,917,922,927,932,937,941,946],{"title":5,"path":908,"stem":909,"order":910,"icon":911},"\u002Fdocs\u002Fadmin\u002Foverview","docs\u002F7.admin\u002F00.overview",0,"i-lucide-compass",{"title":913,"path":914,"stem":915,"order":10,"icon":916},"Getting started","\u002Fdocs\u002Fadmin\u002Fgetting-started","docs\u002F7.admin\u002F01.getting-started","i-lucide-play",{"title":918,"path":919,"stem":920,"order":16,"icon":921},"Layered architecture","\u002Fdocs\u002Fadmin\u002Flayered-architecture","docs\u002F7.admin\u002F02.layered-architecture","i-lucide-layers",{"title":923,"path":924,"stem":925,"order":22,"icon":926},"Building a custom admin project","\u002Fdocs\u002Fadmin\u002Fbuilding-a-custom-admin-project","docs\u002F7.admin\u002F03.building-a-custom-admin-project","i-lucide-folder-plus",{"title":928,"path":929,"stem":930,"order":51,"icon":931},"Building admin modules","\u002Fdocs\u002Fadmin\u002Fbuilding-admin-modules","docs\u002F7.admin\u002F04.building-admin-modules","i-lucide-package-plus",{"title":933,"path":934,"stem":935,"order":57,"icon":936},"Base module reference","\u002Fdocs\u002Fadmin\u002Freference-base-modules","docs\u002F7.admin\u002F05.reference-base-modules","i-lucide-boxes",{"title":938,"path":939,"stem":940,"order":102,"icon":17},"Deployment","\u002Fdocs\u002Fadmin\u002Fdeployment","docs\u002F7.admin\u002F06.deployment",{"title":942,"path":943,"stem":944,"order":108,"icon":945},"Consuming the base layer (versioned)","\u002Fdocs\u002Fadmin\u002Fconsuming-the-base-layer","docs\u002F7.admin\u002F07.consuming-the-base-layer","i-lucide-package",{"title":947,"path":948,"stem":949,"order":108},"Admin UI","\u002Fdocs\u002Fadmin\u002F_dir","docs\u002F7.admin\u002F_dir",{"title":951,"path":952,"stem":953,"children":954,"page":62},"Services","\u002Fdocs\u002Fservices","docs\u002F8.services",[955,960],{"title":956,"path":957,"stem":958,"order":10,"icon":959},"Custom development & support services","\u002Fdocs\u002Fservices\u002Fcustom-development","docs\u002F8.services\u002F1.custom-development","i-lucide-briefcase",{"title":951,"path":961,"stem":962,"icon":959,"order":963},"\u002Fdocs\u002Fservices\u002F_dir","docs\u002F8.services\u002F_dir",80,{"title":965,"path":966,"stem":967,"order":910},"Dir","\u002Fdocs\u002F_dir","docs\u002F_dir",{"id":969,"title":243,"body":970,"description":2501,"extension":2502,"links":2503,"meta":2504,"navigation":2505,"path":244,"seo":2506,"stem":245,"__hash__":2507},"docs\u002Fdocs\u002F4.reference\u002F20.coordination.md",{"type":971,"value":972,"toc":2478},"minimark",[973,981,985,993,996,1080,1099,1103,1177,1181,1275,1284,1306,1309,1326,1330,1333,1405,1414,1419,1456,1460,1467,1476,1542,1556,1610,1619,1623,1628,1744,1748,1752,1767,1774,1830,1842,1846,1864,1868,1872,1902,1908,2015,2021,2025,2058,2064,2186,2190,2222,2226,2233,2247,2250,2303,2307,2401,2404,2422,2426,2434,2457,2461,2467,2474],[974,975,976,977],"p",{},"Package: ",[978,979,980],"code",{},"github.com\u002Fredelay\u002Fgo-framework\u002Fruntime\u002Fcoordination",[982,983,5],"h2",{"id":984},"overview",[974,986,987,988,992],{},"The coordination layer provides transport-agnostic primitives for ",[989,990,991],"strong",{},"cross-container state synchronisation"," in multi-container Redelay deployments (Docker Swarm, Kubernetes, multi-VM).",[974,994,995],{},"It is a deliberately small surface — three concerns, nothing more:",[997,998,999,1015],"table",{},[1000,1001,1002],"thead",{},[1003,1004,1005,1009,1012],"tr",{},[1006,1007,1008],"th",{},"Concern",[1006,1010,1011],{},"Primitive",[1006,1013,1014],{},"Typical use",[1016,1017,1018,1038,1056],"tbody",{},[1003,1019,1020,1026,1035],{},[1021,1022,1023],"td",{},[989,1024,1025],{},"Pub\u002Fsub invalidation",[1021,1027,1028,1031,1032],{},[978,1029,1030],{},"Publish"," \u002F ",[978,1033,1034],{},"Subscribe",[1021,1036,1037],{},"\"Flow X was re-published — every container drop your cached route.\" Fire-and-forget, at-most-once.",[1003,1039,1040,1045,1053],{},[1021,1041,1042],{},[989,1043,1044],{},"Fan-out streams",[1021,1046,1047,1031,1050],{},[978,1048,1049],{},"AppendStream",[978,1051,1052],{},"ReadStream",[1021,1054,1055],{},"Live-mode metrics, run events, ephemeral telemetry. Bounded retention; replay within the window.",[1003,1057,1058,1063,1077],{},[1021,1059,1060],{},[989,1061,1062],{},"Watchable KV",[1021,1064,1065,1031,1068,1031,1071,1031,1074],{},[978,1066,1067],{},"KVSet",[978,1069,1070],{},"KVGet",[978,1072,1073],{},"KVDelete",[978,1075,1076],{},"KVWatch",[1021,1078,1079],{},"Published routes, feature flags, per-tenant config. Small value count, high read rate, low write rate.",[974,1081,1082,1083,1086,1087,1090,1091,1093,1094,1098],{},"This is ",[989,1084,1085],{},"not"," an event bus (use ",[978,1088,1089],{},"go-events"," for business events) and ",[989,1092,1085],{}," a persistence store (Mongo\u002FClickHouse remain authoritative). Coordination is the bus for ",[1095,1096,1097],"em",{},"temporarily-synced state"," that every container must see within tens of milliseconds.",[982,1100,1102],{"id":1101},"when-to-use-which","When to use which",[997,1104,1105,1115],{},[1000,1106,1107],{},[1003,1108,1109,1112],{},[1006,1110,1111],{},"You need...",[1006,1113,1114],{},"Use this",[1016,1116,1117,1131,1139,1152,1165],{},[1003,1118,1119,1126],{},[1021,1120,1121,1122,1125],{},"To publish a domain event (",[978,1123,1124],{},"user.created",")",[1021,1127,1128,1130],{},[978,1129,1089],{}," EventBus",[1003,1132,1133,1136],{},[1021,1134,1135],{},"To persist a record",[1021,1137,1138],{},"Mongo \u002F ClickHouse",[1003,1140,1141,1144],{},[1021,1142,1143],{},"To invalidate a cache across every container",[1021,1145,1146,1149,1150],{},[978,1147,1148],{},"Coordinator.Publish"," or ",[978,1151,1076],{},[1003,1153,1154,1157],{},[1021,1155,1156],{},"To fan out live metrics from one process to many",[1021,1158,1159,1162,1163],{},[978,1160,1161],{},"Coordinator.AppendStream"," + ",[978,1164,1052],{},[1003,1166,1167,1170],{},[1021,1168,1169],{},"To share \"the currently-published route for flow X\"",[1021,1171,1172,1162,1175],{},[978,1173,1174],{},"Coordinator.KVSet",[978,1176,1076],{},[982,1178,1180],{"id":1179},"the-interface","The interface",[1182,1183,1188],"pre",{"className":1184,"code":1185,"language":1186,"meta":1187,"style":1187},"language-go shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","package coordination\n\ntype Coordinator interface {\n    Publish(ctx context.Context, topic string, payload []byte) error\n    Subscribe(ctx context.Context, topic string, handler Handler) (Subscription, error)\n\n    AppendStream(ctx context.Context, stream string, payload []byte) (id string, err error)\n    ReadStream(ctx context.Context, stream string, from StreamPosition) (StreamReader, error)\n\n    KVSet(ctx context.Context, bucket, key string, value []byte) error\n    KVGet(ctx context.Context, bucket, key string) ([]byte, error)\n    KVDelete(ctx context.Context, bucket, key string) error\n    KVWatch(ctx context.Context, bucket, keyPattern string) (KVWatcher, error)\n\n    Ping(ctx context.Context) error\n    Close() error\n}\n","go","",[978,1189,1190,1197,1203,1208,1213,1218,1222,1227,1232,1236,1241,1246,1251,1256,1260,1265,1270],{"__ignoreMap":1187},[1191,1192,1194],"span",{"class":1193,"line":10},"line",[1191,1195,1196],{},"package coordination\n",[1191,1198,1199],{"class":1193,"line":16},[1191,1200,1202],{"emptyLinePlaceholder":1201},true,"\n",[1191,1204,1205],{"class":1193,"line":22},[1191,1206,1207],{},"type Coordinator interface {\n",[1191,1209,1210],{"class":1193,"line":51},[1191,1211,1212],{},"    Publish(ctx context.Context, topic string, payload []byte) error\n",[1191,1214,1215],{"class":1193,"line":57},[1191,1216,1217],{},"    Subscribe(ctx context.Context, topic string, handler Handler) (Subscription, error)\n",[1191,1219,1220],{"class":1193,"line":102},[1191,1221,1202],{"emptyLinePlaceholder":1201},[1191,1223,1224],{"class":1193,"line":108},[1191,1225,1226],{},"    AppendStream(ctx context.Context, stream string, payload []byte) (id string, err error)\n",[1191,1228,1229],{"class":1193,"line":114},[1191,1230,1231],{},"    ReadStream(ctx context.Context, stream string, from StreamPosition) (StreamReader, error)\n",[1191,1233,1234],{"class":1193,"line":120},[1191,1235,1202],{"emptyLinePlaceholder":1201},[1191,1237,1238],{"class":1193,"line":181},[1191,1239,1240],{},"    KVSet(ctx context.Context, bucket, key string, value []byte) error\n",[1191,1242,1243],{"class":1193,"line":186},[1191,1244,1245],{},"    KVGet(ctx context.Context, bucket, key string) ([]byte, error)\n",[1191,1247,1248],{"class":1193,"line":191},[1191,1249,1250],{},"    KVDelete(ctx context.Context, bucket, key string) error\n",[1191,1252,1253],{"class":1193,"line":197},[1191,1254,1255],{},"    KVWatch(ctx context.Context, bucket, keyPattern string) (KVWatcher, error)\n",[1191,1257,1258],{"class":1193,"line":203},[1191,1259,1202],{"emptyLinePlaceholder":1201},[1191,1261,1262],{"class":1193,"line":214},[1191,1263,1264],{},"    Ping(ctx context.Context) error\n",[1191,1266,1267],{"class":1193,"line":223},[1191,1268,1269],{},"    Close() error\n",[1191,1271,1272],{"class":1193,"line":229},[1191,1273,1274],{},"}\n",[974,1276,1277,1280,1281,1283],{},[978,1278,1279],{},"StreamPosition"," has two canonical values plus any opaque ID returned by ",[978,1282,1049],{},":",[1285,1286,1287,1294,1300],"ul",{},[1288,1289,1290,1293],"li",{},[978,1291,1292],{},"coordination.StreamStart"," — replay from the oldest retained entry",[1288,1295,1296,1299],{},[978,1297,1298],{},"coordination.StreamEnd"," — tail only new entries",[1288,1301,1302,1305],{},[978,1303,1304],{},"StreamPosition(id)"," — resume strictly after the given entry",[974,1307,1308],{},"Errors are minimal:",[1285,1310,1311,1320],{},[1288,1312,1313,1316,1317,1319],{},[978,1314,1315],{},"coordination.ErrNotFound"," — returned by ",[978,1318,1070],{}," for missing keys",[1288,1321,1322,1325],{},[978,1323,1324],{},"coordination.ErrClosed"," — returned by operations on a closed Coordinator",[982,1327,1329],{"id":1328},"backends","Backends",[974,1331,1332],{},"Three interchangeable implementations, all conformance-tested against the same test suite:",[997,1334,1335,1348],{},[1000,1336,1337],{},[1003,1338,1339,1342,1345],{},[1006,1340,1341],{},"Backend",[1006,1343,1344],{},"Package",[1006,1346,1347],{},"Best for",[1016,1349,1350,1365,1383],{},[1003,1351,1352,1357,1362],{},[1021,1353,1354],{},[989,1355,1356],{},"noop (in-process)",[1021,1358,1359],{},[978,1360,1361],{},"go-framework\u002Fruntime\u002Fcoordination\u002Fnoop",[1021,1363,1364],{},"Dev, tests, single-container deployments. Stdlib-only, zero external deps.",[1003,1366,1367,1372,1377],{},[1021,1368,1369],{},[989,1370,1371],{},"NATS",[1021,1373,1374],{},[978,1375,1376],{},"go-modules\u002Fcoordination\u002Fnats",[1021,1378,1379,1382],{},[989,1380,1381],{},"Default recommendation."," Core NATS pub\u002Fsub + JetStream streams + JetStream KV in one system. Clean cluster story (3 nodes → HA).",[1003,1384,1385,1390,1395],{},[1021,1386,1387],{},[989,1388,1389],{},"Redis",[1021,1391,1392],{},[978,1393,1394],{},"go-modules\u002Fcoordination\u002Fredis",[1021,1396,1397,1398,1162,1401,1404],{},"When you already run Redis for cache\u002Fsessions. ",[978,1399,1400],{},"PUBLISH\u002FPSUBSCRIBE",[978,1402,1403],{},"XADD\u002FXREAD"," + hash-KV with pub\u002Fsub-backed watch. Redis Cluster–safe via hash-tag key layout.",[974,1406,1407,1408,1413],{},"Every backend passes the same ",[1409,1410,1412],"a",{"href":1411},"#conformance-suite","conformance suite"," so they're behaviourally interchangeable.",[1415,1416,1418],"h3",{"id":1417},"cluster-safety","Cluster safety",[1285,1420,1421,1430],{},[1288,1422,1423,1425,1426,1429],{},[989,1424,1371],{}," — JetStream is cluster-native. Subjects flow across the cluster; KV buckets and streams replicate per ",[978,1427,1428],{},"Replicas"," setting.",[1288,1431,1432,1435,1436,1439,1440,1443,1444,1447,1448,1451,1452,1455],{},[989,1433,1434],{},"Redis Cluster"," — Each KV bucket is a single hash ",[978,1437,1438],{},"coord:kv:{bucket}"," and its pub\u002Fsub notification channel is ",[978,1441,1442],{},"coord:kvn:{bucket}",". The ",[978,1445,1446],{},"{bucket}"," hash tag co-locates both keys on the same slot so ",[978,1449,1450],{},"TxPipeline"," writes + notifications succeed without ",[978,1453,1454],{},"CROSSSLOT"," errors. Streams are single-key, also slot-local.",[982,1457,1459],{"id":1458},"auto-wiring","Auto-wiring",[974,1461,1462,1463,1466],{},"Blank-import the module and pick a backend via the ",[978,1464,1465],{},"COORD"," env var:",[1182,1468,1470],{"className":1184,"code":1469,"language":1186,"meta":1187,"style":1187},"import _ \"github.com\u002Fredelay\u002Fgo-modules\u002Fcoordination\u002Fmodule\"\n",[978,1471,1472],{"__ignoreMap":1187},[1191,1473,1474],{"class":1193,"line":10},[1191,1475,1469],{},[997,1477,1478,1491],{},[1000,1479,1480],{},[1003,1481,1482,1486,1488],{},[1006,1483,1484],{},[978,1485,1465],{},[1006,1487,1341],{},[1006,1489,1490],{},"Extra env vars",[1016,1492,1493,1507,1525],{},[1003,1494,1495,1501,1504],{},[1021,1496,1497,1500],{},[978,1498,1499],{},"noop"," (default)",[1021,1502,1503],{},"In-process",[1021,1505,1506],{},"—",[1003,1508,1509,1514,1516],{},[1021,1510,1511],{},[978,1512,1513],{},"nats",[1021,1515,1371],{},[1021,1517,1518,1521,1522,1125],{},[978,1519,1520],{},"NATS_URL"," (default ",[978,1523,1524],{},"nats:\u002F\u002Flocalhost:4222",[1003,1526,1527,1532,1534],{},[1021,1528,1529],{},[978,1530,1531],{},"redis",[1021,1533,1389],{},[1021,1535,1536,1521,1539,1125],{},[978,1537,1538],{},"REDIS_URL",[978,1540,1541],{},"localhost:6379",[974,1543,1544,1547,1548,1551,1552,1555],{},[978,1545,1546],{},"app.Bootstrap()"," injects the Coordinator into ",[978,1549,1550],{},"ModuleDeps.Coordinator",". Explicit wiring via ",[978,1553,1554],{},"app.WithCoordinator(c)"," always wins over env-based auto-wiring.",[1182,1557,1559],{"className":1184,"code":1558,"language":1186,"meta":1187,"style":1187},"import (\n    \"github.com\u002Fredelay\u002Fgo-framework\u002Fapp\"\n    coordnats \"github.com\u002Fredelay\u002Fgo-modules\u002Fcoordination\u002Fnats\"\n)\n\ncoord, _ := coordnats.New(coordnats.Config{\n    URL:        \"nats:\u002F\u002Fa.internal:4222,nats:\u002F\u002Fb.internal:4222,nats:\u002F\u002Fc.internal:4222\",\n    KVReplicas: 3,\n})\ninst, _ := app.Bootstrap(app.WithCoordinator(coord))\n",[978,1560,1561,1566,1571,1576,1581,1585,1590,1595,1600,1605],{"__ignoreMap":1187},[1191,1562,1563],{"class":1193,"line":10},[1191,1564,1565],{},"import (\n",[1191,1567,1568],{"class":1193,"line":16},[1191,1569,1570],{},"    \"github.com\u002Fredelay\u002Fgo-framework\u002Fapp\"\n",[1191,1572,1573],{"class":1193,"line":22},[1191,1574,1575],{},"    coordnats \"github.com\u002Fredelay\u002Fgo-modules\u002Fcoordination\u002Fnats\"\n",[1191,1577,1578],{"class":1193,"line":51},[1191,1579,1580],{},")\n",[1191,1582,1583],{"class":1193,"line":57},[1191,1584,1202],{"emptyLinePlaceholder":1201},[1191,1586,1587],{"class":1193,"line":102},[1191,1588,1589],{},"coord, _ := coordnats.New(coordnats.Config{\n",[1191,1591,1592],{"class":1193,"line":108},[1191,1593,1594],{},"    URL:        \"nats:\u002F\u002Fa.internal:4222,nats:\u002F\u002Fb.internal:4222,nats:\u002F\u002Fc.internal:4222\",\n",[1191,1596,1597],{"class":1193,"line":114},[1191,1598,1599],{},"    KVReplicas: 3,\n",[1191,1601,1602],{"class":1193,"line":120},[1191,1603,1604],{},"})\n",[1191,1606,1607],{"class":1193,"line":181},[1191,1608,1609],{},"inst, _ := app.Bootstrap(app.WithCoordinator(coord))\n",[974,1611,1612,1613,1615,1616,1618],{},"Unknown ",[978,1614,1465],{}," values and connection failures fall back to ",[978,1617,1499],{}," with a warning — coordination is never on the critical path, so a broker outage must not stall request handling.",[982,1620,1622],{"id":1621},"using-it-in-a-module","Using it in a module",[974,1624,1625,1627],{},[978,1626,1550],{}," is nil when no backend is wired, so always nil-check:",[1182,1629,1631],{"className":1184,"code":1630,"language":1186,"meta":1187,"style":1187},"func (m *Module) Startup(ctx context.Context) error {\n    if m.deps.Coordinator == nil {\n        return nil \u002F\u002F single-process mode — nothing to do\n    }\n    go m.watchRoutes(ctx)\n    return nil\n}\n\nfunc (m *Module) watchRoutes(ctx context.Context) {\n    w, err := m.deps.Coordinator.KVWatch(ctx, \"published-routes\", \"*\")\n    if err != nil {\n        m.logger.Warn(\"coord watch failed; falling back to polling\", zap.Error(err))\n        return\n    }\n    defer w.Close()\n    for e := range w.Events() {\n        if e.Deleted {\n            m.cache.Delete(e.Key)\n            continue\n        }\n        m.cache.Set(e.Key, e.Value)\n    }\n}\n",[978,1632,1633,1638,1643,1648,1653,1658,1663,1667,1671,1676,1681,1686,1691,1696,1700,1705,1710,1715,1720,1725,1730,1735,1739],{"__ignoreMap":1187},[1191,1634,1635],{"class":1193,"line":10},[1191,1636,1637],{},"func (m *Module) Startup(ctx context.Context) error {\n",[1191,1639,1640],{"class":1193,"line":16},[1191,1641,1642],{},"    if m.deps.Coordinator == nil {\n",[1191,1644,1645],{"class":1193,"line":22},[1191,1646,1647],{},"        return nil \u002F\u002F single-process mode — nothing to do\n",[1191,1649,1650],{"class":1193,"line":51},[1191,1651,1652],{},"    }\n",[1191,1654,1655],{"class":1193,"line":57},[1191,1656,1657],{},"    go m.watchRoutes(ctx)\n",[1191,1659,1660],{"class":1193,"line":102},[1191,1661,1662],{},"    return nil\n",[1191,1664,1665],{"class":1193,"line":108},[1191,1666,1274],{},[1191,1668,1669],{"class":1193,"line":114},[1191,1670,1202],{"emptyLinePlaceholder":1201},[1191,1672,1673],{"class":1193,"line":120},[1191,1674,1675],{},"func (m *Module) watchRoutes(ctx context.Context) {\n",[1191,1677,1678],{"class":1193,"line":181},[1191,1679,1680],{},"    w, err := m.deps.Coordinator.KVWatch(ctx, \"published-routes\", \"*\")\n",[1191,1682,1683],{"class":1193,"line":186},[1191,1684,1685],{},"    if err != nil {\n",[1191,1687,1688],{"class":1193,"line":191},[1191,1689,1690],{},"        m.logger.Warn(\"coord watch failed; falling back to polling\", zap.Error(err))\n",[1191,1692,1693],{"class":1193,"line":197},[1191,1694,1695],{},"        return\n",[1191,1697,1698],{"class":1193,"line":203},[1191,1699,1652],{},[1191,1701,1702],{"class":1193,"line":214},[1191,1703,1704],{},"    defer w.Close()\n",[1191,1706,1707],{"class":1193,"line":223},[1191,1708,1709],{},"    for e := range w.Events() {\n",[1191,1711,1712],{"class":1193,"line":229},[1191,1713,1714],{},"        if e.Deleted {\n",[1191,1716,1717],{"class":1193,"line":234},[1191,1718,1719],{},"            m.cache.Delete(e.Key)\n",[1191,1721,1722],{"class":1193,"line":240},[1191,1723,1724],{},"            continue\n",[1191,1726,1727],{"class":1193,"line":246},[1191,1728,1729],{},"        }\n",[1191,1731,1732],{"class":1193,"line":251},[1191,1733,1734],{},"        m.cache.Set(e.Key, e.Value)\n",[1191,1736,1737],{"class":1193,"line":257},[1191,1738,1652],{},[1191,1740,1742],{"class":1193,"line":1741},23,[1191,1743,1274],{},[982,1745,1747],{"id":1746},"built-in-uses","Built-in uses",[1415,1749,1751],{"id":1750},"live-mode-metrics-fan-out-flowexec","Live-mode metrics fan-out (flowexec)",[974,1753,1754,1755,1758,1759,1762,1763,1766],{},"When a Coordinator is wired, flowexec's ",[978,1756,1757],{},"inproc.Sink"," forwards every flushed ",[978,1760,1761],{},"metrics.Frame"," to the coordination stream ",[978,1764,1765],{},"live:\u003CflowID>",". The Studio's Live-mode SSE handler reads from that stream, so runs executed on any container surface in the admin-api's canvas within one tick (~1 s).",[974,1768,1769,1770,1773],{},"See ",[1409,1771,1772],{"href":106},"Running flows"," for the operational story. Internally:",[1285,1775,1776,1799,1816],{},[1288,1777,1778,1781,1782,1785,1786,1794,1795,1798],{},[989,1779,1780],{},"Emit"," — ",[978,1783,1784],{},"coord.AppendStream(ctx, \"live:\"+flowID, frameJSON)"," via ",[1409,1787,1791],{"href":1788,"rel":1789},"https:\u002F\u002Fgithub.com\u002Fredelay\u002Fgo-flowdsl\u002Fblob\u002Fmain\u002Fflowexec\u002Fmodule\u002Fcoord_forward.go",[1790],"nofollow",[978,1792,1793],{},"coordFrameSink"," wired into ",[978,1796,1797],{},"inproc.Options.Downstream",".",[1288,1800,1801,1781,1804,1807,1808,1811,1812,1815],{},[989,1802,1803],{},"Read",[978,1805,1806],{},"handleFlowLiveSSE"," (in ",[978,1809,1810],{},"flowexec\u002Fmodule\u002Fadmin",") calls ",[978,1813,1814],{},"coord.ReadStream(ctx, \"live:\"+flowID, StreamEnd)"," when a Coordinator is available; falls back to the local in-proc aggregator otherwise.",[1288,1817,1818,1821,1822,1825,1826,1829],{},[989,1819,1820],{},"Filter"," — frames with no node activity, no edge traffic, and no ",[978,1823,1824],{},"versionHash"," are dropped at the producer (",[978,1827,1828],{},"frameHasSignal",") so idle aggregators in containers that aren't running the flow don't pollute the stream.",[974,1831,1769,1832,1836,1837,1841],{},[1409,1833,1835],{"href":1834},"\u002Fdocs\u002Freference\u002Fgo-flowdsl#cross-container-live-metrics-fan-out","go-flowdsl → Cross-container live-metrics fan-out","\nfor the component-level breakdown and ",[1409,1838,1840],{"href":1839},"\u002Fdocs\u002Freference\u002Fgo-flowdsl#module-http-surface-public-vs-admin","go-flowdsl → Module HTTP surface","\nfor the admin-only route table.",[1415,1843,1845],{"id":1844},"future-published-route-invalidation","Future — published-route invalidation",[974,1847,1848,1851,1852,1855,1856,1859,1860,1863],{},[978,1849,1850],{},"flowexec"," will switch ",[978,1853,1854],{},"PublishedRoute"," lookups to ",[978,1857,1858],{},"KVWatch(\"routes\", \"*\")"," so every container picks up ",[978,1861,1862],{},"POST \u002Fflows\u002F:id\u002Fpublish"," within ~20 ms instead of waiting for the Mongo poll interval. Same pattern applies to any module that caches \"which version is live\" per flow.",[982,1865,1867],{"id":1866},"configuration-reference","Configuration reference",[1415,1869,1871],{"id":1870},"nats-backend","NATS backend",[997,1873,1874,1887],{},[1000,1875,1876],{},[1003,1877,1878,1881,1884],{},[1006,1879,1880],{},"Variable",[1006,1882,1883],{},"Description",[1006,1885,1886],{},"Default",[1016,1888,1889],{},[1003,1890,1891,1895,1898],{},[1021,1892,1893],{},[978,1894,1520],{},[1021,1896,1897],{},"Server URL or comma-separated cluster URLs",[1021,1899,1900],{},[978,1901,1524],{},[974,1903,1904,1907],{},[978,1905,1906],{},"coordnats.Config"," fields (for direct wiring):",[997,1909,1910,1921],{},[1000,1911,1912],{},[1003,1913,1914,1917,1919],{},[1006,1915,1916],{},"Field",[1006,1918,1883],{},[1006,1920,1886],{},[1016,1922,1923,1935,1950,1965,1980,1995],{},[1003,1924,1925,1930,1933],{},[1021,1926,1927],{},[978,1928,1929],{},"URL",[1021,1931,1932],{},"NATS URL(s)",[1021,1934,1506],{},[1003,1936,1937,1942,1945],{},[1021,1938,1939],{},[978,1940,1941],{},"StreamPrefix",[1021,1943,1944],{},"Prefix for JetStream stream names",[1021,1946,1947],{},[978,1948,1949],{},"COORD_",[1003,1951,1952,1957,1960],{},[1021,1953,1954],{},[978,1955,1956],{},"SubjectPrefix",[1021,1958,1959],{},"Prefix for JetStream subjects backing streams",[1021,1961,1962],{},[978,1963,1964],{},"coord.stream.",[1003,1966,1967,1972,1975],{},[1021,1968,1969],{},[978,1970,1971],{},"StreamMaxAge",[1021,1973,1974],{},"Retention age per stream",[1021,1976,1977],{},[978,1978,1979],{},"24h",[1003,1981,1982,1987,1990],{},[1021,1983,1984],{},[978,1985,1986],{},"StreamMaxBytes",[1021,1988,1989],{},"Per-stream storage cap",[1021,1991,1992],{},[978,1993,1994],{},"10 MiB",[1003,1996,1997,2002,2005],{},[1021,1998,1999],{},[978,2000,2001],{},"KVReplicas",[1021,2003,2004],{},"KV bucket replica count",[1021,2006,2007,2010,2011,2014],{},[978,2008,2009],{},"1"," (raise to ",[978,2012,2013],{},"3"," in prod)",[974,2016,2017,2018,1798],{},"Requires JetStream — start NATS with ",[978,2019,2020],{},"-js",[1415,2022,2024],{"id":2023},"redis-backend","Redis backend",[997,2026,2027,2037],{},[1000,2028,2029],{},[1003,2030,2031,2033,2035],{},[1006,2032,1880],{},[1006,2034,1883],{},[1006,2036,1886],{},[1016,2038,2039],{},[1003,2040,2041,2045,2054],{},[1021,2042,2043],{},[978,2044,1538],{},[1021,2046,2047,2050,2051,1125],{},[978,2048,2049],{},"host:port"," (or ",[978,2052,2053],{},"redis:\u002F\u002Fhost:port",[1021,2055,2056],{},[978,2057,1541],{},[974,2059,2060,2063],{},[978,2061,2062],{},"coordredis.Config"," fields:",[997,2065,2066,2076],{},[1000,2067,2068],{},[1003,2069,2070,2072,2074],{},[1006,2071,1916],{},[1006,2073,1883],{},[1006,2075,1886],{},[1016,2077,2078,2102,2118,2136,2154,2171],{},[1003,2079,2080,2091,2094],{},[1021,2081,2082,1031,2085,1031,2088],{},[978,2083,2084],{},"Addr",[978,2086,2087],{},"Password",[978,2089,2090],{},"DB",[1021,2092,2093],{},"Connection settings",[1021,2095,2096,2098,2099],{},[978,2097,1541],{}," \u002F — \u002F ",[978,2100,2101],{},"0",[1003,2103,2104,2109,2116],{},[1021,2105,2106],{},[978,2107,2108],{},"Client",[1021,2110,2111,2112,2115],{},"Pre-built ",[978,2113,2114],{},"*goredis.Client"," (overrides Addr\u002F...)",[1021,2117,1506],{},[1003,2119,2120,2125,2131],{},[1021,2121,2122],{},[978,2123,2124],{},"StreamMaxLen",[1021,2126,2127,2130],{},[978,2128,2129],{},"XADD MAXLEN ~"," cap per stream",[1021,2132,2133],{},[978,2134,2135],{},"10_000",[1003,2137,2138,2143,2149],{},[1021,2139,2140],{},[978,2141,2142],{},"StreamBlockDuration",[1021,2144,2145,2148],{},[978,2146,2147],{},"XREAD BLOCK"," duration",[1021,2150,2151],{},[978,2152,2153],{},"200 ms",[1003,2155,2156,2161,2166],{},[1021,2157,2158],{},[978,2159,2160],{},"StreamBatchSize",[1021,2162,2163],{},[978,2164,2165],{},"XREAD COUNT",[1021,2167,2168],{},[978,2169,2170],{},"64",[1003,2172,2173,2178,2181],{},[1021,2174,2175],{},[978,2176,2177],{},"KeyPrefix",[1021,2179,2180],{},"Prefix for every key this coordinator creates",[1021,2182,2183],{},[978,2184,2185],{},"coord:",[1415,2187,2189],{"id":2188},"noop-backend","noop backend",[997,2191,2192,2202],{},[1000,2193,2194],{},[1003,2195,2196,2198,2200],{},[1006,2197,1916],{},[1006,2199,1883],{},[1006,2201,1886],{},[1016,2203,2204],{},[1003,2205,2206,2215,2218],{},[1021,2207,2208,2211,2212,1125],{},[978,2209,2210],{},"streamMaxLen"," (via ",[978,2213,2214],{},"NewWithLimit",[1021,2216,2217],{},"Per-stream ring buffer size",[1021,2219,2220],{},[978,2221,2135],{},[982,2223,2225],{"id":2224},"conformance-suite","Conformance suite",[974,2227,2228,2229,2232],{},"Every backend must pass the shared suite in ",[978,2230,2231],{},"runtime\u002Fcoordination\u002Fconformance",". Twelve cases cover:",[1285,2234,2235,2238,2241,2244],{},[1288,2236,2237],{},"Pub\u002Fsub — exact topic, multiple subscribers, unsubscribe cleanup",[1288,2239,2240],{},"Streams — append + tail, replay from start, resume from an ID",[1288,2242,2243],{},"KV — round-trip set\u002Fget\u002Fdelete, missing-key error, watch snapshot + updates, watch deletes",[1288,2245,2246],{},"Lifecycle — ping, idempotent close",[974,2248,2249],{},"Run from a backend's own test file:",[1182,2251,2253],{"className":1184,"code":2252,"language":1186,"meta":1187,"style":1187},"func TestMyBackend(t *testing.T) {\n    conformance.Run(t, func(t *testing.T) coordination.Coordinator {\n        c, err := mybackend.New(...)\n        if err != nil {\n            t.Fatalf(\"new: %v\", err)\n        }\n        t.Cleanup(func() { _ = c.Close() })\n        return c\n    })\n}\n",[978,2254,2255,2260,2265,2270,2275,2280,2284,2289,2294,2299],{"__ignoreMap":1187},[1191,2256,2257],{"class":1193,"line":10},[1191,2258,2259],{},"func TestMyBackend(t *testing.T) {\n",[1191,2261,2262],{"class":1193,"line":16},[1191,2263,2264],{},"    conformance.Run(t, func(t *testing.T) coordination.Coordinator {\n",[1191,2266,2267],{"class":1193,"line":22},[1191,2268,2269],{},"        c, err := mybackend.New(...)\n",[1191,2271,2272],{"class":1193,"line":51},[1191,2273,2274],{},"        if err != nil {\n",[1191,2276,2277],{"class":1193,"line":57},[1191,2278,2279],{},"            t.Fatalf(\"new: %v\", err)\n",[1191,2281,2282],{"class":1193,"line":102},[1191,2283,1729],{},[1191,2285,2286],{"class":1193,"line":108},[1191,2287,2288],{},"        t.Cleanup(func() { _ = c.Close() })\n",[1191,2290,2291],{"class":1193,"line":114},[1191,2292,2293],{},"        return c\n",[1191,2295,2296],{"class":1193,"line":120},[1191,2297,2298],{},"    })\n",[1191,2300,2301],{"class":1193,"line":181},[1191,2302,1274],{},[982,2304,2306],{"id":2305},"build-and-test","Build and test",[1182,2308,2312],{"className":2309,"code":2310,"language":2311,"meta":1187,"style":1187},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# Unit tests (no brokers; noop only)\ncd go-framework && go test -race .\u002Fruntime\u002Fcoordination\u002F...\ncd go-modules && go test -race .\u002Fcoordination\u002F...\n\n# Integration tests (Docker required — spins up real NATS + Redis)\ncd go-modules && go test -tags integration -timeout 120s .\u002Fcoordination\u002Fintegration\u002F...\n","bash",[978,2313,2314,2320,2347,2365,2369,2374],{"__ignoreMap":1187},[1191,2315,2316],{"class":1193,"line":10},[1191,2317,2319],{"class":2318},"sHwdD","# Unit tests (no brokers; noop only)\n",[1191,2321,2322,2326,2330,2334,2338,2341,2344],{"class":1193,"line":16},[1191,2323,2325],{"class":2324},"s2Zo4","cd",[1191,2327,2329],{"class":2328},"sfazB"," go-framework",[1191,2331,2333],{"class":2332},"sMK4o"," &&",[1191,2335,2337],{"class":2336},"sBMFI"," go",[1191,2339,2340],{"class":2328}," test",[1191,2342,2343],{"class":2328}," -race",[1191,2345,2346],{"class":2328}," .\u002Fruntime\u002Fcoordination\u002F...\n",[1191,2348,2349,2351,2354,2356,2358,2360,2362],{"class":1193,"line":22},[1191,2350,2325],{"class":2324},[1191,2352,2353],{"class":2328}," go-modules",[1191,2355,2333],{"class":2332},[1191,2357,2337],{"class":2336},[1191,2359,2340],{"class":2328},[1191,2361,2343],{"class":2328},[1191,2363,2364],{"class":2328}," .\u002Fcoordination\u002F...\n",[1191,2366,2367],{"class":1193,"line":51},[1191,2368,1202],{"emptyLinePlaceholder":1201},[1191,2370,2371],{"class":1193,"line":57},[1191,2372,2373],{"class":2318},"# Integration tests (Docker required — spins up real NATS + Redis)\n",[1191,2375,2376,2378,2380,2382,2384,2386,2389,2392,2395,2398],{"class":1193,"line":102},[1191,2377,2325],{"class":2324},[1191,2379,2353],{"class":2328},[1191,2381,2333],{"class":2332},[1191,2383,2337],{"class":2336},[1191,2385,2340],{"class":2328},[1191,2387,2388],{"class":2328}," -tags",[1191,2390,2391],{"class":2328}," integration",[1191,2393,2394],{"class":2328}," -timeout",[1191,2396,2397],{"class":2328}," 120s",[1191,2399,2400],{"class":2328}," .\u002Fcoordination\u002Fintegration\u002F...\n",[974,2402,2403],{},"The integration suite runs the full conformance against testcontainer-hosted NATS 2 (JetStream on) and Redis 7 containers, plus two end-to-end scenarios:",[1285,2405,2406,2416],{},[1288,2407,2408,2411,2412,1785,2414,1798],{},[978,2409,2410],{},"TestNATSE2E_FlowPublishInvalidation"," — two Coordinator instances (two simulated containers) share a KV bucket; container B receives container A's ",[978,2413,1067],{},[978,2415,1076],{},[1288,2417,2418,2421],{},[978,2419,2420],{},"TestRedisE2E_LiveMetricsFanout"," — producer container writes stream entries; consumer container (simulating admin-api) reads every one.",[982,2423,2425],{"id":2424},"deployment-shape","Deployment shape",[1182,2427,2432],{"className":2428,"code":2430,"language":2431},[2429],"language-text","[ api × N ]           [ admin-api × M (Tailscale-gated) ]\n      \\                      \u002F\n       \\                    \u002F\n  [ NATS cluster 3+ nodes ]   ← COORD backbone\n       |\n  [ Mongo replica set ]       ← authoritative store\n  [ Kafka \u002F NATS \u002F Redis ]    ← event transport (go-events)\n","text",[978,2433,2430],{"__ignoreMap":1187},[1285,2435,2436,2442,2448],{},[1288,2437,2438,2441],{},[978,2439,2440],{},"api"," containers run flows and publish frames to the coord stream.",[1288,2443,2444,2447],{},[978,2445,2446],{},"admin-api"," containers read from the stream to serve Studio Live mode.",[1288,2449,2450,2451,2453,2454,2456],{},"No direct network path required between ",[978,2452,2440],{}," and ",[978,2455,2446],{}," — they share state through the coord broker only, so admin-api can live on a private network (Tailscale, WireGuard, VPC peering) without opening any surface to the api tier.",[982,2458,2460],{"id":2459},"dependency-graph","Dependency graph",[1182,2462,2465],{"className":2463,"code":2464,"language":2431},[2429],"go-framework\u002Fruntime\u002Fcoordination        ← interface + noop (stdlib only)\n        ↑\ngo-modules\u002Fcoordination\u002F{nats,redis}     ← backend impls\n        ↑\ngo-modules\u002Fcoordination\u002Fmodule           ← COORD env switch\n        ↑\ncmd\u002F{api,admin-api} main.go              ← blank import\n",[978,2466,2464],{"__ignoreMap":1187},[974,2468,2469,2470,2473],{},"The interface has no external dependencies. Blank-importing ",[978,2471,2472],{},"go-modules\u002Fcoordination\u002Fmodule"," is the single line a host needs to opt in.",[2475,2476,2477],"style",{},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}",{"title":1187,"searchDepth":16,"depth":16,"links":2479},[2480,2481,2482,2483,2486,2487,2488,2492,2497,2498,2499,2500],{"id":984,"depth":16,"text":5},{"id":1101,"depth":16,"text":1102},{"id":1179,"depth":16,"text":1180},{"id":1328,"depth":16,"text":1329,"children":2484},[2485],{"id":1417,"depth":22,"text":1418},{"id":1458,"depth":16,"text":1459},{"id":1621,"depth":16,"text":1622},{"id":1746,"depth":16,"text":1747,"children":2489},[2490,2491],{"id":1750,"depth":22,"text":1751},{"id":1844,"depth":22,"text":1845},{"id":1866,"depth":16,"text":1867,"children":2493},[2494,2495,2496],{"id":1870,"depth":22,"text":1871},{"id":2023,"depth":22,"text":2024},{"id":2188,"depth":22,"text":2189},{"id":2224,"depth":16,"text":2225},{"id":2305,"depth":16,"text":2306},{"id":2424,"depth":16,"text":2425},{"id":2459,"depth":16,"text":2460},"Cross-container coordination layer — pub\u002Fsub invalidation, fan-out streams, and watchable KV for multi-container Redelay deployments.","md",null,{},{"order":246,"icon":41},{"title":243,"description":2501},"F7g9ambj1KSH5mzlE_Fs56-CZa4fReIWHN_CtdsQXhQ",[2509,2511],{"title":237,"path":238,"stem":239,"description":2510,"order":240,"icon":241,"children":-1},"Project-local AI assistant module — FlowDSL-backed chat, persisted conversations with TTL, LLM cost tracking, and a human-handoff path that fans out via the event bus.",{"title":248,"path":249,"stem":250,"description":2512,"order":251,"icon":252,"children":-1},"Pluggable vector-search module — Qdrant today, OpenSearch planned. Index CRUD, semantic query, embedding-provider switching, FlowDSL nodes.",1790332226537]