monomind 1.11.13 → 1.11.14
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/.claude/commands/mastermind/idea.md +1 -1
- package/.claude/commands/mastermind/master.md +1 -1
- package/.claude/scheduled_tasks.lock +1 -1
- package/.claude/skills/mastermind/_protocol.md +4 -4
- package/.claude/skills/mastermind/architect.md +4 -7
- package/.claude/skills/mastermind/autodev.md +2 -4
- package/.claude/skills/mastermind/build.md +3 -3
- package/.claude/skills/mastermind/content.md +3 -3
- package/.claude/skills/mastermind/createorg.md +2 -2
- package/.claude/skills/mastermind/finance.md +3 -3
- package/.claude/skills/mastermind/idea.md +0 -8
- package/.claude/skills/mastermind/marketing.md +3 -3
- package/.claude/skills/mastermind/monitor.md +2 -2
- package/.claude/skills/mastermind/ops.md +3 -3
- package/.claude/skills/mastermind/release.md +3 -3
- package/.claude/skills/mastermind/research.md +3 -3
- package/.claude/skills/mastermind/review.md +3 -3
- package/.claude/skills/mastermind/sales.md +3 -3
- package/README.md +286 -129
- package/package.json +2 -2
- package/packages/@monomind/cli/README.md +286 -129
- package/packages/@monomind/cli/bundled-graph/dist/src/build.js +73 -0
- package/packages/@monomind/cli/bundled-graph/dist/src/cluster.js +120 -0
- package/packages/@monomind/cli/bundled-graph/package.json +57 -0
- package/packages/@monomind/cli/dist/src/agents/halt-signal.d.ts +25 -0
- package/packages/@monomind/cli/dist/src/agents/halt-signal.js +76 -0
- package/packages/@monomind/cli/dist/src/agents/index.d.ts +18 -0
- package/packages/@monomind/cli/dist/src/agents/index.js +13 -0
- package/packages/@monomind/cli/dist/src/agents/managed-agent.d.ts +41 -0
- package/packages/@monomind/cli/dist/src/agents/managed-agent.js +69 -0
- package/packages/@monomind/cli/dist/src/agents/prompt-experiment.d.ts +23 -0
- package/packages/@monomind/cli/dist/src/agents/prompt-experiment.js +49 -0
- package/packages/@monomind/cli/dist/src/agents/prompt-version-manager.d.ts +22 -0
- package/packages/@monomind/cli/dist/src/agents/prompt-version-manager.js +80 -0
- package/packages/@monomind/cli/dist/src/agents/registry-query.d.ts +71 -0
- package/packages/@monomind/cli/dist/src/agents/registry-query.js +125 -0
- package/packages/@monomind/cli/dist/src/agents/score-decay.d.ts +19 -0
- package/packages/@monomind/cli/dist/src/agents/score-decay.js +22 -0
- package/packages/@monomind/cli/dist/src/agents/shared-instructions-loader.d.ts +13 -0
- package/packages/@monomind/cli/dist/src/agents/shared-instructions-loader.js +40 -0
- package/packages/@monomind/cli/dist/src/agents/specialization-scorer.d.ts +54 -0
- package/packages/@monomind/cli/dist/src/agents/specialization-scorer.js +212 -0
- package/packages/@monomind/cli/dist/src/agents/termination-watcher.d.ts +30 -0
- package/packages/@monomind/cli/dist/src/agents/termination-watcher.js +84 -0
- package/packages/@monomind/cli/dist/src/agents/trigger-index.d.ts +20 -0
- package/packages/@monomind/cli/dist/src/agents/trigger-index.js +38 -0
- package/packages/@monomind/cli/dist/src/agents/trigger-scanner.d.ts +64 -0
- package/packages/@monomind/cli/dist/src/agents/trigger-scanner.js +308 -0
- package/packages/@monomind/cli/dist/src/agents/version-diff.d.ts +18 -0
- package/packages/@monomind/cli/dist/src/agents/version-diff.js +64 -0
- package/packages/@monomind/cli/dist/src/agents/version-store.d.ts +60 -0
- package/packages/@monomind/cli/dist/src/agents/version-store.js +235 -0
- package/packages/@monomind/cli/dist/src/benchmarks/pretrain/index.d.ts +45 -0
- package/packages/@monomind/cli/dist/src/benchmarks/pretrain/index.js +404 -0
- package/packages/@monomind/cli/dist/src/commands/agent-wasm.d.ts +14 -0
- package/packages/@monomind/cli/dist/src/commands/agent-wasm.js +333 -0
- package/packages/@monomind/cli/dist/src/commands/doctor.js +55 -1
- package/packages/@monomind/cli/dist/src/commands/ui.js +68 -0
- package/packages/@monomind/cli/dist/src/consensus/index.d.ts +7 -0
- package/packages/@monomind/cli/dist/src/consensus/index.js +6 -0
- package/packages/@monomind/cli/dist/src/context/context-provider.d.ts +44 -0
- package/packages/@monomind/cli/dist/src/context/context-provider.js +25 -0
- package/packages/@monomind/cli/dist/src/context/git-state-provider.d.ts +12 -0
- package/packages/@monomind/cli/dist/src/context/git-state-provider.js +34 -0
- package/packages/@monomind/cli/dist/src/context/index.d.ts +12 -0
- package/packages/@monomind/cli/dist/src/context/index.js +12 -0
- package/packages/@monomind/cli/dist/src/context/project-conventions-provider.d.ts +15 -0
- package/packages/@monomind/cli/dist/src/context/project-conventions-provider.js +19 -0
- package/packages/@monomind/cli/dist/src/context/prompt-assembler.d.ts +26 -0
- package/packages/@monomind/cli/dist/src/context/prompt-assembler.js +93 -0
- package/packages/@monomind/cli/dist/src/context/task-history-provider.d.ts +24 -0
- package/packages/@monomind/cli/dist/src/context/task-history-provider.js +32 -0
- package/packages/@monomind/cli/dist/src/context/user-preferences-provider.d.ts +14 -0
- package/packages/@monomind/cli/dist/src/context/user-preferences-provider.js +27 -0
- package/packages/@monomind/cli/dist/src/dlq/dlq-reader.d.ts +31 -0
- package/packages/@monomind/cli/dist/src/dlq/dlq-reader.js +81 -0
- package/packages/@monomind/cli/dist/src/dlq/dlq-writer.d.ts +24 -0
- package/packages/@monomind/cli/dist/src/dlq/dlq-writer.js +65 -0
- package/packages/@monomind/cli/dist/src/dlq/index.d.ts +10 -0
- package/packages/@monomind/cli/dist/src/dlq/index.js +7 -0
- package/packages/@monomind/cli/dist/src/eval/dataset-manager.d.ts +33 -0
- package/packages/@monomind/cli/dist/src/eval/dataset-manager.js +107 -0
- package/packages/@monomind/cli/dist/src/eval/dataset-runner.d.ts +23 -0
- package/packages/@monomind/cli/dist/src/eval/dataset-runner.js +59 -0
- package/packages/@monomind/cli/dist/src/eval/index.d.ts +10 -0
- package/packages/@monomind/cli/dist/src/eval/index.js +7 -0
- package/packages/@monomind/cli/dist/src/eval/trace-collector.d.ts +40 -0
- package/packages/@monomind/cli/dist/src/eval/trace-collector.js +102 -0
- package/packages/@monomind/cli/dist/src/infrastructure/in-memory-repositories.d.ts +68 -0
- package/packages/@monomind/cli/dist/src/infrastructure/in-memory-repositories.js +264 -0
- package/packages/@monomind/cli/dist/src/init/statusline-generator.js +3 -3
- package/packages/@monomind/cli/dist/src/interactive/interrupt.d.ts +22 -0
- package/packages/@monomind/cli/dist/src/interactive/interrupt.js +71 -0
- package/packages/@monomind/cli/dist/src/mcp/deprecation-injector.d.ts +25 -0
- package/packages/@monomind/cli/dist/src/mcp/deprecation-injector.js +48 -0
- package/packages/@monomind/cli/dist/src/mcp/tool-registry.d.ts +61 -0
- package/packages/@monomind/cli/dist/src/mcp/tool-registry.js +246 -0
- package/packages/@monomind/cli/dist/src/mcp-tools/wasm-agent-tools.d.ts +9 -0
- package/packages/@monomind/cli/dist/src/mcp-tools/wasm-agent-tools.js +230 -0
- package/packages/@monomind/cli/dist/src/model/complexity-scorer.d.ts +21 -0
- package/packages/@monomind/cli/dist/src/model/complexity-scorer.js +106 -0
- package/packages/@monomind/cli/dist/src/model/index.d.ts +4 -0
- package/packages/@monomind/cli/dist/src/model/index.js +4 -0
- package/packages/@monomind/cli/dist/src/model/model-settings.d.ts +22 -0
- package/packages/@monomind/cli/dist/src/model/model-settings.js +33 -0
- package/packages/@monomind/cli/dist/src/model/model-tier-resolver.d.ts +24 -0
- package/packages/@monomind/cli/dist/src/model/model-tier-resolver.js +65 -0
- package/packages/@monomind/cli/dist/src/monovector/capabilities.d.ts +34 -0
- package/packages/@monomind/cli/dist/src/monovector/capabilities.js +37 -0
- package/packages/@monomind/cli/dist/src/observability/replay-reader.d.ts +1 -1
- package/packages/@monomind/cli/dist/src/orchestration/index.d.ts +7 -0
- package/packages/@monomind/cli/dist/src/orchestration/index.js +6 -0
- package/packages/@monomind/cli/dist/src/orchestration/mode-dispatcher.d.ts +11 -0
- package/packages/@monomind/cli/dist/src/orchestration/mode-dispatcher.js +31 -0
- package/packages/@monomind/cli/dist/src/orchestration/routing-modes.d.ts +68 -0
- package/packages/@monomind/cli/dist/src/orchestration/routing-modes.js +180 -0
- package/packages/@monomind/cli/dist/src/plugins/tests/demo-plugin-store.d.ts +7 -0
- package/packages/@monomind/cli/dist/src/plugins/tests/demo-plugin-store.js +126 -0
- package/packages/@monomind/cli/dist/src/plugins/tests/standalone-test.d.ts +12 -0
- package/packages/@monomind/cli/dist/src/plugins/tests/standalone-test.js +188 -0
- package/packages/@monomind/cli/dist/src/plugins/tests/test-plugin-store.d.ts +7 -0
- package/packages/@monomind/cli/dist/src/plugins/tests/test-plugin-store.js +206 -0
- package/packages/@monomind/cli/dist/src/runtime/headless.d.ts +60 -0
- package/packages/@monomind/cli/dist/src/runtime/headless.js +284 -0
- package/packages/@monomind/cli/dist/src/services/agentic-flow-bridge.d.ts +50 -0
- package/packages/@monomind/cli/dist/src/services/agentic-flow-bridge.js +95 -0
- package/packages/@monomind/cli/dist/src/services/container-worker-pool.d.ts +197 -0
- package/packages/@monomind/cli/dist/src/services/container-worker-pool.js +623 -0
- package/packages/@monomind/cli/dist/src/services/index.d.ts +13 -0
- package/packages/@monomind/cli/dist/src/services/index.js +11 -0
- package/packages/@monomind/cli/dist/src/services/worker-queue.d.ts +201 -0
- package/packages/@monomind/cli/dist/src/services/worker-queue.js +594 -0
- package/packages/@monomind/cli/dist/src/swarm/communication-graph.d.ts +25 -0
- package/packages/@monomind/cli/dist/src/swarm/communication-graph.js +77 -0
- package/packages/@monomind/cli/dist/src/swarm/flow-enforcer.d.ts +31 -0
- package/packages/@monomind/cli/dist/src/swarm/flow-enforcer.js +61 -0
- package/packages/@monomind/cli/dist/src/swarm/flow-visualizer.d.ts +19 -0
- package/packages/@monomind/cli/dist/src/swarm/flow-visualizer.js +68 -0
- package/packages/@monomind/cli/dist/src/transfer/deploy-seraphine.d.ts +13 -0
- package/packages/@monomind/cli/dist/src/transfer/deploy-seraphine.js +205 -0
- package/packages/@monomind/cli/dist/src/transfer/store/tests/standalone-test.d.ts +12 -0
- package/packages/@monomind/cli/dist/src/transfer/store/tests/standalone-test.js +190 -0
- package/packages/@monomind/cli/dist/src/transfer/test-seraphine.d.ts +6 -0
- package/packages/@monomind/cli/dist/src/transfer/test-seraphine.js +105 -0
- package/packages/@monomind/cli/dist/src/transfer/tests/test-store.d.ts +7 -0
- package/packages/@monomind/cli/dist/src/transfer/tests/test-store.js +214 -0
- package/packages/@monomind/cli/dist/src/workflow/condition-evaluator.d.ts +10 -0
- package/packages/@monomind/cli/dist/src/workflow/condition-evaluator.js +82 -0
- package/packages/@monomind/cli/dist/src/workflow/context-resolver.d.ts +12 -0
- package/packages/@monomind/cli/dist/src/workflow/context-resolver.js +23 -0
- package/packages/@monomind/cli/dist/src/workflow/dag-builder.d.ts +17 -0
- package/packages/@monomind/cli/dist/src/workflow/dag-builder.js +129 -0
- package/packages/@monomind/cli/dist/src/workflow/dag-executor.d.ts +9 -0
- package/packages/@monomind/cli/dist/src/workflow/dag-executor.js +116 -0
- package/packages/@monomind/cli/dist/src/workflow/dag-types.d.ts +41 -0
- package/packages/@monomind/cli/dist/src/workflow/dag-types.js +8 -0
- package/packages/@monomind/cli/dist/src/workflow/dsl-parser.d.ts +12 -0
- package/packages/@monomind/cli/dist/src/workflow/dsl-parser.js +20 -0
- package/packages/@monomind/cli/dist/src/workflow/dsl-schema.d.ts +165 -0
- package/packages/@monomind/cli/dist/src/workflow/dsl-schema.js +82 -0
- package/packages/@monomind/cli/dist/src/workflow/index.d.ts +13 -0
- package/packages/@monomind/cli/dist/src/workflow/index.js +11 -0
- package/packages/@monomind/cli/dist/src/workflow/template-engine.d.ts +11 -0
- package/packages/@monomind/cli/dist/src/workflow/template-engine.js +40 -0
- package/packages/@monomind/cli/dist/src/workflow/workflow-executor.d.ts +29 -0
- package/packages/@monomind/cli/dist/src/workflow/workflow-executor.js +227 -0
- package/packages/@monomind/cli/package.json +9 -9
- package/packages/@monomind/guidance/dist/adversarial.d.ts +284 -0
- package/packages/@monomind/guidance/dist/adversarial.js +572 -0
- package/packages/@monomind/guidance/dist/analyzer.d.ts +530 -0
- package/packages/@monomind/guidance/dist/analyzer.js +2518 -0
- package/packages/@monomind/guidance/dist/artifacts.d.ts +283 -0
- package/packages/@monomind/guidance/dist/artifacts.js +356 -0
- package/packages/@monomind/guidance/dist/authority.d.ts +290 -0
- package/packages/@monomind/guidance/dist/authority.js +558 -0
- package/packages/@monomind/guidance/dist/capabilities.d.ts +209 -0
- package/packages/@monomind/guidance/dist/capabilities.js +485 -0
- package/packages/@monomind/guidance/dist/coherence.d.ts +233 -0
- package/packages/@monomind/guidance/dist/coherence.js +372 -0
- package/packages/@monomind/guidance/dist/compiler.d.ts +87 -0
- package/packages/@monomind/guidance/dist/compiler.js +419 -0
- package/packages/@monomind/guidance/dist/conformance-kit.d.ts +225 -0
- package/packages/@monomind/guidance/dist/conformance-kit.js +629 -0
- package/packages/@monomind/guidance/dist/continue-gate.d.ts +214 -0
- package/packages/@monomind/guidance/dist/continue-gate.js +353 -0
- package/packages/@monomind/guidance/dist/crypto-utils.d.ts +17 -0
- package/packages/@monomind/guidance/dist/crypto-utils.js +24 -0
- package/packages/@monomind/guidance/dist/evolution.d.ts +282 -0
- package/packages/@monomind/guidance/dist/evolution.js +500 -0
- package/packages/@monomind/guidance/dist/gates.d.ts +79 -0
- package/packages/@monomind/guidance/dist/gates.js +302 -0
- package/packages/@monomind/guidance/dist/gateway.d.ts +206 -0
- package/packages/@monomind/guidance/dist/gateway.js +452 -0
- package/packages/@monomind/guidance/dist/generators.d.ts +153 -0
- package/packages/@monomind/guidance/dist/generators.js +682 -0
- package/packages/@monomind/guidance/dist/headless.d.ts +177 -0
- package/packages/@monomind/guidance/dist/headless.js +342 -0
- package/packages/@monomind/guidance/dist/hooks.d.ts +109 -0
- package/packages/@monomind/guidance/dist/hooks.js +347 -0
- package/packages/@monomind/guidance/dist/index.d.ts +205 -0
- package/packages/@monomind/guidance/dist/index.js +321 -0
- package/packages/@monomind/guidance/dist/ledger.d.ts +162 -0
- package/packages/@monomind/guidance/dist/ledger.js +375 -0
- package/packages/@monomind/guidance/dist/manifest-validator.d.ts +289 -0
- package/packages/@monomind/guidance/dist/manifest-validator.js +838 -0
- package/packages/@monomind/guidance/dist/memory-gate.d.ts +222 -0
- package/packages/@monomind/guidance/dist/memory-gate.js +382 -0
- package/packages/@monomind/guidance/dist/meta-governance.d.ts +265 -0
- package/packages/@monomind/guidance/dist/meta-governance.js +348 -0
- package/packages/@monomind/guidance/dist/optimizer.d.ts +104 -0
- package/packages/@monomind/guidance/dist/optimizer.js +329 -0
- package/packages/@monomind/guidance/dist/persistence.d.ts +189 -0
- package/packages/@monomind/guidance/dist/persistence.js +464 -0
- package/packages/@monomind/guidance/dist/proof.d.ts +185 -0
- package/packages/@monomind/guidance/dist/proof.js +238 -0
- package/packages/@monomind/guidance/dist/retriever.d.ts +116 -0
- package/packages/@monomind/guidance/dist/retriever.js +394 -0
- package/packages/@monomind/guidance/dist/ruvbot-integration.d.ts +370 -0
- package/packages/@monomind/guidance/dist/ruvbot-integration.js +738 -0
- package/packages/@monomind/guidance/dist/temporal.d.ts +426 -0
- package/packages/@monomind/guidance/dist/temporal.js +658 -0
- package/packages/@monomind/guidance/dist/trust.d.ts +283 -0
- package/packages/@monomind/guidance/dist/trust.js +473 -0
- package/packages/@monomind/guidance/dist/truth-anchors.d.ts +276 -0
- package/packages/@monomind/guidance/dist/truth-anchors.js +488 -0
- package/packages/@monomind/guidance/dist/types.d.ts +378 -0
- package/packages/@monomind/guidance/dist/types.js +10 -0
- package/packages/@monomind/guidance/dist/uncertainty.d.ts +372 -0
- package/packages/@monomind/guidance/dist/uncertainty.js +619 -0
- package/packages/@monomind/guidance/dist/wasm-kernel.d.ts +48 -0
- package/packages/@monomind/guidance/dist/wasm-kernel.js +158 -0
|
@@ -19,7 +19,7 @@ Run intake if prompt is vague (follow _intake.md — stop at Q3, domain is alrea
|
|
|
19
19
|
|
|
20
20
|
Default mode for this command: **confirm** (unless `--auto` flag present or intake Q4 says auto).
|
|
21
21
|
|
|
22
|
-
Invoke `Skill("mastermind:idea")` passing: brain_context, prompt, project_name,
|
|
22
|
+
Invoke `Skill("mastermind:idea")` passing: brain_context, prompt, project_name, board_id (create if needed), mode.
|
|
23
23
|
|
|
24
24
|
After skill returns: follow _protocol.md Brain Write Procedure for domain `idea`.
|
|
25
25
|
|
|
@@ -441,7 +441,7 @@ for domain in $domains_needed; do
|
|
|
441
441
|
else
|
|
442
442
|
echo "Creating board: $canonical"
|
|
443
443
|
board_id=$(monotask board create --space "$space_id" "$canonical" --json 2>/dev/null | jq -r '.id // empty')
|
|
444
|
-
[ -z "$board_id" ] && echo "
|
|
444
|
+
[ -z "$board_id" ] && { echo "ERROR: Failed to create board '$canonical'"; exit 1; }
|
|
445
445
|
monotask space boards add "$space_id" "$board_id" >/dev/null 2>&1 || true
|
|
446
446
|
if [ "$domain" = "idea" ]; then
|
|
447
447
|
todo_col=$(monotask column create "$board_id" "New" --json | jq -r '.id // empty')
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"sessionId":"
|
|
1
|
+
{"sessionId":"32f0c05a-658e-4c7f-9974-7214ef185323","pid":6093,"procStart":"Tue Jun 9 11:59:20 2026","acquiredAt":1781172269626}
|
|
@@ -306,8 +306,8 @@ if [ -n "$board_id" ]; then
|
|
|
306
306
|
done_col=$(echo "$cols_json" | jq -r '[.[] | select(.title=="Done")] | .[0].id // empty')
|
|
307
307
|
else
|
|
308
308
|
# Step 3b — Create board and columns
|
|
309
|
-
board_id=$(monotask board create --space "$space_id" "$canonical" --json
|
|
310
|
-
[ -z "$board_id" ] && echo "
|
|
309
|
+
board_id=$(monotask board create --space "$space_id" "$canonical" --json | jq -r '.id // empty')
|
|
310
|
+
[ -z "$board_id" ] && { echo "ERROR: Failed to create board '$canonical'"; exit 1; }
|
|
311
311
|
monotask space boards add "$space_id" "$board_id" >/dev/null 2>&1 || true
|
|
312
312
|
todo_col=$(monotask column create "$board_id" "Todo" --json | jq -r '.id // empty')
|
|
313
313
|
doing_col=$(monotask column create "$board_id" "Doing" --json | jq -r '.id // empty')
|
|
@@ -336,8 +336,8 @@ board_id=$(monotask board list 2>/dev/null | awk -F': ' '{gsub(/^ +| +$/,"",$1);
|
|
|
336
336
|
doing_col=$(echo "$cols_json" | jq -r '[.[] | select(.title=="Doing" or .title=="In Progress")] | .[0].id // empty')
|
|
337
337
|
done_col=$(echo "$cols_json" | jq -r '[.[] | select(.title=="Done")] | .[0].id // empty')
|
|
338
338
|
else
|
|
339
|
-
board_id=$(monotask board create --space "$space_id" "$canonical" --json
|
|
340
|
-
[ -z "$board_id" ] && echo "
|
|
339
|
+
board_id=$(monotask board create --space "$space_id" "$canonical" --json | jq -r '.id // empty')
|
|
340
|
+
[ -z "$board_id" ] && { echo "ERROR: Failed to create $canonical board"; exit 1; }
|
|
341
341
|
monotask space boards add "$space_id" "$board_id" >/dev/null 2>&1 || true
|
|
342
342
|
todo_col=$(monotask column create "$board_id" "Todo" --json | jq -r '.id // empty')
|
|
343
343
|
doing_col=$(monotask column create "$board_id" "Doing" --json | jq -r '.id // empty')
|
|
@@ -88,14 +88,14 @@ If this skill is invoked directly (not by master):
|
|
|
88
88
|
```
|
|
89
89
|
After the bash above completes, apply the 60% classification rule: sum the total file count across all extensions. If any single extension group exceeds 60% of the total, set `<stack>` to that stack's name (e.g. `typescript`, `python`, `go`); otherwise set `<stack>` to `multi-stack`. Use this value for `Stack: <stack>` in all subsequent briefings.
|
|
90
90
|
If `scope` was not provided by the caller, infer it from the prompt: "review"/"audit"/"check"/"assess" → `review`; "deduplicate"/"dedup"/"consolidate" → `deduplicate`; "design"/"architect"/"model"/"bounded context" → `design`; "migrate"/"migration"/"port to"/"convert" → `migrate`; no keyword match or multiple keyword matches → `all`. Use the resolved scope for all subsequent steps.
|
|
91
|
-
5. If `board_id` was not provided by the caller: find or create monotask space `<project_name>`, then create board `architect` within it
|
|
91
|
+
5. If `board_id` was not provided by the caller: find or create monotask space `<project_name>`, then create board `architect` within it. Before executing the bash block below, substitute the resolved `project_name` (or `basename "$PWD"` if not provided) for every `<project_name>` occurrence:
|
|
92
92
|
```bash
|
|
93
93
|
space_id=$(monotask space list 2>/dev/null | awk -F' \| ' -v n="<project_name>" '$2==n{print $1}' | head -1)
|
|
94
94
|
[ -z "$space_id" ] && space_id=$(monotask space create "<project_name>" 2>&1 | grep -oE '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}')
|
|
95
95
|
result=$(monotask board create "architect" --json 2>/dev/null)
|
|
96
96
|
board_id=$(echo "$result" | jq -r '.id // empty')
|
|
97
97
|
[ -n "$board_id" ] && [ -n "$space_id" ] && monotask space boards add "$space_id" "$board_id" >/dev/null 2>&1 || true
|
|
98
|
-
[ -z "$board_id" ] && echo "
|
|
98
|
+
[ -z "$board_id" ] && { echo "ERROR: Failed to create monotask board — verify monotask is installed (run: monotask --version)"; exit 1; }
|
|
99
99
|
echo "$board_id"
|
|
100
100
|
```
|
|
101
101
|
If this block exits with an error (board_id is still empty), stop execution and return an error to the caller — do not proceed to complexity assessment.
|
|
@@ -363,13 +363,10 @@ For each stream, identify:
|
|
|
363
363
|
- Dependencies between streams (e.g. coupling analysis before deduplication plan)
|
|
364
364
|
|
|
365
365
|
STEP 3 — CREATE TASKS
|
|
366
|
-
For each architecture stream, create a monotask card on the project board
|
|
367
|
-
|
|
368
|
-
If BOARD_ID is non-empty: First resolve column IDs (slash commands are not available inside background Task agents — use bash directly):
|
|
366
|
+
For each architecture stream, create a monotask card on the project board. First resolve column IDs (slash commands are not available inside background Task agents — use bash directly):
|
|
369
367
|
|
|
370
368
|
\`\`\`bash
|
|
371
|
-
|
|
372
|
-
columns=$([ -n "$BOARD_ID" ] && monotask column list "$BOARD_ID" --json || echo '[]')
|
|
369
|
+
columns=$(monotask column list "$BOARD_ID" --json)
|
|
373
370
|
COL_TODO_ID=$(echo "$columns" | jq -r '.[] | select(.title == "Todo" or .title == "Backlog") | .id' | head -1)
|
|
374
371
|
COL_DONE_ID=$(echo "$columns" | jq -r '.[] | select(.title == "Done") | .id' | head -1)
|
|
375
372
|
\`\`\`
|
|
@@ -432,7 +432,7 @@ Invoke `Skill("mastermind:build")` with:
|
|
|
432
432
|
- `brain_context`: the loaded brain context
|
|
433
433
|
- `project_name`: `$(basename "$PWD")`
|
|
434
434
|
- `mode`: `auto`
|
|
435
|
-
- `board_id`: the autodev board (
|
|
435
|
+
- `board_id`: the autodev board (create once at startup, reuse)
|
|
436
436
|
|
|
437
437
|
The brief passed to build MUST include:
|
|
438
438
|
- What to build (concrete spec, not vague)
|
|
@@ -490,13 +490,11 @@ If `N < count`: log `[autodev] Moving to improvement <N+1>/<count>...` and repea
|
|
|
490
490
|
|
|
491
491
|
1. Extract flags (leading integer for count, --newfeature N, --focus, --auto/--confirm)
|
|
492
492
|
2. Load brain context via _protocol.md Brain Load Procedure (namespace: `autodev`)
|
|
493
|
-
3. Create monotask board
|
|
493
|
+
3. Create monotask board:
|
|
494
494
|
```bash
|
|
495
495
|
project_name="${project_name:-$(basename "$PWD")}"
|
|
496
496
|
board_id=$(monotask board create "autodev" --json 2>/dev/null | jq -r '.id // empty')
|
|
497
|
-
[ -z "$board_id" ] && echo "[autodev] monotask board unavailable — board tracking skipped."
|
|
498
497
|
```
|
|
499
|
-
Pass `board_id` to `mastermind:build` only if non-empty; omit the parameter otherwise.
|
|
500
498
|
4. **If `--newfeature` was parsed:** run the Feature Pipeline (FP-0 through FP-End) and skip the improvement loop entirely.
|
|
501
499
|
**Otherwise:** run the Loop section above for each improvement.
|
|
502
500
|
5. At end: follow _protocol.md Brain Write Procedure (namespace: `autodev`)
|
|
@@ -52,8 +52,8 @@ If this skill is invoked directly (not by master):
|
|
|
52
52
|
space_id=$(monotask space list 2>/dev/null | awk -F' \| ' -v n="$project_name" '$2==n{print $1}' | head -1)
|
|
53
53
|
[ -z "$space_id" ] && space_id=$(monotask space create "$project_name" 2>&1 | grep -oE '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}')
|
|
54
54
|
[ -z "$space_id" ] && { echo "ERROR: Could not find or create space '$project_name'"; exit 1; }
|
|
55
|
-
board_id=$(monotask board create "development" --json
|
|
56
|
-
[ -z "$board_id" ] && echo "
|
|
55
|
+
board_id=$(monotask board create "development" --json | jq -r '.id // empty')
|
|
56
|
+
[ -z "$board_id" ] && { echo "ERROR: Failed to create development board"; exit 1; }
|
|
57
57
|
monotask space boards add "$space_id" "$board_id" >/dev/null 2>&1 || true
|
|
58
58
|
todo_col=$(monotask column create "$board_id" "Todo" --json | jq -r '.id')
|
|
59
59
|
doing_col=$(monotask column create "$board_id" "Doing" --json | jq -r '.id')
|
|
@@ -120,7 +120,7 @@ Spawn one Task agent per task (all in parallel where dependencies allow):
|
|
|
120
120
|
- Code review: subagent_type "reviewer"
|
|
121
121
|
- TDD/SPARC work: subagent_type "sparc-coder"
|
|
122
122
|
|
|
123
|
-
|
|
123
|
+
Also run /mastermind:do --board <board_id> to track execution.
|
|
124
124
|
|
|
125
125
|
STEP 4 — COLLECT AND RETURN
|
|
126
126
|
Collect all agent output schemas. Return to caller:
|
|
@@ -73,8 +73,8 @@ If this skill is invoked directly (not by master):
|
|
|
73
73
|
space_id=$(monotask space list 2>/dev/null | awk -F' \| ' -v n="$project_name" '$2==n{print $1}' | head -1)
|
|
74
74
|
[ -z "$space_id" ] && space_id=$(monotask space create "$project_name" 2>&1 | grep -oE '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}')
|
|
75
75
|
[ -z "$space_id" ] && { echo "ERROR: Could not find or create space '$project_name'"; exit 1; }
|
|
76
|
-
board_id=$(monotask board create "content" --json
|
|
77
|
-
[ -z "$board_id" ] && echo "
|
|
76
|
+
board_id=$(monotask board create "content" --json | jq -r '.id // empty')
|
|
77
|
+
[ -z "$board_id" ] && { echo "ERROR: Failed to create content board"; exit 1; }
|
|
78
78
|
monotask space boards add "$space_id" "$board_id" >/dev/null 2>&1 || true
|
|
79
79
|
todo_col=$(monotask column create "$board_id" "Todo" --json | jq -r '.id')
|
|
80
80
|
doing_col=$(monotask column create "$board_id" "Doing" --json | jq -r '.id')
|
|
@@ -147,7 +147,7 @@ Stage 2 draft: subagent_type "Content Creator"
|
|
|
147
147
|
Stage 3 edit: subagent_type "Technical Writer"
|
|
148
148
|
Stage 4 format/publish: subagent_type "Content Creator"
|
|
149
149
|
|
|
150
|
-
|
|
150
|
+
Also run /mastermind:do --board <board_id> to track execution.
|
|
151
151
|
|
|
152
152
|
STEP 4 — COLLECT AND RETURN
|
|
153
153
|
Collect the final formatted content. Return to caller:
|
|
@@ -401,8 +401,8 @@ space_id=$(monotask space list 2>/dev/null | awk -F' \| ' -v n="$org_name" '$2==
|
|
|
401
401
|
[ -z "$space_id" ] && { echo "ERROR: Could not find or create space '$org_name' — verify monotask is installed (run: monotask --version)"; exit 1; }
|
|
402
402
|
|
|
403
403
|
# Step 2 — Board (created only after space is confirmed)
|
|
404
|
-
board_id=$(monotask board create "org-tasks" --json
|
|
405
|
-
[ -z "$board_id" ] && echo "
|
|
404
|
+
board_id=$(monotask board create "org-tasks" --json | jq -r '.id // empty')
|
|
405
|
+
[ -z "$board_id" ] && { echo "ERROR: Failed to create monotask board"; exit 1; }
|
|
406
406
|
|
|
407
407
|
# Step 3 — Link board to space immediately
|
|
408
408
|
monotask space boards add "$space_id" "$board_id" >/dev/null 2>&1 || true
|
|
@@ -51,8 +51,8 @@ If this skill is invoked directly (not by master):
|
|
|
51
51
|
space_id=$(monotask space list 2>/dev/null | awk -F' \| ' -v n="$project_name" '$2==n{print $1}' | head -1)
|
|
52
52
|
[ -z "$space_id" ] && space_id=$(monotask space create "$project_name" 2>&1 | grep -oE '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}')
|
|
53
53
|
[ -z "$space_id" ] && { echo "ERROR: Could not find or create space '$project_name'"; exit 1; }
|
|
54
|
-
board_id=$(monotask board create "finance" --json
|
|
55
|
-
[ -z "$board_id" ] && echo "
|
|
54
|
+
board_id=$(monotask board create "finance" --json | jq -r '.id // empty')
|
|
55
|
+
[ -z "$board_id" ] && { echo "ERROR: Failed to create finance board"; exit 1; }
|
|
56
56
|
monotask space boards add "$space_id" "$board_id" >/dev/null 2>&1 || true
|
|
57
57
|
todo_col=$(monotask column create "$board_id" "Todo" --json | jq -r '.id')
|
|
58
58
|
doing_col=$(monotask column create "$board_id" "Doing" --json | jq -r '.id')
|
|
@@ -116,7 +116,7 @@ Spawn one Task agent per workstream:
|
|
|
116
116
|
- Financial tracking and invoicing: subagent_type "Finance Tracker"
|
|
117
117
|
- Analysis and reporting: subagent_type "Analytics Reporter"
|
|
118
118
|
|
|
119
|
-
|
|
119
|
+
Also run /mastermind:do --board <board_id> to track execution.
|
|
120
120
|
|
|
121
121
|
STEP 4 — COLLECT AND RETURN
|
|
122
122
|
Collect all financial outputs. Return to caller:
|
|
@@ -9,14 +9,6 @@ default_mode: confirm
|
|
|
9
9
|
|
|
10
10
|
This skill is invoked by `mastermind:master` or directly via `/mastermind:idea`.
|
|
11
11
|
|
|
12
|
-
**Extract `--monotask` flag:** If present in `$ARGUMENTS`, set `USE_MONOTASK=true` and remove it. Default: `USE_MONOTASK=false`.
|
|
13
|
-
|
|
14
|
-
**File mode (default, `USE_MONOTASK=false`):**
|
|
15
|
-
|
|
16
|
-
Invoke `Skill("mastermind:ideate", $ARGUMENTS)` immediately — it provides the same research, evaluation, elaboration, and task-decomposition pipeline with file-first storage (`docs/ideas/` and `docs/tasks/`). The rest of this skill only runs in monotask mode.
|
|
17
|
-
|
|
18
|
-
**Monotask mode (`USE_MONOTASK=true` only):** Continue with the steps below.
|
|
19
|
-
|
|
20
12
|
---
|
|
21
13
|
|
|
22
14
|
## Inputs
|
|
@@ -97,8 +97,8 @@ If this skill is invoked directly (not by master):
|
|
|
97
97
|
space_id=$(monotask space list 2>/dev/null | awk -F' \| ' -v n="$project_name" '$2==n{print $1}' | head -1)
|
|
98
98
|
[ -z "$space_id" ] && space_id=$(monotask space create "$project_name" 2>&1 | grep -oE '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}')
|
|
99
99
|
[ -z "$space_id" ] && { echo "ERROR: Could not find or create space '$project_name'"; exit 1; }
|
|
100
|
-
board_id=$(monotask board create "marketing" --json
|
|
101
|
-
[ -z "$board_id" ] && echo "
|
|
100
|
+
board_id=$(monotask board create "marketing" --json | jq -r '.id // empty')
|
|
101
|
+
[ -z "$board_id" ] && { echo "ERROR: Failed to create marketing board"; exit 1; }
|
|
102
102
|
monotask space boards add "$space_id" "$board_id" >/dev/null 2>&1 || true
|
|
103
103
|
todo_col=$(monotask column create "$board_id" "Todo" --json | jq -r '.id')
|
|
104
104
|
doing_col=$(monotask column create "$board_id" "Doing" --json | jq -r '.id')
|
|
@@ -172,7 +172,7 @@ Spawn one Task agent per workstream (all in parallel — star topology, hub aggr
|
|
|
172
172
|
- Product launch / GTM: subagent_type "Launch Strategist" (slug: launch-strategist)
|
|
173
173
|
- Competitive content / comparison pages: subagent_type "Competitive Content Strategist" (slug: competitive-content)
|
|
174
174
|
|
|
175
|
-
|
|
175
|
+
Also run /mastermind:do --board <board_id> to track execution.
|
|
176
176
|
|
|
177
177
|
STEP 4 — COLLECT AND RETURN
|
|
178
178
|
Collect all agent outputs. Return to caller:
|
|
@@ -1128,7 +1128,7 @@ If `caller` is not "command", follow `_protocol.md` Brain Write Procedure for do
|
|
|
1128
1128
|
"type": "linear",
|
|
1129
1129
|
"filter": {
|
|
1130
1130
|
"team": "ENG",
|
|
1131
|
-
"assignees": ["
|
|
1131
|
+
"assignees": ["your@email.com"],
|
|
1132
1132
|
"states": ["Todo"],
|
|
1133
1133
|
"labels": ["ai-agent"],
|
|
1134
1134
|
"project": ""
|
|
@@ -1219,7 +1219,7 @@ If `caller` is not "command", follow `_protocol.md` Brain Write Procedure for do
|
|
|
1219
1219
|
|
|
1220
1220
|
# Add a Linear source to an existing monitor
|
|
1221
1221
|
/mastermind:monitor --action add-source --name dev-watcher \
|
|
1222
|
-
--source linear --team ENG --user
|
|
1222
|
+
--source linear --team ENG --user your@email.com \
|
|
1223
1223
|
--state Todo --label ai-agent
|
|
1224
1224
|
|
|
1225
1225
|
# Add a monotask board source
|
|
@@ -51,8 +51,8 @@ If this skill is invoked directly (not by master):
|
|
|
51
51
|
space_id=$(monotask space list 2>/dev/null | awk -F' \| ' -v n="$project_name" '$2==n{print $1}' | head -1)
|
|
52
52
|
[ -z "$space_id" ] && space_id=$(monotask space create "$project_name" 2>&1 | grep -oE '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}')
|
|
53
53
|
[ -z "$space_id" ] && { echo "ERROR: Could not find or create space '$project_name'"; exit 1; }
|
|
54
|
-
board_id=$(monotask board create "ops" --json
|
|
55
|
-
[ -z "$board_id" ] && echo "
|
|
54
|
+
board_id=$(monotask board create "ops" --json | jq -r '.id // empty')
|
|
55
|
+
[ -z "$board_id" ] && { echo "ERROR: Failed to create ops board"; exit 1; }
|
|
56
56
|
monotask space boards add "$space_id" "$board_id" >/dev/null 2>&1 || true
|
|
57
57
|
todo_col=$(monotask column create "$board_id" "Todo" --json | jq -r '.id')
|
|
58
58
|
doing_col=$(monotask column create "$board_id" "Doing" --json | jq -r '.id')
|
|
@@ -118,7 +118,7 @@ Spawn one Task agent per workstream (star topology — hub aggregates independen
|
|
|
118
118
|
- Infrastructure automation: subagent_type "DevOps Automator"
|
|
119
119
|
- CI/CD pipelines: subagent_type "cicd-engineer"
|
|
120
120
|
|
|
121
|
-
|
|
121
|
+
Also run /mastermind:do --board <board_id> to track execution.
|
|
122
122
|
|
|
123
123
|
STEP 4 — COLLECT AND RETURN
|
|
124
124
|
Collect all agent outputs. Return to caller:
|
|
@@ -51,8 +51,8 @@ If this skill is invoked directly (not by master):
|
|
|
51
51
|
space_id=$(monotask space list 2>/dev/null | awk -F' \| ' -v n="$project_name" '$2==n{print $1}' | head -1)
|
|
52
52
|
[ -z "$space_id" ] && space_id=$(monotask space create "$project_name" 2>&1 | grep -oE '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}')
|
|
53
53
|
[ -z "$space_id" ] && { echo "ERROR: Could not find or create space '$project_name'"; exit 1; }
|
|
54
|
-
board_id=$(monotask board create "release" --json
|
|
55
|
-
[ -z "$board_id" ] && echo "
|
|
54
|
+
board_id=$(monotask board create "release" --json | jq -r '.id // empty')
|
|
55
|
+
[ -z "$board_id" ] && { echo "ERROR: Failed to create release board"; exit 1; }
|
|
56
56
|
monotask space boards add "$space_id" "$board_id" >/dev/null 2>&1 || true
|
|
57
57
|
todo_col=$(monotask column create "$board_id" "Todo" --json | jq -r '.id')
|
|
58
58
|
doing_col=$(monotask column create "$board_id" "Doing" --json | jq -r '.id')
|
|
@@ -118,7 +118,7 @@ Spawn Task agents in release order (hierarchical raft — coordinator maintains
|
|
|
118
118
|
- Infrastructure and deploy: subagent_type "DevOps Automator"
|
|
119
119
|
- CI/CD pipeline: subagent_type "cicd-engineer"
|
|
120
120
|
|
|
121
|
-
|
|
121
|
+
Also run /mastermind:do --board <board_id> to track execution.
|
|
122
122
|
|
|
123
123
|
STEP 4 — COLLECT AND RETURN
|
|
124
124
|
Collect all stage outcomes. Return to caller:
|
|
@@ -51,8 +51,8 @@ If this skill is invoked directly (not by master):
|
|
|
51
51
|
space_id=$(monotask space list 2>/dev/null | awk -F' \| ' -v n="$project_name" '$2==n{print $1}' | head -1)
|
|
52
52
|
[ -z "$space_id" ] && space_id=$(monotask space create "$project_name" 2>&1 | grep -oE '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}')
|
|
53
53
|
[ -z "$space_id" ] && { echo "ERROR: Could not find or create space '$project_name'"; exit 1; }
|
|
54
|
-
board_id=$(monotask board create "research" --json
|
|
55
|
-
[ -z "$board_id" ] && echo "
|
|
54
|
+
board_id=$(monotask board create "research" --json | jq -r '.id // empty')
|
|
55
|
+
[ -z "$board_id" ] && { echo "ERROR: Failed to create research board"; exit 1; }
|
|
56
56
|
monotask space boards add "$space_id" "$board_id" >/dev/null 2>&1 || true
|
|
57
57
|
todo_col=$(monotask column create "$board_id" "Todo" --json | jq -r '.id')
|
|
58
58
|
doing_col=$(monotask column create "$board_id" "Doing" --json | jq -r '.id')
|
|
@@ -118,7 +118,7 @@ Spawn one Task agent per research stream (mesh topology — findings cross-polli
|
|
|
118
118
|
- User behavior and UX signals: subagent_type "UX Researcher"
|
|
119
119
|
- Data and metrics analysis: subagent_type "Analytics Reporter"
|
|
120
120
|
|
|
121
|
-
|
|
121
|
+
Also run /mastermind:do --board <board_id> to track execution.
|
|
122
122
|
|
|
123
123
|
STEP 4 — COLLECT AND RETURN
|
|
124
124
|
Synthesize all research streams into an intelligence report. Return to caller:
|
|
@@ -62,8 +62,8 @@ If this skill is invoked directly (not by master):
|
|
|
62
62
|
space_id=$(monotask space list 2>/dev/null | awk -F' \| ' -v n="$project_name" '$2==n{print $1}' | head -1)
|
|
63
63
|
[ -z "$space_id" ] && space_id=$(monotask space create "$project_name" 2>&1 | grep -oE '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}')
|
|
64
64
|
[ -z "$space_id" ] && { echo "ERROR: Could not find or create space '$project_name'"; exit 1; }
|
|
65
|
-
board_id=$(monotask board create "review" --json
|
|
66
|
-
[ -z "$board_id" ] && echo "
|
|
65
|
+
board_id=$(monotask board create "review" --json | jq -r '.id // empty')
|
|
66
|
+
[ -z "$board_id" ] && { echo "ERROR: Failed to create review board"; exit 1; }
|
|
67
67
|
monotask space boards add "$space_id" "$board_id" >/dev/null 2>&1 || true
|
|
68
68
|
todo_col=$(monotask column create "$board_id" "Todo" --json | jq -r '.id')
|
|
69
69
|
doing_col=$(monotask column create "$board_id" "Doing" --json | jq -r '.id')
|
|
@@ -169,7 +169,7 @@ Step 4 — Report:
|
|
|
169
169
|
MISSES: representative samples that return safe=true but contain injection patterns
|
|
170
170
|
```
|
|
171
171
|
|
|
172
|
-
|
|
172
|
+
Also run /mastermind:do --board <board_id> to track execution.
|
|
173
173
|
|
|
174
174
|
STEP 4 — COLLECT AND RETURN
|
|
175
175
|
Synthesize all review findings. Return to caller:
|
|
@@ -51,8 +51,8 @@ If this skill is invoked directly (not by master):
|
|
|
51
51
|
space_id=$(monotask space list 2>/dev/null | awk -F' \| ' -v n="$project_name" '$2==n{print $1}' | head -1)
|
|
52
52
|
[ -z "$space_id" ] && space_id=$(monotask space create "$project_name" 2>&1 | grep -oE '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}')
|
|
53
53
|
[ -z "$space_id" ] && { echo "ERROR: Could not find or create space '$project_name'"; exit 1; }
|
|
54
|
-
board_id=$(monotask board create "sales" --json
|
|
55
|
-
[ -z "$board_id" ] && echo "
|
|
54
|
+
board_id=$(monotask board create "sales" --json | jq -r '.id // empty')
|
|
55
|
+
[ -z "$board_id" ] && { echo "ERROR: Failed to create sales board"; exit 1; }
|
|
56
56
|
monotask space boards add "$space_id" "$board_id" >/dev/null 2>&1 || true
|
|
57
57
|
todo_col=$(monotask column create "$board_id" "Todo" --json | jq -r '.id')
|
|
58
58
|
doing_col=$(monotask column create "$board_id" "Doing" --json | jq -r '.id')
|
|
@@ -120,7 +120,7 @@ Spawn one Task agent per workstream:
|
|
|
120
120
|
- Account expansion: subagent_type "Account Strategist"
|
|
121
121
|
- Competitive research: subagent_type "researcher"
|
|
122
122
|
|
|
123
|
-
|
|
123
|
+
Also run /mastermind:do --board <board_id> to track execution.
|
|
124
124
|
|
|
125
125
|
STEP 4 — COLLECT AND RETURN
|
|
126
126
|
Collect all agent outputs. Return to caller:
|