fix: show only direct conversation initiated by the user via the :conversation command#3510
Merged
Conversation
5e37191 to
ddf59eb
Compare
:conversation command
2456239 to
1ae93a1
Compare
amitksingh1490
approved these changes
Jun 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add conversation tree navigation and child list views to browse parent-child conversation hierarchies, plus filter out auto-generated conversations from listings.
Context
When agents spawn child conversations (e.g., for sub-tasks), users had no way to navigate or view these related conversations. This made it difficult to track work distributed across multiple conversation threads. The conversation list was also cluttered with auto-generated conversations that users didn't initiate.
Changes
conversation-treecommand (ctalias) to interactively browse child conversations spawned by the current conversation and switch between them--parentflag toselect conversationto filter the conversation picker to child conversations only--parentflag tolist conversationto display child conversations in structured (porcelain) formatconversation-treeaction via:conversation-treealiasKey Implementation Details
user_initiated_conversations()filters conversations to only those whereinitiator == "user"and excludes conversations that arerelated_conversation_idsof other conversations (intermediate nodes)conversation-treecommand validates the parent exists, fetches children, presents an interactive selector, and switches the active conversation on selectionlist conversation --parent <id>outputs child conversations in a structured table with title and relative time agoUse Cases
:conversation-treeto browse child conversations inlineTesting
Links