feat: enforce subagent concurrency limit of 3 per turn with batch execution

Strengthen the SUBAGENT_SECTION prompt to prevent the model from launching
more than 3 subagents in a single response. When >3 sub-tasks are needed,
the model is now explicitly instructed to plan and execute in sequential
batches of ≤3. Reinforced at three prompt injection points: thinking style,
main subagent instructions, and critical reminders.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
hetao
2026-02-09 13:49:38 +08:00
parent caf12da0f2
commit f68b3c26c3
2 changed files with 1317 additions and 1890 deletions

3094
frontend/pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff