Skip to content

feat(mcp): add runtime capability detection for Teams coordination (#1311)#1318

Merged
JeremyDev87 merged 1 commit into
masterfrom
taskmaestro/1775299117/pane-3
Apr 4, 2026
Merged

feat(mcp): add runtime capability detection for Teams coordination (#1311)#1318
JeremyDev87 merged 1 commit into
masterfrom
taskmaestro/1775299117/pane-3

Conversation

@JeremyDev87

Copy link
Copy Markdown
Owner

Summary

  • Add TeamsCapabilityService as single source of truth for Teams coordination availability
  • Gate via experimental.teamsCoordination config flag or CODINGBUDDY_TEAMS_ENABLED env var
  • Default to disabled (experimental feature)

Changes

  • config.schema.ts: Add experimental.teamsCoordination to CodingBuddyConfigSchema
  • teams-capability.types.ts: TeamsCapabilityStatus and TeamsCapabilitySource types
  • teams-capability.service.ts: Resolution order env > config > default
  • teams-capability.service.spec.ts: 16 unit tests (enabled/disabled/fallback/precedence)
  • agent.module.ts: Register and export TeamsCapabilityService
  • index.ts: Export from barrel

Test plan

  • yarn workspace codingbuddy exec tsc --noEmit passes
  • yarn workspace codingbuddy exec vitest run — 5909 tests pass
  • 16 new tests cover enabled, disabled, fallback, env override precedence

Closes #1311

…1311)

Add TeamsCapabilityService as single source of truth for whether Teams
coordination strategy is available at runtime. Capability is gated via
experimental.teamsCoordination config flag or CODINGBUDDY_TEAMS_ENABLED
env var, defaulting to disabled.

- Add experimental schema section to CodingBuddyConfigSchema
- Create TeamsCapabilityService with env > config > default resolution
- Create TeamsCapabilityStatus/Source types for debugging visibility
- Register in AgentModule and export from barrel
- 16 unit tests covering enabled/disabled/fallback/precedence paths
@JeremyDev87 JeremyDev87 added feat mcp-server apps/mcp-server labels Apr 4, 2026
@vercel

vercel Bot commented Apr 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
codingbuddy-landing Ready Ready Preview, Comment Apr 4, 2026 10:51am

@JeremyDev87 JeremyDev87 left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review: ✅ APPROVE

CI Status: ALL PASS

Code Quality:

  • TeamsCapabilityService: Clean NestJS injectable with 3-tier resolution (env > config > default)
  • TeamsCapabilityStatus type: available, source, reason — excellent debuggability
  • Environment override: CODINGBUDDY_TEAMS_ENABLED takes precedence over config
  • Config-based gating: experimental.teamsCoordination in codingbuddy.config.json
  • Default: disabled — safe by default, experimental opt-in
  • Tests: 172 lines, covers default/config/env/precedence/error fallback paths
  • NestJS integration: Registered in AgentModule, exported via barrel

Checklist:

  • CI ALL PASS
  • Single source of truth for Teams capability
  • Fallback: deterministic disabled state
  • No modification to agent.service.ts (scope discipline)

✅ Runtime capability detection for Teams coordination established.

@JeremyDev87 JeremyDev87 self-assigned this Apr 4, 2026
@JeremyDev87 JeremyDev87 merged commit 620e7c1 into master Apr 4, 2026
26 checks passed
@JeremyDev87 JeremyDev87 deleted the taskmaestro/1775299117/pane-3 branch April 4, 2026 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat mcp-server apps/mcp-server

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(mcp): add runtime capability detection and experimental gating for Teams coordination

1 participant