Skip to content

Fix Slack current-thread channel inference#657

Open
decofe wants to merge 1 commit into
mainfrom
fix-slack-current-channel-context
Open

Fix Slack current-thread channel inference#657
decofe wants to merge 1 commit into
mainfrom
fix-slack-current-channel-context

Conversation

@decofe

@decofe decofe commented Jun 18, 2026

Copy link
Copy Markdown
Member

Summary

  • Cross-check API Slack session context against the bound tool thread key before inferring upload destinations
  • Fall back to the tool thread key when API context is stale or mismatched
  • Add regression coverage for Slack channel mention destinations and stale API context

Tests

  • PYTHONPATH=/home/agent/branches/paradigmxyz/centaur/tools/productivity:/home/agent/branches/paradigmxyz/centaur uv run --no-project --with pytest --with slack-sdk --with structlog pytest /home/agent/branches/paradigmxyz/centaur/tools/productivity/slack/tests/test_client.py

Prompted by: @gakonst

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants