Skip to content

Use sandbox thread key for company context live Slack - #40

Open
fineas-bot[bot] wants to merge 1 commit into
mainfrom
codex/company-context-env-thread
Open

Use sandbox thread key for company context live Slack#40
fineas-bot[bot] wants to merge 1 commit into
mainfrom
codex/company-context-env-thread

Conversation

@fineas-bot

@fineas-bot fineas-bot Bot commented Jun 24, 2026

Copy link
Copy Markdown

Summary

  • Let company_context resolve the active Slack channel from CENTAUR_THREAD_KEY when the CLI runs outside an in-process ToolContext.
  • Keep live Slack gap-fill scoped to the current Slack channel while indexed company-context search can still retrieve public Slack context broadly.
  • Add regression coverage for ToolContext precedence, env fallback, DM rejection, and live Slack search using the sandbox thread key.

Verification

  • uv run --with pytest --with asyncpg --with slack-sdk --with rich pytest tools/productivity/company_context/tests/test_client.py (24 passed)
  • Remote head commit cd80092e199d426f22c3c983c86f92486c749cad is GitHub verified (valid).

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.

0 participants