opencode-mad 0.2.0 → 0.3.0
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/agents/mad-fixer.md +44 -31
- package/agents/mad-merger.md +45 -18
- package/agents/mad-tester.md +187 -224
- package/agents/orchestrator.md +510 -430
- package/install.js +86 -67
- package/package.json +1 -1
- package/plugins/mad-plugin.ts +605 -538
- package/skills/mad-workflow/SKILL.md +27 -0
|
@@ -29,6 +29,33 @@ Git worktrees provide isolated working directories, each on its own branch. This
|
|
|
29
29
|
|
|
30
30
|
## Workflow Steps
|
|
31
31
|
|
|
32
|
+
## CRITICAL: Parallel Execution is MANDATORY
|
|
33
|
+
|
|
34
|
+
The entire purpose of MAD is to run tasks IN PARALLEL.
|
|
35
|
+
|
|
36
|
+
### ❌ WRONG - Sequential (defeats the purpose)
|
|
37
|
+
```
|
|
38
|
+
Message 1: mad_worktree_create(branch: "feat-a", ...)
|
|
39
|
+
Message 2: mad_worktree_create(branch: "feat-b", ...)
|
|
40
|
+
Message 3: Task(subagent_type: "mad-developer", ...) for feat-a
|
|
41
|
+
Message 4: Task(subagent_type: "mad-developer", ...) for feat-b
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### ✅ CORRECT - Parallel (the whole point!)
|
|
45
|
+
```
|
|
46
|
+
Single Message containing:
|
|
47
|
+
mad_worktree_create(branch: "feat-a", ...)
|
|
48
|
+
mad_worktree_create(branch: "feat-b", ...)
|
|
49
|
+
mad_worktree_create(branch: "feat-c", ...)
|
|
50
|
+
|
|
51
|
+
Single Message containing:
|
|
52
|
+
Task(subagent_type: "mad-developer", ...) for feat-a
|
|
53
|
+
Task(subagent_type: "mad-developer", ...) for feat-b
|
|
54
|
+
Task(subagent_type: "mad-developer", ...) for feat-c
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
If you're not parallelizing, you're not using MAD correctly!
|
|
58
|
+
|
|
32
59
|
### 1. Decomposition
|
|
33
60
|
Analyze the request and identify parallelizable components:
|
|
34
61
|
- Different modules/features
|