Skip to content

fix: restore swarm preference and add default_swarm_mode - #105

Merged
mbuckaway merged 1 commit into
fork/mainfrom
fix/swarm-task-preference
Sep 11, 2026
Merged

mbuckaway merged 1 commit into
fork/mainfrom
fix/swarm-task-preference

Conversation

@mbuckaway

Copy link
Copy Markdown
Owner

Related Issue

Problem

After the 0.39.1 upstream sync, the fork prefers spawning sequential Agent subagent tasks over the parallel AgentSwarm tool even when the swarm-mode toggle is on, and the task path appears to ignore coding standards / AGENTS.md rules. The sync's MoonshotAI#3028 removed the "default to taking action / make real changes / deliver the complete change" directives from both engines' system prompts, and MoonshotAI#3433 documents that swarm/goal toggles are now per-session (the button does not persist).

What changed

  • Restore the fix: tone down over-proactiveness in the default system prompt MoonshotAI/kimi-code#3028-removed proactiveness/action directives in both system.md files.
  • Add guidance to prefer AgentSwarm over a single sequential Agent for decomposable work, and to carry coding-standards/AGENTS.md reading into every subagent prompt.
  • Add a default_swarm_mode config option (v1 + v2 engines + protocol) so new sessions can start in Swarm mode, mirroring default_plan_mode.
  • Add defaultSwarmMode bootstrap tests; regenerate the config manifest; document the option (en/zh); add a changeset and a fork patch row.

Checklist

The 0.39.1 upstream sync stripped the proactiveness/action directives
from both engines' system prompts (upstream MoonshotAI#3028) and made swarm mode
per-session (upstream MoonshotAI#3433), which left the agent preferring sequential
Agent subagent tasks over the parallel AgentSwarm tool even with swarm
mode enabled, and the task path appeared to ignore coding standards.

Restore the removed directives and add explicit swarm-preference and
subagent-rules guidance to both system prompts, and add a
default_swarm_mode config option (v1 + v2 engines + protocol) so new
sessions can start in swarm mode.
@mbuckaway
mbuckaway merged commit e64c6a2 into fork/main Sep 11, 2026
13 checks passed
@mbuckaway
mbuckaway deleted the fix/swarm-task-preference branch September 11, 2026 00:12
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