Repository navigation
Closed
Labels
area:fullstackEnd-to-end Host and Client implementationEnd-to-end Host and Client implementationneeds-triageMaintainer needs to evaluate this issueMaintainer needs to evaluate this issuescope:tracerHuman-testable implementation sliceHuman-testable implementation slice
Milestone
Description
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
beforeSendand a receipt (the same shape aspost, but withouttargetRef/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
Metadata
Metadata
Assignees
Labels
area:fullstackEnd-to-end Host and Client implementationEnd-to-end Host and Client implementationneeds-triageMaintainer needs to evaluate this issueMaintainer needs to evaluate this issuescope:tracerHuman-testable implementation sliceHuman-testable implementation slice
Type
Projects
- StatusShow more project fieldsDone
- StatusShow more project fieldsDone
Activity
[-]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[/+]DoodleBears commentedon Oct 9, 2026
Agent work claim
codex/local/01a117bf-865d-72d1-a9c6-88658c59f844(not a DSH Session)codex/1115-proactive-conversationsThe 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.
Merge main into reachable posting and retain both ledgers
DoodleBears commentedon Oct 9, 2026
Agent work progress
codex/local/01a117bf-865d-72d1-a9c6-88658c59f844; original claim. State: active.feat(im): qualify reachable posts for Discord and Slack
29 remaining items
Record final main-line packaged acceptance and completed qualificatio…
DoodleBears commentedon Oct 13, 2026
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.20tarball 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
.20archive 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.merge: preserve main access scope before proactive quota migration
docs: record exact Provider registry publication and final integration
fix: preserve uncertain picker requests and reuse exact published Pro…
fix: reconcile original post receipts through the owning Outbox
test: include read-only post recovery in the exported bridge contract
fix: isolate Provider staging from ambient TypeScript configuration
merge: preserve main schema and isolate proactive quota revisions
DoodleBears commentedon Oct 13, 2026
Agent work outcome — completed
codex/local/01a1342d-5ce4-7872-9f9e-492a9caee393(not a DSH Session).2bf2bfc292fc9ea0bcbe191350f05a81a9aa9317at 2ff29cce, and closed Proactive posts to any conversation the platform lets the app speak in #1115 and Create the app inside Bind app: Lark credentials and WeChat QR (Provider setup capability) #1111. All acceptance checkboxes are complete.@botharness/im-provider@4.32.0-botharness.20is on npmnext; actual registry archive bytes match the natively qualified SHA-512. Publication used the existing protected GitHub NPM_TOKEN; local npm login was not needed. Registrylatestremains.16; stable Product install identity is unchanged.