Title: feat: CommunicationAdapter — platform-agnostic agent-human communication · Issue #261 · github/squad · GitHub
Open Graph Title: feat: CommunicationAdapter — platform-agnostic agent-human communication · Issue #261 · github/squad
X Title: feat: CommunicationAdapter — platform-agnostic agent-human communication · Issue #261 · github/squad
Description: CommunicationAdapter — Platform-agnostic agent-human communication Problem Squad agents need to communicate with humans (status updates, decisions, escalations, questions). Currently this is ad-hoc — some users use Teams webhooks, some r...
Open Graph Description: CommunicationAdapter — Platform-agnostic agent-human communication Problem Squad agents need to communicate with humans (status updates, decisions, escalations, questions). Currently this is ad-hoc...
X Description: CommunicationAdapter — Platform-agnostic agent-human communication Problem Squad agents need to communicate with humans (status updates, decisions, escalations, questions). Currently this is ad-hoc...
Opengraph URL: https://github.com/github/squad/issues/261
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"feat: CommunicationAdapter — platform-agnostic agent-human communication","articleBody":"## CommunicationAdapter — Platform-agnostic agent-human communication\n\n### Problem\n\nSquad agents need to communicate with humans (status updates, decisions, escalations, questions). Currently this is ad-hoc — some users use Teams webhooks, some rely on GitHub issue comments, ADO users have Work Item discussions. There is no unified abstraction.\n\nRelated discussion: #242 (Dina wants phone-capable comms, Brady wants no GitHub lock-in).\n\n### Proposal\n\nAdd a `CommunicationAdapter` interface to the platform layer, alongside the existing `PlatformAdapter`:\n\n```typescript\ninterface CommunicationAdapter {\n postUpdate(channel: string, message: string, options?: { format?: \"text\" | \"card\" }): Promise\u003cvoid>;\n pollForReplies(channel: string, since: Date): Promise\u003cReply[]>;\n getNotificationUrl(channel: string): string;\n}\n```\n\n### Implementations\n\n| Adapter | Phone-capable | Corp-only | Setup | Notes |\n|---------|:---:|:---:|---|---|\n| **GitHubDiscussionsAdapter** | Yes (browser) | No | Zero | Uses `gh api` or GitHub MCP. Categories map to signal types. |\n| **ADOWorkItemDiscussionAdapter** | Yes (ADO mobile) | Depends | Zero | Comment threads on work items. Already have az CLI wiring. |\n| **TeamsWebhookAdapter** | Yes (Teams mobile) | Yes | Low | Outbound via webhook, inbound via WorkIQ polling or Power Automate. |\n| **FileLogAdapter** (fallback) | Via git client | No | Zero | Writes to `.squad/log/` — always available, lowest common denominator. |\n\n### Integration Points\n\n- **Scribe** posts session summaries to the configured channel after significant work\n- **Ralph** posts board status during idle-watch check-ins\n- **Coordinator** posts escalations when agents are blocked\n- **Agents** can post decisions that need async human review\n- Config in `.squad/config.json` under a `communications` key\n\n### Prototype\n\nA working Teams webhook + WorkIQ polling prototype exists (tested on a separate machine). The pattern:\n- Outbound: POST to Teams webhook URL (plain text, not adaptive cards for mobile copy-ability)\n- Inbound: WorkIQ MCP tool polls Teams channel for replies matching a unique thread ID\n- Deduplication via message timestamp tracking\n\n### Acceptance Criteria\n\n- [ ] `CommunicationAdapter` interface in `packages/squad-sdk/src/platform/types.ts`\n- [ ] `GitHubDiscussionsAdapter` implementation\n- [ ] `ADOWorkItemDiscussionAdapter` implementation (leverages existing ADO adapter)\n- [ ] `TeamsWebhookAdapter` implementation (from prototype)\n- [ ] `FileLogAdapter` fallback (always available)\n- [ ] Scribe integration — posts to channel after agent batches\n- [ ] Config schema in `.squad/config.json`\n- [ ] `squad init` offers channel setup as optional post-init step\n- [ ] Docs: communication channel setup per platform\n- [ ] Phone-capable: all adapters except FileLog work on mobile\n\n### Non-Goals (for this issue)\n\n- Push notifications from platform to Squad (Phase 2 — Power Automate / Bot Framework)\n- Cross-squad communication aggregation (belongs in #242 meta-hub)\n- Real-time chat (Squad is async-first)\r\n","author":{"url":"https://github.com/tamirdresher","@type":"Person","name":"tamirdresher"},"datePublished":"2026-03-07T18:01:33Z","url":"https://github.com/github/squad/issues/261"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d5c9d9c2-d707-17d7-7bdb-bfeed2355d0f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B4A4:1EB1:994F6F:C848B0:6B0153FE |
| html-safe-nonce | 2b4fd3b6500a8e8cc45a867c6411915b45e31e2f7d19d0aa8d69109cdaff68f8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNEE0OjFFQjE6OTk0RjZGOkM4NDhCMDo2QjAxNTNGRSIsInZpc2l0b3JfaWQiOiIxMzMwNDI2NjMzNTI1NDgyNDk0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1b91cb88bd12e7ea15491746ab41b7890ff981affd7da17ce0355a6beeb78499 |
| hovercard-subject-tag | issue:4039067345 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/squad/261/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e64ac65b395fa5a3ac62153d00456f81eb1ae29275d2b319f02dfcd204d87af3/github/squad/issues/261 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e64ac65b395fa5a3ac62153d00456f81eb1ae29275d2b319f02dfcd204d87af3/github/squad/issues/261 |
| og:image:alt | CommunicationAdapter — Platform-agnostic agent-human communication Problem Squad agents need to communicate with humans (status updates, decisions, escalations, questions). Currently this is ad-hoc... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tamirdresher |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/github/squad git https://github.com/github/squad.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 1151205052 |
| octolytics-dimension-repository_nwo | github/squad |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1151205052 |
| octolytics-dimension-repository_network_root_nwo | github/squad |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width