Skip to content

fix(slack): Remove attachFile delivery path - #761

Merged
dcramer merged 1 commit into
mainfrom
codex/remove-attach-file-tool
Jul 5, 2026
Merged

dcramer merged 1 commit into
mainfrom
codex/remove-attach-file-tool

Conversation

@dcramer

@dcramer dcramer commented Jul 5, 2026 •

Copy link
Copy Markdown
Member

Slack file delivery now has one model-facing route: sendMessage(files) into the active conversation. The old attachFile tool, accumulated final-reply file state, Slack reply-planner upload branch, and prose-based attachment-claim correction are removed so file sends come only from explicit tool side effects.

Generated and fetched media now surface sandbox artifact paths with capability-aware guidance: Slack contexts with active-conversation send support can share those paths through sendMessage, while local/non-Slack contexts state that no file-send solution exists yet. The shipped browser skill and local validation docs now follow that same contract.

Final assistant replies are text-only across live runs, continuations, OAuth resume, dispatch, and local chat.

Refs #737

@vercel

vercel Bot commented Jul 5, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
junior-docs Ready Ready Preview, Comment Jul 5, 2026 11:25pm

Request Review

Comment thread packages/junior/src/chat/tools/index.ts Resolved

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 9771cf3. Configure here.

Remove the legacy attachFile tool and final-reply file attachment pipeline so Slack file sends go through sendMessage files only.

Generated and fetched media now surface sandbox artifact paths for sendMessage to share, while finalized replies stay text-only across live, resume, OAuth, dispatch, and local delivery paths.

Refs #737

Co-Authored-By: GPT-5 Codex <[email protected]>
@dcramer
dcramer force-pushed the codex/remove-attach-file-tool branch from 9771cf3 to c5d89aa Compare July 5, 2026 23:24
@dcramer
dcramer marked this pull request as ready for review July 5, 2026 23:29
@github-actions github-actions Bot added the risk: high PR risk score: high label Jul 5, 2026
@dcramer
dcramer merged commit d666546 into main Jul 5, 2026
20 checks passed
@dcramer
dcramer deleted the codex/remove-attach-file-tool branch July 5, 2026 23:46

This branch was successfully deployed

1 active deployment
Preview – junior-docs — c5d89aaa Deployed Jul 5, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: high PR risk score: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant