feat: better prompts, protocols, and tests #7
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.
This pull request introduces a comprehensive plan for improving agent swarm capabilities, focusing on enabling agents in
mode: 'all'to handle direct user requests more flexibly and robustly. The plan details phased tasks, protocol enhancements, prompt modifications for multiple agents, temperature tuning for improved output quality, and thorough verification steps. Additionally, a review document is included, confirming that agent and MCP references are properly gated, with a few minor warnings and actionable items noted.Agent Swarm Improvements Plan:
Major themes and changes:
1. Protocol and Prompt Enhancements
clarificationandscopeAssessment—to improve how agents handle ambiguous or complex user requests, following the establishedPrompt.templatepattern.<direct_request_handling>,<ad_hoc_review>,<spec_iteration>, etc.2. Configuration Adjustments
explorer.tsfrom 0.7 to 0.4 and inresearcher.tsfrom 0.7 to 0.5 to encourage more focused and deterministic responses.3. Verification and Testing
4. Risks and Mitigations
Review of Agent Prompt Gating:
1. Gating and Reference Safety