Skip to content

[codex] Shorten chat thread titles to four words#37

Closed
gabrielMalonso wants to merge 2 commits intomainfrom
t3code/thread-ai-names
Closed

[codex] Shorten chat thread titles to four words#37
gabrielMalonso wants to merge 2 commits intomainfrom
t3code/thread-ai-names

Conversation

@gabrielMalonso
Copy link
Copy Markdown
Owner

Summary

  • shorten auto-generated chat thread titles to compact 2-4 word labels
  • share thread title fallback and sanitization logic across web and server
  • add a small scripts/setup-worktree.sh helper to bootstrap a fresh worktree before running bun dev

Why

Thread names were still reading like mini summaries, which made the sidebar noisy and harder to scan. The goal here is to make thread names behave more like compact task labels.

Impact

  • new threads now get shorter optimistic titles in the UI
  • model-generated thread titles are constrained more aggressively before they hit the sidebar
  • fresh worktrees get a simple bootstrap script for installing dependencies and preparing local state

Testing

  • bun fmt
  • bun lint (passes with one pre-existing warning in apps/web/src/environments/runtime/catalog.test.ts)
  • bun typecheck
  • bun run test src/chatThreads.test.ts in packages/shared
  • bun run test src/git/Prompts.test.ts src/git/Layers/CodexTextGeneration.test.ts src/git/Layers/ClaudeTextGeneration.test.ts src/orchestration/Layers/ProviderCommandReactor.test.ts in apps/server

- Share thread-title sanitizing logic across server and web
- Use the generic title as the fallback for empty prompts
- Add setup script for bootstrapping a fresh worktree
@github-actions github-actions bot added size:L 100-499 changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Apr 10, 2026
@gabrielMalonso
Copy link
Copy Markdown
Owner Author

Fechando sem mergear. A mudanca entrega valor, mas o footprint no core e o custo de manutencao para sync com upstream ficaram maiores do que o desejado para esta feature agora. Vamos deixar essa ideia de lado por enquanto e, se fizer sentido depois, reabrir em uma versao mais cirurgica.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L 100-499 changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant