mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-07-22 07:34:26 +00:00
parsePlan accepted a syntactically valid plan whose role, systemPrompt, or prompt was an empty (or whitespace-only) string, only checking the type. Such a subtask spawns a swarm worker with no identity and no instructions — a wasted run with a blank dashboard row and a low-value contribution to synthesis. Reject empty/whitespace-only required fields so decompose's existing planner retry re-prompts for a valid plan, mirroring the non-empty validation parseReviseDecision already applies to the reviser's output. |
||
|---|---|---|
| .. | ||
| agent-core | ||
| kaos | ||
| kosong | ||
| migration-legacy | ||
| node-sdk | ||
| oauth | ||
| telemetry | ||