Skip to content

Add native Teams setup and delegated validation - #76

Open
JeffPengCoder wants to merge 3 commits into
NVIDIA:mainfrom
JeffPengCoder:fix/teams-pr71-onboarding
Open

JeffPengCoder wants to merge 3 commits into
NVIDIA:mainfrom
JeffPengCoder:fix/teams-pr71-onboarding

Conversation

@JeffPengCoder

@JeffPengCoder JeffPengCoder commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Description

Adds optional native Microsoft Teams messaging with credential-free plugin preparation, concrete user allowlists, and opt-in scheduled delivery. It also includes a separate one-shot delegated Graph diagnostic for verifying tenant identity and explicitly requested test sends.

This PR now targets main and includes the native Teams prerequisite from #71 plus the onboarding and validation changes formerly stacked above it. #71 remains independently owned; its branch is unchanged. #116 also contains these prerequisites and adds the persistent Graph conversation worker, so the two diffs overlap until a prerequisite is merged.

  • openclaw.msteams.install=true prepares the pinned plugin without credentials or an active listener. enabled=true installs and enables it. The native channel includes bot credentials, webhook routing, sender allowlists and per-sender sessions.
  • Reject wildcard/blank/malformed user IDs and empty Secret key names. Scheduled delivery requires an explicit cron opt-in.
  • Explain tenant prerequisites, Microsoft developer tooling, public HTTPS routing, conversation initialization, scheduling, and the difference between readiness and real delivery.
  • The portable Graph diagnostic defaults to User.Read identity verification. A send requires --send and a distinct recipient GUID. Host, Kubernetes context, namespace, ServiceAccount, image and private credential-file/evidence paths are configurable.
  • Credentials travel through SSH/Kubernetes stdin into a read-only Secret mount; output redacts passwords, client secrets and tokens. Consent/MFA failures do not trigger password resets/retry loops. Temporary resources use ownership tokens and UID-conditional cleanup; incomplete cleanup is a failure.

Validation

  • Rebased onto main fa7a554; full Node suite: 270 tests, 268 passed, 2 existing conditional skips, 0 failures. Python Graph runner: 9/9 passed. Standalone inference: 4/4 passed.
  • Both Helm lints, generated documentation check, strict Sphinx build, SPDX checks and git diff --check passed. The unchanged upstream BCM server suite passes 24/24 on Linux; its process-group termination test encounters macOS PermissionError locally.
  • Previous ARM64 kind acceptance verified pinned native plugin installation/loading, configuration validation, an unsigned webhook returning 401, gateway health returning 200, and persistence after a Pod recreation. This does not establish an authenticated native Bot DM round trip.
  • The earlier isolated delegated diagnostic acquired a token, called Graph /me with HTTP 200, and removed all three temporary resources. It created no chat and sent no message. Persistent delegated DM acceptance belongs to Add Teams integration with persistent delegated Graph conversations #116; it does not validate the native Bot transport.

All commits carry DCO sign-offs. No credentials, private tenant identities, repository-wide ignore changes or CI changes are included.

RohanAdwankar and others added 2 commits November 19, 2026 13:48
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
JeffPengCoder force-pushed the fix/teams-pr71-onboarding branch from 3deea66 to daebcac Compare November 19, 2026 06:10
@JeffPengCoder JeffPengCoder changed the title Fix Teams preinstallation, allowlists, and scheduled delivery Add native Teams setup and delegated validation Nov 19, 2026
@JeffPengCoder
JeffPengCoder changed the base branch from feat/teams-channel to main November 19, 2026 06:11
Signed-off-by: Jeff Peng <jepeng@nvidia.com>
@JeffPengCoder
JeffPengCoder force-pushed the fix/teams-pr71-onboarding branch from daebcac to b90b757 Compare November 19, 2026 06:14

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants