WeCom Rollout
Use this playbook when WeCom is the enterprise chat surface that should own the shipped long-lived runtime. This page is specifically about the current public contract:- WeCom is documented as the official AIBot long-connection lane
- it is not documented as a webhook callback integration
gateway runcomes afterchannels serve wecom, not instead of the basic runtime validation
When This Is The Right Playbook
- the deployment is already standardized on WeCom
- one hosted provider should back the runtime clearly
- proactive sends and reply-loop behavior should share the same account identity
- you want stable work versus alerts accounts before gateway selectors enter the story
Use A Different Playbook If
Step 1: Bring Up The Provider First
Step 2: Start With A Single WeCom Account
- the official websocket URL is used by default
- override
websocket_urlonly for controlled environments or bridge setups ping_interval_sandreconnect_interval_sare the right knobs when the network path needs tuning
Step 3: Move To Stable Named Accounts
Use named accounts before you introduce selectors or longer-lived gateway ownership.default_accountmakes the normal lane explicitaccounts.<id>creates stable selector targets such asworkandalerts- gateway ownership stays legible instead of depending on whichever secret was most recently pasted into the top level
Step 4: Choose Serve Or Gateway Ownership
Foreground single-account validation:channels serve wecom first during rollout. Use gateway run after the account and
conversation boundary are already trusted.
Step 5: Keep The Public Contract Truthful
Rules that should stay explicit:- WeCom is the shipped AIBot long-connection lane
- it should not be described as if a webhook callback mode were the same supported path
- outbound-only surfaces still do not join this reply-loop ownership model
Troubleshooting
Continue Reading
- Continue to Common Setups for other end-to-end rollout shapes.
- Continue to Gateway And Supervision for the owner contract and selectors without the WeCom-specific rollout path.
- Continue to Channel Guides for the full shipped channel matrix.
- Continue to Channel Recipes for the broader channel recipe set.