Repository navigation
Ask for a thread summary through the event's handling - #1055
Merged
Merged
Conversation
A delivery put `summary_hint` only in the batch's `conversations` digest. An agent reading a batch for what is new projects `.events[]` and skips the digest, so in the diagnosed session three deliveries carried a hint for a thread well past a page long and the agent never saw one. The hint now also feeds the clause match, and a `handling.reply` clause fires on it: the reply event itself tells the agent to summarize the range the digest names, the way the null-title clause already asks it to name a thread. The Codex pointer's `<summarize>` element carried the same ask a second way and is gone; a Codex task reads the delivery, clause included. Tests: the Codex pointer test is deleted, the real-summary snapshot drops the pointer and asserts the reply's handling names the hint, and the handling table gains a "reply in a long thread" case. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The hint carried its own `operation` and `instruction` prose, a second channel of agent instructions outside the registry's `handling` clauses and their snapshot table. It now carries only `from` and `through`; the reply's handling clause names the command and the range fields. The thread-context test no longer asserts the removed prose. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
approved these changes
Sep 23, 2026
# Conflicts: # skills/leaf/references/event-batches.md
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.
A delivery put
summary_hintonly in the batch'sconversationsdigest. An agent that reads a batch for what is new projects.batches[].events[]and skips the digest. In the session this came from, three deliveries carried a hint for a thread well past a page long, and the agent never saw any of them.handling. The hint now feeds clause matching besideobligation. A new$events.handling.replyclause fires on it (reactions excluded) and namesleaf conversation summarize … --from --through, the same way the null-title clause asks the agent to name a thread. It appears in the per-case handling snapshot as "reply in a long thread".summary_hintis data only. It carries{from, through}. Itsoperationandinstructionprose, and the Codex pointer's<summarize>element, were agent instructions outsidehandlingand are gone.Tests: the Codex
<summarize>test is deleted; the real-delivery snapshot asserts that the reply'shandlingincludes the clause; the thread-context test no longer asserts the removed prose.🤖 Generated with Claude Code