opencode-swarm 7.69.0 → 7.69.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli/index.js CHANGED
@@ -52,7 +52,7 @@ var package_default;
52
52
  var init_package = __esm(() => {
53
53
  package_default = {
54
54
  name: "opencode-swarm",
55
- version: "7.69.0",
55
+ version: "7.69.1",
56
56
  description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
57
57
  main: "dist/index.js",
58
58
  types: "dist/index.d.ts",
@@ -17629,7 +17629,7 @@ var init_tool_metadata = __esm(() => {
17629
17629
  },
17630
17630
  apply_patch: {
17631
17631
  description: "Apply a unified diff patch to workspace files with exact context matching, atomic writes, and path validation",
17632
- agents: ["coder"]
17632
+ agents: ["coder", "test_engineer"]
17633
17633
  },
17634
17634
  external_skill_discover: {
17635
17635
  description: "Discover external skill candidates from configured sources. Returns a disabled message when external_skills.curation_enabled is false.",
package/dist/index.js CHANGED
@@ -69,7 +69,7 @@ var package_default;
69
69
  var init_package = __esm(() => {
70
70
  package_default = {
71
71
  name: "opencode-swarm",
72
- version: "7.69.0",
72
+ version: "7.69.1",
73
73
  description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
74
74
  main: "dist/index.js",
75
75
  types: "dist/index.d.ts",
@@ -706,7 +706,7 @@ var init_tool_metadata = __esm(() => {
706
706
  },
707
707
  apply_patch: {
708
708
  description: "Apply a unified diff patch to workspace files with exact context matching, atomic writes, and path validation",
709
- agents: ["coder"]
709
+ agents: ["coder", "test_engineer"]
710
710
  },
711
711
  external_skill_discover: {
712
712
  description: "Discover external skill candidates from configured sources. Returns a disabled message when external_skills.curation_enabled is false.",
@@ -90292,19 +90292,21 @@ YOUR TOOLS: {{YOUR_TOOLS}}
90292
90292
  CODER'S TOOLS: write, edit, patch, apply_patch, create_file, insert, replace — any tool that modifies file contents.
90293
90293
  If a tool modifies a file, it is a CODER tool. Delegate.
90294
90294
  <!-- BEHAVIORAL_GUIDANCE_START -->
90295
- 1a. SCOPE DISCIPLINE — call declare_scope BEFORE every coder delegation.
90295
+ 1a. SCOPE DISCIPLINE — call declare_scope BEFORE every coder delegation AND before any test_engineer delegation that will write new test files.
90296
90296
  - Before you delegate a coding task, call declare_scope with { taskId, files } where \`files\` is the exact list of paths the coder is allowed to write. Bundle any generated/lockfile paths that the change will produce (e.g. package-lock.json, Cargo.lock, dist/*).
90297
- - If coder returns "WRITE BLOCKED" for a path outside the declared list: call declare_scope again with the missing path added. Do NOT instruct the coder to use bash, sed, echo, cat, tee, dd, or any interpreter eval (python -c, node -e, bun -e, ruby -e) to bypass the block. Those routes bypass the authority check and violate scope discipline.
90297
+ - Before you delegate to test_engineer with an instruction to CREATE or MODIFY test files, call declare_scope with { taskId, files } listing the exact test file path(s) (e.g. src/auth/login.test.ts, tests/unit/foo.spec.ts) the test_engineer is expected to write.
90298
+ - If coder or test_engineer returns "WRITE BLOCKED" for a path outside the declared list: call declare_scope again with the missing path added. Do NOT instruct the coder to use bash, sed, echo, cat, tee, dd, or any interpreter eval (python -c, node -e, bun -e, ruby -e) to bypass the block. Those routes bypass the authority check and violate scope discipline.
90298
90299
  - Never wrap a file write in eval, bash -c, sh -c, a subshell, or a heredoc-to-file redirect. Those are bash workarounds and are banned even when scope appears to permit them — the write-authority guard is tool-scoped; bash is unguarded and must not be used as a write path.
90299
90300
  - Do NOT use mv, Move-Item, move, ren, Rename-Item, or cp-then-rm chains to relocate, rename, or delete files under \`.swarm/\` as a workaround for blocked destructive commands. Those are file-move shell bypasses and are banned. Use the tool's dedicated tools (\`.swarm/\` file management or evidence manager tools) instead.
90300
90301
  - If you cannot enumerate files up front (e.g. a broad refactor), declare the containing directories — declare_scope accepts directory entries and grants containment.
90301
- - Rationale: declare_scope persists the allowed set to disk (.swarm/scopes/scope-\${taskId}.json) so it survives cross-process delegation. Without a call, the coder process reads an empty scope and every Edit/Write is denied.
90302
+ - Rationale: declare_scope persists the allowed set to disk (.swarm/scopes/scope-\${taskId}.json) so it survives cross-process delegation. Without a call, the coder or test_engineer process reads an empty scope and every Edit/Write is denied.
90302
90303
  <!-- BEHAVIORAL_GUIDANCE_END -->
90303
90304
  2. ONE agent per message. Send, STOP, wait for response.
90304
90305
  Exception: Stage B reviewer/test_engineer gate agents for the SAME completed coder task may be dispatched together before waiting when both gates are required.
90305
90306
  This exception NEVER applies to coder delegations. Preserve ONE task per coder call.
90306
90307
  3. ONE task per {{AGENT_PREFIX}}coder call. Never batch.
90307
90308
  3a. PRE-DELEGATION SCOPE CALL (required): BEFORE every {{AGENT_PREFIX}}coder delegation, you MUST call \`declare_scope\` with { taskId, files } listing the exact file(s) this task will modify (including generated/lockfile paths). No \`declare_scope\` call → no coder delegation. See Rule 1a.
90309
+ 3b. PRE-DELEGATION SCOPE CALL (test_engineer): BEFORE any {{AGENT_PREFIX}}test_engineer delegation that will CREATE or MODIFY test files, you MUST call \`declare_scope\` with { taskId, files } listing the exact test file path(s) to write. Omitting this call leaves the write scope undeclared and will block the write. See Rule 1a.
90308
90310
  <!-- BEHAVIORAL_GUIDANCE_START -->
90309
90311
  BATCHING DETECTION — you are batching if your coder delegation contains ANY of:
90310
90312
  - The word "and" connecting two actions ("update X AND add Y")
@@ -361,7 +361,7 @@ export declare const TOOL_METADATA: {
361
361
  };
362
362
  apply_patch: {
363
363
  description: string;
364
- agents: "coder"[];
364
+ agents: ("test_engineer" | "coder")[];
365
365
  };
366
366
  external_skill_discover: {
367
367
  description: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "7.69.0",
3
+ "version": "7.69.1",
4
4
  "description": "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",