Skip to content

fix(agentic): bind Task subagent guidance to available_agents listing#899

Merged
bobleer merged 1 commit into
GCWing:mainfrom
bobleer:feat/task-subagent-available-agents-guidance
May 26, 2026
Merged

fix(agentic): bind Task subagent guidance to available_agents listing#899
bobleer merged 1 commit into
GCWing:mainfrom
bobleer:feat/task-subagent-available-agents-guidance

Conversation

@bobleer
Copy link
Copy Markdown
Collaborator

@bobleer bobleer commented May 26, 2026

Summary

  • Update agentic, multitask, team mode, and Task tool prompts to delegate only to subagents currently listed in <available_agents>, removing hardcoded Explore/FileFinder examples that can cause invalid Task calls.
  • Tighten Task tool schema guidance and add a regression test to prevent static subagent recommendations from returning.
  • Align subagent projection styling with Task card padding in the web UI.

Test plan

  • cargo check -p bitfun-core
  • cargo test -p bitfun-core task_prompt_guidance_avoids_static_subagent_recommendations -- --nocapture
  • Verify Task tool cards render subagent projection with consistent horizontal padding in expanded state

Stop hardcoding Explore/FileFinder examples in prompts and Task tool schema so models only delegate to subagents currently listed for the session. Align subagent projection styling with Task card padding.
@bobleer bobleer merged commit 1a6d3a4 into GCWing:main May 26, 2026
1 check passed
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