ref(chat)!: add task, Plugin dispatch, and Agent invocation Sources - #1737
ref(chat)!: add task, Plugin dispatch, and Agent invocation Sources#1737dcramer wants to merge 4 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
86c2230 to
9b95183
Compare
9b95183 to
3b78387
Compare
3b78387 to
9bc0a8f
Compare
7926d8d to
9b66579
Compare
9b66579 to
a3aa7c0
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 2873322. Configure here.
| ) | ||
| source.kind === "slack" || source.kind === "web" || source.kind === "local" | ||
| ? await loadConversationContextTranscriptEntries(record, source, runActor) | ||
| : [] |
There was a problem hiding this comment.
Plugin tasks drop Slack context
Medium Severity
Prior public Slack thread evidence is now skipped whenever the Turn source is scheduled_task, event_task, plugin_dispatch, or agent_invocation. That decision uses the trigger Source, but conversation context is a Conversation Location and visibility concern. Plugin session.completed tasks for scheduled Slack work and Agent invocations therefore lose the public thread messages a completed run may have acted on.
Reviewed by Cursor Bugbot for commit 2873322. Configure here.


Scheduled tasks, Event tasks, Plugin dispatches, and Agent invocations now set
the Source that caused each Turn. They no longer copy a Slack Source or the
parent Run's Source. Plugin background tasks use the Source saved on the Turn.
Slack tools use the Conversation Location and visibility. Actions on the
current Slack message still require a Slack Source. Slack reply instructions
require Delivery and a Slack Location. This lets scheduled Slack work reply to
Slack while an Agent invocation can use Slack tools without sending its result
to Slack.
Plugin dispatch callers must stop passing
source; Junior now sets Plugindispatch Source. Legacy session Source and Destination reads remain only for
deployed data. TODOs state when to remove them. Scheduled task and Event task
tools still require Slack when users manage them. TODOs state that these tools
should later work from web and other Conversations.
Refs #1563