- Add a dedicated `<parallel-reflex>` section to the system prompt to discourage serial work habits and enforce parallelization by default. - Refine task-spawning guidance to emphasize intentional delegation, agent specialization, and clear assignment criteria. - Update `task.md` parallelization heuristics and rule definitions to clarify when subagents should be deployed concurrently versus sequentially.
7.0 KiB
{{#if asyncEnabled}}{{#if batchEnabled}}Spawns subagents to work in the background — one per tasks[] item; a single spawn is a one-item batch.{{else}}Spawns ONE subagent per call to work in the background.{{/if}}
-
Spawning is non-blocking: the call returns immediately with the agent id{{#if batchEnabled}}s{{/if}} and job id{{#if batchEnabled}}s{{/if}}; each result is delivered automatically when that agent yields.
-
Parallelism = {{#if batchEnabled}}multiple
tasks[]items in ONE call. MUST batch into onetasks[](sharecontextonce). Separatetaskcalls ONLY for a differentagenttype or unrelatedcontext{{else}}multipletaskcalls in one assistant message{{/if}}. -
If genuinely blocked on a result, wait with
job poll; otherwise keep working.job cancelterminates a task and cannot carry a message — only for stalled/abandoned work. {{else}}{{#if batchEnabled}}Runs subagents synchronously — one pertasks[]item; a single spawn is a one-item batch.{{else}}Runs ONE subagent synchronously per call.{{/if}} -
Spawning is blocking: the call returns only after the agent{{#if batchEnabled}}s{{/if}} finish; results arrive inline.
-
Parallelism = {{#if batchEnabled}}multiple
tasks[]items in ONE call. MUST batch into onetasks[](sharecontextonce). Separatetaskcalls ONLY for a differentagenttype or unrelatedcontext{{else}}multipletaskcalls in one assistant message{{/if}}. {{/if}} {{#if ircEnabled}} -
Coordinate with agents via
ircusing their ids. Agents reach you and their siblings live the same way. {{/if}}
{{#if batchEnabled}}