@monoes/monomindcli 1.10.57 → 1.11.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/.claude/agents/core/coordinator.md +71 -0
- package/.claude/agents/generated/case-analyst.md +50 -0
- package/.claude/agents/generated/copy-editor.md +45 -0
- package/.claude/agents/generated/court-reporter.md +50 -0
- package/.claude/agents/generated/defender.md +51 -0
- package/.claude/agents/generated/editor-in-chief.md +45 -0
- package/.claude/agents/generated/fact-checker.md +45 -0
- package/.claude/agents/generated/judge.md +51 -0
- package/.claude/agents/generated/prosecutor.md +51 -0
- package/.claude/agents/generated/reporter.md +45 -0
- package/.claude/commands/hooks/README.md +1 -1
- package/.claude/commands/hooks/overview.md +1 -1
- package/.claude/commands/mastermind/_repeat.md +1 -1
- package/.claude/commands/mastermind/do.md +3 -1
- package/.claude/commands/mastermind/help.md +2 -2
- package/.claude/commands/mastermind/master.md +39 -6
- package/.claude/commands/mastermind/memory.md +1 -1
- package/.claude/commands/memory/memory-search.md +2 -2
- package/.claude/commands/monitoring/status.md +1 -1
- package/.claude/commands/{browse.md → monobrowse.md} +2 -2
- package/.claude/commands/sparc.md +1 -1
- package/.claude/helpers/handlers/graph-status-handler.cjs +1 -1
- package/.claude/helpers/loop-tracker.cjs +1 -1
- package/.claude/skills/agent-browser-testing/SKILL.md +1 -1
- package/.claude/skills/hooks-automation/SKILL.md +0 -3
- package/.claude/skills/mastermind/build.md +1 -1
- package/.claude/skills/mastermind/code-quality-reviewer-prompt.md +60 -0
- package/.claude/skills/mastermind/content.md +1 -1
- package/.claude/skills/mastermind/createorg.md +79 -2
- package/.claude/skills/mastermind/design.md +3 -1
- package/.claude/skills/mastermind/finance.md +1 -1
- package/.claude/skills/mastermind/implementer-prompt.md +109 -0
- package/.claude/skills/mastermind/marketing.md +1 -1
- package/.claude/skills/mastermind/ops.md +1 -1
- package/.claude/skills/mastermind/plan.md +20 -2
- package/.claude/skills/mastermind/release.md +1 -1
- package/.claude/skills/mastermind/research.md +1 -1
- package/.claude/skills/mastermind/review.md +1 -1
- package/.claude/skills/mastermind/sales.md +1 -1
- package/.claude/skills/mastermind/spec-reviewer-prompt.md +63 -0
- package/.claude/skills/sparc-methodology/SKILL.md +3 -3
- package/.claude/skills/swarm-advanced/SKILL.md +1 -4
- package/README.md +18 -32
- package/dist/src/agents/registry-builder.d.ts +1 -7
- package/dist/src/agents/registry-builder.d.ts.map +1 -1
- package/dist/src/agents/registry-builder.js +10 -6
- package/dist/src/agents/registry-builder.js.map +1 -1
- package/dist/src/benchmarks/benchmark-runner.d.ts +59 -12
- package/dist/src/benchmarks/benchmark-runner.d.ts.map +1 -1
- package/dist/src/benchmarks/benchmark-runner.js +67 -13
- package/dist/src/benchmarks/benchmark-runner.js.map +1 -1
- package/dist/src/benchmarks/metric-evaluators.d.ts.map +1 -1
- package/dist/src/benchmarks/metric-evaluators.js.map +1 -1
- package/dist/src/benchmarks/pretrain/index.d.ts +0 -13
- package/dist/src/benchmarks/pretrain/index.d.ts.map +1 -1
- package/dist/src/benchmarks/pretrain/index.js.map +1 -1
- package/dist/src/commands/agent-wasm.d.ts +2 -2
- package/dist/src/commands/agent-wasm.js +5 -5
- package/dist/src/commands/agent.d.ts.map +1 -1
- package/dist/src/commands/agent.js +1 -6
- package/dist/src/commands/agent.js.map +1 -1
- package/dist/src/commands/analyze.d.ts +1 -1
- package/dist/src/commands/analyze.d.ts.map +1 -1
- package/dist/src/commands/analyze.js +8 -18
- package/dist/src/commands/analyze.js.map +1 -1
- package/dist/src/commands/doctor.d.ts.map +1 -1
- package/dist/src/commands/doctor.js +53 -3
- package/dist/src/commands/doctor.js.map +1 -1
- package/dist/src/commands/embeddings.d.ts.map +1 -1
- package/dist/src/commands/embeddings.js +9 -33
- package/dist/src/commands/embeddings.js.map +1 -1
- package/dist/src/commands/hooks.d.ts.map +1 -1
- package/dist/src/commands/hooks.js +31 -74
- package/dist/src/commands/hooks.js.map +1 -1
- package/dist/src/commands/index.d.ts +4 -6
- package/dist/src/commands/index.d.ts.map +1 -1
- package/dist/src/commands/index.js +8 -15
- package/dist/src/commands/index.js.map +1 -1
- package/dist/src/commands/init.js +2 -2
- package/dist/src/commands/init.js.map +1 -1
- package/dist/src/commands/issues.d.ts.map +1 -1
- package/dist/src/commands/issues.js +16 -11
- package/dist/src/commands/issues.js.map +1 -1
- package/dist/src/commands/memory.js +6 -6
- package/dist/src/commands/memory.js.map +1 -1
- package/dist/src/commands/migrate.d.ts.map +1 -1
- package/dist/src/commands/migrate.js +1 -2
- package/dist/src/commands/migrate.js.map +1 -1
- package/dist/src/commands/monograph.d.ts.map +1 -1
- package/dist/src/commands/monograph.js +18 -11
- package/dist/src/commands/monograph.js.map +1 -1
- package/dist/src/commands/monovector/backup.d.ts +11 -0
- package/dist/src/commands/monovector/backup.d.ts.map +1 -0
- package/dist/src/commands/{ruvector → monovector}/backup.js +25 -25
- package/dist/src/commands/monovector/backup.js.map +1 -0
- package/dist/src/commands/monovector/benchmark.d.ts +11 -0
- package/dist/src/commands/monovector/benchmark.d.ts.map +1 -0
- package/dist/src/commands/{ruvector → monovector}/benchmark.js +14 -14
- package/dist/src/commands/monovector/benchmark.js.map +1 -0
- package/dist/src/commands/monovector/import.d.ts +18 -0
- package/dist/src/commands/monovector/import.d.ts.map +1 -0
- package/dist/src/commands/{ruvector → monovector}/import.js +21 -21
- package/dist/src/commands/monovector/import.js.map +1 -0
- package/dist/src/commands/{ruvector → monovector}/index.d.ts +6 -6
- package/dist/src/commands/monovector/index.d.ts.map +1 -0
- package/dist/src/commands/{ruvector → monovector}/index.js +22 -22
- package/dist/src/commands/monovector/index.js.map +1 -0
- package/dist/src/commands/monovector/init.d.ts +11 -0
- package/dist/src/commands/monovector/init.d.ts.map +1 -0
- package/dist/src/commands/{ruvector → monovector}/init.js +36 -36
- package/dist/src/commands/monovector/init.js.map +1 -0
- package/dist/src/commands/monovector/migrate.d.ts +11 -0
- package/dist/src/commands/monovector/migrate.d.ts.map +1 -0
- package/dist/src/commands/{ruvector → monovector}/migrate.js +16 -16
- package/dist/src/commands/monovector/migrate.js.map +1 -0
- package/dist/src/commands/{ruvector → monovector}/optimize.d.ts +2 -2
- package/dist/src/commands/monovector/optimize.d.ts.map +1 -0
- package/dist/src/commands/{ruvector → monovector}/optimize.js +10 -10
- package/dist/src/commands/monovector/optimize.js.map +1 -0
- package/dist/src/commands/monovector/setup.d.ts +18 -0
- package/dist/src/commands/monovector/setup.d.ts.map +1 -0
- package/dist/src/commands/{ruvector → monovector}/setup.js +77 -77
- package/dist/src/commands/monovector/setup.js.map +1 -0
- package/dist/src/commands/{ruvector → monovector}/status.d.ts +2 -2
- package/dist/src/commands/monovector/status.d.ts.map +1 -0
- package/dist/src/commands/{ruvector → monovector}/status.js +34 -34
- package/dist/src/commands/monovector/status.js.map +1 -0
- package/dist/src/commands/neural.d.ts +1 -1
- package/dist/src/commands/neural.d.ts.map +1 -1
- package/dist/src/commands/neural.js +31 -608
- package/dist/src/commands/neural.js.map +1 -1
- package/dist/src/commands/performance.d.ts.map +1 -1
- package/dist/src/commands/performance.js +7 -10
- package/dist/src/commands/performance.js.map +1 -1
- package/dist/src/commands/plugins.d.ts.map +1 -1
- package/dist/src/commands/plugins.js +3 -4
- package/dist/src/commands/plugins.js.map +1 -1
- package/dist/src/commands/process.d.ts.map +1 -1
- package/dist/src/commands/process.js +5 -12
- package/dist/src/commands/process.js.map +1 -1
- package/dist/src/commands/progress.d.ts.map +1 -1
- package/dist/src/commands/progress.js +16 -16
- package/dist/src/commands/progress.js.map +1 -1
- package/dist/src/commands/replay.d.ts.map +1 -1
- package/dist/src/commands/replay.js.map +1 -1
- package/dist/src/commands/route.d.ts +2 -2
- package/dist/src/commands/route.js +23 -23
- package/dist/src/commands/route.js.map +1 -1
- package/dist/src/commands/status.d.ts.map +1 -1
- package/dist/src/commands/status.js +0 -3
- package/dist/src/commands/status.js.map +1 -1
- package/dist/src/commands/swarm.d.ts.map +1 -1
- package/dist/src/commands/swarm.js +2 -3
- package/dist/src/commands/swarm.js.map +1 -1
- package/dist/src/config-adapter.d.ts.map +1 -1
- package/dist/src/config-adapter.js +27 -0
- package/dist/src/config-adapter.js.map +1 -1
- package/dist/src/consensus/audit-writer.d.ts +44 -17
- package/dist/src/consensus/audit-writer.d.ts.map +1 -1
- package/dist/src/consensus/audit-writer.js.map +1 -1
- package/dist/src/dlq/dlq-replayer.d.ts +1 -1
- package/dist/src/dlq/dlq-replayer.d.ts.map +1 -1
- package/dist/src/index.js +5 -5
- package/dist/src/index.js.map +1 -1
- package/dist/src/init/claudemd-generator.d.ts.map +1 -1
- package/dist/src/init/claudemd-generator.js +57 -37
- package/dist/src/init/claudemd-generator.js.map +1 -1
- package/dist/src/init/executor.d.ts.map +1 -1
- package/dist/src/init/executor.js +17 -27
- package/dist/src/init/executor.js.map +1 -1
- package/dist/src/init/helpers-generator.js +2 -2
- package/dist/src/init/types.d.ts +1 -1
- package/dist/src/init/types.d.ts.map +1 -1
- package/dist/src/mcp-client.d.ts.map +1 -1
- package/dist/src/mcp-client.js +1 -7
- package/dist/src/mcp-client.js.map +1 -1
- package/dist/src/mcp-server.d.ts.map +1 -1
- package/dist/src/mcp-server.js +9 -1
- package/dist/src/mcp-server.js.map +1 -1
- package/dist/src/mcp-tools/agent-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/agent-tools.js +1 -52
- package/dist/src/mcp-tools/agent-tools.js.map +1 -1
- package/dist/src/mcp-tools/analyze-tools.js +5 -5
- package/dist/src/mcp-tools/analyze-tools.js.map +1 -1
- package/dist/src/mcp-tools/browser-tools.d.ts +1 -1
- package/dist/src/mcp-tools/browser-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/browser-tools.js +6 -5
- package/dist/src/mcp-tools/browser-tools.js.map +1 -1
- package/dist/src/mcp-tools/coordination-tools.d.ts +1 -1
- package/dist/src/mcp-tools/coordination-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/coordination-tools.js +51 -54
- package/dist/src/mcp-tools/coordination-tools.js.map +1 -1
- package/dist/src/mcp-tools/daa-tools.d.ts +1 -1
- package/dist/src/mcp-tools/daa-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/daa-tools.js.map +1 -1
- package/dist/src/mcp-tools/embeddings-tools.js +10 -10
- package/dist/src/mcp-tools/embeddings-tools.js.map +1 -1
- package/dist/src/mcp-tools/guidance-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/guidance-tools.js +0 -24
- package/dist/src/mcp-tools/guidance-tools.js.map +1 -1
- package/dist/src/mcp-tools/hive-mind-tools.js.map +1 -1
- package/dist/src/mcp-tools/hooks-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/hooks-tools.js +189 -480
- package/dist/src/mcp-tools/hooks-tools.js.map +1 -1
- package/dist/src/mcp-tools/index.d.ts +0 -2
- package/dist/src/mcp-tools/index.d.ts.map +1 -1
- package/dist/src/mcp-tools/index.js +0 -2
- package/dist/src/mcp-tools/index.js.map +1 -1
- package/dist/src/mcp-tools/monograph-compat.d.ts +334 -0
- package/dist/src/mcp-tools/monograph-compat.d.ts.map +1 -0
- package/dist/src/mcp-tools/monograph-compat.js +1126 -0
- package/dist/src/mcp-tools/monograph-compat.js.map +1 -0
- package/dist/src/mcp-tools/monograph-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/monograph-tools.js +76 -34
- package/dist/src/mcp-tools/monograph-tools.js.map +1 -1
- package/dist/src/mcp-tools/neural-tools.d.ts +1 -1
- package/dist/src/mcp-tools/neural-tools.js +2 -2
- package/dist/src/mcp-tools/neural-tools.js.map +1 -1
- package/dist/src/mcp-tools/ruvllm-tools.d.ts +2 -2
- package/dist/src/mcp-tools/ruvllm-tools.js +3 -3
- package/dist/src/mcp-tools/terminal-tools.d.ts +1 -1
- package/dist/src/mcp-tools/terminal-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/terminal-tools.js +29 -19
- package/dist/src/mcp-tools/terminal-tools.js.map +1 -1
- package/dist/src/mcp-tools/wasm-agent-tools.d.ts +1 -1
- package/dist/src/mcp-tools/wasm-agent-tools.js +2 -2
- package/dist/src/memory/intelligence.d.ts.map +1 -1
- package/dist/src/memory/intelligence.js +14 -8
- package/dist/src/memory/intelligence.js.map +1 -1
- package/dist/src/memory/memory-bridge.d.ts +17 -2
- package/dist/src/memory/memory-bridge.d.ts.map +1 -1
- package/dist/src/memory/memory-bridge.js +76 -23
- package/dist/src/memory/memory-bridge.js.map +1 -1
- package/dist/src/memory/memory-initializer.d.ts +2 -2
- package/dist/src/memory/memory-initializer.d.ts.map +1 -1
- package/dist/src/memory/memory-initializer.js +37 -39
- package/dist/src/memory/memory-initializer.js.map +1 -1
- package/dist/src/monovector/capabilities.d.ts +34 -0
- package/dist/src/monovector/capabilities.d.ts.map +1 -0
- package/dist/src/monovector/capabilities.js +37 -0
- package/dist/src/monovector/capabilities.js.map +1 -0
- package/dist/src/monovector/command-outcomes.d.ts +37 -0
- package/dist/src/monovector/command-outcomes.d.ts.map +1 -0
- package/dist/src/monovector/command-outcomes.js +87 -0
- package/dist/src/monovector/command-outcomes.js.map +1 -0
- package/dist/src/monovector/coverage-router.d.ts +103 -0
- package/dist/src/monovector/coverage-router.d.ts.map +1 -0
- package/dist/src/monovector/coverage-router.js +337 -0
- package/dist/src/monovector/coverage-router.js.map +1 -0
- package/dist/src/monovector/coverage-tools.d.ts +14 -0
- package/dist/src/monovector/coverage-tools.d.ts.map +1 -0
- package/dist/src/monovector/coverage-tools.js +112 -0
- package/dist/src/monovector/coverage-tools.js.map +1 -0
- package/dist/src/{ruvector → monovector}/diff-classifier.d.ts +2 -2
- package/dist/src/monovector/diff-classifier.d.ts.map +1 -0
- package/dist/src/monovector/diff-classifier.js.map +1 -0
- package/dist/src/monovector/index.d.ts +61 -0
- package/dist/src/monovector/index.d.ts.map +1 -0
- package/dist/src/monovector/index.js +67 -0
- package/dist/src/monovector/index.js.map +1 -0
- package/dist/src/monovector/init-state.d.ts +35 -0
- package/dist/src/monovector/init-state.d.ts.map +1 -0
- package/dist/src/monovector/init-state.js +36 -0
- package/dist/src/monovector/init-state.js.map +1 -0
- package/dist/src/monovector/route-outcomes.d.ts +55 -0
- package/dist/src/monovector/route-outcomes.d.ts.map +1 -0
- package/dist/src/monovector/route-outcomes.js +137 -0
- package/dist/src/monovector/route-outcomes.js.map +1 -0
- package/dist/src/parser.js +3 -3
- package/dist/src/parser.js.map +1 -1
- package/dist/src/plugins/store/discovery.d.ts.map +1 -1
- package/dist/src/plugins/store/discovery.js +0 -31
- package/dist/src/plugins/store/discovery.js.map +1 -1
- package/dist/src/production/circuit-breaker.d.ts +26 -6
- package/dist/src/production/circuit-breaker.d.ts.map +1 -1
- package/dist/src/production/circuit-breaker.js.map +1 -1
- package/dist/src/production/error-handler.d.ts +55 -30
- package/dist/src/production/error-handler.d.ts.map +1 -1
- package/dist/src/production/error-handler.js.map +1 -1
- package/dist/src/production/index.d.ts +3 -20
- package/dist/src/production/index.d.ts.map +1 -1
- package/dist/src/production/index.js +3 -15
- package/dist/src/production/index.js.map +1 -1
- package/dist/src/production/monitoring.d.ts +54 -34
- package/dist/src/production/monitoring.d.ts.map +1 -1
- package/dist/src/production/monitoring.js +12 -14
- package/dist/src/production/monitoring.js.map +1 -1
- package/dist/src/production/rate-limiter.d.ts +64 -19
- package/dist/src/production/rate-limiter.d.ts.map +1 -1
- package/dist/src/production/rate-limiter.js +5 -5
- package/dist/src/production/rate-limiter.js.map +1 -1
- package/dist/src/production/retry.d.ts.map +1 -1
- package/dist/src/production/retry.js +4 -2
- package/dist/src/production/retry.js.map +1 -1
- package/dist/src/services/claim-service.d.ts +50 -59
- package/dist/src/services/claim-service.d.ts.map +1 -1
- package/dist/src/services/claim-service.js +83 -50
- package/dist/src/services/claim-service.js.map +1 -1
- package/dist/src/services/config-file-manager.d.ts.map +1 -1
- package/dist/src/services/config-file-manager.js +8 -1
- package/dist/src/services/config-file-manager.js.map +1 -1
- package/dist/src/services/worker-daemon.d.ts.map +1 -1
- package/dist/src/services/worker-daemon.js +4 -0
- package/dist/src/services/worker-daemon.js.map +1 -1
- package/dist/src/types.d.ts +13 -0
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.js.map +1 -1
- package/dist/src/ui/collector.mjs +51 -11
- package/dist/src/ui/dashboard.html +313 -88
- package/dist/src/ui/server.mjs +163 -8
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +14 -14
- package/scripts/publish-registry.ts +0 -1
- package/.claude/commands/monomind/adr.md +0 -11
- package/.claude/commands/monomind/budget.md +0 -7
- package/.claude/commands/monomind/createtask.md +0 -277
- package/.claude/commands/monomind/do.md +0 -498
- package/.claude/commands/monomind/graph-status.md +0 -7
- package/.claude/commands/monomind/help.md +0 -118
- package/.claude/commands/monomind/idea.md +0 -273
- package/.claude/commands/monomind/improve.md +0 -352
- package/.claude/commands/monomind/loops.md +0 -7
- package/.claude/commands/monomind/memory.md +0 -230
- package/.claude/commands/monomind/repeat.md +0 -257
- package/.claude/commands/monomind/review.md +0 -317
- package/.claude/commands/monomind/specialagents.md +0 -125
- package/.claude/commands/monomind/swarm.md +0 -161
- package/.claude/commands/monomind/understand.md +0 -139
- package/.claude/commands/training/README.md +0 -39
- package/.claude/commands/training/neural-patterns.md +0 -73
- package/.claude/commands/training/neural-train.md +0 -79
- package/dist/src/commands/appliance-advanced.d.ts +0 -9
- package/dist/src/commands/appliance-advanced.d.ts.map +0 -1
- package/dist/src/commands/appliance-advanced.js +0 -238
- package/dist/src/commands/appliance-advanced.js.map +0 -1
- package/dist/src/commands/appliance.d.ts +0 -8
- package/dist/src/commands/appliance.d.ts.map +0 -1
- package/dist/src/commands/appliance.js +0 -406
- package/dist/src/commands/appliance.js.map +0 -1
- package/dist/src/commands/ruvector/backup.d.ts +0 -11
- package/dist/src/commands/ruvector/backup.d.ts.map +0 -1
- package/dist/src/commands/ruvector/backup.js.map +0 -1
- package/dist/src/commands/ruvector/benchmark.d.ts +0 -11
- package/dist/src/commands/ruvector/benchmark.d.ts.map +0 -1
- package/dist/src/commands/ruvector/benchmark.js.map +0 -1
- package/dist/src/commands/ruvector/import.d.ts +0 -18
- package/dist/src/commands/ruvector/import.d.ts.map +0 -1
- package/dist/src/commands/ruvector/import.js.map +0 -1
- package/dist/src/commands/ruvector/index.d.ts.map +0 -1
- package/dist/src/commands/ruvector/index.js.map +0 -1
- package/dist/src/commands/ruvector/init.d.ts +0 -11
- package/dist/src/commands/ruvector/init.d.ts.map +0 -1
- package/dist/src/commands/ruvector/init.js.map +0 -1
- package/dist/src/commands/ruvector/migrate.d.ts +0 -11
- package/dist/src/commands/ruvector/migrate.d.ts.map +0 -1
- package/dist/src/commands/ruvector/migrate.js.map +0 -1
- package/dist/src/commands/ruvector/optimize.d.ts.map +0 -1
- package/dist/src/commands/ruvector/optimize.js.map +0 -1
- package/dist/src/commands/ruvector/setup.d.ts +0 -18
- package/dist/src/commands/ruvector/setup.d.ts.map +0 -1
- package/dist/src/commands/ruvector/setup.js.map +0 -1
- package/dist/src/commands/ruvector/status.d.ts.map +0 -1
- package/dist/src/commands/ruvector/status.js.map +0 -1
- package/dist/src/ruvector/agent-wasm.d.ts +0 -182
- package/dist/src/ruvector/agent-wasm.d.ts.map +0 -1
- package/dist/src/ruvector/agent-wasm.js +0 -316
- package/dist/src/ruvector/agent-wasm.js.map +0 -1
- package/dist/src/ruvector/ast-analyzer.d.ts +0 -67
- package/dist/src/ruvector/ast-analyzer.d.ts.map +0 -1
- package/dist/src/ruvector/ast-analyzer.js +0 -277
- package/dist/src/ruvector/ast-analyzer.js.map +0 -1
- package/dist/src/ruvector/coverage-router.d.ts +0 -160
- package/dist/src/ruvector/coverage-router.d.ts.map +0 -1
- package/dist/src/ruvector/coverage-router.js +0 -539
- package/dist/src/ruvector/coverage-router.js.map +0 -1
- package/dist/src/ruvector/coverage-tools.d.ts +0 -33
- package/dist/src/ruvector/coverage-tools.d.ts.map +0 -1
- package/dist/src/ruvector/coverage-tools.js +0 -157
- package/dist/src/ruvector/coverage-tools.js.map +0 -1
- package/dist/src/ruvector/diff-classifier.d.ts.map +0 -1
- package/dist/src/ruvector/diff-classifier.js.map +0 -1
- package/dist/src/ruvector/enhanced-model-router.d.ts +0 -146
- package/dist/src/ruvector/enhanced-model-router.d.ts.map +0 -1
- package/dist/src/ruvector/enhanced-model-router.js +0 -551
- package/dist/src/ruvector/enhanced-model-router.js.map +0 -1
- package/dist/src/ruvector/flash-attention.d.ts +0 -195
- package/dist/src/ruvector/flash-attention.d.ts.map +0 -1
- package/dist/src/ruvector/flash-attention.js +0 -643
- package/dist/src/ruvector/flash-attention.js.map +0 -1
- package/dist/src/ruvector/graph-analyzer.d.ts +0 -187
- package/dist/src/ruvector/graph-analyzer.d.ts.map +0 -1
- package/dist/src/ruvector/graph-analyzer.js +0 -929
- package/dist/src/ruvector/graph-analyzer.js.map +0 -1
- package/dist/src/ruvector/index.d.ts +0 -67
- package/dist/src/ruvector/index.d.ts.map +0 -1
- package/dist/src/ruvector/index.js +0 -88
- package/dist/src/ruvector/index.js.map +0 -1
- package/dist/src/ruvector/lora-adapter.d.ts +0 -218
- package/dist/src/ruvector/lora-adapter.d.ts.map +0 -1
- package/dist/src/ruvector/lora-adapter.js +0 -455
- package/dist/src/ruvector/lora-adapter.js.map +0 -1
- package/dist/src/ruvector/model-router.d.ts +0 -222
- package/dist/src/ruvector/model-router.d.ts.map +0 -1
- package/dist/src/ruvector/model-router.js +0 -512
- package/dist/src/ruvector/model-router.js.map +0 -1
- package/dist/src/ruvector/moe-router.d.ts +0 -213
- package/dist/src/ruvector/moe-router.d.ts.map +0 -1
- package/dist/src/ruvector/moe-router.js +0 -649
- package/dist/src/ruvector/moe-router.js.map +0 -1
- package/dist/src/ruvector/q-learning-router.d.ts +0 -217
- package/dist/src/ruvector/q-learning-router.d.ts.map +0 -1
- package/dist/src/ruvector/q-learning-router.js +0 -712
- package/dist/src/ruvector/q-learning-router.js.map +0 -1
- package/dist/src/ruvector/ruvllm-wasm.d.ts +0 -179
- package/dist/src/ruvector/ruvllm-wasm.d.ts.map +0 -1
- package/dist/src/ruvector/ruvllm-wasm.js +0 -363
- package/dist/src/ruvector/ruvllm-wasm.js.map +0 -1
- package/dist/src/ruvector/semantic-router.d.ts +0 -77
- package/dist/src/ruvector/semantic-router.d.ts.map +0 -1
- package/dist/src/ruvector/semantic-router.js +0 -178
- package/dist/src/ruvector/semantic-router.js.map +0 -1
- package/dist/src/ruvector/vector-db.d.ts +0 -69
- package/dist/src/ruvector/vector-db.d.ts.map +0 -1
- package/dist/src/ruvector/vector-db.js +0 -243
- package/dist/src/ruvector/vector-db.js.map +0 -1
- package/dist/src/services/ruvector-training.d.ts +0 -222
- package/dist/src/services/ruvector-training.d.ts.map +0 -1
- package/dist/src/services/ruvector-training.js +0 -696
- package/dist/src/services/ruvector-training.js.map +0 -1
- package/dist/src/ui/.monomind/loops/loop-1779095996252-mdjpp.json +0 -11
- package/dist/src/ui/data/agent-avatars.html +0 -763
- package/dist/src/ui/data/agent-avatars.json +0 -966
- package/dist/src/ui/data/avatars/account-strategist.svg +0 -58
- package/dist/src/ui/data/avatars/accounts-payable.svg +0 -54
- package/dist/src/ui/data/avatars/adaptive-coordinator.svg +0 -55
- package/dist/src/ui/data/avatars/adaptive-coordinator2.svg +0 -54
- package/dist/src/ui/data/avatars/ai-citation.svg +0 -57
- package/dist/src/ui/data/avatars/ai-engineer.svg +0 -61
- package/dist/src/ui/data/avatars/analytics-reporter.svg +0 -53
- package/dist/src/ui/data/avatars/api-tester.svg +0 -53
- package/dist/src/ui/data/avatars/architecture.svg +0 -54
- package/dist/src/ui/data/avatars/automation-governance.svg +0 -55
- package/dist/src/ui/data/avatars/backend-dev.svg +0 -53
- package/dist/src/ui/data/avatars/benchmarker.svg +0 -54
- package/dist/src/ui/data/avatars/blockchain-auditor.svg +0 -53
- package/dist/src/ui/data/avatars/byzantine-coord.svg +0 -57
- package/dist/src/ui/data/avatars/case-analyst.svg +0 -57
- package/dist/src/ui/data/avatars/cicd-engineer.svg +0 -55
- package/dist/src/ui/data/avatars/cloud-architect.svg +0 -54
- package/dist/src/ui/data/avatars/code-review-swarm.svg +0 -57
- package/dist/src/ui/data/avatars/coder-v119.svg +0 -57
- package/dist/src/ui/data/avatars/coder.svg +0 -58
- package/dist/src/ui/data/avatars/collective-coord.svg +0 -54
- package/dist/src/ui/data/avatars/compliance-auditor.svg +0 -58
- package/dist/src/ui/data/avatars/consensus-coordinator.svg +0 -54
- package/dist/src/ui/data/avatars/content-creator.svg +0 -54
- package/dist/src/ui/data/avatars/crdt-synchronizer.svg +0 -53
- package/dist/src/ui/data/avatars/cro-specialist.svg +0 -58
- package/dist/src/ui/data/avatars/data-consolidator.svg +0 -54
- package/dist/src/ui/data/avatars/data-engineer.svg +0 -53
- package/dist/src/ui/data/avatars/database-optimizer.svg +0 -61
- package/dist/src/ui/data/avatars/deal-strategist.svg +0 -54
- package/dist/src/ui/data/avatars/defender.svg +0 -53
- package/dist/src/ui/data/avatars/devops-automator.svg +0 -56
- package/dist/src/ui/data/avatars/discovery-coach.svg +0 -54
- package/dist/src/ui/data/avatars/email-marketing.svg +0 -57
- package/dist/src/ui/data/avatars/embedded-firmware.svg +0 -61
- package/dist/src/ui/data/avatars/evidence-collector.svg +0 -57
- package/dist/src/ui/data/avatars/experiment-tracker.svg +0 -53
- package/dist/src/ui/data/avatars/feedback-synthesizer.svg +0 -54
- package/dist/src/ui/data/avatars/finance-tracker.svg +0 -54
- package/dist/src/ui/data/avatars/frontend-developer.svg +0 -54
- package/dist/src/ui/data/avatars/game-audio-engineer.svg +0 -59
- package/dist/src/ui/data/avatars/game-designer.svg +0 -54
- package/dist/src/ui/data/avatars/gossip-coordinator.svg +0 -54
- package/dist/src/ui/data/avatars/hierarchical-coord.svg +0 -54
- package/dist/src/ui/data/avatars/incident-commander.svg +0 -57
- package/dist/src/ui/data/avatars/infrastructure.svg +0 -54
- package/dist/src/ui/data/avatars/input-validator.svg +0 -53
- package/dist/src/ui/data/avatars/ios-developer.svg +0 -54
- package/dist/src/ui/data/avatars/issue-tracker.svg +0 -53
- package/dist/src/ui/data/avatars/judge.svg +0 -55
- package/dist/src/ui/data/avatars/launch-strategist.svg +0 -54
- package/dist/src/ui/data/avatars/legal-compliance.svg +0 -53
- package/dist/src/ui/data/avatars/level-designer.svg +0 -53
- package/dist/src/ui/data/avatars/load-balancer.svg +0 -57
- package/dist/src/ui/data/avatars/mcp-builder.svg +0 -53
- package/dist/src/ui/data/avatars/memory-coordinator.svg +0 -55
- package/dist/src/ui/data/avatars/mesh-coordinator.svg +0 -55
- package/dist/src/ui/data/avatars/ml-developer.svg +0 -58
- package/dist/src/ui/data/avatars/mobile-app-builder.svg +0 -53
- package/dist/src/ui/data/avatars/mobile-dev.svg +0 -54
- package/dist/src/ui/data/avatars/model-qa.svg +0 -58
- package/dist/src/ui/data/avatars/narrative-designer.svg +0 -58
- package/dist/src/ui/data/avatars/outbound-strategist.svg +0 -55
- package/dist/src/ui/data/avatars/path-validator.svg +0 -54
- package/dist/src/ui/data/avatars/payment-agent.svg +0 -53
- package/dist/src/ui/data/avatars/perf-analyzer.svg +0 -58
- package/dist/src/ui/data/avatars/pipeline-analyst.svg +0 -54
- package/dist/src/ui/data/avatars/planner.svg +0 -55
- package/dist/src/ui/data/avatars/pr-manager.svg +0 -54
- package/dist/src/ui/data/avatars/pricing-strategist.svg +0 -54
- package/dist/src/ui/data/avatars/product-manager.svg +0 -54
- package/dist/src/ui/data/avatars/production-validator.svg +0 -54
- package/dist/src/ui/data/avatars/project-shepherd.svg +0 -54
- package/dist/src/ui/data/avatars/proposal-strategist.svg +0 -54
- package/dist/src/ui/data/avatars/prosecutor.svg +0 -57
- package/dist/src/ui/data/avatars/pseudocode.svg +0 -53
- package/dist/src/ui/data/avatars/queen-coordinator.svg +0 -55
- package/dist/src/ui/data/avatars/quorum-manager.svg +0 -53
- package/dist/src/ui/data/avatars/raft-manager.svg +0 -53
- package/dist/src/ui/data/avatars/reality-checker.svg +0 -58
- package/dist/src/ui/data/avatars/recruitment.svg +0 -58
- package/dist/src/ui/data/avatars/refinement.svg +0 -53
- package/dist/src/ui/data/avatars/release-manager.svg +0 -54
- package/dist/src/ui/data/avatars/repo-architect.svg +0 -54
- package/dist/src/ui/data/avatars/researcher.svg +0 -58
- package/dist/src/ui/data/avatars/resource-allocator.svg +0 -53
- package/dist/src/ui/data/avatars/reviewer.svg +0 -53
- package/dist/src/ui/data/avatars/safe-executor.svg +0 -53
- package/dist/src/ui/data/avatars/sales-coach.svg +0 -53
- package/dist/src/ui/data/avatars/sales-engineer.svg +0 -58
- package/dist/src/ui/data/avatars/scout-explorer.svg +0 -58
- package/dist/src/ui/data/avatars/security-architect.svg +0 -54
- package/dist/src/ui/data/avatars/security-auditor.svg +0 -55
- package/dist/src/ui/data/avatars/senior-developer.svg +0 -58
- package/dist/src/ui/data/avatars/senior-pm.svg +0 -58
- package/dist/src/ui/data/avatars/seo-specialist.svg +0 -57
- package/dist/src/ui/data/avatars/social-media.svg +0 -54
- package/dist/src/ui/data/avatars/solidity-engineer.svg +0 -58
- package/dist/src/ui/data/avatars/sparc-coder.svg +0 -58
- package/dist/src/ui/data/avatars/sparc-coord.svg +0 -56
- package/dist/src/ui/data/avatars/specification.svg +0 -57
- package/dist/src/ui/data/avatars/sprint-prioritizer.svg +0 -53
- package/dist/src/ui/data/avatars/sre.svg +0 -54
- package/dist/src/ui/data/avatars/studio-operations.svg +0 -53
- package/dist/src/ui/data/avatars/studio-producer.svg +0 -55
- package/dist/src/ui/data/avatars/support-responder.svg +0 -56
- package/dist/src/ui/data/avatars/system-architect.svg +0 -54
- package/dist/src/ui/data/avatars/task-orchestrator.svg +0 -56
- package/dist/src/ui/data/avatars/technical-artist.svg +0 -53
- package/dist/src/ui/data/avatars/technical-writer.svg +0 -59
- package/dist/src/ui/data/avatars/tester.svg +0 -53
- package/dist/src/ui/data/avatars/threat-detection.svg +0 -61
- package/dist/src/ui/data/avatars/trend-researcher.svg +0 -54
- package/dist/src/ui/data/avatars/trial-director.svg +0 -55
- package/dist/src/ui/data/avatars/unity-architect.svg +0 -54
- package/dist/src/ui/data/avatars/visionos-engineer.svg +0 -57
- package/dist/src/ui/data/avatars/worker-specialist.svg +0 -55
- package/dist/src/ui/data/avatars/workflow-architect.svg +0 -57
- package/dist/src/ui/data/avatars/workflow-automation.svg +0 -54
- package/dist/src/ui/data/avatars/zk-steward.svg +0 -54
- package/dist/src/ui/data/known-projects.json +0 -1
- /package/dist/src/{ruvector → monovector}/diff-classifier.js +0 -0
|
@@ -12,7 +12,7 @@ If you were dispatched as a subagent to execute a specific task, skip the MASTER
|
|
|
12
12
|
## MASTERMIND PROTOCOL
|
|
13
13
|
|
|
14
14
|
<EXTREMELY-IMPORTANT>
|
|
15
|
-
|
|
15
|
+
If you think there is even a 1% chance a mastermind skill applies to what you are about to do, you ABSOLUTELY MUST invoke the skill — including before any clarifying questions or other action.
|
|
16
16
|
|
|
17
17
|
IF A SKILL APPLIES TO YOUR TASK, YOU DO NOT HAVE A CHOICE. YOU MUST INVOKE IT.
|
|
18
18
|
|
|
@@ -29,6 +29,10 @@ Mastermind skills override default system prompt behavior, but **user instructio
|
|
|
29
29
|
|
|
30
30
|
If CLAUDE.md says "skip review" and the skill says "always review," follow the user's instructions.
|
|
31
31
|
|
|
32
|
+
### How to Access Mastermind Skills
|
|
33
|
+
|
|
34
|
+
Use the `Skill` tool. When you invoke a skill, its content is loaded and presented to you — follow it directly. **Never use the Read tool on skill files.**
|
|
35
|
+
|
|
32
36
|
### User Instructions vs. Skill Workflows
|
|
33
37
|
|
|
34
38
|
User instructions say **WHAT** to do, not **HOW** to do it. "Build X" or "Fix Y" is a goal statement — it does not mean skip Brain Load, skip review, or bypass the domain decomposition flow. The skills define the how. Always apply the workflow unless the user explicitly opts out.
|
|
@@ -37,7 +41,7 @@ User instructions say **WHAT** to do, not **HOW** to do it. "Build X" or "Fix Y"
|
|
|
37
41
|
|
|
38
42
|
Invoke the matching skill **before** doing anything else. Even a 1% chance a skill applies means you must check.
|
|
39
43
|
|
|
40
|
-
```
|
|
44
|
+
```dot
|
|
41
45
|
digraph mastermind_routing {
|
|
42
46
|
"User command / prompt received" [shape=doublecircle];
|
|
43
47
|
"Brain already loaded?" [shape=diamond];
|
|
@@ -70,6 +74,8 @@ digraph mastermind_routing {
|
|
|
70
74
|
| Write a structured implementation plan (no placeholders) | `Skill("mastermind:plan")` |
|
|
71
75
|
| Execute a written plan step-by-step with stop-on-blocker | `Skill("mastermind:execute")` |
|
|
72
76
|
| Execute a plan via fresh subagents with 2-stage review | `Skill("mastermind:taskdev")` |
|
|
77
|
+
| Ingest a prompt/spec/folder and generate agent-optimized tasks | `Skill("mastermind:createtask")` |
|
|
78
|
+
| Execute tasks from a task file or monotask board (parallel/sequential/minimal modes, review cycles, loop) | `Skill("mastermind:do")` |
|
|
73
79
|
| Design first — spec, approaches, approval gate before code | `Skill("mastermind:design")` |
|
|
74
80
|
| Build a feature, fix a bug, implement anything | `Skill("mastermind:build")` |
|
|
75
81
|
| Code review, content critique, strategy audit | `Skill("mastermind:review")` |
|
|
@@ -77,6 +83,8 @@ digraph mastermind_routing {
|
|
|
77
83
|
| System architecture, DDD, technical design | `Skill("mastermind:architect")` |
|
|
78
84
|
| Market research, competitive analysis, user insights | `Skill("mastermind:research")` |
|
|
79
85
|
| Ideas, feature generation, opportunity framing | `Skill("mastermind:idea")` |
|
|
86
|
+
| Research ideas, evaluate with PM lens, decompose into subtasks | `Skill("mastermind:ideate")` |
|
|
87
|
+
| Analyze a component, research improvements, generate improvement tasks | `Skill("mastermind:improve")` |
|
|
80
88
|
| Marketing campaign, copy, SEO | `Skill("mastermind:marketing")` |
|
|
81
89
|
| Sales outreach, proposals, pipeline | `Skill("mastermind:sales")` |
|
|
82
90
|
| Blog, docs, newsletters, threads | `Skill("mastermind:content")` |
|
|
@@ -135,6 +143,12 @@ These thoughts mean **STOP** — you are rationalizing. Check for a skill first.
|
|
|
135
143
|
| "Auto mode means I should move fast" | Speed without discipline creates drift. Use skills. |
|
|
136
144
|
| "The user said --auto, so I skip confirmation" | --auto skips user confirmation. It does NOT skip skill invocation. |
|
|
137
145
|
| "Spawned agents don't need to check skills" | Subagents that have Skill access MUST use it. Only subagents with the `<SUBAGENT-STOP>` gate may skip. |
|
|
146
|
+
| "Agent said success" / "should work now" | Agent reports ≠ evidence. Run `mastermind:verify` independently — fresh and complete. |
|
|
147
|
+
| "I'll just make a quick change on main" | No changes on main/master without explicit user consent. `mastermind:worktree` first. |
|
|
148
|
+
| "Should I continue?" (in auto mode) | Never ask. Auto mode means execute continuously until blocked or all tasks complete. |
|
|
149
|
+
| "TBD / TODO / implement later" (in a plan) | Placeholder = plan failure. Every step needs exact paths, complete code, runnable commands. |
|
|
150
|
+
| "Code quality review first, then spec" | Wrong order every time. Spec compliance FIRST, code quality SECOND. Never reversed. |
|
|
151
|
+
| "The subagent can read the plan file itself" | Controller provides full task text to each implementer. Subagents never read plan files. |
|
|
138
152
|
|
|
139
153
|
### Mandatory Patterns
|
|
140
154
|
|
|
@@ -147,6 +161,22 @@ These sequences are non-negotiable in all modes:
|
|
|
147
161
|
- **After any run**: Brain Write Procedure — score decisions, append to AgentDB
|
|
148
162
|
- **Before releasing**: `mastermind:review --tillend --auto` → `mastermind:verify` → `mastermind:finish`
|
|
149
163
|
- **Isolated work**: `mastermind:worktree` before making changes to avoid contaminating main
|
|
164
|
+
- **Before claiming complete**: Run `mastermind:verify` — never claim completion based on agent reports, linter passes, or partial checks
|
|
165
|
+
- **When writing a plan**: Map file structure first → write tasks with exact paths + complete code (no placeholders) → self-review (spec coverage, placeholder scan, type consistency) → offer execution mode choice (subagent-driven vs inline)
|
|
166
|
+
- **When executing with subagents**: Provide full task text to each implementer (never make them read the plan file) → spec compliance review FIRST → code quality review SECOND → re-review until both ✅ → dispatch final reviewer after all tasks complete → then `mastermind:finish`
|
|
167
|
+
- **When blocked during execution**: Stop immediately — do not guess or force through. Diagnose, provide context, re-dispatch with more capable model, or escalate to user
|
|
168
|
+
|
|
169
|
+
### Iron Laws
|
|
170
|
+
|
|
171
|
+
These are inviolable regardless of mode, pressure, or context:
|
|
172
|
+
|
|
173
|
+
| Law | Rule |
|
|
174
|
+
|---|---|
|
|
175
|
+
| **TDD** | No production code without a failing test first. Entry point: `mastermind:tdd`. |
|
|
176
|
+
| **Debug** | No fix without root cause investigation first. Entry point: `mastermind:debug`. |
|
|
177
|
+
| **Verify** | No completion claim without fresh verification evidence. Entry point: `mastermind:verify`. |
|
|
178
|
+
| **Isolation** | No changes on main/master without explicit user consent. Entry point: `mastermind:worktree`. |
|
|
179
|
+
| **Plans** | No placeholders: every plan step has exact file paths, complete code, and runnable commands. Entry point: `mastermind:plan`. |
|
|
150
180
|
|
|
151
181
|
### Platform Note
|
|
152
182
|
|
|
@@ -209,7 +239,7 @@ Describe your goal. Mastermind identifies the relevant domains, spawns specialis
|
|
|
209
239
|
`/mastermind:skill-builder` — write or improve a mastermind skill with TDD discipline
|
|
210
240
|
|
|
211
241
|
---
|
|
212
|
-
Flags: `--auto` · `--confirm` · `--project <name>` · `--iterate <N>`
|
|
242
|
+
Flags: `--auto` · `--confirm` · `--project <name>` · `--iterate <N>` · `--monotask`
|
|
213
243
|
|
|
214
244
|
---
|
|
215
245
|
|
|
@@ -226,6 +256,7 @@ Extract from `$ARGUMENTS`:
|
|
|
226
256
|
- `--confirm` → mode = confirm
|
|
227
257
|
- `--project <name>` → project_name = <name>
|
|
228
258
|
- `--iterate <N>` → iterate = N (integer ≥ 1; when flag is absent, no iteration runs)
|
|
259
|
+
- `--monotask` → use_monotask = true (default: false — domain tracking writes to session files only)
|
|
229
260
|
- Remaining text = prompt
|
|
230
261
|
|
|
231
262
|
If `--project` was not provided, default `project_name` to the current directory name:
|
|
@@ -343,7 +374,9 @@ If mode = auto: proceed immediately.
|
|
|
343
374
|
|
|
344
375
|
### Step 6 — Monotask Setup
|
|
345
376
|
|
|
346
|
-
|
|
377
|
+
**Skip this step entirely if `use_monotask` is false** (the default). Domain tracking uses session JSON files only — no boards are created. Set `monotask_available: false` in `current.json` so Step 7 runs without board IDs.
|
|
378
|
+
|
|
379
|
+
If `use_monotask` is true: follow the Monotask Space+Board Setup Procedure from `_protocol.md`. Resolve the space **once**, then create one board per active domain. Use `project_name` as the space name so all boards across repos and domains share the same space.
|
|
347
380
|
|
|
348
381
|
**Board naming convention:** Every board is named `<project_name>-<domain>` (e.g. `factory-idea`, `factory-build`). This canonical name is stable across runs — mastermind finds the existing board instead of creating a new one every time.
|
|
349
382
|
|
|
@@ -610,7 +643,7 @@ Each Task call must include a complete briefing following the Monotask Task Brie
|
|
|
610
643
|
- The specific goal for this domain
|
|
611
644
|
- The project name and run context
|
|
612
645
|
- Instruction to create monotask cards directly using `monotask card create $BOARD_ID $COL_TODO_ID "<title>" --json` for all sub-tasks
|
|
613
|
-
- Instruction to use `Skill("
|
|
646
|
+
- Instruction to use `Skill("mastermind:do")` to execute tasks (Task agents have Skill tool access — do NOT use slash command syntax)
|
|
614
647
|
- Instruction to spawn specialized agents using the domain-appropriate swarm topology
|
|
615
648
|
- Instruction to return the unified output schema when done
|
|
616
649
|
|
|
@@ -660,7 +693,7 @@ Task({
|
|
|
660
693
|
" -H 'Content-Type: application/json' \\\n" +
|
|
661
694
|
" -d \"$(jq -cn --arg sid '<SESSION_ID>' --arg to '<domain>' --arg msg '<summary>' \\\n" +
|
|
662
695
|
" '{type:\"intercom\",session:$sid,from:\"build\",to:$to,msg:$msg,ts:(now*1000|floor)}')\" || true\n\n" +
|
|
663
|
-
"5. Execute tasks via Skill(\"
|
|
696
|
+
"5. Execute tasks via Skill(\"mastermind:do\") --board <board_build> (use Skill tool — slash command syntax does not work inside a Task agent)\n" +
|
|
664
697
|
"6. Collect all agent outputs\n\n" +
|
|
665
698
|
"7. BEFORE returning, write your output schema to disk AND emit domain:complete:\n" +
|
|
666
699
|
" REPO_ROOT=$(git rev-parse --show-toplevel 2>/dev/null || pwd)\n" +
|
|
@@ -5,7 +5,7 @@ description: AgentDB memory system — store, search, retrieve, list, delete, an
|
|
|
5
5
|
|
|
6
6
|
# Monomind Memory System
|
|
7
7
|
|
|
8
|
-
Persistent memory backed by AgentDB with HNSW vector indexing for semantic search (
|
|
8
|
+
Persistent memory backed by AgentDB with pure-JS HNSW vector indexing for semantic search (O(log n) approximate nearest neighbor). Supports cross-session and cross-agent collaboration.
|
|
9
9
|
|
|
10
10
|
## Subcommands
|
|
11
11
|
|
|
@@ -21,7 +21,7 @@ npx monomind memory search [options]
|
|
|
21
21
|
| `--limit` | `-l` | number | `10` | Maximum results to return |
|
|
22
22
|
| `--threshold` | — | number | `0.7` | Minimum similarity threshold (0–1) |
|
|
23
23
|
| `--type` | `-t` | string | `hybrid` | Search type: `semantic`, `keyword`, `hybrid` |
|
|
24
|
-
| `--build-hnsw` | — | boolean | `false` | Build HNSW index before search (
|
|
24
|
+
| `--build-hnsw` | — | boolean | `false` | Build pure-JS HNSW index before search (O(log n) vs O(n) linear) |
|
|
25
25
|
| `--format` | — | string | — | Output format: `json` |
|
|
26
26
|
|
|
27
27
|
## Examples
|
|
@@ -56,7 +56,7 @@ npx monomind memory search -q "auth" --format json
|
|
|
56
56
|
|
|
57
57
|
## HNSW Index
|
|
58
58
|
|
|
59
|
-
Use `--build-hnsw` when searching large memory stores (1,000+ entries). The HNSW index
|
|
59
|
+
Use `--build-hnsw` when searching large memory stores (1,000+ entries). The pure-JS HNSW index gives O(log n) approximate-nearest-neighbor queries (vs O(n) linear scan) after the one-time build cost.
|
|
60
60
|
|
|
61
61
|
## MCP Tool
|
|
62
62
|
|
|
@@ -65,7 +65,7 @@ npx monomind status memory
|
|
|
65
65
|
- **Tasks** — pending / running / completed / failed / total
|
|
66
66
|
- **Memory** — backend, entries, size, search time, cache hit rate
|
|
67
67
|
- **MCP Server** — running state, transport, port
|
|
68
|
-
- **Performance** — CPU usage, memory usage,
|
|
68
|
+
- **Performance** — CPU usage, memory usage, vector search speed
|
|
69
69
|
|
|
70
70
|
## Health Check Mode
|
|
71
71
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
2
|
+
name: monobrowse
|
|
3
3
|
description: Launch monomind browse for web UI testing and automation — native TypeScript CDP client, no external binary needed
|
|
4
4
|
---
|
|
5
5
|
|
|
@@ -18,4 +18,4 @@ Use the full monomind browse workflow:
|
|
|
18
18
|
4. Re-snapshot to verify
|
|
19
19
|
5. Report results (PASS / FAIL / WARN)
|
|
20
20
|
|
|
21
|
-
Examples: `/
|
|
21
|
+
Examples: `/monobrowse`, `/monobrowse https://example.com`, `/monobrowse test the login flow`
|
|
@@ -109,4 +109,4 @@ Task({ subagent_type: "reviewer", description: "Security and code review", run_i
|
|
|
109
109
|
- Store important decisions in memory across phases
|
|
110
110
|
- All tasks should end with verification against acceptance criteria
|
|
111
111
|
|
|
112
|
-
See `/
|
|
112
|
+
See `/mastermind:help` for all available commands.
|
|
@@ -48,7 +48,7 @@ function parseRepInfo(prompt, reason) {
|
|
|
48
48
|
|
|
49
49
|
function detectType(prompt, maxReps) {
|
|
50
50
|
if (maxReps > 0) return 'repeat';
|
|
51
|
-
if ((prompt || '').startsWith('/
|
|
51
|
+
if ((prompt || '').startsWith('/mastermind-repeat') || (prompt || '').startsWith('/loop')) return 'repeat';
|
|
52
52
|
return 'do';
|
|
53
53
|
}
|
|
54
54
|
|
|
@@ -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
|
-
Also run /
|
|
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:
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# Code Quality Reviewer Prompt Template
|
|
2
|
+
|
|
3
|
+
Use this template when dispatching a code quality reviewer subagent from `mastermind:taskdev`.
|
|
4
|
+
|
|
5
|
+
**Purpose:** Verify implementation is well-built — clean, tested, maintainable.
|
|
6
|
+
|
|
7
|
+
**Only dispatch AFTER spec compliance review passes (✅).** Never run this first.
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
Task tool (general-purpose):
|
|
11
|
+
description: "Code quality review for Task N: [task name]"
|
|
12
|
+
prompt: |
|
|
13
|
+
You are reviewing the code quality of a recently implemented task.
|
|
14
|
+
|
|
15
|
+
## Task Summary
|
|
16
|
+
|
|
17
|
+
[From implementer's report — what was built]
|
|
18
|
+
|
|
19
|
+
## Diff to Review
|
|
20
|
+
|
|
21
|
+
BASE_SHA: [commit before task]
|
|
22
|
+
HEAD_SHA: [current commit after task]
|
|
23
|
+
|
|
24
|
+
Review the changes introduced between these commits.
|
|
25
|
+
|
|
26
|
+
## What to Check
|
|
27
|
+
|
|
28
|
+
**Code quality:**
|
|
29
|
+
- Is the code clean and maintainable?
|
|
30
|
+
- Are names clear and accurate (match what things do, not how they work)?
|
|
31
|
+
- Is there duplication that could be DRY'd up?
|
|
32
|
+
- Are there magic numbers or hardcoded strings that should be constants?
|
|
33
|
+
|
|
34
|
+
**File structure:**
|
|
35
|
+
- Does each file have one clear responsibility with a well-defined interface?
|
|
36
|
+
- Are units decomposed so they can be understood and tested independently?
|
|
37
|
+
- Is the implementation following the file structure from the plan?
|
|
38
|
+
- Did this task create new files that are already large, or significantly grow
|
|
39
|
+
existing files? (Focus on what this change contributed, not pre-existing sizes.)
|
|
40
|
+
|
|
41
|
+
**Tests:**
|
|
42
|
+
- Do tests actually verify behavior (not just mock behavior)?
|
|
43
|
+
- Is test coverage adequate for the functionality added?
|
|
44
|
+
- Are tests readable and well-named?
|
|
45
|
+
|
|
46
|
+
**YAGNI / over-engineering:**
|
|
47
|
+
- Was anything built that wasn't needed?
|
|
48
|
+
- Is any abstraction premature?
|
|
49
|
+
|
|
50
|
+
## Report Format
|
|
51
|
+
|
|
52
|
+
Return:
|
|
53
|
+
- **Strengths:** What was done well
|
|
54
|
+
- **Issues (Critical):** Must fix before proceeding
|
|
55
|
+
- **Issues (Important):** Should fix — notable quality problems
|
|
56
|
+
- **Issues (Minor):** Nice to have — low priority
|
|
57
|
+
- **Assessment:** ✅ Approved | ❌ Needs fixes
|
|
58
|
+
|
|
59
|
+
If issues are found, the implementer will fix them and you will re-review.
|
|
60
|
+
```
|
|
@@ -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
|
-
Also run /
|
|
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:
|
|
@@ -68,7 +68,72 @@ Parse `roles_desc` (if provided) into a list of role titles. If not provided, de
|
|
|
68
68
|
| product / product manager | `Product Manager` | Roadmap, prioritization |
|
|
69
69
|
| qa / tester | `tester` | Quality assurance, testing |
|
|
70
70
|
|
|
71
|
-
If a role doesn't match any keyword,
|
|
71
|
+
If a role doesn't match any keyword **and the org's domain is far from software** (legal, medical, finance, creative, etc.), do NOT force a mismatched generic type whose instructions are about the wrong domain (e.g. a court reporter mapped to the code `reviewer`). Instead coin a role-specific `agent_type` slug from the role title (slugify: `Court Reporter` → `court-reporter`, `Prosecutor` → `prosecutor`) and generate a fitting definition for it in Step 2.5. Only fall back to `general-purpose` when no sensible slug applies.
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
## Step 2.5 — Complete Every Agent's Specification (generate what's missing)
|
|
76
|
+
|
|
77
|
+
**This is the step that makes each created agent actually work.** A role is only usable if it has: skills, an instruction document (system prompt), an input contract, and an output contract. Most of these are missing from a bare role description — **generate them, tailored to the specific agent, rather than leaving them blank.**
|
|
78
|
+
|
|
79
|
+
For **each** role, do the following:
|
|
80
|
+
|
|
81
|
+
**1. Check whether a usable agent definition already exists.**
|
|
82
|
+
```bash
|
|
83
|
+
# Match by frontmatter `name:` first, then by filename slug, anywhere under .claude/agents
|
|
84
|
+
at="<agent_type>"
|
|
85
|
+
existing=$(grep -rils "^name:[[:space:]]*${at}\$" .claude/agents 2>/dev/null | head -1)
|
|
86
|
+
[ -z "$existing" ] && existing=$(find .claude/agents -iname "${at}.md" 2>/dev/null | head -1)
|
|
87
|
+
```
|
|
88
|
+
A definition is **usable** only if it exists AND its domain fits this role. A curated def whose instructions are about a different domain (e.g. `reviewer.md` = code review, applied to a "Court Reporter") does **not** count as usable — treat it as missing and coin a role-specific `agent_type` (see Step 2 note).
|
|
89
|
+
|
|
90
|
+
**2. If no usable definition exists, generate one** at `.claude/agents/generated/<agent_type>.md`. Author it specifically for this role and this org's goal — never a generic stub. Use this shape:
|
|
91
|
+
|
|
92
|
+
```markdown
|
|
93
|
+
---
|
|
94
|
+
name: <agent_type>
|
|
95
|
+
description: <one line — who this agent is and what it does>
|
|
96
|
+
capability:
|
|
97
|
+
role: <agent_type>
|
|
98
|
+
goal: <one sentence: the agent's standing objective in this org>
|
|
99
|
+
version: "1.0.0"
|
|
100
|
+
expertise: # 4–6 concrete SKILLS this role needs to do its job well
|
|
101
|
+
- <skill>
|
|
102
|
+
- <skill>
|
|
103
|
+
task_types: # 3–5 kinds of work it performs
|
|
104
|
+
- <task-type>
|
|
105
|
+
input_type: <what this agent consumes — who/what it receives, derived from its inbound communication edges + responsibilities>
|
|
106
|
+
output_type: <what this agent produces — the artifact it hands off or reports, derived from its outbound edges + responsibilities>
|
|
107
|
+
model_preference: sonnet
|
|
108
|
+
termination: <the condition under which this agent's job is done>
|
|
109
|
+
---
|
|
110
|
+
|
|
111
|
+
# <Role Title>
|
|
112
|
+
|
|
113
|
+
<1–2 sentences: the agent's identity and stance.>
|
|
114
|
+
|
|
115
|
+
## Core Responsibilities
|
|
116
|
+
<the role's responsibilities, expanded into numbered, actionable duties>
|
|
117
|
+
|
|
118
|
+
## Operating Guidelines
|
|
119
|
+
<3–6 concrete rules that keep this agent doing the right thing for its domain — what to always do, what never to do, how to handle missing inputs>
|
|
120
|
+
|
|
121
|
+
## Communication
|
|
122
|
+
- **Receives (input)**: <sources + what, from the inbound edges in Step 3>
|
|
123
|
+
- **Sends (output)**: <targets + what, from the outbound edges in Step 3>
|
|
124
|
+
- **Protocol**: <direct / via manager; who it reports to>
|
|
125
|
+
|
|
126
|
+
## Quality Bar
|
|
127
|
+
<one sentence defining "good output" for this role, so the agent can self-check>
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
Generate this content with real domain reasoning — the `expertise`, `input_type`, `output_type`, and instruction body must be specific to *this* agent (a prosecutor's skills are not a judge's). Reuse a generated def across roles of the same `agent_type` (don't regenerate if you just created it this run).
|
|
131
|
+
|
|
132
|
+
**3. Populate the org role.** Set the role's `skills` array to the def's `expertise` list (so the org config is self-describing), and keep `agent_type` pointing at the (possibly newly coined) type. Never leave `skills: []` when expertise was generated.
|
|
133
|
+
|
|
134
|
+
**4. Note generated files** for the Step 8 artifacts list.
|
|
135
|
+
|
|
136
|
+
The dashboard agent drawer and `runorg` both read these definitions (matched by `agent_type`), so generating them here is what makes the Roles/Skills/instructions show up *and* what gives each spawned agent its real instructions at run time.
|
|
72
137
|
|
|
73
138
|
---
|
|
74
139
|
|
|
@@ -103,6 +168,15 @@ boss → middle_manager (feedback)
|
|
|
103
168
|
|
|
104
169
|
Adjust for the actual roles in this run. Assign `reports_to` on each role using the derived topology.
|
|
105
170
|
|
|
171
|
+
**Completeness rules (every role must be properly wired — no orphans):**
|
|
172
|
+
- Every executor role has **≥1 inbound edge** (how work reaches it — usually a `command`) and **≥1 outbound edge** (how its output leaves — usually a `report` or `handoff`).
|
|
173
|
+
- Where one role's output is another's input, connect them with a `handoff` in that direction (e.g. clerk → counsel; writer → editor). Make sequential producer→consumer chains explicit.
|
|
174
|
+
- The coordinator/boss has an inbound `report` from each role it commands, so results flow back up.
|
|
175
|
+
- Peer roles that critique each other get `feedback` edges; adversarial pairs (e.g. prosecutor ↔ defender) get reciprocal `handoff` edges.
|
|
176
|
+
- After building edges, **derive each role's input/output contract from them**: a role's `input_type` summarizes who/what its inbound edges deliver; its `output_type` summarizes what its outbound edges carry. Feed these into the generated definition from Step 2.5 so the spec and the topology agree.
|
|
177
|
+
|
|
178
|
+
A role that ends up with no inbound or no outbound edge is a bug — re-examine the topology before saving.
|
|
179
|
+
|
|
106
180
|
---
|
|
107
181
|
|
|
108
182
|
## Step 4 — Build Org Config
|
|
@@ -128,7 +202,7 @@ Ask the user (or infer from prompt) for the optional Paperclip-style fields:
|
|
|
128
202
|
"agent_type": "<subagent_type slug from mapping table>",
|
|
129
203
|
"responsibilities": ["<1-3 bullet responsibilities>"],
|
|
130
204
|
"reports_to": "<role id or null>",
|
|
131
|
-
"skills": [],
|
|
205
|
+
"skills": ["<populated from the generated def's expertise in Step 2.5 — never left empty>"],
|
|
132
206
|
"adapter_config": {
|
|
133
207
|
"model": "<claude model id>",
|
|
134
208
|
"max_tokens": 8192
|
|
@@ -332,6 +406,9 @@ status: complete
|
|
|
332
406
|
artifacts:
|
|
333
407
|
- path: .monomind/orgs/<org_name>.json
|
|
334
408
|
type: config
|
|
409
|
+
- path: .claude/agents/generated/<agent_type>.md
|
|
410
|
+
type: agent-definition
|
|
411
|
+
note: "one per role whose agent_type lacked a usable definition (skills, instructions, input/output)"
|
|
335
412
|
decisions:
|
|
336
413
|
- what: "Org <org_name> created with N roles"
|
|
337
414
|
why: "Role mapping derived from goal and user description"
|
|
@@ -137,12 +137,14 @@ Fix any issues inline. No need to re-review — just fix and move on.
|
|
|
137
137
|
|
|
138
138
|
### User Review Gate
|
|
139
139
|
|
|
140
|
-
|
|
140
|
+
**In confirm mode (default):** Ask the user to review the written spec before proceeding:
|
|
141
141
|
|
|
142
142
|
> "Spec written and committed to `<path>`. Please review it and let me know if you want any changes before we start writing the implementation plan."
|
|
143
143
|
|
|
144
144
|
Wait for the user's response. If they request changes, make them and re-run the spec self-review. Only proceed once the user approves.
|
|
145
145
|
|
|
146
|
+
**In auto mode:** Skip the wait. Proceed directly to `Skill("mastermind:plan")`.
|
|
147
|
+
|
|
146
148
|
### Transition to Planning
|
|
147
149
|
|
|
148
150
|
- Invoke `Skill("mastermind:plan")` to create a detailed implementation plan
|
|
@@ -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
|
-
Also run /
|
|
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:
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
# Implementer Subagent Prompt Template
|
|
2
|
+
|
|
3
|
+
Use this template when dispatching an implementer subagent from `mastermind:taskdev`.
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
Task tool (general-purpose):
|
|
7
|
+
description: "Implement Task N: [task name]"
|
|
8
|
+
prompt: |
|
|
9
|
+
You are implementing Task N: [task name]
|
|
10
|
+
|
|
11
|
+
## Task Description
|
|
12
|
+
|
|
13
|
+
[FULL TEXT of task from plan — paste it here, do not make the subagent read the file]
|
|
14
|
+
|
|
15
|
+
## Context
|
|
16
|
+
|
|
17
|
+
[Scene-setting: where this fits, dependencies, architectural context, brain context summary]
|
|
18
|
+
|
|
19
|
+
## Before You Begin
|
|
20
|
+
|
|
21
|
+
If you have questions about:
|
|
22
|
+
- The requirements or acceptance criteria
|
|
23
|
+
- The approach or implementation strategy
|
|
24
|
+
- Dependencies or assumptions
|
|
25
|
+
- Anything unclear in the task description
|
|
26
|
+
|
|
27
|
+
**Ask them now.** Raise any concerns before starting work.
|
|
28
|
+
|
|
29
|
+
## Your Job
|
|
30
|
+
|
|
31
|
+
Once you're clear on requirements:
|
|
32
|
+
1. Implement exactly what the task specifies
|
|
33
|
+
2. Write tests following TDD (use Skill("mastermind:tdd") if available)
|
|
34
|
+
3. Verify implementation works
|
|
35
|
+
4. Commit your work
|
|
36
|
+
5. Self-review (see below)
|
|
37
|
+
6. Report back
|
|
38
|
+
|
|
39
|
+
Work from: [directory]
|
|
40
|
+
|
|
41
|
+
**While you work:** If you encounter something unexpected or unclear, **ask questions**.
|
|
42
|
+
It's always OK to pause and clarify. Don't guess or make assumptions.
|
|
43
|
+
|
|
44
|
+
## Code Organization
|
|
45
|
+
|
|
46
|
+
- Follow the file structure defined in the plan
|
|
47
|
+
- Each file should have one clear responsibility with a well-defined interface
|
|
48
|
+
- If a file you're creating is growing beyond the plan's intent, stop and report
|
|
49
|
+
it as DONE_WITH_CONCERNS — don't split files on your own without plan guidance
|
|
50
|
+
- If an existing file you're modifying is already large or tangled, work carefully
|
|
51
|
+
and note it as a concern in your report
|
|
52
|
+
- In existing codebases, follow established patterns. Improve code you're touching
|
|
53
|
+
the way a good developer would, but don't restructure things outside your task.
|
|
54
|
+
|
|
55
|
+
## When You're in Over Your Head
|
|
56
|
+
|
|
57
|
+
It is always OK to stop and say "this is too hard for me." Bad work is worse than
|
|
58
|
+
no work. You will not be penalized for escalating.
|
|
59
|
+
|
|
60
|
+
**STOP and escalate when:**
|
|
61
|
+
- The task requires architectural decisions with multiple valid approaches
|
|
62
|
+
- You need to understand code beyond what was provided and can't find clarity
|
|
63
|
+
- You feel uncertain about whether your approach is correct
|
|
64
|
+
- The task involves restructuring existing code in ways the plan didn't anticipate
|
|
65
|
+
- You've been reading file after file trying to understand the system without progress
|
|
66
|
+
|
|
67
|
+
**How to escalate:** Report back with status BLOCKED or NEEDS_CONTEXT. Describe
|
|
68
|
+
specifically what you're stuck on, what you've tried, and what kind of help you need.
|
|
69
|
+
|
|
70
|
+
## Before Reporting Back: Self-Review
|
|
71
|
+
|
|
72
|
+
Review your work with fresh eyes. Ask yourself:
|
|
73
|
+
|
|
74
|
+
**Completeness:**
|
|
75
|
+
- Did I fully implement everything in the spec?
|
|
76
|
+
- Did I miss any requirements?
|
|
77
|
+
- Are there edge cases I didn't handle?
|
|
78
|
+
|
|
79
|
+
**Quality:**
|
|
80
|
+
- Is this my best work?
|
|
81
|
+
- Are names clear and accurate?
|
|
82
|
+
- Is the code clean and maintainable?
|
|
83
|
+
|
|
84
|
+
**Discipline:**
|
|
85
|
+
- Did I avoid overbuilding (YAGNI)?
|
|
86
|
+
- Did I only build what was requested?
|
|
87
|
+
- Did I follow existing patterns in the codebase?
|
|
88
|
+
|
|
89
|
+
**Testing:**
|
|
90
|
+
- Do tests actually verify behavior (not just mock behavior)?
|
|
91
|
+
- Did I follow TDD if required?
|
|
92
|
+
- Are tests comprehensive?
|
|
93
|
+
|
|
94
|
+
If you find issues during self-review, fix them now before reporting.
|
|
95
|
+
|
|
96
|
+
## Report Format
|
|
97
|
+
|
|
98
|
+
When done, report:
|
|
99
|
+
- **Status:** DONE | DONE_WITH_CONCERNS | BLOCKED | NEEDS_CONTEXT
|
|
100
|
+
- What you implemented (or what you attempted, if blocked)
|
|
101
|
+
- What you tested and test results
|
|
102
|
+
- Files changed
|
|
103
|
+
- Self-review findings (if any)
|
|
104
|
+
- Any issues or concerns
|
|
105
|
+
|
|
106
|
+
Use DONE_WITH_CONCERNS if you completed the work but have doubts about correctness.
|
|
107
|
+
Use BLOCKED if you cannot complete the task. Use NEEDS_CONTEXT if you need
|
|
108
|
+
information that wasn't provided. Never silently produce work you're unsure about.
|
|
109
|
+
```
|
|
@@ -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
|
-
Also run /
|
|
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:
|
|
@@ -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
|
-
Also run /
|
|
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:
|
|
@@ -159,9 +159,25 @@ If you find issues, fix them inline. No need to re-review — just fix and move
|
|
|
159
159
|
|
|
160
160
|
---
|
|
161
161
|
|
|
162
|
+
## User Review Gate
|
|
163
|
+
|
|
164
|
+
After self-review:
|
|
165
|
+
|
|
166
|
+
**In confirm mode (default):** Ask the user to review the written plan before proceeding:
|
|
167
|
+
|
|
168
|
+
> "Plan written and saved to `docs/mastermind/plans/<filename>.md`. Please review it and let me know if you'd like any changes before we start execution."
|
|
169
|
+
|
|
170
|
+
Wait for the user's response. If they request changes, make them inline and re-run the self-review. Only proceed once the user approves.
|
|
171
|
+
|
|
172
|
+
**In auto mode:** Skip the wait. Proceed directly to execution handoff.
|
|
173
|
+
|
|
174
|
+
---
|
|
175
|
+
|
|
162
176
|
## Execution Handoff
|
|
163
177
|
|
|
164
|
-
After
|
|
178
|
+
After the plan is approved (or in auto mode, after self-review):
|
|
179
|
+
|
|
180
|
+
**In confirm mode (default):** Ask the user to choose execution mode:
|
|
165
181
|
|
|
166
182
|
**"Plan complete and saved to `docs/mastermind/plans/<filename>.md`. Two execution options:**
|
|
167
183
|
|
|
@@ -171,7 +187,9 @@ After saving the plan, offer execution choice:
|
|
|
171
187
|
|
|
172
188
|
**Which approach?"**
|
|
173
189
|
|
|
174
|
-
**
|
|
190
|
+
**In auto mode:** Skip the question. Default to subagent-driven — invoke `Skill("mastermind:taskdev")` immediately.
|
|
191
|
+
|
|
192
|
+
**If Subagent-Driven chosen (or auto mode):**
|
|
175
193
|
- Invoke `Skill("mastermind:taskdev")`
|
|
176
194
|
- Fresh subagent per task + two-stage review
|
|
177
195
|
|
|
@@ -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
|
-
Also run /
|
|
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:
|
|
@@ -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
|
-
Also run /
|
|
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:
|
|
@@ -119,7 +119,7 @@ Spawn one Task agent per review angle (mesh topology — reviewers share finding
|
|
|
119
119
|
- Analytics/metrics: subagent_type "Analytics Reporter"
|
|
120
120
|
- Accessibility: subagent_type "Accessibility Auditor"
|
|
121
121
|
|
|
122
|
-
Also run /
|
|
122
|
+
Also run /mastermind:do --board <board_id> to track execution.
|
|
123
123
|
|
|
124
124
|
STEP 4 — COLLECT AND RETURN
|
|
125
125
|
Synthesize all review findings. Return to caller:
|