@monoes/monomindcli 1.10.57 → 1.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.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 +24 -76
- 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 +10 -14
- 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 +1108 -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 +13 -13
- 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
|
@@ -1,273 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: monomind:idea
|
|
3
|
-
description: "Monomind — Research ideas from a prompt, evaluate them, and decompose into subtasks on monotask boards"
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `_repeat.md`. Extracts `--repeat`, `--tillend`, `--maxruns`, `--wait`, `--rep`, `--loop` from `$ARGUMENTS` before all other parsing. If `is_continuation = true`, skip the empty-arguments check below.
|
|
7
|
-
|
|
8
|
-
If `$ARGUMENTS` is empty, output this and STOP:
|
|
9
|
-
|
|
10
|
-
> **Usage:** `/monomind:idea <prompt>`
|
|
11
|
-
>
|
|
12
|
-
> Example: `/monomind:idea add real-time collaboration to the editor`
|
|
13
|
-
>
|
|
14
|
-
> This command researches ideas from your prompt, evaluates them with a product manager lens, elaborates promising ones, and decomposes them into actionable subtasks on monotask boards.
|
|
15
|
-
|
|
16
|
-
Do NOT proceed further if no arguments were provided.
|
|
17
|
-
|
|
18
|
-
---
|
|
19
|
-
|
|
20
|
-
## Step 0: Check monotask CLI
|
|
21
|
-
|
|
22
|
-
Run:
|
|
23
|
-
```bash
|
|
24
|
-
command -v monotask
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
If `monotask` is NOT found, attempt to install:
|
|
28
|
-
```bash
|
|
29
|
-
command -v cargo && cargo install monotask
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
If `cargo` is also missing, output this and STOP:
|
|
33
|
-
> monotask requires Rust. Install Rust first:
|
|
34
|
-
> ```bash
|
|
35
|
-
> curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
|
36
|
-
> source "$HOME/.cargo/env"
|
|
37
|
-
> cargo install monotask
|
|
38
|
-
> ```
|
|
39
|
-
|
|
40
|
-
Verify monotask is now available before continuing.
|
|
41
|
-
|
|
42
|
-
---
|
|
43
|
-
|
|
44
|
-
## Step 1: Gather Project Context
|
|
45
|
-
|
|
46
|
-
Collect ALL of the following in parallel (skip any that error):
|
|
47
|
-
|
|
48
|
-
1. **Repo name**: Run `git remote get-url origin`, extract the last path segment, strip `.git`. Fallback: `basename` of the current working directory. Store as `REPO_NAME`.
|
|
49
|
-
|
|
50
|
-
2. **README**: Read `README.md` (first 200 lines). Skip if missing.
|
|
51
|
-
|
|
52
|
-
3. **Package manifest**: Read whichever exists first: `package.json`, `Cargo.toml`, `pyproject.toml`, `go.mod`. Extract name, description, and keywords/tags.
|
|
53
|
-
|
|
54
|
-
4. **Knowledge graph**: Call `mcp__monomind__monograph_suggest` with the user's prompt (`$ARGUMENTS`). Skip if it errors or returns empty.
|
|
55
|
-
|
|
56
|
-
5. **Memory search**: Call `mcp__monomind__memory_search` with the user's prompt (`$ARGUMENTS`). Use the top 5 results.
|
|
57
|
-
|
|
58
|
-
Bundle all gathered information into a single `PROJECT_CONTEXT` string for downstream agents.
|
|
59
|
-
|
|
60
|
-
---
|
|
61
|
-
|
|
62
|
-
## Step 2: Setup Monotask Space and Idea Board
|
|
63
|
-
|
|
64
|
-
### Space
|
|
65
|
-
- Run `monotask space list` and check if a space named `$REPO_NAME` already exists.
|
|
66
|
-
- If not, create it: `monotask space create "$REPO_NAME"`.
|
|
67
|
-
- Store the `SPACE_ID`.
|
|
68
|
-
|
|
69
|
-
### Idea Board
|
|
70
|
-
- First check memory: `npx monomind@latest memory search "monomind-idea board_id"`. If a board ID is returned, use it as `BOARD_ID` and skip the board search below.
|
|
71
|
-
- Otherwise, list boards in the space via `monotask space boards list $SPACE_ID` (one board ID per line). For each ID, check `monotask column list <BOARD_ID> --json` — if the result contains a column named `New`, treat it as the `monomind-idea` board candidate and use its ID as `BOARD_ID`.
|
|
72
|
-
- If the `monomind-idea` board does not exist:
|
|
73
|
-
1. Create it: `monotask board create "monomind-idea" --json` -- store the returned `BOARD_ID`.
|
|
74
|
-
2. Add it to the space: `monotask space boards add $SPACE_ID $BOARD_ID`.
|
|
75
|
-
3. Persist the ID: `npx monomind@latest memory store --key "monomind-idea board_id" --value "$BOARD_ID" --namespace monomind`.
|
|
76
|
-
3. Create these columns in order:
|
|
77
|
-
- `New`
|
|
78
|
-
- `Evaluated`
|
|
79
|
-
- `Elaborated`
|
|
80
|
-
- `Tasked`
|
|
81
|
-
- `Iced`
|
|
82
|
-
- `Rejected`
|
|
83
|
-
- Store all column IDs mapped by name (e.g., `COL_NEW`, `COL_EVALUATED`, `COL_ELABORATED`, `COL_TASKED`, `COL_ICED`, `COL_REJECTED`).
|
|
84
|
-
|
|
85
|
-
---
|
|
86
|
-
|
|
87
|
-
## Step 3: Research Swarm -- Generate Ideas
|
|
88
|
-
|
|
89
|
-
Spawn 3-5 `researcher` agents in parallel using the Agent tool (mesh topology). Each agent receives:
|
|
90
|
-
|
|
91
|
-
- The user's prompt: `$ARGUMENTS`
|
|
92
|
-
- The `PROJECT_CONTEXT` string from Step 1
|
|
93
|
-
|
|
94
|
-
Each agent should generate ideas as a JSON array. There is no hard cap — generate as many or as few as the topic warrants. Ideas should span **two categories**:
|
|
95
|
-
|
|
96
|
-
1. **Feature/capability ideas** — what to build, what problem it solves, why it matters.
|
|
97
|
-
2. **Technical stack & baseline decisions** — foundational choices that must be made before implementation (e.g., "Use PostgreSQL vs SQLite for persistence", "Adopt event-driven architecture vs request-response", "Choose WebSocket vs SSE for real-time updates", "Define the API versioning strategy"). These are the "how" decisions that shape everything downstream.
|
|
98
|
-
|
|
99
|
-
```json
|
|
100
|
-
[
|
|
101
|
-
{
|
|
102
|
-
"title": "Short idea title",
|
|
103
|
-
"description": "2-3 sentence description of the idea, what it solves, and why it matters.",
|
|
104
|
-
"category": "feature | technical-baseline"
|
|
105
|
-
}
|
|
106
|
-
]
|
|
107
|
-
```
|
|
108
|
-
|
|
109
|
-
After all agents complete:
|
|
110
|
-
1. Merge all idea arrays.
|
|
111
|
-
2. Deduplicate by title similarity (fuzzy match -- drop ideas whose titles are >80% similar to an already-kept idea).
|
|
112
|
-
3. For each unique idea, create a card in the `New` column:
|
|
113
|
-
```bash
|
|
114
|
-
monotask card create $BOARD_ID $COL_NEW "<title>" --json
|
|
115
|
-
monotask card comment add $BOARD_ID $CARD_ID "<description>"
|
|
116
|
-
monotask card label add $BOARD_ID $CARD_ID "monomind-idea"
|
|
117
|
-
monotask card label add $BOARD_ID $CARD_ID "<category>"
|
|
118
|
-
```
|
|
119
|
-
|
|
120
|
-
If zero ideas were generated after deduplication, report "No ideas generated by the research swarm." and STOP.
|
|
121
|
-
|
|
122
|
-
---
|
|
123
|
-
|
|
124
|
-
## Step 4: Evaluator -- Assess Each Idea
|
|
125
|
-
|
|
126
|
-
Spawn a single `Product Manager` agent via the Agent tool. Provide it with:
|
|
127
|
-
- All ideas (titles + descriptions)
|
|
128
|
-
- The `PROJECT_CONTEXT`
|
|
129
|
-
- The user's original prompt: `$ARGUMENTS`
|
|
130
|
-
|
|
131
|
-
For EACH idea, the agent must return one of three verdicts, along with an **impact** score (0-10) and an **effort** score (0-10):
|
|
132
|
-
|
|
133
|
-
| Verdict | Action |
|
|
134
|
-
|---------|--------|
|
|
135
|
-
| **evaluated** | Idea is worth pursuing. Include a `skipElaboration` boolean: `true` if the idea is straightforward and needs no further research, `false` if edge cases should be explored. Include a 1-2 sentence value statement. Include `impact` (0-10, how much value it adds) and `effort` (0-10, how much work it requires). |
|
|
136
|
-
| **iced** | Idea might have potential but needs a question answered first. Include the blocking question. Include `impact` and `effort` estimates. |
|
|
137
|
-
| **rejected** | Idea is out of scope, infeasible, or low value. Include a 1-sentence reason. |
|
|
138
|
-
|
|
139
|
-
For each verdict, update the monotask board:
|
|
140
|
-
|
|
141
|
-
- **evaluated**: Move card to `Evaluated`. Set impact and effort. Add comment with the value statement.
|
|
142
|
-
```bash
|
|
143
|
-
monotask card move $BOARD_ID $CARD_ID $COL_EVALUATED --json
|
|
144
|
-
monotask card set-impact $BOARD_ID $CARD_ID <0-10>
|
|
145
|
-
monotask card set-effort $BOARD_ID $CARD_ID <0-10>
|
|
146
|
-
monotask card comment add $BOARD_ID $CARD_ID "Value: <value statement>"
|
|
147
|
-
```
|
|
148
|
-
- **iced**: Move card to `Iced`. Set impact and effort estimates. Add comment with the blocking question.
|
|
149
|
-
```bash
|
|
150
|
-
monotask card move $BOARD_ID $CARD_ID $COL_ICED --json
|
|
151
|
-
monotask card set-impact $BOARD_ID $CARD_ID <0-10>
|
|
152
|
-
monotask card set-effort $BOARD_ID $CARD_ID <0-10>
|
|
153
|
-
monotask card comment add $BOARD_ID $CARD_ID "Blocked: <question>"
|
|
154
|
-
```
|
|
155
|
-
- **rejected**: Move card to `Rejected`. Add comment with the reason.
|
|
156
|
-
```bash
|
|
157
|
-
monotask card move $BOARD_ID $CARD_ID $COL_REJECTED --json
|
|
158
|
-
monotask card comment add $BOARD_ID $CARD_ID "Rejected: <reason>"
|
|
159
|
-
```
|
|
160
|
-
|
|
161
|
-
If ALL ideas were iced or rejected, output a summary table of verdicts and STOP.
|
|
162
|
-
|
|
163
|
-
---
|
|
164
|
-
|
|
165
|
-
## Step 5: Elaborator -- Add Edge Cases (conditional)
|
|
166
|
-
|
|
167
|
-
Check if ANY evaluated ideas have `skipElaboration: false`.
|
|
168
|
-
|
|
169
|
-
**If ALL evaluated ideas have `skipElaboration: true`:**
|
|
170
|
-
- Move each directly from `Evaluated` to `Elaborated`:
|
|
171
|
-
```bash
|
|
172
|
-
monotask card move $BOARD_ID $CARD_ID $COL_ELABORATED --json
|
|
173
|
-
```
|
|
174
|
-
- Skip spawning the elaborator agent entirely.
|
|
175
|
-
|
|
176
|
-
**Otherwise**, spawn two agents in parallel via the Agent tool:
|
|
177
|
-
|
|
178
|
-
1. A `feature-dev:code-explorer` agent — deep-dives into the existing codebase to trace execution paths, map dependencies, and surface internal constraints relevant to each idea.
|
|
179
|
-
2. A `researcher` agent (with WebSearch capability) — searches the internet for prior art, external edge cases, and potential technical pitfalls.
|
|
180
|
-
|
|
181
|
-
Provide both agents with:
|
|
182
|
-
- All evaluated ideas that have `skipElaboration: false`
|
|
183
|
-
- The `PROJECT_CONTEXT`
|
|
184
|
-
|
|
185
|
-
After both agents complete, merge their findings per idea. For each idea needing elaboration:
|
|
186
|
-
1. Research edge cases, prior art, codebase constraints, and potential technical pitfalls.
|
|
187
|
-
2. Add findings as comments on the card:
|
|
188
|
-
```bash
|
|
189
|
-
monotask card comment add $BOARD_ID $CARD_ID "Edge cases: <findings>"
|
|
190
|
-
monotask card comment add $BOARD_ID $CARD_ID "Technical notes: <notes>"
|
|
191
|
-
```
|
|
192
|
-
3. If no blocking issues found, move to `Elaborated`:
|
|
193
|
-
```bash
|
|
194
|
-
monotask card move $BOARD_ID $CARD_ID $COL_ELABORATED --json
|
|
195
|
-
```
|
|
196
|
-
4. If a blocking issue IS found, move to `Iced` with a comment explaining the issue:
|
|
197
|
-
```bash
|
|
198
|
-
monotask card move $BOARD_ID $CARD_ID $COL_ICED --json
|
|
199
|
-
monotask card comment add $BOARD_ID $CARD_ID "Blocked during elaboration: <issue>"
|
|
200
|
-
```
|
|
201
|
-
|
|
202
|
-
Also move any `skipElaboration: true` ideas directly to `Elaborated`.
|
|
203
|
-
|
|
204
|
-
---
|
|
205
|
-
|
|
206
|
-
## Step 6: Task Decomposer — Break Ideas into Subtasks
|
|
207
|
-
|
|
208
|
-
### Generate the TASKS Array
|
|
209
|
-
|
|
210
|
-
Spawn a single `Software Architect` agent via the Agent tool. Provide it with:
|
|
211
|
-
- All ideas in the `Elaborated` column (titles, descriptions, and all comments)
|
|
212
|
-
- The `PROJECT_CONTEXT`
|
|
213
|
-
- **The Task Grouping Rules and Card Format from `/monomind:createtask` Step 5** — include them verbatim in the agent prompt so it produces correctly structured tasks
|
|
214
|
-
|
|
215
|
-
The agent MUST produce a `TASKS` array following the `/monomind:createtask` task card format (Step 5). Each task must comply with all 7 grouping rules. For each elaborated idea, decompose into 2-6 subtasks.
|
|
216
|
-
|
|
217
|
-
**If the architect has doubts** about decomposing an idea (unclear scope, missing info), they should:
|
|
218
|
-
- Add a comment with the question
|
|
219
|
-
- Move the idea to `Iced` instead of `Tasked`
|
|
220
|
-
|
|
221
|
-
Store the result as `TASKS` array.
|
|
222
|
-
|
|
223
|
-
### Create Cards on Monotask
|
|
224
|
-
|
|
225
|
-
Follow the same card creation process as `/monomind:createtask` Steps 6–7, with these values:
|
|
226
|
-
- `SOURCE_TAG` = `"monomind:idea"`
|
|
227
|
-
- `SOURCE_SUMMARY` = first 100 chars of `$ARGUMENTS`
|
|
228
|
-
|
|
229
|
-
After all cards are created for each idea, annotate its idea card and move it to `Tasked`:
|
|
230
|
-
```bash
|
|
231
|
-
monotask card comment add $BOARD_ID $IDEA_CARD_ID "Subtasks created:\n- <title> (agent: <type>, effort: <N>/10)\n..."
|
|
232
|
-
monotask card move $BOARD_ID $IDEA_CARD_ID $COL_TASKED --json
|
|
233
|
-
```
|
|
234
|
-
|
|
235
|
-
Then follow `/monomind:createtask` Steps 8 (Final Dependency Review) and report results.
|
|
236
|
-
|
|
237
|
-
---
|
|
238
|
-
|
|
239
|
-
## Step 7: Final Summary
|
|
240
|
-
|
|
241
|
-
Output a summary table:
|
|
242
|
-
|
|
243
|
-
```
|
|
244
|
-
| # | Idea | Category | Status | Subtasks | Total Effort | Agents |
|
|
245
|
-
|---|-----------------------------|--------------------|----- ----|----------|--------------|--------|
|
|
246
|
-
| 1 | <title> | feature | Tasked | 4 | 18/40 | coder, backend-dev, tester |
|
|
247
|
-
| 2 | <title> | technical-baseline | Iced | -- | -- | -- |
|
|
248
|
-
| 3 | <title> | feature | Rejected | -- | -- | -- |
|
|
249
|
-
```
|
|
250
|
-
|
|
251
|
-
Then output:
|
|
252
|
-
- Total ideas generated: N
|
|
253
|
-
- Ideas tasked: N (with M total subtasks)
|
|
254
|
-
- Total effort points: X
|
|
255
|
-
- Ideas iced: N
|
|
256
|
-
- Ideas rejected: N
|
|
257
|
-
- Monotask space: `$REPO_NAME` (ID: `$SPACE_ID`)
|
|
258
|
-
- Idea board: `monomind-idea` (ID: `$BOARD_ID`)
|
|
259
|
-
- Task board: `monomind-task` (ID: `$TASK_BOARD_ID`)
|
|
260
|
-
|
|
261
|
-
---
|
|
262
|
-
|
|
263
|
-
## Step 8: Offer to Execute Tasks
|
|
264
|
-
|
|
265
|
-
If there are tasks in Todo, offer:
|
|
266
|
-
|
|
267
|
-
```
|
|
268
|
-
Skill("monomind:do", "--space $SPACE_ID --board $TASK_BOARD_ID --mode <parallel|minimal|sequential>")
|
|
269
|
-
```
|
|
270
|
-
|
|
271
|
-
To repeat this command on a schedule, wrap it with `/monomind:repeat` or use `--repeat N` / `--tillend` directly.
|
|
272
|
-
|
|
273
|
-
Invoke `Skill("mastermind:_repeat")` now to execute the REPEAT POSTAMBLE. This is a required tool call — do not skip it.
|
|
@@ -1,352 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: monomind:improve
|
|
3
|
-
description: "Monomind — Deeply analyze a project component, research improvements online, and create improvement tasks on monotask boards"
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `_repeat.md`. Extracts `--repeat`, `--tillend`, `--maxruns`, `--wait`, `--rep`, `--loop` from `$ARGUMENTS` before all other parsing. If `is_continuation = true`, skip the empty-arguments check below.
|
|
7
|
-
|
|
8
|
-
If `$ARGUMENTS` is empty, output this and STOP:
|
|
9
|
-
|
|
10
|
-
> **Usage:** `/monomind:improve <component or concept>`
|
|
11
|
-
>
|
|
12
|
-
> Examples:
|
|
13
|
-
> - `/monomind:improve the authentication flow`
|
|
14
|
-
> - `/monomind:improve error handling across the codebase`
|
|
15
|
-
> - `/monomind:improve CLI startup performance`
|
|
16
|
-
> - `/monomind:improve the MCP server architecture`
|
|
17
|
-
>
|
|
18
|
-
> This command deeply analyzes the target component inside your project, researches improvement directions online, evaluates them, and decomposes the best ones into professional tasks on monotask boards. All cards are tagged `monomind-improve`.
|
|
19
|
-
|
|
20
|
-
Do NOT proceed further if no arguments were provided.
|
|
21
|
-
|
|
22
|
-
---
|
|
23
|
-
|
|
24
|
-
## Step 0: Check monotask CLI
|
|
25
|
-
|
|
26
|
-
Run:
|
|
27
|
-
```bash
|
|
28
|
-
command -v monotask
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
If `monotask` is NOT found, attempt to install:
|
|
32
|
-
```bash
|
|
33
|
-
command -v cargo && cargo install monotask
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
If `cargo` is also missing, output this and STOP:
|
|
37
|
-
> monotask requires Rust. Install Rust first:
|
|
38
|
-
> ```bash
|
|
39
|
-
> curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
|
40
|
-
> source "$HOME/.cargo/env"
|
|
41
|
-
> cargo install monotask
|
|
42
|
-
> ```
|
|
43
|
-
|
|
44
|
-
Verify monotask is now available before continuing.
|
|
45
|
-
|
|
46
|
-
---
|
|
47
|
-
|
|
48
|
-
## Step 1: Gather Project Context
|
|
49
|
-
|
|
50
|
-
Collect ALL of the following in parallel (skip any that error):
|
|
51
|
-
|
|
52
|
-
1. **Repo name**: Run `git remote get-url origin`, extract the last path segment, strip `.git`. Fallback: `basename` of the current working directory. Store as `REPO_NAME`.
|
|
53
|
-
|
|
54
|
-
2. **README**: Read `README.md` (first 200 lines). Skip if missing.
|
|
55
|
-
|
|
56
|
-
3. **Package manifest**: Read whichever exists first: `package.json`, `Cargo.toml`, `pyproject.toml`, `go.mod`. Extract name, description, and keywords/tags.
|
|
57
|
-
|
|
58
|
-
4. **Knowledge graph**: Call `mcp__monomind__monograph_suggest` with the user's prompt (`$ARGUMENTS`). Skip if it errors or returns empty.
|
|
59
|
-
|
|
60
|
-
5. **Memory search**: Call `mcp__monomind__memory_search` with the user's prompt (`$ARGUMENTS`). Use the top 5 results.
|
|
61
|
-
|
|
62
|
-
Bundle all gathered information into a single `PROJECT_CONTEXT` string for downstream agents.
|
|
63
|
-
|
|
64
|
-
**DELEGATION RULE:** Every agent spawned in this command MUST include the `== AGENT DELEGATION CAPABILITY ==` block (from `mastermind/_delegation.md`) in its prompt, immediately before `YOUR GOAL:`. This lets each agent spawn its own sub-agents when needed — delegation is recursive.
|
|
65
|
-
|
|
66
|
-
---
|
|
67
|
-
|
|
68
|
-
## Step 2: Deep Component Analysis
|
|
69
|
-
|
|
70
|
-
This is what differentiates `/monomind:improve` from `/monomind:idea`. Before generating improvement ideas, we must deeply understand the current state of the target component.
|
|
71
|
-
|
|
72
|
-
Spawn 2 agents in parallel via the Agent tool:
|
|
73
|
-
|
|
74
|
-
### Agent 1: `feature-dev:code-explorer`
|
|
75
|
-
|
|
76
|
-
Provide it with `$ARGUMENTS` and `PROJECT_CONTEXT`. It must:
|
|
77
|
-
|
|
78
|
-
1. **Trace the component** — find all files, functions, classes, and modules related to the target. Use `mcp__monomind__monograph_query` for each key term found.
|
|
79
|
-
2. **Map dependencies** — what does the component depend on? What depends on it? Use `mcp__monomind__monograph_shortest_path` for key relationships.
|
|
80
|
-
3. **Identify pain points** — look for:
|
|
81
|
-
- Code smells (large files, deep nesting, god objects, duplicated logic)
|
|
82
|
-
- Missing tests or low coverage areas
|
|
83
|
-
- Performance bottlenecks (synchronous I/O, N+1 patterns, unnecessary allocations)
|
|
84
|
-
- Security gaps (unvalidated inputs, missing auth checks, exposed secrets)
|
|
85
|
-
- API inconsistencies (naming, error shapes, response formats)
|
|
86
|
-
- Outdated patterns (callbacks vs async/await, old library versions)
|
|
87
|
-
- Missing error handling or silent failures
|
|
88
|
-
4. **Measure complexity** — count files, lines, dependencies, and circular references.
|
|
89
|
-
|
|
90
|
-
Return a structured analysis:
|
|
91
|
-
```json
|
|
92
|
-
{
|
|
93
|
-
"component": "name",
|
|
94
|
-
"files": ["list of files touched"],
|
|
95
|
-
"total_lines": N,
|
|
96
|
-
"dependency_count": N,
|
|
97
|
-
"pain_points": [
|
|
98
|
-
{ "type": "code-smell|perf|security|api|testing|pattern", "description": "...", "file": "path", "severity": "critical|high|medium|low" }
|
|
99
|
-
],
|
|
100
|
-
"strengths": ["things that are already well done"],
|
|
101
|
-
"architecture_notes": "how it fits into the larger system"
|
|
102
|
-
}
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
### Agent 2: `researcher` (with WebSearch)
|
|
106
|
-
|
|
107
|
-
Provide it with `$ARGUMENTS` and `PROJECT_CONTEXT`. It must:
|
|
108
|
-
|
|
109
|
-
1. **Search for best practices** related to the component's domain (e.g., "authentication best practices 2025", "CLI performance optimization techniques").
|
|
110
|
-
2. **Find competitor/prior art** — how do similar tools/libraries solve this?
|
|
111
|
-
3. **Search for common improvements** — what do blog posts, conference talks, and docs recommend?
|
|
112
|
-
4. **Identify emerging patterns** — new libraries, frameworks, or techniques relevant to this area.
|
|
113
|
-
|
|
114
|
-
Return structured research:
|
|
115
|
-
```json
|
|
116
|
-
{
|
|
117
|
-
"best_practices": [
|
|
118
|
-
{ "title": "...", "description": "...", "source": "url or reference" }
|
|
119
|
-
],
|
|
120
|
-
"prior_art": [
|
|
121
|
-
{ "project": "name", "approach": "how they solve it", "takeaway": "what we can learn" }
|
|
122
|
-
],
|
|
123
|
-
"emerging_patterns": [
|
|
124
|
-
{ "pattern": "name", "description": "...", "relevance": "why it matters for us" }
|
|
125
|
-
]
|
|
126
|
-
}
|
|
127
|
-
```
|
|
128
|
-
|
|
129
|
-
After both agents complete, merge their outputs into `COMPONENT_ANALYSIS`.
|
|
130
|
-
|
|
131
|
-
---
|
|
132
|
-
|
|
133
|
-
## Step 3: Setup Monotask Space and Improve Board
|
|
134
|
-
|
|
135
|
-
### Space
|
|
136
|
-
- Run `monotask space list` and check if a space named `$REPO_NAME` already exists.
|
|
137
|
-
- If not, create it: `monotask space create "$REPO_NAME"`.
|
|
138
|
-
- Store the `SPACE_ID`.
|
|
139
|
-
|
|
140
|
-
### Improve Board
|
|
141
|
-
- First check memory: `npx monomind@latest memory search "monomind-improve board_id"`. If a board ID is returned, use it as `BOARD_ID` and skip the search below.
|
|
142
|
-
- Otherwise, list boards in the space via `monotask space boards list $SPACE_ID` (one board ID per line) and check each via `monotask column list <ID> --json` for a `Discovered` column — if found, that is the `monomind-improve` board.
|
|
143
|
-
- If the `monomind-improve` board does not exist:
|
|
144
|
-
1. Create it: `monotask board create "monomind-improve" --json` — store the returned `BOARD_ID`.
|
|
145
|
-
2. Add it to the space: `monotask space boards add $SPACE_ID $BOARD_ID`.
|
|
146
|
-
3. Persist the ID: `npx monomind@latest memory store --key "monomind-improve board_id" --value "$BOARD_ID" --namespace monomind`.
|
|
147
|
-
3. Create these columns in order:
|
|
148
|
-
- `Discovered`
|
|
149
|
-
- `Evaluated`
|
|
150
|
-
- `Approved`
|
|
151
|
-
- `Tasked`
|
|
152
|
-
- `Deferred`
|
|
153
|
-
- `Rejected`
|
|
154
|
-
- Store all column IDs mapped by name.
|
|
155
|
-
|
|
156
|
-
---
|
|
157
|
-
|
|
158
|
-
## Step 4: Generate Improvement Ideas
|
|
159
|
-
|
|
160
|
-
Spawn a single `Software Architect` agent via the Agent tool. Provide it with:
|
|
161
|
-
- The user's prompt: `$ARGUMENTS`
|
|
162
|
-
- The full `COMPONENT_ANALYSIS` from Step 2
|
|
163
|
-
- The `PROJECT_CONTEXT` from Step 1
|
|
164
|
-
|
|
165
|
-
The agent must synthesize the code analysis and online research into concrete improvement ideas. For each idea, produce:
|
|
166
|
-
|
|
167
|
-
```json
|
|
168
|
-
{
|
|
169
|
-
"title": "Short, action-oriented title",
|
|
170
|
-
"description": "2-3 sentences: what the improvement is, what problem it solves, and the expected benefit.",
|
|
171
|
-
"category": "performance | security | reliability | maintainability | dx | testing | architecture",
|
|
172
|
-
"evidence": "What from the analysis or research supports this (pain point ref, best practice ref, or prior art ref)",
|
|
173
|
-
"estimated_impact": "Concrete expected outcome (e.g., '50% faster CLI startup', 'eliminate 3 code smells', 'cover 5 untested edge cases')"
|
|
174
|
-
}
|
|
175
|
-
```
|
|
176
|
-
|
|
177
|
-
**Idea generation rules:**
|
|
178
|
-
- Ideas must be grounded in the analysis — no generic "add more tests" without pointing to specific gaps
|
|
179
|
-
- Each idea must reference either a pain point from the code analysis or a best practice from the research
|
|
180
|
-
- Prefer high-impact, low-effort ideas first
|
|
181
|
-
- Include at least one idea from each applicable category (perf, security, testing, etc.)
|
|
182
|
-
- No duplicates — each idea must address a distinct improvement
|
|
183
|
-
|
|
184
|
-
For each idea, create a card in the `Discovered` column:
|
|
185
|
-
```bash
|
|
186
|
-
monotask card create $BOARD_ID $COL_DISCOVERED "<title>" --json
|
|
187
|
-
monotask card comment add $BOARD_ID $CARD_ID "<description>"
|
|
188
|
-
monotask card comment add $BOARD_ID $CARD_ID "Category: <category>\nEvidence: <evidence>\nExpected impact: <estimated_impact>"
|
|
189
|
-
monotask card label add $BOARD_ID $CARD_ID "monomind-improve"
|
|
190
|
-
```
|
|
191
|
-
|
|
192
|
-
If zero ideas were generated, report "No improvement opportunities found for this component." and STOP.
|
|
193
|
-
|
|
194
|
-
---
|
|
195
|
-
|
|
196
|
-
## Step 5: Evaluate and Prioritize
|
|
197
|
-
|
|
198
|
-
Spawn a single `Product Manager` agent via the Agent tool. Provide it with:
|
|
199
|
-
- All improvement ideas (titles, descriptions, and all comments)
|
|
200
|
-
- The `COMPONENT_ANALYSIS`
|
|
201
|
-
- The `PROJECT_CONTEXT`
|
|
202
|
-
|
|
203
|
-
For EACH idea, the agent must return one of three verdicts, along with **impact** (0-10) and **effort** (0-10) scores:
|
|
204
|
-
|
|
205
|
-
| Verdict | Criteria |
|
|
206
|
-
|---------|----------|
|
|
207
|
-
| **approved** | High value, feasible, aligns with project direction. Include a `skipElaboration` boolean: `true` if straightforward, `false` if needs deeper investigation. |
|
|
208
|
-
| **deferred** | Good idea but wrong timing, blocked by something, or needs more research. Include the reason. |
|
|
209
|
-
| **rejected** | Low value, too risky, or out of scope. Include a 1-sentence reason. |
|
|
210
|
-
|
|
211
|
-
For each verdict, update the monotask board:
|
|
212
|
-
|
|
213
|
-
- **approved**: Move to `Evaluated`. Set impact and effort. Add value statement.
|
|
214
|
-
```bash
|
|
215
|
-
monotask card move $BOARD_ID $CARD_ID $COL_EVALUATED --json
|
|
216
|
-
monotask card set-impact $BOARD_ID $CARD_ID <0-10>
|
|
217
|
-
monotask card set-effort $BOARD_ID $CARD_ID <0-10>
|
|
218
|
-
monotask card comment add $BOARD_ID $CARD_ID "Value: <value statement>"
|
|
219
|
-
```
|
|
220
|
-
- **deferred**: Move to `Deferred`. Set impact and effort. Add reason.
|
|
221
|
-
```bash
|
|
222
|
-
monotask card move $BOARD_ID $CARD_ID $COL_DEFERRED --json
|
|
223
|
-
monotask card set-impact $BOARD_ID $CARD_ID <0-10>
|
|
224
|
-
monotask card set-effort $BOARD_ID $CARD_ID <0-10>
|
|
225
|
-
monotask card comment add $BOARD_ID $CARD_ID "Deferred: <reason>"
|
|
226
|
-
```
|
|
227
|
-
- **rejected**: Move to `Rejected`. Add reason.
|
|
228
|
-
```bash
|
|
229
|
-
monotask card move $BOARD_ID $CARD_ID $COL_REJECTED --json
|
|
230
|
-
monotask card comment add $BOARD_ID $CARD_ID "Rejected: <reason>"
|
|
231
|
-
```
|
|
232
|
-
|
|
233
|
-
If ALL ideas were deferred or rejected, output a summary table and STOP.
|
|
234
|
-
|
|
235
|
-
---
|
|
236
|
-
|
|
237
|
-
## Step 6: Elaborate Approved Improvements
|
|
238
|
-
|
|
239
|
-
Check if ANY approved ideas have `skipElaboration: false`.
|
|
240
|
-
|
|
241
|
-
**If ALL approved ideas have `skipElaboration: true`:**
|
|
242
|
-
- Move each directly from `Evaluated` to `Approved`:
|
|
243
|
-
```bash
|
|
244
|
-
monotask card move $BOARD_ID $CARD_ID $COL_APPROVED --json
|
|
245
|
-
```
|
|
246
|
-
- Skip spawning agents.
|
|
247
|
-
|
|
248
|
-
**Otherwise**, spawn two agents in parallel via the Agent tool:
|
|
249
|
-
|
|
250
|
-
1. A `feature-dev:code-explorer` agent — traces implementation paths, identifies exactly which files/functions need to change, surfaces hidden constraints and breaking changes.
|
|
251
|
-
2. A `researcher` agent (with WebSearch) — searches for implementation patterns, migration guides, and gotchas specific to each improvement.
|
|
252
|
-
|
|
253
|
-
After both complete, for each idea needing elaboration:
|
|
254
|
-
1. Add findings as comments:
|
|
255
|
-
```bash
|
|
256
|
-
monotask card comment add $BOARD_ID $CARD_ID "Implementation path: <files and functions to change>"
|
|
257
|
-
monotask card comment add $BOARD_ID $CARD_ID "Risks: <breaking changes, migration needs>"
|
|
258
|
-
monotask card comment add $BOARD_ID $CARD_ID "Research: <patterns and references found>"
|
|
259
|
-
```
|
|
260
|
-
2. If no blocking issues, move to `Approved`:
|
|
261
|
-
```bash
|
|
262
|
-
monotask card move $BOARD_ID $CARD_ID $COL_APPROVED --json
|
|
263
|
-
```
|
|
264
|
-
3. If a blocking issue IS found, move to `Deferred`:
|
|
265
|
-
```bash
|
|
266
|
-
monotask card move $BOARD_ID $CARD_ID $COL_DEFERRED --json
|
|
267
|
-
monotask card comment add $BOARD_ID $CARD_ID "Blocked: <issue>"
|
|
268
|
-
```
|
|
269
|
-
|
|
270
|
-
Also move any `skipElaboration: true` ideas directly to `Approved`.
|
|
271
|
-
|
|
272
|
-
---
|
|
273
|
-
|
|
274
|
-
## Step 7: Task Decomposer — Break Improvements into Subtasks
|
|
275
|
-
|
|
276
|
-
### Generate the TASKS Array
|
|
277
|
-
|
|
278
|
-
Spawn a single `Software Architect` agent via the Agent tool. Provide it with:
|
|
279
|
-
- All ideas in the `Approved` column (titles, descriptions, and all comments including implementation paths and research)
|
|
280
|
-
- The `COMPONENT_ANALYSIS` from Step 2
|
|
281
|
-
- The `PROJECT_CONTEXT`
|
|
282
|
-
- **The Task Grouping Rules and Card Format from `/monomind:createtask` Step 5** — include them verbatim in the agent prompt so it produces correctly structured tasks
|
|
283
|
-
|
|
284
|
-
The agent MUST produce a `TASKS` array following the `/monomind:createtask` task card format (Step 5). Each task must comply with all 7 grouping rules. For each approved improvement, decompose into 2-6 subtasks.
|
|
285
|
-
|
|
286
|
-
**If the architect has doubts** about decomposing an improvement (unclear scope, missing info):
|
|
287
|
-
- Add a comment with the question
|
|
288
|
-
- Move the improvement to `Deferred` instead of `Tasked`
|
|
289
|
-
|
|
290
|
-
Store the result as `TASKS` array.
|
|
291
|
-
|
|
292
|
-
### Create Cards on Monotask
|
|
293
|
-
|
|
294
|
-
Follow the same card creation process as `/monomind:createtask` Steps 6–7, with these values:
|
|
295
|
-
- `SOURCE_TAG` = `"monomind:improve"`
|
|
296
|
-
- `SOURCE_SUMMARY` = first 100 chars of `$ARGUMENTS`
|
|
297
|
-
|
|
298
|
-
After all cards are created for each improvement, annotate its improvement card and move it to `Tasked`:
|
|
299
|
-
```bash
|
|
300
|
-
monotask card comment add $BOARD_ID $IMPROVE_CARD_ID "Subtasks created:\n- <title> (agent: <type>, effort: <N>/10)\n..."
|
|
301
|
-
monotask card move $BOARD_ID $IMPROVE_CARD_ID $COL_TASKED --json
|
|
302
|
-
```
|
|
303
|
-
|
|
304
|
-
Then follow `/monomind:createtask` Steps 8 (Final Dependency Review) and report results.
|
|
305
|
-
|
|
306
|
-
---
|
|
307
|
-
|
|
308
|
-
## Step 8: Final Summary
|
|
309
|
-
|
|
310
|
-
Output a component health report:
|
|
311
|
-
|
|
312
|
-
```
|
|
313
|
-
## Improvement Analysis: <component>
|
|
314
|
-
|
|
315
|
-
### Component Health
|
|
316
|
-
- Files analyzed: N
|
|
317
|
-
- Pain points found: N (X critical, Y high, Z medium)
|
|
318
|
-
- Strengths identified: N
|
|
319
|
-
|
|
320
|
-
### Improvement Pipeline
|
|
321
|
-
| # | Improvement | Category | Status | Impact | Effort | Subtasks |
|
|
322
|
-
|---|-----------------------------|----------------|----------|--------|--------|----------|
|
|
323
|
-
| 1 | <title> | performance | Tasked | 8 | 4 | 3 |
|
|
324
|
-
| 2 | <title> | security | Deferred | 7 | 8 | -- |
|
|
325
|
-
| 3 | <title> | testing | Rejected | -- | -- | -- |
|
|
326
|
-
|
|
327
|
-
### Summary
|
|
328
|
-
- Improvements discovered: N
|
|
329
|
-
- Improvements tasked: N (with M total subtasks)
|
|
330
|
-
- Total effort points: X
|
|
331
|
-
- Improvements deferred: N
|
|
332
|
-
- Improvements rejected: N
|
|
333
|
-
```
|
|
334
|
-
|
|
335
|
-
Output board references:
|
|
336
|
-
- Monotask space: `$REPO_NAME` (ID: `$SPACE_ID`)
|
|
337
|
-
- Improve board: `monomind-improve` (ID: `$BOARD_ID`)
|
|
338
|
-
- Task board: `monomind-task` (ID: `$TASK_BOARD_ID`)
|
|
339
|
-
|
|
340
|
-
---
|
|
341
|
-
|
|
342
|
-
## Step 9: Offer to Execute Tasks
|
|
343
|
-
|
|
344
|
-
If there are tasks in Todo, offer:
|
|
345
|
-
|
|
346
|
-
```
|
|
347
|
-
Skill("monomind:do", "--space $SPACE_ID --board $TASK_BOARD_ID --mode <parallel|minimal|sequential>")
|
|
348
|
-
```
|
|
349
|
-
|
|
350
|
-
To repeat this command on a schedule, wrap it with `/monomind:repeat` or use `--repeat N` / `--tillend` directly.
|
|
351
|
-
|
|
352
|
-
Invoke `Skill("mastermind:_repeat")` now to execute the REPEAT POSTAMBLE. This is a required tool call — do not skip it.
|