Skip to content

Spec: external conversations stream into a Channel (接入外部会话) #1144

Closed
2 of 2 issues completed
Closed

Description

@DoodleBears

Hub for ADR-0143 (An external conversation streams into a Channel as one-way context). The ADR PR links back here.

What

+ 接入外部会话 in a Channel's External connectors. Pick a connected IM app (bound to a Bot or not) and one of its conversations. From then on, every message in that conversation flows into the Channel as context, like a webhook. Bots wake only on an @ or on the ingest's wake policy.

Decisions (Vain, 2026-10-07)

  1. DMs can be connected too, not only groups and channels. The dialog says every Channel member will read it.
  2. WeChat is not listed, because it only has the owner DM.
  3. Connecting an unbound app takes it over, after a confirmation. Replying through that app is a reasonable later extension.
  4. Each ingest has a wake policy, using the same settings as the Channel Bridge. The default is context only.
  5. There is no Bot tool for now. The record shape must allow Bot-owned sources later, for example a Bot on a VPS ingesting internet sources.
  6. Unbound-app conversations are read-only in v1.
  7. No history is fetched on connect in v1 (slice 8).
  8. Existing Channel Bridge syncs converge into the ingest list (slice 9).

Slices (one issue and one PR each, real-IM E2E on each)

  1. A Lark group of a bound app streams into a Channel, with a wake policy.
  2. Pick any conversation the app is in, through a Provider listing capability. Needs a dsh-im release.
  3. Unbound Lark app: take it over with confirmation, and receive it for ingest only.
  4. Row shortcut 接入到 Channel. 保存发送目标(高级) moves into the app's edit dialog.
  5. Slack public channels and DMs. Needs a dsh-im release.
  6. Lark readiness (im:message.group_msg) and rich-text post messages. Needs a dsh-im release.
  7. Discord guild channels and the Message Content intent hint. Needs a dsh-im release.
  8. Optional: recent history on connect. Needs a dsh-im release.
  9. Converge existing Channel Bridge routes.

After slice 1, get Vain's feedback before broadening.

Related: #1107 (one-step bind), ADR-0142.


Generated by Claude Code

Activity

  1. added this to the v1.2 milestone on Oct 8, 2026
  2. DoodleBears commented on Oct 8, 2026

    @DoodleBears
    ContributorAuthor

    Issue 归属整理 — 2026-10-08 (Asia/Tokyo)

    已按 Human 授权补 Project 10 / v1.2,并与当前原生子票 #1145、#1151 统一。接入的现有设计与 tracer 顺序保持不变;相关旧规格的执行索引已指向本票,现有 PR/claim 和验收不受影响。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions