Repository navigation
feat(subagents): Guide parents to write self-contained tasks - #2146
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Member
|
need to rebase for the roach update |
The spawnAgent task description now tells the parent that the brief is the child's only context and lists what it must include. Refs #2105
The subagent brief case now puts the verified fact in an earlier thread message. The mention restates nothing, so the case checks that the parent carries thread-only facts into the brief. Refs #2105
sentry-junior
Bot
force-pushed
the
feat/subagent-self-contained-briefs
branch
from
October 16, 2026 04:08
8cd54f2 to
f6c2030
Compare
TERMINOLOGY.md uses Brief for the durable record of a Conversation. Call the spawnAgent input a self-contained task instead. Refs #2105 Co-Authored-By: David Cramer <[email protected]>
dcramer
approved these changes
Oct 16, 2026
This branch was successfully deployed
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.
A child agent gets no parent thread history and has its own sandbox, so the
spawnAgenttaskis its only context from the parent. The old description ("Task for the child agent") gave the parent no guidance on what to put in it.The
taskdescription now asks for a self-contained task: goal and output, target repos and refs, facts already verified, allowed remote side effects, done criteria, and evidence to return. It also tells the parent not to paste thread history or claim user approval. The tool description andmessageAgentstay as they are.messageAgentalready says "Include all context the target needs."Adds one subagent eval case. An earlier thread message states a verified fact, and the mention only asks to hand the work off. The case checks that the
spawnAgenttask carries that fact (file, typo, line). CI must record it.Refs #2105
via David Cramer.
--
View Junior Session [Sentry]