Repository navigation
Conversation
A task carries the child full instruction, which is too long to tell rows apart when several children share one agent type. Accept an optional description on the single call, tasks entries and chain entries, carry it through the live and final projections and the lane snapshot validation, and show it as the row title in the list widget, the subagents command and the expanded record. Without a label every surface behaves as before.
liuedcson
requested review from
MelodyVAR,
Uking-xxx and
ZouR-Ma
as code owners
November 30, 2026 06:22
In parallel mode a model filled the top-level description next to the per-entry labels, because the top-level field shared the entry text. Mark the top-level description and model as single-mode fields, matching the neighbouring agent and task fields. Shorten the label text to one line.
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.
Problem
A delegated task carries the child's full instruction. It is usually long, so when several children share one agent type the list rows, the
/subagentsoutput and the expanded record all show the same agent name and an unreadable task start.Change
Add an optional short
descriptionto the single call, totasksentries and tochainentries, next tomodelat each level.step-subagent.ts: schema fields and types. Entry text:Short label (3-5 words) naming this task in the UI.subagent/execute.ts: read the value (trimmed, empty means none) and write it into the queued, running, completed and failed records.subagent/projection.ts: carry it through the live and final projections, clipped like other identifiers.subagent/lane-events.ts: validate it as a string at the lane snapshot boundary.subagent/rendering.ts,step-subagents-command.ts: use it as the row title, falling back to the task; the expanded record shows it above the full task.The field is optional, so existing calls are accepted unchanged and every surface behaves as before when it is absent.
Prompt change to an existing field
The top-level
descriptionandmodelare read only in single mode; intasksandchaineach entry carries its own. Their schema text now says so:descriptiongets(for single mode)like the neighbouringagentandtask, andmodelgets(single mode)to stay inside the existing 200-character budget. Without the marker, a model in parallel mode filled the top-level label next to the per-entry ones, and a top-levelmodelin parallel mode is ignored silently.Validation
pnpm exec vitest --run test/subagent-child-queue.test.ts test/subagent-list-widget.test.ts test/step-capabilities-extension.test.ts test/subagent-model-route.test.tsinpackages/coding-agent: 73 passed, including the model description size budget.pnpm run check: passes.Not in this change
The
<agent-notification>text sent to the parent model is unchanged. Hosts that render subagent rows themselves need to read the new field separately.