Skip to content

fix(subagents): Show child transcripts and the agent tree - #2128

Merged
dcramer merged 4 commits into
mainfrom
fix/subagent-visibility
Oct 14, 2026
Merged

dcramer merged 4 commits into
mainfrom
fix/subagent-visibility

Conversation

@sentry-junior

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

Copy link
Copy Markdown
Contributor

The Subagents panel was empty for a completed child agent. The child ran, but the dashboard builds a transcript from message events. A child has no Location, so nothing wrote them.

Child transcript. The child worker now writes a message event for the child's input and for a completed result (agent-invocations/markers.ts). Children that ran before this change stay empty.

Result input. A child result answers work that the parent gave away. It is not a task, so it no longer uses renderTaskInput. agent-invocations/result.ts now writes a short [agent result] input: the status, the task title, the child conversation, and the child output as-is. A failed child also gets a next step: use spawnAgent again, or tell the user what is blocked.

The output has no "information, not instructions" label. The child runs as the same Actor with the same tools, so that label adds no protection. The input still says that it is not from a person, because a child cannot give user approval.

Dashboard.

  • A row in the Subagents tab opens the child transcript drawer.
  • The detail of a child Conversation has agentTree, its parent chain from the root. Each Conversation has its own access check. The child page shows it as a breadcrumb with links to each parent.
  • A child page uses the agent label as its title and has no message box. The server already rejects messages to a child.

Child page:

Child page with agent tree

Subagents tab:

Subagents tab

Archive on a child page still archives the whole tree. This PR does not change that.

via David Cramer.

--

View Junior Session [Sentry]

@vercel

vercel Bot commented Oct 14, 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 14, 2026 4:58am 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.

Stale Bugbot comment from a previous run.

@sentry-junior sentry-junior Bot changed the title fix(subagents): Show child transcripts and the agent tree in the dashboard fix(subagents): Show child transcripts and the agent tree Oct 14, 2026

@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.

Stale Bugbot comment from a previous run.

@github-actions

github-actions Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

4 screenshot changes — 2 changed · 2 added · 0 removed

Review screenshots in Frameshift

Conversation Subagents Tab · Desktop
Conversation Subagents Tab · Desktop
Changed
Conversation Subagents Tab · Mobile
Conversation Subagents Tab · Mobile
Changed

@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.

Stale Bugbot comment from a previous run.

Record the task and result of a child agent as messages in the child
Conversation, so its transcript drawer and page are no longer empty.
Give child agent results their own short input instead of the task
wrapper, and pass the child's output to the parent as-is.

In the dashboard, open the child transcript from a Subagents row, and
show an agent tree breadcrumb of the parents on a child Conversation
page. Keep the usage and runtime row layout from #2130.

Co-Authored-By: David Cramer <[email protected]>
Show the drawer status with the same StatusChip and tone as the Subagents
tab, instead of a CSS capital on mono text. Share the status tone, match
agent tree links to the fork links, and drop an unused helper.

Co-Authored-By: David Cramer <[email protected]>

@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 2 potential issues.

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 23e6a5f. Configure here.

Match the transcript drawer, which already shows the task title before the
agent name, so a child has the same label in the drawer and on its page.

Co-Authored-By: David Cramer <[email protected]>
A failed child reply append no longer keeps the parent from seeing that the
child ended. Explain why a child page has no approval controls.
@dcramer
dcramer merged commit 467e939 into main Oct 14, 2026
47 checks passed
@dcramer
dcramer deleted the fix/subagent-visibility branch October 14, 2026 05:07

This branch was successfully deployed

1 active deployment
Preview – junior-docs — 09436878 Deployed Oct 14, 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