fix(lark): isolate realtime conversations on one Bot listener - #5538
Open
huangruiteng wants to merge 3 commits into
Open
huangruiteng wants to merge 3 commits into
huangruiteng wants to merge 3 commits into
Conversation
Signed-off-by: huangruiteng <huangrt01@163.com>
…ltime-20261003 Signed-off-by: huangruiteng <huangrt01@163.com>
Signed-off-by: huangruiteng <huangrt01@163.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Goal And Delivered Outcome
mainat5d790b49dd723c1f366d69ac7c8ce35beafb155d. No issue is closed.Author Declaration
docs/architecture/rfcs/capable-manager-semantic-handoff-v0.md§10,app-conversation-and-async-inbox-v0.md“Realtime Bot entry and recipient purpose”, andloopx-overall-roadmap-v0.mdS5/S10 at56747e3e42fe61591af4404a6950b31d59a902d6.ProfileEventDispatch, native profile streamtest_lark_realtime_dispatch.py,test_lark_topic_dispatch_bounds.pywrite_private_json_atomictest_lark_topic_inbox_config.pyScope And Continuation
The public
owner-controlled-bots.mdguide supplies a readiness matrix, separate assistant/steward identities and grants, fresh setup and minimum-permission review, a shared-Core implementation continuation, and installed acceptance. It contains no operator-specific migration data.Already-enabled listeners use up to four transport handlers and a dispatch capacity of 64 messages including active handlers. Inactive profiles allocate neither consumer nor dispatcher. Core still owns model admission, execution, budgets, permissions and durable receipts; the provider's transient buffer grants none of those. This helper remains Python inside the bundled Lark transport, with no parallel domain authority.
The roadmap and bilingual RFCs distinguish a realtime Bot entry from its recipients: ordinary project chat, a selected existing Agent and the explicit persistent steward share mechanics, not objectives or audience grants. The next owner is the shared conversation entry under the existing App-conversation RFC, followed by per-host progress/media/operation qualification. Same-conversation handlers still wait for the current terminal answer; the dispatcher does not yet deliver immediate busy-session steering. This boundary is independently testable and reversible without changing the durable Session/Turn schema or retiring a bridge.
Validation
56747e3e42fe61591af4404a6950b31d59a902d6(identical tested candidate tree).fd65e71f4runtime fails both slow-role counterexamples (single and batch provider records); candidate passes. Concurrent configuration publication/failure cases also fail before the atomic-writer repair.semantic-vocabulary-drift-smoke.py; quality catalog reference audit.CI note: the preceding head
3ddabeb4c464b27cb8856c63e3d525e77d1fa428had a Dashboard browser visibility timeout attyped-actions.mjs:1633(job). This PR changes no Dashboard implementation. The final head includes the then-current main; its Dashboard acceptance has now passed, while the remaining full CI checks are still running. Local transport checks did not waive that acceptance or establish the cause of the preceding timeout.Frontend / Visual Evidence
UI impact: none. No dashboard layout, documentation chrome or first-screen change; existing listener health and replies retain their projections. Source data: synthetic/public fixtures.
Type of Change / LoopX Area
Bug fix, documentation update and test update; capability/extension and host integration. Technical direction: operator surface and IM integration, roadmap S1/S5/S10.
Shared-authority RFC fixture impact: N/A; no Goal authority provider promotion, writer cutover or compatibility projection change.
Boundary Checklist