Skip to content

ref(chat): Remove destination visibility from AgentRun - #1722

Merged
dcramer merged 1 commit into
mainfrom
codex/remove-agent-run-visibility
Aug 28, 2026
Merged

dcramer merged 1 commit into
mainfrom
codex/remove-agent-run-visibility

Conversation

@dcramer

@dcramer dcramer commented Aug 28, 2026 •

Copy link
Copy Markdown
Member

Agent Runs now read visibility from the stored Conversation instead of carrying destinationVisibility as a second copy. A child Agent Run reads its parent Conversation when the child has no visibility, but it does not store a copy. The change also removes the duplicate value from resume state, paused Run routing, and Agent invocation data. The old Agent invocation SQL column remains as a marked storage field until it is safe to drop.

Slack saves the complete Conversation Location and its visibility before execution. Missing visibility still defaults to private for safe logging, but that default is not saved as a confirmed Conversation value. The paused Run path selects its Run fields directly, so provider routing data does not enter AgentRun.

Refs #1563

@vercel

vercel Bot commented Aug 28, 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 Aug 28, 2026 4:11pm

Request Review

Comment thread packages/junior/src/chat/agent/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 3103cdb. Configure here.

@dcramer
dcramer force-pushed the codex/remove-agent-run-visibility branch from 89c7c6c to 8b2670b Compare August 28, 2026 16:09
@dcramer
dcramer merged commit b58737c into main Aug 28, 2026
43 checks passed
@dcramer
dcramer deleted the codex/remove-agent-run-visibility branch August 28, 2026 16:28

This branch was successfully deployed

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

Labels

risk: medium PR risk score: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant