Skip to content

[Bug]: Slack thread parent message missing from conversation context #2950

@jneeee

Description

@jneeee

Bug Description

When Hermes responds inside a Slack thread, the first message that started the thread (the parent/root message) is not included in the conversation context. Only subsequent thread replies are visible to the agent.

This means if the original message contains the key question or instructions, Hermes has no awareness of it when responding in the thread.

Steps to Reproduce

  1. Send a message in any Slack channel (this becomes the thread root)
  2. Reply to it in a thread — or have Hermes reply in thread mode
  3. Continue the conversation in the thread
  4. Hermes's context only contains the thread replies, not the original root message

Expected Behavior

The parent/root message that started the thread should be included as the first message in the conversation context.

Actual Behavior

Only thread reply messages are fetched. The original parent message is absent from context.

Affected Component

Gateway (Slack)

Messaging Platform

Slack

Related Issues

Similar to #1953 (Slack bot doesn't fetch thread on @mention), but specifically about the parent message being excluded even when thread replies are correctly fetched.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium — degraded but workaround existscomp/gatewayGateway runner, session dispatch, deliveryplatform/slackSlack app adaptertype/bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions