Skip to content

Print the title command when the agent opens a thread - #1017

Merged
max-sixty merged 3 commits into
mainfrom
agent-thread-title-hint
Sep 23, 2026
Merged

max-sixty merged 3 commits into
mainfrom
agent-thread-title-hint

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

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 comment now prints the leaf conversation title command for the thread it opened, beside the id it already printed. Every host runs that command, including the hosted agent, so worker/server.py's separate naming sentence is gone and three hosted-agent snapshots drop it. conversation-threads.md notes the extra line.

/developing-leaf gains 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, per AGENTS.md's "Stage".

Tests: test_interact_layer's bare-comment assertion now expects the naming line.

🤖 Generated with Claude Code

This was written by Claude Code on behalf of max-sixty

max-sixty and others added 3 commits September 23, 2026 08:36
`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]>
@max-sixty
max-sixty merged commit 96f1d6e into main Sep 23, 2026
5 checks passed
@max-sixty
max-sixty deleted the agent-thread-title-hint branch September 23, 2026 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants