docs(plan): record microsoft teams gap completion

This commit is contained in:
William Valentin
2026-02-16 02:00:19 -08:00
parent 8e35d2d674
commit 51ff5523ae
4 changed files with 77 additions and 8 deletions
@@ -23,7 +23,7 @@
| Signal | signal-cli | Signal adapter | **MATCH** |
| iMessage / BlueBubbles | imsg + BlueBubbles | -- | **MISSING** |
| Google Chat | Chat API | -- | **MISSING** |
| Microsoft Teams | Bot Framework | -- | **MISSING** |
| Microsoft Teams | Bot Framework | Teams adapter | **MATCH** |
| Matrix | Extension | -- | **MISSING** |
| Zalo / Zalo Personal | Extension | -- | **MISSING** |
| WebChat | Gateway-served | Full WebSocket + SPA dashboard | **MATCH** |
@@ -291,8 +291,7 @@ All five Tier 3 items implemented: Lane Queue (per-session FIFO in gateway), cre
- DM pairing codes (PairingManager with TTL codes, all 4 channel adapters, gateway handlers, TUI /pair command)
**Remaining channels (if desired):**
6. Microsoft Teams (Bot Framework)
7. Google Chat (Chat API)
6. Google Chat (Chat API)
### Tier 5 — Deferred / Niche
@@ -21,9 +21,7 @@ A gap item is considered implemented when:
### Channels / Frontends (MISSING)
- Matrix
- Google Chat
- Microsoft Teams
- iMessage/BlueBubbles
- Zalo
- LINE/Feishu/Mattermost
@@ -332,7 +330,7 @@ These are substantial UX/ecosystem projects or highly platform-specific; defer u
- Bonjour/mDNS discovery
- QMD backend
- ClawHub registry
- Teams/Google Chat (enterprise/ops heavy)
- Google Chat (enterprise/ops heavy)
- iMessage/BlueBubbles (Apple ecosystem)
## Suggested Next Execution Order
@@ -0,0 +1,44 @@
# Microsoft Teams Channel Adapter Checklist
Date: 2026-02-16
Status: completed
## Scope
- Add a first-class Microsoft Teams channel adapter using Bot Framework activity webhooks.
- Support inbound activity handling and outbound message replies through Bot Framework REST.
## Completed
- Added `TeamsAdapter` in `src/channels/teams/adapter.ts`:
- inbound activity handling for `POST /teams/events`
- mention-aware group message gating (`require_mention`)
- optional conversation allowlist (`allowed_conversation_ids`)
- outbound Bot Framework send using OAuth client credentials token flow
- reply routing via encoded `metadata.replyPeerId`
- Registered channel exports:
- `src/channels/teams/index.ts`
- `src/channels/index.ts`
- Added config schema support in `src/config/schema.ts`:
- `teams.app_id`
- `teams.app_password`
- `teams.allowed_conversation_ids`
- `teams.require_mention`
- Wired daemon + gateway integration:
- registration in `src/daemon/channels.ts`
- gateway Teams route handling in `src/gateway/server.ts` (`POST /teams/events`)
- Updated service discovery + docs:
- `src/gateway/handlers/services.ts`
- `README.md`
- `config/default.yaml`
- secret redaction for `teams.app_password` in `src/cli/shared.ts`
- Added tests:
- `src/channels/teams/adapter.test.ts`
- `src/config/schema.test.ts` (teams schema coverage)
- `src/gateway/handlers/services.test.ts` (teams service status)
- `src/cli/shared.test.ts` (teams secret redaction)
## Verification
- `pnpm test:run src/channels/teams/adapter.test.ts src/config/schema.test.ts src/gateway/handlers/services.test.ts src/cli/shared.test.ts`
- `pnpm typecheck`
+30 -2
View File
@@ -499,6 +499,34 @@
],
"test_status": "pnpm test:run src/channels/signal/adapter.test.ts src/config/schema.test.ts src/gateway/handlers/services.test.ts + pnpm typecheck passing"
},
"microsoft-teams-channel-adapter": {
"file": "2026-02-16-microsoft-teams-channel-adapter-checklist.md",
"status": "completed",
"date": "2026-02-16",
"updated": "2026-02-16",
"summary": "Added a first-class Microsoft Teams adapter using Bot Framework activity webhooks and OAuth client-credential outbound send flow, including mention-aware group gating, conversation allowlist support, gateway route wiring (`POST /teams/events`), docs, and tests.",
"files_created": [
"docs/plans/2026-02-16-microsoft-teams-channel-adapter-checklist.md",
"src/channels/teams/adapter.ts",
"src/channels/teams/adapter.test.ts",
"src/channels/teams/index.ts"
],
"files_modified": [
"src/config/schema.ts",
"src/config/schema.test.ts",
"src/daemon/channels.ts",
"src/channels/index.ts",
"src/gateway/server.ts",
"src/gateway/handlers/services.ts",
"src/gateway/handlers/services.test.ts",
"src/cli/shared.ts",
"src/cli/shared.test.ts",
"README.md",
"config/default.yaml",
"docs/api/PROTOCOL.md"
],
"test_status": "pnpm test:run src/channels/teams/adapter.test.ts src/config/schema.test.ts src/gateway/handlers/services.test.ts src/cli/shared.test.ts + pnpm typecheck passing"
},
"openclaw-style-personal-agent-without-openclaw-risks": {
"file": "2026-02-14-openclaw-style-personal-agent-without-openclaw-risks-plan.md",
"status": "completed",
@@ -2821,12 +2849,12 @@
"tier2_completion": "4/4 (100%) — inbound webhooks, vector memory search, Dockerfile, heartbeat monitor",
"tier3_completion": "5/5 (100%) — lane queue, credential redaction, web UI token dashboard, xAI (Grok) provider, Voyage AI embeddings",
"tier4_completion": "4/4 (100%) — gateway lock, shell completion, Tailscale Serve/Funnel, DM pairing codes",
"feature_gap_scorecard": "110/128 match (86%), 0 partial (0%), 18 missing (14%)",
"feature_gap_scorecard": "111/128 match (87%), 0 partial (0%), 17 missing (13%)",
"operator_dx_milestone": "Phase 3 (Live Ops Dashboard): 2/2 plans complete — milestone done",
"gmail_auth_cli": "flynn gmail-auth command implemented with OAuth2 flow, doctor check, config routed to Telegram",
"native_audio_support": "completed — smart routing for native audio (Gemini/OpenAI/GitHub) vs Whisper transcription fallback",
"remaining_phases_completion": "Phase 1: 3/3 (100%) — context levels, command registry, memory structure. Phase 2: 3/3 (100%) — component registry, confidence routing, history index. Phase 3: 2/2 (100%) — adaptive memory/compaction, truthfulness/autonomy hardening",
"next_up": "OpenClaw gap: Microsoft Teams channel adapter (open next scoped implementation checklist)"
"next_up": "OpenClaw gap: Google Chat channel adapter (open next scoped implementation checklist)"
},
"soul_md_and_cron_create": {
"date": "2026-02-11",