[BUG] Agent Teams SendMessage renders teammate message bodies instead of compact summaries

Status Fixed / completed
Reported on v2.1.156
Maintainer reply None cached
Activity 3 comments · opened May 30, 2026 · closed Jun 27, 2026

Agent Teams SendMessage / teammate-message notifications are rendering full teammate message bodies in the main conversation UI instead of staying compact around the summary field.

Environment

Observed in both:

  • Ubuntu 24.04 on WSL2, Claude Code 2.1.156
  • Native Windows, Claude Code 2.1.158

Agent Teams is enabled in both environments.

Expected Behavior

A SendMessage with both summary and message body should render compactly by default, showing the summary preview. The full body should remain hidden unless explicitly expanded/opened.

Actual Behavior

The UI renders both the summary-style header and the full message body directly in the transcript.

Example received message:

@haiku-tester❯ Received test message, echoing PING-7F3A-OK token
  Confirmed receipt of test message. Echo token: PING-7F3A-OK. Running on Haiku model.

Example sent message:

@team-lead❯ SendMessage round-trip test, please echo token
  This is a SendMessage round-trip test. Please reply to team-lead now via SendMessage.

  Your reply MUST include both:
  1. summary field — a 5-10 word preview, and
  2. message body — confirming receipt, echoing the token below, and stating your model.

  ECHO TOKEN: PING-7F3A-OK

  Reply via SendMessage to team-lead. Do not write local text output.
PreToolUse:SendMessage says: [2026-05-30T11:30:20Z] PreToolUse: SendMessage
PostToolUse:SendMessage says: [2026-05-30T11:30:20Z] PostToolUse: SendMessage

Notes

The message data has separate summary and body fields, so this appears to be a rendering/collapsing issue rather than missing source data.

Local config and inbox JSON are not attached here to avoid exposing private settings, but the relevant high-level setup is: Agent Teams enabled, WSL uses tmux teammate mode, and native Windows uses auto teammate mode.

Related Issues

View original on GitHub ↗

3 Comments

ianlamfar · 4 months ago

Adding redacted config/inbox details. No filesystem paths are included.

Redactions/omissions applied:

  • All filesystem locations omitted
  • Timestamps omitted
  • Session IDs replaced with <SESSION_ID>
  • tmux pane IDs omitted
  • Hook command bodies, plugin lists, marketplace details, and private endpoints omitted
  • Path-bearing config fields omitted

Additional note: this behavior has been observed since sometime in April or early May.

WSL/Linux inbox data

[
  {
    "from": "haiku-tester",
    "text": "Confirmed receipt of test message. Echo token: PING-7F3A-OK. Running on Haiku model.",
    "summary": "Received test message, echoing PING-7F3A-OK token",
    "color": "blue",
    "type": "message",
    "read": true
  }
]
[
  {
    "from": "team-lead",
    "text": "This is a SendMessage round-trip test. Please reply to team-lead now via SendMessage.\n\nYour reply MUST include both:\n1. summary field — a 5-10 word preview, and\n2. message body — confirming receipt, echoing the token below, and stating your model.\n\nECHO TOKEN: PING-7F3A-OK\n\nReply via SendMessage to team-lead. Do not write local text output.",
    "summary": "SendMessage round-trip test, please echo token",
    "type": "message",
    "read": true
  }
]

WSL/Linux team config summary

{
  "name": "sendmessage-test",
  "description": "Plumbing test for SendMessage round-trip (summary + body)",
  "leadAgentId": "team-lead@sendmessage-test",
  "leadSessionId": "<SESSION_ID>",
  "members": [
    {
      "agentId": "team-lead@sendmessage-test",
      "name": "team-lead",
      "agentType": "team-lead",
      "model": "claude-opus-4-8",
      "subscriptions": []
    },
    {
      "agentId": "haiku-tester@sendmessage-test",
      "name": "haiku-tester",
      "color": "blue",
      "agentType": "general-purpose",
      "model": "haiku",
      "planModeRequired": false,
      "backendType": "tmux",
      "isActive": false,
      "subscriptions": []
    }
  ]
}

WSL/Linux Claude config summary

{
  "model": "opus",
  "teammateMode": "tmux",
  "tui": "fullscreen",
  "verbose": false,
  "alwaysThinkingEnabled": true,
  "effortLevel": "xhigh",
  "env": {
    "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1",
    "CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING": "1",
    "CLAUDE_CODE_DISABLE_1M_CONTEXT": "1",
    "CLAUDE_CODE_AUTO_COMPACT_WINDOW": "250000"
  },
  "hooks": {
    "hasMessageDisplayHook": false,
    "events": [
      "ConfigChange",
      "PermissionDenied",
      "PostCompact",
      "PostToolBatch",
      "PostToolUse",
      "PostToolUseFailure",
      "PreCompact",
      "PreToolUse",
      "SessionStart",
      "Stop",
      "SubagentStart",
      "SubagentStop",
      "TaskCompleted",
      "UserPromptSubmit"
    ]
  },
  "permissions": {
    "defaultMode": "auto",
    "allowCount": 115,
    "denyCount": 0
  },
  "preferences": {
    "tmuxSplitPanes": true
  }
}

Native Windows Claude config summary

{
  "autoUpdatesChannel": "latest",
  "teammateMode": "auto",
  "env": {
    "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1"
  },
  "extraKnownMarketplacesCount": 0,
  "hooks": "not configured"
}

No matching test-team fixture was present in the native Windows configuration area.

ianlamfar · 3 months ago

behaviour changed, v2.1.195. satisfactory now.

github-actions[bot] · 1 month ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.