Skip to content

Keep a session's note when its summary skips some sub-agents - #6

Merged
MilosMosovsky merged 1 commit into
mainfrom
session-summary/2026-11-06-partial-subagent-notes
Nov 6, 2026
Merged

MilosMosovsky merged 1 commit into
mainfrom
session-summary/2026-11-06-partial-subagent-notes

Conversation

@MilosMosovsky

Copy link
Copy Markdown
Owner

What and why

A session whose summary leaves out some of its sub-agents now keeps its own note, and only the missing sub-agents show as not summarized. Before, one omitted line cost the whole session its note. Sessions with dozens of sub-agents (one on this Mac has 83) kept coming back "not summarized" run after run. This was the open decision from #4's review, settled here the way that review recommended.

summarize in agentyard mcp also waits up to 50 seconds instead of 3 minutes, under the minute many MCP clients allow a tool call. A longer run answers that it is still running, and get_summary shows it in progress (#5's review).

Checklist

  • gofmt -l . is clean, go vet ./... and go test -race ./... pass
  • No new dependencies (agentyard is stdlib only)
  • UI changes: none

The notes test now checks a partial answer. The parent keeps its note, lines for sessions that are not its sub-agents are dropped, and a duplicate line counts once.


🤖 Generated with Claude Code

https://claude.ai/code/session_01NtvhFvhWywmqE7ZEmKxLJy

… 0.11.1

A note was thrown away unless the model returned one line for every
sub-agent, so a session with dozens of sub-agents (one on this Mac has
83) kept coming back not summarized. Now the session keeps its note,
lines for sessions that are not its sub-agents are dropped, and the
sub-agents the answer left out show as not summarized.

agentyard mcp's summarize waits up to 50 seconds, under the minute
many MCP clients allow a tool call; a longer run answers that it is
still running.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NtvhFvhWywmqE7ZEmKxLJy
@MilosMosovsky
MilosMosovsky merged commit e3d4831 into main Nov 6, 2026
2 checks passed
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.

1 participant