@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.
Files changed (554) hide show
  1. package/.claude/agents/core/coordinator.md +71 -0
  2. package/.claude/agents/generated/case-analyst.md +50 -0
  3. package/.claude/agents/generated/copy-editor.md +45 -0
  4. package/.claude/agents/generated/court-reporter.md +50 -0
  5. package/.claude/agents/generated/defender.md +51 -0
  6. package/.claude/agents/generated/editor-in-chief.md +45 -0
  7. package/.claude/agents/generated/fact-checker.md +45 -0
  8. package/.claude/agents/generated/judge.md +51 -0
  9. package/.claude/agents/generated/prosecutor.md +51 -0
  10. package/.claude/agents/generated/reporter.md +45 -0
  11. package/.claude/commands/hooks/README.md +1 -1
  12. package/.claude/commands/hooks/overview.md +1 -1
  13. package/.claude/commands/mastermind/_repeat.md +1 -1
  14. package/.claude/commands/mastermind/do.md +3 -1
  15. package/.claude/commands/mastermind/help.md +2 -2
  16. package/.claude/commands/mastermind/master.md +39 -6
  17. package/.claude/commands/mastermind/memory.md +1 -1
  18. package/.claude/commands/memory/memory-search.md +2 -2
  19. package/.claude/commands/monitoring/status.md +1 -1
  20. package/.claude/commands/{browse.md → monobrowse.md} +2 -2
  21. package/.claude/commands/sparc.md +1 -1
  22. package/.claude/helpers/handlers/graph-status-handler.cjs +1 -1
  23. package/.claude/helpers/loop-tracker.cjs +1 -1
  24. package/.claude/skills/agent-browser-testing/SKILL.md +1 -1
  25. package/.claude/skills/hooks-automation/SKILL.md +0 -3
  26. package/.claude/skills/mastermind/build.md +1 -1
  27. package/.claude/skills/mastermind/code-quality-reviewer-prompt.md +60 -0
  28. package/.claude/skills/mastermind/content.md +1 -1
  29. package/.claude/skills/mastermind/createorg.md +79 -2
  30. package/.claude/skills/mastermind/design.md +3 -1
  31. package/.claude/skills/mastermind/finance.md +1 -1
  32. package/.claude/skills/mastermind/implementer-prompt.md +109 -0
  33. package/.claude/skills/mastermind/marketing.md +1 -1
  34. package/.claude/skills/mastermind/ops.md +1 -1
  35. package/.claude/skills/mastermind/plan.md +20 -2
  36. package/.claude/skills/mastermind/release.md +1 -1
  37. package/.claude/skills/mastermind/research.md +1 -1
  38. package/.claude/skills/mastermind/review.md +1 -1
  39. package/.claude/skills/mastermind/sales.md +1 -1
  40. package/.claude/skills/mastermind/spec-reviewer-prompt.md +63 -0
  41. package/.claude/skills/sparc-methodology/SKILL.md +3 -3
  42. package/.claude/skills/swarm-advanced/SKILL.md +1 -4
  43. package/README.md +18 -32
  44. package/dist/src/agents/registry-builder.d.ts +1 -7
  45. package/dist/src/agents/registry-builder.d.ts.map +1 -1
  46. package/dist/src/agents/registry-builder.js +10 -6
  47. package/dist/src/agents/registry-builder.js.map +1 -1
  48. package/dist/src/benchmarks/benchmark-runner.d.ts +59 -12
  49. package/dist/src/benchmarks/benchmark-runner.d.ts.map +1 -1
  50. package/dist/src/benchmarks/benchmark-runner.js +67 -13
  51. package/dist/src/benchmarks/benchmark-runner.js.map +1 -1
  52. package/dist/src/benchmarks/metric-evaluators.d.ts.map +1 -1
  53. package/dist/src/benchmarks/metric-evaluators.js.map +1 -1
  54. package/dist/src/benchmarks/pretrain/index.d.ts +0 -13
  55. package/dist/src/benchmarks/pretrain/index.d.ts.map +1 -1
  56. package/dist/src/benchmarks/pretrain/index.js.map +1 -1
  57. package/dist/src/commands/agent-wasm.d.ts +2 -2
  58. package/dist/src/commands/agent-wasm.js +5 -5
  59. package/dist/src/commands/agent.d.ts.map +1 -1
  60. package/dist/src/commands/agent.js +1 -6
  61. package/dist/src/commands/agent.js.map +1 -1
  62. package/dist/src/commands/analyze.d.ts +1 -1
  63. package/dist/src/commands/analyze.d.ts.map +1 -1
  64. package/dist/src/commands/analyze.js +8 -18
  65. package/dist/src/commands/analyze.js.map +1 -1
  66. package/dist/src/commands/doctor.d.ts.map +1 -1
  67. package/dist/src/commands/doctor.js +53 -3
  68. package/dist/src/commands/doctor.js.map +1 -1
  69. package/dist/src/commands/embeddings.d.ts.map +1 -1
  70. package/dist/src/commands/embeddings.js +9 -33
  71. package/dist/src/commands/embeddings.js.map +1 -1
  72. package/dist/src/commands/hooks.d.ts.map +1 -1
  73. package/dist/src/commands/hooks.js +24 -76
  74. package/dist/src/commands/hooks.js.map +1 -1
  75. package/dist/src/commands/index.d.ts +4 -6
  76. package/dist/src/commands/index.d.ts.map +1 -1
  77. package/dist/src/commands/index.js +8 -15
  78. package/dist/src/commands/index.js.map +1 -1
  79. package/dist/src/commands/init.js +2 -2
  80. package/dist/src/commands/init.js.map +1 -1
  81. package/dist/src/commands/issues.d.ts.map +1 -1
  82. package/dist/src/commands/issues.js +16 -11
  83. package/dist/src/commands/issues.js.map +1 -1
  84. package/dist/src/commands/memory.js +6 -6
  85. package/dist/src/commands/memory.js.map +1 -1
  86. package/dist/src/commands/migrate.d.ts.map +1 -1
  87. package/dist/src/commands/migrate.js +1 -2
  88. package/dist/src/commands/migrate.js.map +1 -1
  89. package/dist/src/commands/monograph.d.ts.map +1 -1
  90. package/dist/src/commands/monograph.js +18 -11
  91. package/dist/src/commands/monograph.js.map +1 -1
  92. package/dist/src/commands/monovector/backup.d.ts +11 -0
  93. package/dist/src/commands/monovector/backup.d.ts.map +1 -0
  94. package/dist/src/commands/{ruvector → monovector}/backup.js +25 -25
  95. package/dist/src/commands/monovector/backup.js.map +1 -0
  96. package/dist/src/commands/monovector/benchmark.d.ts +11 -0
  97. package/dist/src/commands/monovector/benchmark.d.ts.map +1 -0
  98. package/dist/src/commands/{ruvector → monovector}/benchmark.js +14 -14
  99. package/dist/src/commands/monovector/benchmark.js.map +1 -0
  100. package/dist/src/commands/monovector/import.d.ts +18 -0
  101. package/dist/src/commands/monovector/import.d.ts.map +1 -0
  102. package/dist/src/commands/{ruvector → monovector}/import.js +21 -21
  103. package/dist/src/commands/monovector/import.js.map +1 -0
  104. package/dist/src/commands/{ruvector → monovector}/index.d.ts +6 -6
  105. package/dist/src/commands/monovector/index.d.ts.map +1 -0
  106. package/dist/src/commands/{ruvector → monovector}/index.js +22 -22
  107. package/dist/src/commands/monovector/index.js.map +1 -0
  108. package/dist/src/commands/monovector/init.d.ts +11 -0
  109. package/dist/src/commands/monovector/init.d.ts.map +1 -0
  110. package/dist/src/commands/{ruvector → monovector}/init.js +36 -36
  111. package/dist/src/commands/monovector/init.js.map +1 -0
  112. package/dist/src/commands/monovector/migrate.d.ts +11 -0
  113. package/dist/src/commands/monovector/migrate.d.ts.map +1 -0
  114. package/dist/src/commands/{ruvector → monovector}/migrate.js +16 -16
  115. package/dist/src/commands/monovector/migrate.js.map +1 -0
  116. package/dist/src/commands/{ruvector → monovector}/optimize.d.ts +2 -2
  117. package/dist/src/commands/monovector/optimize.d.ts.map +1 -0
  118. package/dist/src/commands/{ruvector → monovector}/optimize.js +10 -10
  119. package/dist/src/commands/monovector/optimize.js.map +1 -0
  120. package/dist/src/commands/monovector/setup.d.ts +18 -0
  121. package/dist/src/commands/monovector/setup.d.ts.map +1 -0
  122. package/dist/src/commands/{ruvector → monovector}/setup.js +77 -77
  123. package/dist/src/commands/monovector/setup.js.map +1 -0
  124. package/dist/src/commands/{ruvector → monovector}/status.d.ts +2 -2
  125. package/dist/src/commands/monovector/status.d.ts.map +1 -0
  126. package/dist/src/commands/{ruvector → monovector}/status.js +34 -34
  127. package/dist/src/commands/monovector/status.js.map +1 -0
  128. package/dist/src/commands/neural.d.ts +1 -1
  129. package/dist/src/commands/neural.d.ts.map +1 -1
  130. package/dist/src/commands/neural.js +31 -608
  131. package/dist/src/commands/neural.js.map +1 -1
  132. package/dist/src/commands/performance.d.ts.map +1 -1
  133. package/dist/src/commands/performance.js +7 -10
  134. package/dist/src/commands/performance.js.map +1 -1
  135. package/dist/src/commands/plugins.d.ts.map +1 -1
  136. package/dist/src/commands/plugins.js +3 -4
  137. package/dist/src/commands/plugins.js.map +1 -1
  138. package/dist/src/commands/process.d.ts.map +1 -1
  139. package/dist/src/commands/process.js +5 -12
  140. package/dist/src/commands/process.js.map +1 -1
  141. package/dist/src/commands/progress.d.ts.map +1 -1
  142. package/dist/src/commands/progress.js +16 -16
  143. package/dist/src/commands/progress.js.map +1 -1
  144. package/dist/src/commands/replay.d.ts.map +1 -1
  145. package/dist/src/commands/replay.js.map +1 -1
  146. package/dist/src/commands/route.d.ts +2 -2
  147. package/dist/src/commands/route.js +23 -23
  148. package/dist/src/commands/route.js.map +1 -1
  149. package/dist/src/commands/status.d.ts.map +1 -1
  150. package/dist/src/commands/status.js +0 -3
  151. package/dist/src/commands/status.js.map +1 -1
  152. package/dist/src/commands/swarm.d.ts.map +1 -1
  153. package/dist/src/commands/swarm.js +2 -3
  154. package/dist/src/commands/swarm.js.map +1 -1
  155. package/dist/src/config-adapter.d.ts.map +1 -1
  156. package/dist/src/config-adapter.js +27 -0
  157. package/dist/src/config-adapter.js.map +1 -1
  158. package/dist/src/consensus/audit-writer.d.ts +44 -17
  159. package/dist/src/consensus/audit-writer.d.ts.map +1 -1
  160. package/dist/src/consensus/audit-writer.js.map +1 -1
  161. package/dist/src/dlq/dlq-replayer.d.ts +1 -1
  162. package/dist/src/dlq/dlq-replayer.d.ts.map +1 -1
  163. package/dist/src/index.js +5 -5
  164. package/dist/src/index.js.map +1 -1
  165. package/dist/src/init/claudemd-generator.d.ts.map +1 -1
  166. package/dist/src/init/claudemd-generator.js +10 -14
  167. package/dist/src/init/claudemd-generator.js.map +1 -1
  168. package/dist/src/init/executor.d.ts.map +1 -1
  169. package/dist/src/init/executor.js +17 -27
  170. package/dist/src/init/executor.js.map +1 -1
  171. package/dist/src/init/helpers-generator.js +2 -2
  172. package/dist/src/init/types.d.ts +1 -1
  173. package/dist/src/init/types.d.ts.map +1 -1
  174. package/dist/src/mcp-client.d.ts.map +1 -1
  175. package/dist/src/mcp-client.js +1 -7
  176. package/dist/src/mcp-client.js.map +1 -1
  177. package/dist/src/mcp-server.d.ts.map +1 -1
  178. package/dist/src/mcp-server.js +9 -1
  179. package/dist/src/mcp-server.js.map +1 -1
  180. package/dist/src/mcp-tools/agent-tools.d.ts.map +1 -1
  181. package/dist/src/mcp-tools/agent-tools.js +1 -52
  182. package/dist/src/mcp-tools/agent-tools.js.map +1 -1
  183. package/dist/src/mcp-tools/analyze-tools.js +5 -5
  184. package/dist/src/mcp-tools/analyze-tools.js.map +1 -1
  185. package/dist/src/mcp-tools/browser-tools.d.ts +1 -1
  186. package/dist/src/mcp-tools/browser-tools.d.ts.map +1 -1
  187. package/dist/src/mcp-tools/browser-tools.js +6 -5
  188. package/dist/src/mcp-tools/browser-tools.js.map +1 -1
  189. package/dist/src/mcp-tools/coordination-tools.d.ts +1 -1
  190. package/dist/src/mcp-tools/coordination-tools.d.ts.map +1 -1
  191. package/dist/src/mcp-tools/coordination-tools.js +51 -54
  192. package/dist/src/mcp-tools/coordination-tools.js.map +1 -1
  193. package/dist/src/mcp-tools/daa-tools.d.ts +1 -1
  194. package/dist/src/mcp-tools/daa-tools.d.ts.map +1 -1
  195. package/dist/src/mcp-tools/daa-tools.js.map +1 -1
  196. package/dist/src/mcp-tools/embeddings-tools.js +10 -10
  197. package/dist/src/mcp-tools/embeddings-tools.js.map +1 -1
  198. package/dist/src/mcp-tools/guidance-tools.d.ts.map +1 -1
  199. package/dist/src/mcp-tools/guidance-tools.js +0 -24
  200. package/dist/src/mcp-tools/guidance-tools.js.map +1 -1
  201. package/dist/src/mcp-tools/hive-mind-tools.js.map +1 -1
  202. package/dist/src/mcp-tools/hooks-tools.d.ts.map +1 -1
  203. package/dist/src/mcp-tools/hooks-tools.js +189 -480
  204. package/dist/src/mcp-tools/hooks-tools.js.map +1 -1
  205. package/dist/src/mcp-tools/index.d.ts +0 -2
  206. package/dist/src/mcp-tools/index.d.ts.map +1 -1
  207. package/dist/src/mcp-tools/index.js +0 -2
  208. package/dist/src/mcp-tools/index.js.map +1 -1
  209. package/dist/src/mcp-tools/monograph-compat.d.ts +334 -0
  210. package/dist/src/mcp-tools/monograph-compat.d.ts.map +1 -0
  211. package/dist/src/mcp-tools/monograph-compat.js +1108 -0
  212. package/dist/src/mcp-tools/monograph-compat.js.map +1 -0
  213. package/dist/src/mcp-tools/monograph-tools.d.ts.map +1 -1
  214. package/dist/src/mcp-tools/monograph-tools.js +76 -34
  215. package/dist/src/mcp-tools/monograph-tools.js.map +1 -1
  216. package/dist/src/mcp-tools/neural-tools.d.ts +1 -1
  217. package/dist/src/mcp-tools/neural-tools.js +2 -2
  218. package/dist/src/mcp-tools/neural-tools.js.map +1 -1
  219. package/dist/src/mcp-tools/ruvllm-tools.d.ts +2 -2
  220. package/dist/src/mcp-tools/ruvllm-tools.js +3 -3
  221. package/dist/src/mcp-tools/terminal-tools.d.ts +1 -1
  222. package/dist/src/mcp-tools/terminal-tools.d.ts.map +1 -1
  223. package/dist/src/mcp-tools/terminal-tools.js +29 -19
  224. package/dist/src/mcp-tools/terminal-tools.js.map +1 -1
  225. package/dist/src/mcp-tools/wasm-agent-tools.d.ts +1 -1
  226. package/dist/src/mcp-tools/wasm-agent-tools.js +2 -2
  227. package/dist/src/memory/intelligence.d.ts.map +1 -1
  228. package/dist/src/memory/intelligence.js +14 -8
  229. package/dist/src/memory/intelligence.js.map +1 -1
  230. package/dist/src/memory/memory-bridge.d.ts +17 -2
  231. package/dist/src/memory/memory-bridge.d.ts.map +1 -1
  232. package/dist/src/memory/memory-bridge.js +76 -23
  233. package/dist/src/memory/memory-bridge.js.map +1 -1
  234. package/dist/src/memory/memory-initializer.d.ts +2 -2
  235. package/dist/src/memory/memory-initializer.d.ts.map +1 -1
  236. package/dist/src/memory/memory-initializer.js +37 -39
  237. package/dist/src/memory/memory-initializer.js.map +1 -1
  238. package/dist/src/monovector/capabilities.d.ts +34 -0
  239. package/dist/src/monovector/capabilities.d.ts.map +1 -0
  240. package/dist/src/monovector/capabilities.js +37 -0
  241. package/dist/src/monovector/capabilities.js.map +1 -0
  242. package/dist/src/monovector/command-outcomes.d.ts +37 -0
  243. package/dist/src/monovector/command-outcomes.d.ts.map +1 -0
  244. package/dist/src/monovector/command-outcomes.js +87 -0
  245. package/dist/src/monovector/command-outcomes.js.map +1 -0
  246. package/dist/src/monovector/coverage-router.d.ts +103 -0
  247. package/dist/src/monovector/coverage-router.d.ts.map +1 -0
  248. package/dist/src/monovector/coverage-router.js +337 -0
  249. package/dist/src/monovector/coverage-router.js.map +1 -0
  250. package/dist/src/monovector/coverage-tools.d.ts +14 -0
  251. package/dist/src/monovector/coverage-tools.d.ts.map +1 -0
  252. package/dist/src/monovector/coverage-tools.js +112 -0
  253. package/dist/src/monovector/coverage-tools.js.map +1 -0
  254. package/dist/src/{ruvector → monovector}/diff-classifier.d.ts +2 -2
  255. package/dist/src/monovector/diff-classifier.d.ts.map +1 -0
  256. package/dist/src/monovector/diff-classifier.js.map +1 -0
  257. package/dist/src/monovector/index.d.ts +61 -0
  258. package/dist/src/monovector/index.d.ts.map +1 -0
  259. package/dist/src/monovector/index.js +67 -0
  260. package/dist/src/monovector/index.js.map +1 -0
  261. package/dist/src/monovector/init-state.d.ts +35 -0
  262. package/dist/src/monovector/init-state.d.ts.map +1 -0
  263. package/dist/src/monovector/init-state.js +36 -0
  264. package/dist/src/monovector/init-state.js.map +1 -0
  265. package/dist/src/monovector/route-outcomes.d.ts +55 -0
  266. package/dist/src/monovector/route-outcomes.d.ts.map +1 -0
  267. package/dist/src/monovector/route-outcomes.js +137 -0
  268. package/dist/src/monovector/route-outcomes.js.map +1 -0
  269. package/dist/src/parser.js +3 -3
  270. package/dist/src/parser.js.map +1 -1
  271. package/dist/src/plugins/store/discovery.d.ts.map +1 -1
  272. package/dist/src/plugins/store/discovery.js +0 -31
  273. package/dist/src/plugins/store/discovery.js.map +1 -1
  274. package/dist/src/production/circuit-breaker.d.ts +26 -6
  275. package/dist/src/production/circuit-breaker.d.ts.map +1 -1
  276. package/dist/src/production/circuit-breaker.js.map +1 -1
  277. package/dist/src/production/error-handler.d.ts +55 -30
  278. package/dist/src/production/error-handler.d.ts.map +1 -1
  279. package/dist/src/production/error-handler.js.map +1 -1
  280. package/dist/src/production/index.d.ts +3 -20
  281. package/dist/src/production/index.d.ts.map +1 -1
  282. package/dist/src/production/index.js +3 -15
  283. package/dist/src/production/index.js.map +1 -1
  284. package/dist/src/production/monitoring.d.ts +54 -34
  285. package/dist/src/production/monitoring.d.ts.map +1 -1
  286. package/dist/src/production/monitoring.js +12 -14
  287. package/dist/src/production/monitoring.js.map +1 -1
  288. package/dist/src/production/rate-limiter.d.ts +64 -19
  289. package/dist/src/production/rate-limiter.d.ts.map +1 -1
  290. package/dist/src/production/rate-limiter.js +5 -5
  291. package/dist/src/production/rate-limiter.js.map +1 -1
  292. package/dist/src/production/retry.d.ts.map +1 -1
  293. package/dist/src/production/retry.js +4 -2
  294. package/dist/src/production/retry.js.map +1 -1
  295. package/dist/src/services/claim-service.d.ts +50 -59
  296. package/dist/src/services/claim-service.d.ts.map +1 -1
  297. package/dist/src/services/claim-service.js +83 -50
  298. package/dist/src/services/claim-service.js.map +1 -1
  299. package/dist/src/services/config-file-manager.d.ts.map +1 -1
  300. package/dist/src/services/config-file-manager.js +8 -1
  301. package/dist/src/services/config-file-manager.js.map +1 -1
  302. package/dist/src/services/worker-daemon.d.ts.map +1 -1
  303. package/dist/src/services/worker-daemon.js +4 -0
  304. package/dist/src/services/worker-daemon.js.map +1 -1
  305. package/dist/src/types.d.ts +13 -0
  306. package/dist/src/types.d.ts.map +1 -1
  307. package/dist/src/types.js.map +1 -1
  308. package/dist/src/ui/collector.mjs +51 -11
  309. package/dist/src/ui/dashboard.html +313 -88
  310. package/dist/src/ui/server.mjs +163 -8
  311. package/dist/tsconfig.tsbuildinfo +1 -1
  312. package/package.json +13 -13
  313. package/scripts/publish-registry.ts +0 -1
  314. package/.claude/commands/monomind/adr.md +0 -11
  315. package/.claude/commands/monomind/budget.md +0 -7
  316. package/.claude/commands/monomind/createtask.md +0 -277
  317. package/.claude/commands/monomind/do.md +0 -498
  318. package/.claude/commands/monomind/graph-status.md +0 -7
  319. package/.claude/commands/monomind/help.md +0 -118
  320. package/.claude/commands/monomind/idea.md +0 -273
  321. package/.claude/commands/monomind/improve.md +0 -352
  322. package/.claude/commands/monomind/loops.md +0 -7
  323. package/.claude/commands/monomind/memory.md +0 -230
  324. package/.claude/commands/monomind/repeat.md +0 -257
  325. package/.claude/commands/monomind/review.md +0 -317
  326. package/.claude/commands/monomind/specialagents.md +0 -125
  327. package/.claude/commands/monomind/swarm.md +0 -161
  328. package/.claude/commands/monomind/understand.md +0 -139
  329. package/.claude/commands/training/README.md +0 -39
  330. package/.claude/commands/training/neural-patterns.md +0 -73
  331. package/.claude/commands/training/neural-train.md +0 -79
  332. package/dist/src/commands/appliance-advanced.d.ts +0 -9
  333. package/dist/src/commands/appliance-advanced.d.ts.map +0 -1
  334. package/dist/src/commands/appliance-advanced.js +0 -238
  335. package/dist/src/commands/appliance-advanced.js.map +0 -1
  336. package/dist/src/commands/appliance.d.ts +0 -8
  337. package/dist/src/commands/appliance.d.ts.map +0 -1
  338. package/dist/src/commands/appliance.js +0 -406
  339. package/dist/src/commands/appliance.js.map +0 -1
  340. package/dist/src/commands/ruvector/backup.d.ts +0 -11
  341. package/dist/src/commands/ruvector/backup.d.ts.map +0 -1
  342. package/dist/src/commands/ruvector/backup.js.map +0 -1
  343. package/dist/src/commands/ruvector/benchmark.d.ts +0 -11
  344. package/dist/src/commands/ruvector/benchmark.d.ts.map +0 -1
  345. package/dist/src/commands/ruvector/benchmark.js.map +0 -1
  346. package/dist/src/commands/ruvector/import.d.ts +0 -18
  347. package/dist/src/commands/ruvector/import.d.ts.map +0 -1
  348. package/dist/src/commands/ruvector/import.js.map +0 -1
  349. package/dist/src/commands/ruvector/index.d.ts.map +0 -1
  350. package/dist/src/commands/ruvector/index.js.map +0 -1
  351. package/dist/src/commands/ruvector/init.d.ts +0 -11
  352. package/dist/src/commands/ruvector/init.d.ts.map +0 -1
  353. package/dist/src/commands/ruvector/init.js.map +0 -1
  354. package/dist/src/commands/ruvector/migrate.d.ts +0 -11
  355. package/dist/src/commands/ruvector/migrate.d.ts.map +0 -1
  356. package/dist/src/commands/ruvector/migrate.js.map +0 -1
  357. package/dist/src/commands/ruvector/optimize.d.ts.map +0 -1
  358. package/dist/src/commands/ruvector/optimize.js.map +0 -1
  359. package/dist/src/commands/ruvector/setup.d.ts +0 -18
  360. package/dist/src/commands/ruvector/setup.d.ts.map +0 -1
  361. package/dist/src/commands/ruvector/setup.js.map +0 -1
  362. package/dist/src/commands/ruvector/status.d.ts.map +0 -1
  363. package/dist/src/commands/ruvector/status.js.map +0 -1
  364. package/dist/src/ruvector/agent-wasm.d.ts +0 -182
  365. package/dist/src/ruvector/agent-wasm.d.ts.map +0 -1
  366. package/dist/src/ruvector/agent-wasm.js +0 -316
  367. package/dist/src/ruvector/agent-wasm.js.map +0 -1
  368. package/dist/src/ruvector/ast-analyzer.d.ts +0 -67
  369. package/dist/src/ruvector/ast-analyzer.d.ts.map +0 -1
  370. package/dist/src/ruvector/ast-analyzer.js +0 -277
  371. package/dist/src/ruvector/ast-analyzer.js.map +0 -1
  372. package/dist/src/ruvector/coverage-router.d.ts +0 -160
  373. package/dist/src/ruvector/coverage-router.d.ts.map +0 -1
  374. package/dist/src/ruvector/coverage-router.js +0 -539
  375. package/dist/src/ruvector/coverage-router.js.map +0 -1
  376. package/dist/src/ruvector/coverage-tools.d.ts +0 -33
  377. package/dist/src/ruvector/coverage-tools.d.ts.map +0 -1
  378. package/dist/src/ruvector/coverage-tools.js +0 -157
  379. package/dist/src/ruvector/coverage-tools.js.map +0 -1
  380. package/dist/src/ruvector/diff-classifier.d.ts.map +0 -1
  381. package/dist/src/ruvector/diff-classifier.js.map +0 -1
  382. package/dist/src/ruvector/enhanced-model-router.d.ts +0 -146
  383. package/dist/src/ruvector/enhanced-model-router.d.ts.map +0 -1
  384. package/dist/src/ruvector/enhanced-model-router.js +0 -551
  385. package/dist/src/ruvector/enhanced-model-router.js.map +0 -1
  386. package/dist/src/ruvector/flash-attention.d.ts +0 -195
  387. package/dist/src/ruvector/flash-attention.d.ts.map +0 -1
  388. package/dist/src/ruvector/flash-attention.js +0 -643
  389. package/dist/src/ruvector/flash-attention.js.map +0 -1
  390. package/dist/src/ruvector/graph-analyzer.d.ts +0 -187
  391. package/dist/src/ruvector/graph-analyzer.d.ts.map +0 -1
  392. package/dist/src/ruvector/graph-analyzer.js +0 -929
  393. package/dist/src/ruvector/graph-analyzer.js.map +0 -1
  394. package/dist/src/ruvector/index.d.ts +0 -67
  395. package/dist/src/ruvector/index.d.ts.map +0 -1
  396. package/dist/src/ruvector/index.js +0 -88
  397. package/dist/src/ruvector/index.js.map +0 -1
  398. package/dist/src/ruvector/lora-adapter.d.ts +0 -218
  399. package/dist/src/ruvector/lora-adapter.d.ts.map +0 -1
  400. package/dist/src/ruvector/lora-adapter.js +0 -455
  401. package/dist/src/ruvector/lora-adapter.js.map +0 -1
  402. package/dist/src/ruvector/model-router.d.ts +0 -222
  403. package/dist/src/ruvector/model-router.d.ts.map +0 -1
  404. package/dist/src/ruvector/model-router.js +0 -512
  405. package/dist/src/ruvector/model-router.js.map +0 -1
  406. package/dist/src/ruvector/moe-router.d.ts +0 -213
  407. package/dist/src/ruvector/moe-router.d.ts.map +0 -1
  408. package/dist/src/ruvector/moe-router.js +0 -649
  409. package/dist/src/ruvector/moe-router.js.map +0 -1
  410. package/dist/src/ruvector/q-learning-router.d.ts +0 -217
  411. package/dist/src/ruvector/q-learning-router.d.ts.map +0 -1
  412. package/dist/src/ruvector/q-learning-router.js +0 -712
  413. package/dist/src/ruvector/q-learning-router.js.map +0 -1
  414. package/dist/src/ruvector/ruvllm-wasm.d.ts +0 -179
  415. package/dist/src/ruvector/ruvllm-wasm.d.ts.map +0 -1
  416. package/dist/src/ruvector/ruvllm-wasm.js +0 -363
  417. package/dist/src/ruvector/ruvllm-wasm.js.map +0 -1
  418. package/dist/src/ruvector/semantic-router.d.ts +0 -77
  419. package/dist/src/ruvector/semantic-router.d.ts.map +0 -1
  420. package/dist/src/ruvector/semantic-router.js +0 -178
  421. package/dist/src/ruvector/semantic-router.js.map +0 -1
  422. package/dist/src/ruvector/vector-db.d.ts +0 -69
  423. package/dist/src/ruvector/vector-db.d.ts.map +0 -1
  424. package/dist/src/ruvector/vector-db.js +0 -243
  425. package/dist/src/ruvector/vector-db.js.map +0 -1
  426. package/dist/src/services/ruvector-training.d.ts +0 -222
  427. package/dist/src/services/ruvector-training.d.ts.map +0 -1
  428. package/dist/src/services/ruvector-training.js +0 -696
  429. package/dist/src/services/ruvector-training.js.map +0 -1
  430. package/dist/src/ui/.monomind/loops/loop-1779095996252-mdjpp.json +0 -11
  431. package/dist/src/ui/data/agent-avatars.html +0 -763
  432. package/dist/src/ui/data/agent-avatars.json +0 -966
  433. package/dist/src/ui/data/avatars/account-strategist.svg +0 -58
  434. package/dist/src/ui/data/avatars/accounts-payable.svg +0 -54
  435. package/dist/src/ui/data/avatars/adaptive-coordinator.svg +0 -55
  436. package/dist/src/ui/data/avatars/adaptive-coordinator2.svg +0 -54
  437. package/dist/src/ui/data/avatars/ai-citation.svg +0 -57
  438. package/dist/src/ui/data/avatars/ai-engineer.svg +0 -61
  439. package/dist/src/ui/data/avatars/analytics-reporter.svg +0 -53
  440. package/dist/src/ui/data/avatars/api-tester.svg +0 -53
  441. package/dist/src/ui/data/avatars/architecture.svg +0 -54
  442. package/dist/src/ui/data/avatars/automation-governance.svg +0 -55
  443. package/dist/src/ui/data/avatars/backend-dev.svg +0 -53
  444. package/dist/src/ui/data/avatars/benchmarker.svg +0 -54
  445. package/dist/src/ui/data/avatars/blockchain-auditor.svg +0 -53
  446. package/dist/src/ui/data/avatars/byzantine-coord.svg +0 -57
  447. package/dist/src/ui/data/avatars/case-analyst.svg +0 -57
  448. package/dist/src/ui/data/avatars/cicd-engineer.svg +0 -55
  449. package/dist/src/ui/data/avatars/cloud-architect.svg +0 -54
  450. package/dist/src/ui/data/avatars/code-review-swarm.svg +0 -57
  451. package/dist/src/ui/data/avatars/coder-v119.svg +0 -57
  452. package/dist/src/ui/data/avatars/coder.svg +0 -58
  453. package/dist/src/ui/data/avatars/collective-coord.svg +0 -54
  454. package/dist/src/ui/data/avatars/compliance-auditor.svg +0 -58
  455. package/dist/src/ui/data/avatars/consensus-coordinator.svg +0 -54
  456. package/dist/src/ui/data/avatars/content-creator.svg +0 -54
  457. package/dist/src/ui/data/avatars/crdt-synchronizer.svg +0 -53
  458. package/dist/src/ui/data/avatars/cro-specialist.svg +0 -58
  459. package/dist/src/ui/data/avatars/data-consolidator.svg +0 -54
  460. package/dist/src/ui/data/avatars/data-engineer.svg +0 -53
  461. package/dist/src/ui/data/avatars/database-optimizer.svg +0 -61
  462. package/dist/src/ui/data/avatars/deal-strategist.svg +0 -54
  463. package/dist/src/ui/data/avatars/defender.svg +0 -53
  464. package/dist/src/ui/data/avatars/devops-automator.svg +0 -56
  465. package/dist/src/ui/data/avatars/discovery-coach.svg +0 -54
  466. package/dist/src/ui/data/avatars/email-marketing.svg +0 -57
  467. package/dist/src/ui/data/avatars/embedded-firmware.svg +0 -61
  468. package/dist/src/ui/data/avatars/evidence-collector.svg +0 -57
  469. package/dist/src/ui/data/avatars/experiment-tracker.svg +0 -53
  470. package/dist/src/ui/data/avatars/feedback-synthesizer.svg +0 -54
  471. package/dist/src/ui/data/avatars/finance-tracker.svg +0 -54
  472. package/dist/src/ui/data/avatars/frontend-developer.svg +0 -54
  473. package/dist/src/ui/data/avatars/game-audio-engineer.svg +0 -59
  474. package/dist/src/ui/data/avatars/game-designer.svg +0 -54
  475. package/dist/src/ui/data/avatars/gossip-coordinator.svg +0 -54
  476. package/dist/src/ui/data/avatars/hierarchical-coord.svg +0 -54
  477. package/dist/src/ui/data/avatars/incident-commander.svg +0 -57
  478. package/dist/src/ui/data/avatars/infrastructure.svg +0 -54
  479. package/dist/src/ui/data/avatars/input-validator.svg +0 -53
  480. package/dist/src/ui/data/avatars/ios-developer.svg +0 -54
  481. package/dist/src/ui/data/avatars/issue-tracker.svg +0 -53
  482. package/dist/src/ui/data/avatars/judge.svg +0 -55
  483. package/dist/src/ui/data/avatars/launch-strategist.svg +0 -54
  484. package/dist/src/ui/data/avatars/legal-compliance.svg +0 -53
  485. package/dist/src/ui/data/avatars/level-designer.svg +0 -53
  486. package/dist/src/ui/data/avatars/load-balancer.svg +0 -57
  487. package/dist/src/ui/data/avatars/mcp-builder.svg +0 -53
  488. package/dist/src/ui/data/avatars/memory-coordinator.svg +0 -55
  489. package/dist/src/ui/data/avatars/mesh-coordinator.svg +0 -55
  490. package/dist/src/ui/data/avatars/ml-developer.svg +0 -58
  491. package/dist/src/ui/data/avatars/mobile-app-builder.svg +0 -53
  492. package/dist/src/ui/data/avatars/mobile-dev.svg +0 -54
  493. package/dist/src/ui/data/avatars/model-qa.svg +0 -58
  494. package/dist/src/ui/data/avatars/narrative-designer.svg +0 -58
  495. package/dist/src/ui/data/avatars/outbound-strategist.svg +0 -55
  496. package/dist/src/ui/data/avatars/path-validator.svg +0 -54
  497. package/dist/src/ui/data/avatars/payment-agent.svg +0 -53
  498. package/dist/src/ui/data/avatars/perf-analyzer.svg +0 -58
  499. package/dist/src/ui/data/avatars/pipeline-analyst.svg +0 -54
  500. package/dist/src/ui/data/avatars/planner.svg +0 -55
  501. package/dist/src/ui/data/avatars/pr-manager.svg +0 -54
  502. package/dist/src/ui/data/avatars/pricing-strategist.svg +0 -54
  503. package/dist/src/ui/data/avatars/product-manager.svg +0 -54
  504. package/dist/src/ui/data/avatars/production-validator.svg +0 -54
  505. package/dist/src/ui/data/avatars/project-shepherd.svg +0 -54
  506. package/dist/src/ui/data/avatars/proposal-strategist.svg +0 -54
  507. package/dist/src/ui/data/avatars/prosecutor.svg +0 -57
  508. package/dist/src/ui/data/avatars/pseudocode.svg +0 -53
  509. package/dist/src/ui/data/avatars/queen-coordinator.svg +0 -55
  510. package/dist/src/ui/data/avatars/quorum-manager.svg +0 -53
  511. package/dist/src/ui/data/avatars/raft-manager.svg +0 -53
  512. package/dist/src/ui/data/avatars/reality-checker.svg +0 -58
  513. package/dist/src/ui/data/avatars/recruitment.svg +0 -58
  514. package/dist/src/ui/data/avatars/refinement.svg +0 -53
  515. package/dist/src/ui/data/avatars/release-manager.svg +0 -54
  516. package/dist/src/ui/data/avatars/repo-architect.svg +0 -54
  517. package/dist/src/ui/data/avatars/researcher.svg +0 -58
  518. package/dist/src/ui/data/avatars/resource-allocator.svg +0 -53
  519. package/dist/src/ui/data/avatars/reviewer.svg +0 -53
  520. package/dist/src/ui/data/avatars/safe-executor.svg +0 -53
  521. package/dist/src/ui/data/avatars/sales-coach.svg +0 -53
  522. package/dist/src/ui/data/avatars/sales-engineer.svg +0 -58
  523. package/dist/src/ui/data/avatars/scout-explorer.svg +0 -58
  524. package/dist/src/ui/data/avatars/security-architect.svg +0 -54
  525. package/dist/src/ui/data/avatars/security-auditor.svg +0 -55
  526. package/dist/src/ui/data/avatars/senior-developer.svg +0 -58
  527. package/dist/src/ui/data/avatars/senior-pm.svg +0 -58
  528. package/dist/src/ui/data/avatars/seo-specialist.svg +0 -57
  529. package/dist/src/ui/data/avatars/social-media.svg +0 -54
  530. package/dist/src/ui/data/avatars/solidity-engineer.svg +0 -58
  531. package/dist/src/ui/data/avatars/sparc-coder.svg +0 -58
  532. package/dist/src/ui/data/avatars/sparc-coord.svg +0 -56
  533. package/dist/src/ui/data/avatars/specification.svg +0 -57
  534. package/dist/src/ui/data/avatars/sprint-prioritizer.svg +0 -53
  535. package/dist/src/ui/data/avatars/sre.svg +0 -54
  536. package/dist/src/ui/data/avatars/studio-operations.svg +0 -53
  537. package/dist/src/ui/data/avatars/studio-producer.svg +0 -55
  538. package/dist/src/ui/data/avatars/support-responder.svg +0 -56
  539. package/dist/src/ui/data/avatars/system-architect.svg +0 -54
  540. package/dist/src/ui/data/avatars/task-orchestrator.svg +0 -56
  541. package/dist/src/ui/data/avatars/technical-artist.svg +0 -53
  542. package/dist/src/ui/data/avatars/technical-writer.svg +0 -59
  543. package/dist/src/ui/data/avatars/tester.svg +0 -53
  544. package/dist/src/ui/data/avatars/threat-detection.svg +0 -61
  545. package/dist/src/ui/data/avatars/trend-researcher.svg +0 -54
  546. package/dist/src/ui/data/avatars/trial-director.svg +0 -55
  547. package/dist/src/ui/data/avatars/unity-architect.svg +0 -54
  548. package/dist/src/ui/data/avatars/visionos-engineer.svg +0 -57
  549. package/dist/src/ui/data/avatars/worker-specialist.svg +0 -55
  550. package/dist/src/ui/data/avatars/workflow-architect.svg +0 -57
  551. package/dist/src/ui/data/avatars/workflow-automation.svg +0 -54
  552. package/dist/src/ui/data/avatars/zk-steward.svg +0 -54
  553. package/dist/src/ui/data/known-projects.json +0 -1
  554. /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.
@@ -1,7 +0,0 @@
1
- ---
2
- description: List active loops — command, type, run count, HIL status
3
- ---
4
-
5
- ```bash
6
- node "$CLAUDE_PROJECT_DIR/.claude/helpers/hook-handler.cjs" loops-status
7
- ```