Skip to content

Ask for a thread summary through the event's handling - #1055

Merged
max-sixty merged 3 commits into
mainfrom
thread-summary-nudge
Sep 24, 2026
Merged

max-sixty merged 3 commits into
mainfrom
thread-summary-nudge

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

A delivery put summary_hint only in the batch's conversations digest. 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.

  • The ask moves into handling. The hint now feeds clause matching beside obligation. A new $events.handling.reply clause fires on it (reactions excluded) and names leaf 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_hint is data only. It carries {from, through}. Its operation and instruction prose, and the Codex pointer's <summarize> element, were agent instructions outside handling and are gone.

Tests: the Codex <summarize> test is deleted; the real-delivery snapshot asserts that the reply's handling includes the clause; the thread-context test no longer asserts the removed prose.

🤖 Generated with Claude Code

max-sixty and others added 2 commits September 23, 2026 13:34
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]>
# Conflicts:
#	skills/leaf/references/event-batches.md
@max-sixty
max-sixty merged commit 4ddda9f into main Sep 24, 2026
4 checks passed
@max-sixty
max-sixty deleted the thread-summary-nudge branch September 24, 2026 00:19
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