Skip to content

fix(slack): enable writable App Home DMs in manifest#20503

Closed
dandacompany wants to merge 1 commit into
NousResearch:mainfrom
dandacompany:fix/slack-app-home-manifest
Closed

fix(slack): enable writable App Home DMs in manifest#20503
dandacompany wants to merge 1 commit into
NousResearch:mainfrom
dandacompany:fix/slack-app-home-manifest

Conversation

@dandacompany

Copy link
Copy Markdown
Contributor

Summary

  • Add features.app_home to the generated full Slack app manifest so App Home DMs are enabled and writable by default.
  • Add groups:read to the generated bot scopes so private-channel directory enumeration has the scope it already expects.
  • Add regression tests for the full hermes slack manifest output while preserving the existing Slack Assistant manifest fields.

Context

The Slack setup docs already call out that the Messages Tab must be enabled, otherwise users see "Sending messages to this app has been turned off" when trying to DM the bot. That documentation landed in #3590, but hermes slack manifest --write did not encode the same App Home setting, so users following the recommended manifest path could still create an app with blocked DMs.

This keeps the existing assistant UX (assistant_view, assistant:write, and assistant thread events) intact; it only makes the generated manifest match the documented DM setup requirement.

Related to #17054.

Tests

  • uv run --extra dev pytest tests/hermes_cli/test_slack_cli.py tests/hermes_cli/test_commands.py::TestSlackAppManifest -q
  • uv run --extra dev ruff check hermes_cli/slack_cli.py tests/hermes_cli/test_slack_cli.py

@alt-glitch alt-glitch added type/bug Something isn't working platform/slack Slack app adapter comp/cli CLI entry point, hermes_cli/, setup wizard P2 Medium — degraded but workaround exists labels May 6, 2026
@teknium1

teknium1 commented May 9, 2026

Copy link
Copy Markdown
Contributor

Merged via PR #22145#22145

Your commit was cherry-picked onto current main with authorship preserved via rebase-merge, so git log credits @dandacompany for the fix(slack): enable writable app home DMs in manifest commit. Thanks for the fix — the generated manifest now matches what Slack needs for the App Home Messages tab + private channel enumeration.

JZKK720 pushed a commit to JZKK720/hermes-agent that referenced this pull request May 11, 2026
rmulligan pushed a commit to rmulligan/hermes-agent that referenced this pull request May 11, 2026
JinyuID pushed a commit to JinyuID/hermes-agent that referenced this pull request May 11, 2026
jsboige pushed a commit to jsboige/hermes-agent that referenced this pull request May 14, 2026
Egavasyug pushed a commit to Egavasyug/hermes-agent that referenced this pull request May 25, 2026
gweeteve pushed a commit to gweeteve/hermes-agent that referenced this pull request Jun 2, 2026
Egavasyug pushed a commit to Egavasyug/hermes-agent that referenced this pull request Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/cli CLI entry point, hermes_cli/, setup wizard P2 Medium — degraded but workaround exists platform/slack Slack app adapter type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants