Repository navigation
Print the title command when the agent opens a thread - #1017
Merged
Merged
Conversation
`leaf comment` now prints the `leaf conversation title` command for the thread it opened, which reaches every host, so the hosted agent's instructions drop their own naming sentence. /developing-leaf now says a handoff leaves pre-change pages and logs out, per AGENTS.md's Stage. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The reply handling clause already asks for a title when the user first answers an agent-opened thread, so neither the CLI line nor the hosted agent's sentence is needed. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Reverts the previous commit; the user withdrew the request behind it. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
approved these changes
Sep 23, 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.
When the agent opens a thread with
leaf comment, nothing at that point asked it to name the thread, so the Threads panel listed it by its opening words. The handling clauses from #998 reach only user-written events in a delivery, and the agent's own comment is never delivered back to it.leaf commentnow prints theleaf conversation titlecommand for the thread it opened, beside the id it already printed. Every host runs that command, including the hosted agent, soworker/server.py's separate naming sentence is gone and three hosted-agent snapshots drop it.conversation-threads.mdnotes the extra line./developing-leafgains a short section: a handoff leaves pages, logs, and claims written by an earlier version out, and doesn't list reviving them as follow-up work, perAGENTS.md's "Stage".Tests:
test_interact_layer's bare-commentassertion now expects the naming line.🤖 Generated with Claude Code