Skip to content

fix(slack): clarify named-channel posting limits#232

Merged
dcramer merged 1 commit intomainfrom
codex-fix-slack-cross-channel-posting
Apr 21, 2026
Merged

fix(slack): clarify named-channel posting limits#232
dcramer merged 1 commit intomainfrom
codex-fix-slack-cross-channel-posting

Conversation

@dcramer
Copy link
Copy Markdown
Member

@dcramer dcramer commented Apr 21, 2026

Clarify that slackChannelPostMessage only applies to the active channel and add a regression eval for cross-channel post requests.

The issue in #231 is model behavior, not deterministic tool routing. The active-channel post tool was being treated as if it could satisfy requests for another named channel, which let Junior post in the wrong place and report success.

This tightens the tool description so the model is told to explain the limitation instead of calling the current-channel post tool, and adds a routing eval that requires an in-thread refusal with no channel post for #discuss-design-engineering requests.

Fixes #231

Teach the Slack channel post tool prompt to treat named-channel requests as out of scope for the active-channel post tool, and cover the regression with an eval for issue #231.

Refs #231

Co-Authored-By: GPT-5 <noreply@openai.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
junior-docs Ready Ready Preview, Comment Apr 21, 2026 3:19pm

Request Review

@dcramer dcramer marked this pull request as ready for review April 21, 2026 15:20
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

@dcramer dcramer merged commit 53fee8d into main Apr 21, 2026
15 checks passed
@dcramer dcramer deleted the codex-fix-slack-cross-channel-posting branch April 21, 2026 15:24
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.

error when asked to post to a non-active Slack channel instead of posting in the current one

1 participant