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