Repository navigation
Add Teams integration with persistent delegated Graph conversations - #116
Open
JeffPengCoder wants to merge 6 commits into
Open
JeffPengCoder wants to merge 6 commits into
JeffPengCoder wants to merge 6 commits into
Conversation
JeffPengCoder
requested review from
RohanAdwankar and
kgengedullay
as code owners
November 17, 2026 09:24
4 tasks done
Install the matching OpenClaw Teams plugin, load bot credentials from an existing Secret, and provide an optional HTTPS webhook ingress. Document conversation setup and proactive alert delivery, preserve Slack configuration, and validate rendered channel combinations and required settings. Signed-off-by: Rohan Adwankar <39285979+RohanAdwankar@users.noreply.github.com>
Signed-off-by: Jeff Peng <jepeng@nvidia.com>
JeffPengCoder
force-pushed
the
fix/teams-graph-channel-20261117
branch
from
November 19, 2026 06:10
e10f306 to
600ae7e
Compare
Signed-off-by: Jeff Peng <jepeng@nvidia.com>
Signed-off-by: Jeff Peng <jepeng@nvidia.com>
JeffPengCoder
force-pushed
the
fix/teams-graph-channel-20261117
branch
from
November 19, 2026 06:14
600ae7e to
3b802c2
Compare
…trols Signed-off-by: Jeff Peng <jepeng@nvidia.com>
Signed-off-by: Jeff Peng <jepeng@nvidia.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.
Description
A successful delegated Graph send does not receive the user's next Teams message. This adds an optional persistent worker that polls a verified DM or explicitly allowlisted group, submits eligible new messages to the existing MOSAIC headless conversation in View mode, and returns the complete answer to that chat. Escaped Graph HTML renders headings, code and complete table contents without exposing raw Markdown.
This PR now targets main and includes the native Teams prerequisite from #71 and the onboarding/Graph diagnostic prerequisite from #76. Their required code is present in this branch; they do not need to merge first for this branch to build. #71's owner branch is unchanged. The full diff overlaps #76 until those prerequisites are merged. Fork PR #5 retains the earlier incremental review.
Behavior
bindandbind-groupmodes; it does not change Bot authentication.--allow-quoted-replies, which accepts a Graph message reference to a confirmed MOSAIC reply in the same group and uses the saved answer as context. Membership is revalidated before intake, execution and each outgoing part. Group-specific sessions, ConfigMaps, Deployments and PVCs preserve the existing DM and other IM channels. Adding a participant does not automatically authorize them.Validation
The group quote reply update adds regression coverage for real Graph reference shape, saved same-chat receipts, allowlists, activation at rollout, and exactly one reply after restarting with a queued quote. The deployed parser also recognized a captured Teams quote against the saved original send receipt in a read-only check.
fa7a554: full Node suite with group regressions 298 tests, 296 passed, 2 existing conditional skips, 0 failures; focused probe/bridge Node tests 36/36 before adding the manifest wrapper; Graph runner Python tests 9/9; manifest Python tests 5/5; standalone inference 4/4.git diff --checkpassed. The unchanged upstream BCM server suite passes 24/24 on Linux; its process-group termination test encounters macOSPermissionErrorlocally.bindmode verified an existing chat without requesting/messages, and generated manifests passed Kubernetes server-side dry-run.A separately deployed group with three explicitly approved users passed actual Graph binding, server-side dry-run and startup. The original DM, Feishu, proxy and UI Deployment specs remained unchanged. Two new real @ messages then completed automatically in the group, in 21.103 s and 40.369 s from incoming creation to send receipt, with HTML answers. The cluster-check turn made 6 native run_kubectl calls and encountered 1 exec error; operator prompts/replies were not inserted. Full per-tool flags, sizes, timing and diagnosis limitations are retained in VALIDATION.md. Only one of the three allowlisted humans has been live-tested.
This remains an experimental textual DM or one allowlisted group per worker, View-only integration. Password grant requires tenant approval and does not bypass MFA/Conditional Access. Real hardware diagnosis, concurrent-user scale, attachments, long-duration authentication recovery and infrastructure writes are outside live acceptance. Timestamp/ECC interpretation issues in the original reports remain separate from transport success.
See complete timing and tool-result tables and deployment instructions. Private tenant details, credentials and raw infrastructure payloads are excluded. All commits are DCO signed off; repository-wide ignore rules, CI and dependency configuration are unchanged.