Skip to content

Change spawn worker tool instructions to put the bulk of instructions in the initial message not the system prompt#4338

Open
KyleAMathews wants to merge 3 commits into
mainfrom
spawn-worker
Open

Change spawn worker tool instructions to put the bulk of instructions in the initial message not the system prompt#4338
KyleAMathews wants to merge 3 commits into
mainfrom
spawn-worker

Conversation

@KyleAMathews
Copy link
Copy Markdown
Contributor

This makes worker instructions always viewable as system prompts aren't generally visible when looking at agents.

Also cleaner separation — system prompt is "who are you" and initial message is "what you need to do".

… in the initial message not the system prompt
@codecov
Copy link
Copy Markdown

codecov Bot commented May 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.23%. Comparing base (6aa0186) to head (359fd09).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #4338       +/-   ##
===========================================
+ Coverage   36.09%   68.23%   +32.13%     
===========================================
  Files         172       75       -97     
  Lines       12150     7860     -4290     
  Branches     3977     2377     -1600     
===========================================
+ Hits         4386     5363      +977     
+ Misses       7754     2486     -5268     
- Partials       10       11        +1     
Flag Coverage Δ
packages/agents 70.78% <ø> (?)
packages/agents-server 73.46% <ø> (ø)
packages/agents-server-ui ?
packages/electric-ax 37.59% <ø> (?)
typescript 68.23% <ø> (+32.13%) ⬆️
unit-tests 68.23% <ø> (+32.13%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

KyleAMathews and others added 2 commits May 16, 2026 13:56
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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