@monoes/monomindcli 1.9.11 → 1.9.12
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.
|
@@ -270,10 +270,16 @@ Parse the `IDEAS_OUTPUT` JSON block from the agent's response. If zero ideas wer
|
|
|
270
270
|
|
|
271
271
|
### Step 5 — Validation (Product Manager Evaluation)
|
|
272
272
|
|
|
273
|
+
**CRITICAL — Variable substitution required for Step 5 Task call:**
|
|
274
|
+
The PM agent runs in an isolated Task context and cannot inherit shell variables. Read the literal UUID values from the `=== IDEA BOARD LITERAL VALUES ===` echo block (Step 3) and embed them as hard-coded strings in the Task prompt. Do NOT pass `${BOARD_ID}`, `${COL_EVALUATED}`, `${COL_ICED}`, `${COL_REJECTED}` etc. — the agent will receive them as literal dollar-sign strings and its `monotask card move` / `monotask card set-impact` calls will silently fail.
|
|
275
|
+
|
|
276
|
+
Begin the PM agent's Task prompt with this safety check:
|
|
277
|
+
> `SAFETY CHECK: Verify that the BOARD_ID you received matches UUID format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. If it does not, STOP and report "ERROR: BOARD_ID not substituted — received: <value>". Do NOT call monotask board create, space create, or any board/space management commands. Your job is updating existing CARDS only.`
|
|
278
|
+
|
|
273
279
|
Spawn a single `Product Manager` agent via the Task tool. The PM agent has Bash tool access and is responsible for both producing verdicts and executing all board updates directly.
|
|
274
280
|
|
|
275
281
|
Provide the PM agent with:
|
|
276
|
-
- All ideas from Step 4 (titles, descriptions, categories, card IDs, BOARD_ID,
|
|
282
|
+
- All ideas from Step 4 (titles, descriptions, categories, card IDs, and the literal UUID values for BOARD_ID, COL_EVALUATED, COL_ICED, COL_REJECTED from the Step 3 echo block)
|
|
277
283
|
- The `brain_context`
|
|
278
284
|
- The original `prompt`
|
|
279
285
|
|
|
@@ -316,6 +322,7 @@ VERDICTS_OUTPUT
|
|
|
316
322
|
"category": "feature | technical-baseline | business-operation",
|
|
317
323
|
"verdict": "evaluated | iced | rejected",
|
|
318
324
|
"skipElaboration": true | false,
|
|
325
|
+
"rationale": "<value statement (if evaluated) | blocking question (if iced) | rejection reason (if rejected)>",
|
|
319
326
|
"impact": <0-10>,
|
|
320
327
|
"effort": <0-10>
|
|
321
328
|
}
|
|
@@ -331,9 +338,10 @@ After the PM agent completes, parse `VERDICTS_OUTPUT`. If **all** ideas are iced
|
|
|
331
338
|
|
|
332
339
|
#### 6a. Elaboration (conditional)
|
|
333
340
|
|
|
334
|
-
For any evaluated idea with `skipElaboration: true`, move it directly to `Elaborated
|
|
341
|
+
For any evaluated idea with `skipElaboration: true`, move it directly to `Elaborated` and write a rationale comment so future readers understand why no deep elaboration was needed:
|
|
335
342
|
```bash
|
|
336
343
|
monotask card move "$BOARD_ID" "$CARD_ID" "$COL_ELABORATED" --json
|
|
344
|
+
monotask card comment add "$BOARD_ID" "$CARD_ID" "Elaboration skipped: PM assessed this idea as straightforward with no significant unknowns. Rationale: <rationale from VERDICTS_OUTPUT for this card_id>"
|
|
337
345
|
```
|
|
338
346
|
|
|
339
347
|
For ideas with `skipElaboration: false`, **split by category** before spawning agents:
|
|
@@ -385,7 +393,9 @@ monotask card comment add "$BOARD_ID" "$CARD_ID" "Blocked during elaboration: <i
|
|
|
385
393
|
|
|
386
394
|
#### 6b. User Confirmation Gate
|
|
387
395
|
|
|
388
|
-
|
|
396
|
+
**Auto-mode bypass:** If `mode` is `auto` (set by mastermind:master or caller), skip this gate entirely and proceed directly to Step 6c with all elaborated ideas.
|
|
397
|
+
|
|
398
|
+
**Confirm mode only:** If `mode` is `confirm` (default), present a review table of all elaborated ideas to the user.
|
|
389
399
|
|
|
390
400
|
Print this exact format:
|
|
391
401
|
|
|
@@ -482,15 +492,20 @@ ops_decomp_agent="${ops_decomp_agent:-Product Manager}"
|
|
|
482
492
|
echo "Dev decomp: $dev_decomp_agent | Ops decomp: $ops_decomp_agent"
|
|
483
493
|
```
|
|
484
494
|
|
|
495
|
+
**CRITICAL — Variable substitution required for Step 6c Task calls:**
|
|
496
|
+
Decomposition agents also run in isolated Task contexts. Before constructing each Task prompt, embed the literal card IDs (from the elaborated ideas list), `brain_context`, and `prompt` as hard-coded strings. Do NOT write `${card_id}`, `${brain_context}`, etc. as template placeholders.
|
|
497
|
+
|
|
498
|
+
Each decomposition agent's Task prompt should begin with:
|
|
499
|
+
> `SAFETY CHECK: You are a decomposition agent. You must NOT call monotask board create, space create, or column create. Your only job is producing a TASKS_OUTPUT block — the outer skill creates the cards. If you are unsure of any card ID, list it as "UNKNOWN" rather than inventing a value.`
|
|
500
|
+
|
|
485
501
|
**Spawn decomposition agents by track** — run both in parallel if both tracks have elaborated ideas:
|
|
486
502
|
|
|
487
503
|
- For **dev ideas** (`feature` or `technical-baseline`): spawn the agent selected as `$dev_decomp_agent`.
|
|
488
504
|
- For **business-operation ideas**: spawn the agent selected as `$ops_decomp_agent`.
|
|
489
505
|
|
|
490
506
|
Provide each agent with:
|
|
491
|
-
- Their subset of elaborated ideas (titles, descriptions, all card comments, card IDs, and category)
|
|
492
|
-
- The `brain_context`
|
|
493
|
-
- The original `prompt`
|
|
507
|
+
- Their subset of elaborated ideas (titles, descriptions, all card comments, literal card IDs, and category)
|
|
508
|
+
- The literal `brain_context` and `prompt` values
|
|
494
509
|
|
|
495
510
|
Each agent must output a `TASKS_OUTPUT` block. For each elaborated idea, produce 2–6 subtasks. If an idea's scope is unclear, flag it instead of decomposing.
|
|
496
511
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@monoes/monomindcli",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.12",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Monomind CLI - Enterprise AI agent orchestration with 60+ specialized agents, swarm coordination, MCP server, self-learning hooks, and vector memory for Claude Code",
|
|
6
6
|
"main": "dist/src/index.js",
|