Skip to content

feat(conversations): Generate titles outside Slack - #1404

Merged
dcramer merged 4 commits into
mainfrom
feat/conversation-title-runtime
Aug 11, 2026
Merged

dcramer merged 4 commits into
mainfrom
feat/conversation-title-runtime

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Aug 10, 2026 •

Copy link
Copy Markdown
Contributor

Dashboard-started conversations never got generated titles because title work lived in the Slack assistant-thread helper.

This makes title generation automatic and singular:

  • after durable human transcript writes, persistConversationMessages schedules set-once title generation
  • one service owns generation + SQL persistence
  • Slack only joins that work and projects a stored title onto DM assistant threads
  • API/dashboard turns get titles from the same path without a second orchestration hook
  • child conversations are skipped
  • short-title prompt is no longer Slack-specific

No provider or runtime service injects a title generator anymore.

Checks:

  • integration: api-turn-work
  • integration: slack bot-handlers thread title
  • integration: slack assistant-thread-contract
  • unit: short-title, conversation-memory
  • integration eval: lifecycle title cases (default Slack start title + non-default SQL title after first human message)

Refs #1200

Requested by David Cramer.

Move set-once conversation title generation into a provider-neutral
service and call it from Slack and dashboard turns. Slack only mirrors
stored titles onto DM assistant threads.

Co-Authored-By: David Cramer <[email protected]>
@vercel

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

Request Review

Generate conversation titles only after durable human transcript writes.
Provider surfaces join or project the stored title; they no longer own
generation or inject title helpers through runtime services.

Co-Authored-By: David Cramer <[email protected]>
Expose Slack title strings from the harness and prove the automatic
title path stores a non-default SQL title after the first human message.

Co-Authored-By: David Cramer <[email protected]>

@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 5df6cb7. Configure here.

Title generation latency must not advance lastActivityAtMs. Persist the
title with the earliest human message timestamp instead of Date.now().
@dcramer
dcramer merged commit d89933b into main Aug 11, 2026
42 checks passed
@dcramer
dcramer deleted the feat/conversation-title-runtime branch August 11, 2026 00:38

This branch was successfully deployed

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant