Skip to content

fix(conversations): Add participants only when they start a Turn - #2571

Merged
dcramer merged 2 commits into
mainfrom
fix/turn-input-participants
Nov 2, 2026
Merged

dcramer merged 2 commits into
mainfrom
fix/turn-input-participants

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Anyone whose message landed in a Slack thread became a conversation participant. That gave them feed membership, archive state, and private-conversation access, and put them in the participant list. This happened even when Junior only stored their message as context: thread backfill, skipped passive messages, or passive-routing off.

The event store now adds a participant only when a turn_started event names one of that person's messages as Turn input. The root actor rule does not change. Message events still keep their author identity, so attribution is the same.

The dashboard participant list reads message authors through the participants table, so it follows the same rule. System identities have no participant rows, so the explicit kind != system filter is no longer needed.

A mention from a different person during a running Turn is queued as its own follow-up Turn (the default follow_up mode), so that person joins. The Slack steering eval now checks this through the dashboard participant list.

Known gaps:

  • A !! override, or JUNIOR_CROSS_ACTOR_MID_RUN_MODE=steer, puts another person's message into the running Turn. It is not in turn_started, so that person does not join.
  • Existing rows from passive thread messages stay. Cleaning them up needs a data migration. This PR does not include one.

via @dcramer.

--

View Session [Sentry]

Co-Authored-By: David Cramer <23610+dcramer@users.noreply.github.com>
@vercel

vercel Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
junior-docs Ready Ready Preview Nov 2, 2026 10:45pm UTC

Request Review

@github-actions

github-actions Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

4 screenshot changes — 4 changed · 0 added · 0 removed

Review screenshots in Frameshift

Conversation Child Agent Drawer · Desktop
Conversation Child Agent Drawer · Desktop
Changed
Conversation Child Agent Drawer · Mobile
Conversation Child Agent Drawer · Mobile
Changed
Conversation Share Details · Desktop
Conversation Share Details · Desktop
Changed
Settings Mcp · Desktop
Settings Mcp · Desktop
Changed

Co-Authored-By: David Cramer <23610+dcramer@users.noreply.github.com>
@dcramer
dcramer merged commit 4e14179 into main Nov 2, 2026
51 checks passed
@dcramer
dcramer deleted the fix/turn-input-participants branch November 2, 2026 23:02

This branch was successfully deployed

1 active deployment
Preview – junior-docs — 55ae52ff Deployed Nov 2, 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