Skip to content

Add planning phase and separate queen/worker tool docs #6049

@RichardTang-Aden

Description

@RichardTang-Aden

The queen agent currently jumps straight into building without a planning phase, and its prompt documents only coder-tools file I/O names (read_file, write_file, etc.) without mentioning the worker's hive-tools equivalents (view_file, write_to_file, etc.). This causes the queen to mistakenly instruct workers to use tools they don't have.

Changes:

  • Add a planning phase with read-only tools and dedicated knowledge prompt for collaborative goal-setting before building
  • Add a "Worker File Tools" section documenting hive-tools MCP names so the queen references correct tool names for workers
  • Add replan_agent lifecycle tool to return from building to planning
  • Update frontend to display phase state
  • Improve debug script for queen prompt inspection

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions