Skip to content

Proactive posts to any conversation the platform lets the app speak in #1115

Closed

Description

@DoodleBears

Parent: #1107 · ADR-0142 ("Proactive posts reach wherever the platform lets the app speak") · comes after the inline-creation slice (#1111), which ships the Provider release

Vain, 2026-10-07: posting in other groups is an intended use. The platform decides where the Bot can speak (Discord channel permissions, Lark/Slack group membership), and the person manages that reach on the platform.

What to build

  • Provider (in the same qualified release as the Create the app inside Bind app: Lark credentials and WeChat QR (Provider setup capability) #1111 setup capability):
    • An optional capability that lists the conversations the account can post in right now, using the platform API: Lark chats the bot belongs to, Discord guild channels with send permission, Slack channels it has joined.
    • An optional capability that posts to a conversation by account ref, fingerprint and authenticated conversation ID, with beforeSend and a receipt (the same shape as post, but without targetRef/targetDigest).
  • Host:
    • A Bot tool that lists where the Bot can speak, across its apps.
    • bridge_post, reports and Profile sends accept either an active entry or a conversation in the Provider's reachable list. The Host re-checks reachability before sending.
    • The first post to a reachable conversation without an entry creates an implicit entry, so it shows up in the conversation list.
    • Blocked conversations are refused. Muted and held conversations are allowed.
    • Each Binding has a loop guard: 60 posts per rolling hour by default, which the person can raise or turn off. Anything over the limit fails as post-rate-limited, and the Bot is told why.
    • The existing final fences, receipt checks and revision checks apply. Block and unbind fence unstarted posts as grant-revoked.
    • Saved-target Service Grants stay as the fallback for Providers without these capabilities.
  • Client:
    • The Profile send picker lists reachable conversations per app.
    • The loop guard setting lives on the app row.
    • On an older Provider, a "Provider needs an update" hint appears.

Acceptance criteria

  • A Lark app that belongs to group B, where nobody has ever mentioned it: the Bot lists B as reachable, posts there with no saved target, and B then appears in the conversation list.
  • A conversation the platform does not let the app post in, such as a removed group or a Discord channel without permission, is refused before any send, even when the Bot names its ID.
  • A blocked conversation refuses posts. Block or unbind during a pending post fences it.
  • The loop guard trips at its configured count, and turning it off removes the limit.
  • On an older Provider, posting to unsaved conversations is unavailable and explained, and saved-target posts still work.
  • Real-platform evidence on Lark. zh/en screenshots of the destination picker.

Blocked by

#1109 (entries and blocks) and #1111 (Provider release).

Activity

  1. added
    needs-triageMaintainer needs to evaluate this issue
    area:fullstackEnd-to-end Host and Client implementation
    scope:tracerHuman-testable implementation slice
    on Oct 7, 2026
  2. changed the title [-]Proactive posts to conversations the Bot has already seen, with no saved delivery target[/-] [+]Proactive posts to any conversation the platform lets the app speak in[/+] on Oct 7, 2026
  3. added this to the v1.2 milestone on Oct 8, 2026
  4. DoodleBears commented on Oct 9, 2026

    @DoodleBears
    ContributorAuthor

    Agent work claim

    The Human confirmed the public Provider group-list/checked-post → Host policy/Outbox → Client picker → native receipt test boundary. Existing QQ #1154/#1156 claims remain active, each with its own product PR. Existing WeChat pairing is preserved.

  5. added
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Oct 9, 2026
  6. DoodleBears commented on Oct 9, 2026

    @DoodleBears
    ContributorAuthor

    Agent work progress

    • Task: codex/local/01a117bf-865d-72d1-a9c6-88658c59f844; original claim. State: active.
    • Existing issue PR: #1283; reusable maintained Provider contribution: fork #19.
    • The first real Lark post and Human confirmation are documented in the PR, with published actual Client evidence. The latest main merge is committed; fixed-base Standards and Spec re-review found no new correctness issues.
    • This is still the first Lark slice. Remaining platform coverage and PR delivery evidence are tracked in the linked PR; the issue remains open.
  7. 29 remaining items

  8. moved this from Todo to In Progress in Roadmapon Oct 13, 2026
  9. DoodleBears commented on Oct 13, 2026

    @DoodleBears
    ContributorAuthor

    Packaged qualification completed; publication and merge pending

    Task codex/local/01a1342d-5ce4-7872-9f9e-492a9caee393, active continuation. Product #1559, Provider #27, qualification record.

    The same scoped @botharness/im-provider@4.32.0-botharness.20 tarball now has actual RC1 inline Lark creation/binding, Lark DM/@ replies and source-free first posting, plus real WeChat QR, automatic binding and owner DM/reply. The Human confirmed the complete original WeChat reply. A blocked post produced zero new intent/attempt/native message; policy was restored. The first marker was never repeated, and platform permissions were unchanged.

    All #1115 implementation and acceptance paths are covered: Lark/Slack/Discord optional reachable contracts, Bot Tool/report/Profile Consumers, implicit Grant, fresh permission denial even for a named ID, final block/unbind fences, default-60/configurable/off rolling quota, muted/held explicit posts and legacy saved-target fallback. Native Lark and zh/en picker evidence is published. Slack/Discord real-platform acceptance is not claimed; the issue requires Lark native proof. #1111's same-package setup/secret-boundary/external-consumer/fallback requirements have their separate fixture and actual native evidence.

    Provider source0e5b447 full Linux check passes 3,827 tests/build/package verification. Product runtime822bff0b passes full GitHub verify (4,591 tests passed / 13 skipped, all checks) and package preparation. Final main-line Generation87 installed-Profile recheck rendered exact proactive and DM replies; source-free post counts stayed Source/Inbox/Channel/placement 1/0/1/1. New evidence-only headeed59148 has its own CI. Earlier task-only Generation84 Profiles remain isolated; main84–86 migrations are retained. A final-base actual screenshot and public review comment are in the PR.

    The exact .20 archive passed npm publish dry-run under --access public --tag next; nothing has been published. Remaining actions are explicit release approval, exact-byte registry verification, Provider/Product merge and issue closure. The public stable product install identity is unchanged. Both issues remain open until those gates complete. Every task-owned receiver and temporary review server is stopped; current QA windows are released. QQ proactive/own Echo and reaction display are separate, unproven by this run.

  10. moved this from In Progress to Done in Roadmapon Oct 13, 2026
  11. DoodleBears commented on Oct 13, 2026

    @DoodleBears
    ContributorAuthor

    Agent work outcome — completed

  12. removed
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Oct 13, 2026
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

    area:fullstackEnd-to-end Host and Client implementationneeds-triageMaintainer needs to evaluate this issuescope:tracerHuman-testable implementation slice

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions