Skip to content

feat(subagents): Let listAgents show a child's parent and siblings - #2140

Merged
dcramer merged 1 commit into
mainfrom
feat/list-agent-relatives
Oct 15, 2026
Merged

dcramer merged 1 commit into
mainfrom
feat/list-agent-relatives

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Next step for the agent coordination tools in #2105. listAgents came only with spawnAgent. With the default limits.maxAgentDepth: 0, a child agent never got it, so it could not see the work around it.

Now every child run gets listAgents. Each listed agent has a relation: self, parent, child, or sibling. A child sees its own task and state, its parent, and the other child agents of its parent. A root sees only its child agents, as before.

The parent shows the Conversation execution status of the parent, with a failed Turn as idle. It has no task.

messageAgent still sends only to "parent" or a direct child. Messages to siblings and progress come next in #2105.

via David Cramer.

--

View Junior Session [Sentry]

@vercel

vercel Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
junior-docs Ready Ready Preview Oct 15, 2026 5:43am UTC

Request Review

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 401f4e0. Configure here.

@github-actions

github-actions Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

1 screenshot change — 1 changed · 0 added · 0 removed

Review screenshots in Frameshift

Code Repository · Desktop
Code Repository · Desktop
Changed

@sentry-junior
sentry-junior Bot force-pushed the feat/list-agent-relatives branch from a675f5c to c4b34e0 Compare October 15, 2026 01:05
dcramer added a commit that referenced this pull request Oct 15, 2026
Move both Frameshift steps from v0.1.0 (`b730732`) to v0.2.0
(`57ef8e4`).

v0.2.0 ignores sub-pixel glyph drift (dcramer/frameshift#17). Chrome
sometimes draws text a fraction of a pixel to one side between runs.
v0.1.0 reported those screenshots as changed, even though they look the
same. PR #2140 had 12 such false flags.

Checks:
- The `ci/` and `publish/workflow` action files did not change between
the two versions, so the inputs and baseline artifacts stay the same.
- v0.2.0 on the #2140 baseline and candidate images reports 0 changed
instead of 12.

Baseline images do not change. Frameshift checks this PR's screenshots
with v0.2.0. Real changes still show up.

<!-- junior-request-attribution:start -->
via **David Cramer**.
<!-- junior-request-attribution:end -->

<!-- junior-session-footer:start -->
<!-- junior-conversation-id:slack%3AC0B595QDZLL%3A1792026612.765249 -->

--

[View Junior
Session](https://junior-prod.sentry.dev/conversations/slack%3AC0B595QDZLL%3A1792026612.765249)
[[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AC0B595QDZLL%3A1792026612.765249/?project=4510944073809921)

<!-- junior-session-footer:end -->

Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: David Cramer <david@sentry.io>
@dcramer

dcramer commented Oct 15, 2026

Copy link
Copy Markdown
Member

need to rebase and deslop this, make sure its aligned w/ recent changes

@dcramer
dcramer merged commit 75668d9 into main Oct 15, 2026
48 checks passed
@dcramer
dcramer deleted the feat/list-agent-relatives branch October 15, 2026 05:48

This branch was successfully deployed

1 active deployment
Preview – junior-docs — e4a7c26a Deployed Oct 15, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: high PR risk score: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant