bmm-opencode 1.3.1 → 1.3.2

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.
@@ -127,6 +127,79 @@ Choose:
127
127
  | `max_retry_per_story` | 3 | Retries before blocking |
128
128
  | `dev_category` | deep | delegate_task category for dev |
129
129
  | `review_category` | ultrabrain | delegate_task category for review |
130
+ | `delegated_mode` | false | Auto-detected when pre-filled params present in prompt |
131
+
132
+ ---
133
+
134
+ ## DELEGATED MODE (Sisyphus Ultrawork Support)
135
+
136
+ When this workflow is launched via `delegate_task` by an orchestrator (e.g., Sisyphus ultrawork), interactive prompts cannot reach the user. Delegated mode solves this.
137
+
138
+ ### Detection
139
+
140
+ Delegated mode activates automatically when the prompt contains a `PRE-SELECTED:` block:
141
+
142
+ ```
143
+ PRE-SELECTED:
144
+ - epic: epic-2
145
+ - mode: autopilot | continue | select
146
+ - execution: parallel | sequential
147
+ - max_parallel: 3
148
+ ```
149
+
150
+ ### Behavior Changes in Delegated Mode
151
+
152
+ | Step | Normal Mode | Delegated Mode |
153
+ |------|-------------|----------------|
154
+ | Step 1 Selection 1 | Ask user: epic choice | Use `pre-selected.epic` |
155
+ | Step 1 Selection 2 | Ask user: execution mode | Use `pre-selected.execution` |
156
+ | Step 2 Plan confirm | Ask user: proceed? | Auto-proceed (Y) |
157
+ | Step 4 Needs-fixes | Ask user: auto-fix? | Auto-fix always |
158
+ | Step 5 Continue? | Ask user: continue/pause/exit | Auto-continue (autopilot behavior) |
159
+
160
+ ### Pre-Fill Format (for orchestrators)
161
+
162
+ ```
163
+ TASK: Run dev-team-mode
164
+
165
+ PRE-SELECTED:
166
+ - epic: epic-2
167
+ - mode: autopilot
168
+ - execution: parallel
169
+ - max_parallel: 3
170
+
171
+ CONTEXT:
172
+ - sprint_status: {path to sprint-status.yaml}
173
+ - story_dir: {path to story files}
174
+ - project_context: {path to project-context.md}
175
+ ```
176
+
177
+ ### Structured Output (returned to orchestrator)
178
+
179
+ When delegated mode completes or exits, return a structured summary:
180
+
181
+ ```yaml
182
+ DEV_TEAM_MODE_RESULT:
183
+ status: completed | blocked | paused | error
184
+ epic: epic-2
185
+ loops: 3
186
+ stories:
187
+ done: [1-1-setup, 1-2-auth, 1-3-data]
188
+ failed: []
189
+ blocked: [1-4-integration]
190
+ remaining: [1-5-polish]
191
+ summary: "3 stories completed, 1 blocked on missing API dependency"
192
+ action_required: "Resolve 1-4 dependency on external API, then re-run"
193
+ ```
194
+
195
+ ### Context Management for Long Loops
196
+
197
+ In delegated mode, after each loop (Step 5), discard raw agent outputs and retain only:
198
+ - Per-story status (done/failed/blocked + one-line reason)
199
+ - Cumulative stats
200
+ - Current sprint-status.yaml state
201
+
202
+ This prevents context window overflow during multi-loop autopilot runs.
130
203
 
131
204
  ---
132
205
 
package/README.md CHANGED
@@ -163,6 +163,7 @@ curl -s https://raw.githubusercontent.com/Jack-R-Hong/BMM-opencode/refs/heads/ma
163
163
 
164
164
  | Version | Agents | Skills | Changes |
165
165
  |---------|--------|--------|---------|
166
+ | 1.3.2 | 19 | 62 | Dev-team-mode: delegated mode for orchestrator support |
166
167
  | 1.3.1 | 19 | 62 | Party-mode: agent titles with first impressions |
167
168
  | 1.3.0 | 19 | 62 | Added `dev-team-mode` parallel development orchestrator |
168
169
  | 1.2.0 | 19 | 61 | Added `party-mode`, `gen-subagent`, upgrade docs |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bmm-opencode",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "BMAD-METHOD agents and skills for OpenCode - AI agent framework with 19 specialized agents and 62 workflow skills",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",