From f62b126cb3fd9c75161caa1614792f32a2e12873 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Mon, 26 Oct 2026 03:03:48 +0000 Subject: [PATCH] Use run_in_background in the swarm fan-out spawn_subagent takes run_in_background. The swarm brief now says no subagent_type and keeps the worktree and branch clauses. Co-authored-by: Kaitian Xie --- skills/swarm/SKILL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skills/swarm/SKILL.md b/skills/swarm/SKILL.md index 93f5917..71ffa6e 100644 --- a/skills/swarm/SKILL.md +++ b/skills/swarm/SKILL.md @@ -24,7 +24,7 @@ Open a todolist with one entry per phase before launching anything. ## Phase B: Fan out -Spawn all N workers in one message with omit `subagent_type`, `isolation: "worktree"`, `background: true`, and the step 3 model, left unset for `auto` or `inherit-parent`. Use `isolation: "none"` only when the worker needs the shared checkout. When a worker must start from a non-default branch, say that branch in the brief and have the worker check it out inside its worktree. +Spawn all N workers in one message with no `subagent_type`, `isolation: "worktree"`, `run_in_background: true`, and the step 3 model, left unset for `auto` or `inherit-parent`. Use `isolation: "none"` only when the worker needs the shared checkout. When a worker must start from a non-default branch, say that branch in the brief and have the worker check it out inside its worktree. Every brief stands alone. Include the goal, scope, exact slice or race arm, how to verify, and what to report. Reports use `PASS`, `ISSUES`, or `BLOCKED` with evidence. A worker that can prove a defect reports `ISSUES` and lists every issue it can prove, not only the first.