@monoes/monomindcli 2.9.22 → 2.9.23

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 (486) hide show
  1. package/.claude/agents/consensus/quorum-manager.md +35 -54
  2. package/.claude/agents/core/coordinator.md +14 -18
  3. package/.claude/agents/core/researcher.md +1 -1
  4. package/.claude/agents/github/issue-tracker.md +3 -3
  5. package/.claude/agents/github/{code-review-swarm.md → monoswarm-code-review.md} +1 -1
  6. package/.claude/agents/github/{swarm-issue.md → monoswarm-issue.md} +1 -1
  7. package/.claude/agents/github/{multi-repo-swarm.md → monoswarm-multi-repo.md} +1 -1
  8. package/.claude/agents/github/{swarm-pr.md → monoswarm-pr.md} +1 -1
  9. package/.claude/agents/github/pr-manager.md +1 -1
  10. package/.claude/agents/github/release-manager.md +1 -1
  11. package/.claude/agents/github/repo-architect.md +1 -1
  12. package/.claude/agents/github/sync-coordinator.md +4 -4
  13. package/.claude/agents/{hive-mind → monoswarm}/collective-intelligence-coordinator.md +9 -16
  14. package/.claude/agents/{swarm → monoswarm}/mesh-coordinator.md +19 -24
  15. package/.claude/agents/{hive-mind/swarm-memory-manager.md → monoswarm/monoswarm-memory-manager.md} +1 -1
  16. package/.claude/agents/templates/{coordinator-swarm-init.md → coordinator-monoswarm-init.md} +1 -1
  17. package/.claude/agents/testing/{tdd-london-swarm.md → tdd-london-monoswarm.md} +2 -2
  18. package/.claude/commands/agents/agent-coordination.md +3 -3
  19. package/.claude/commands/agents/agent-types.md +1 -1
  20. package/.claude/commands/automation/self-healing.md +1 -1
  21. package/.claude/commands/automation/smart-spawn.md +1 -1
  22. package/.claude/commands/coordination/README.md +1 -1
  23. package/.claude/commands/coordination/{swarm-init.md → monoswarm-init.md} +2 -2
  24. package/.claude/commands/coordination/task-orchestrate.md +4 -4
  25. package/.claude/commands/github/README.md +1 -1
  26. package/.claude/commands/github/issue-tracker.md +2 -2
  27. package/.claude/commands/github/pr-manager.md +1 -1
  28. package/.claude/commands/github/release-manager.md +1 -1
  29. package/.claude/commands/github/repo-architect.md +1 -1
  30. package/.claude/commands/github/sync-coordinator.md +2 -2
  31. package/.claude/commands/hooks/README.md +1 -2
  32. package/.claude/commands/hooks/overview.md +1 -2
  33. package/.claude/commands/hooks/setup.md +0 -3
  34. package/.claude/commands/mastermind/createtask.md +2 -2
  35. package/.claude/commands/mastermind/do.md +3 -3
  36. package/.claude/commands/mastermind/help.md +2 -2
  37. package/.claude/commands/mastermind/ideate.md +1 -1
  38. package/.claude/commands/mastermind/improve.md +1 -1
  39. package/.claude/commands/mastermind/memory.md +2 -2
  40. package/.claude/commands/mastermind/{swarm.md → monoswarm.md} +13 -26
  41. package/.claude/commands/mastermind/topology.md +1 -1
  42. package/.claude/commands/memory/README.md +2 -2
  43. package/.claude/commands/memory/memory-search.md +1 -1
  44. package/.claude/commands/monoswarm/README.md +59 -0
  45. package/.claude/commands/monoswarm/consensus.md +61 -0
  46. package/.claude/commands/monoswarm/init.md +68 -0
  47. package/.claude/commands/monoswarm/memory.md +55 -0
  48. package/.claude/commands/monoswarm/monoswarm.md +139 -0
  49. package/.claude/commands/{swarm → monoswarm}/research.md +2 -2
  50. package/.claude/commands/monoswarm/spawn.md +49 -0
  51. package/.claude/commands/monoswarm/status.md +48 -0
  52. package/.claude/commands/monoswarm/stop.md +46 -0
  53. package/.claude/commands/optimization/auto-topology.md +9 -9
  54. package/.claude/commands/stream-chain/run.md +1 -1
  55. package/.claude/commands/workflows/development.md +1 -1
  56. package/.claude/commands/workflows/research.md +2 -2
  57. package/.claude/helpers/audit-log-writer.cjs +72 -0
  58. package/.claude/helpers/control-start.cjs +84 -26
  59. package/.claude/helpers/handlers/agent-start-handler.cjs +5 -5
  60. package/.claude/helpers/handlers/gates-handler.cjs +31 -10
  61. package/.claude/helpers/handlers/session-restore-handler.cjs +1 -1
  62. package/.claude/helpers/handlers/task-handler.cjs +4 -4
  63. package/.claude/helpers/skill-registry.json +4718 -3669
  64. package/.claude/helpers/statusline.cjs +21 -21
  65. package/.claude/helpers/token-tracker.cjs +0 -6
  66. package/.claude/settings.json +2 -3
  67. package/.claude/skills/hooks-automation/SKILL.md +5 -5
  68. package/.claude/skills/mastermind-protocol/SKILL.md +3 -3
  69. package/.claude/skills/memory-toolkit/SKILL.md +2 -2
  70. package/.claude/skills/{swarm-orchestration → monoswarm}/SKILL.md +106 -42
  71. package/.claude/skills/specialagent/SKILL.md +1 -1
  72. package/README.md +31 -12
  73. package/dist/src/autopilot-state.d.ts +0 -16
  74. package/dist/src/autopilot-state.d.ts.map +1 -1
  75. package/dist/src/autopilot-state.js +0 -15
  76. package/dist/src/autopilot-state.js.map +1 -1
  77. package/dist/src/browser/dashboard/server.js +3 -3
  78. package/dist/src/browser/dashboard/server.js.map +1 -1
  79. package/dist/src/browser/dashboard/ui.html +2 -2
  80. package/dist/src/capabilities/cap-documents.d.ts.map +1 -1
  81. package/dist/src/capabilities/cap-documents.js +49 -38
  82. package/dist/src/capabilities/cap-documents.js.map +1 -1
  83. package/dist/src/commands/agent-lifecycle.d.ts.map +1 -1
  84. package/dist/src/commands/agent-lifecycle.js +4 -9
  85. package/dist/src/commands/agent-lifecycle.js.map +1 -1
  86. package/dist/src/commands/agent-ops.d.ts.map +1 -1
  87. package/dist/src/commands/agent-ops.js +37 -24
  88. package/dist/src/commands/agent-ops.js.map +1 -1
  89. package/dist/src/commands/analyze-ast.d.ts +1 -1
  90. package/dist/src/commands/analyze-ast.d.ts.map +1 -1
  91. package/dist/src/commands/analyze-ast.js +8 -27
  92. package/dist/src/commands/analyze-ast.js.map +1 -1
  93. package/dist/src/commands/analyze-imports.d.ts.map +1 -1
  94. package/dist/src/commands/analyze-imports.js +18 -17
  95. package/dist/src/commands/analyze-imports.js.map +1 -1
  96. package/dist/src/commands/analyze-symbols.d.ts.map +1 -1
  97. package/dist/src/commands/analyze-symbols.js +10 -24
  98. package/dist/src/commands/analyze-symbols.js.map +1 -1
  99. package/dist/src/commands/analyze.d.ts +19 -6
  100. package/dist/src/commands/analyze.d.ts.map +1 -1
  101. package/dist/src/commands/analyze.js +61 -15
  102. package/dist/src/commands/analyze.js.map +1 -1
  103. package/dist/src/commands/autopilot.d.ts.map +1 -1
  104. package/dist/src/commands/autopilot.js +4 -89
  105. package/dist/src/commands/autopilot.js.map +1 -1
  106. package/dist/src/commands/browse.d.ts +1 -1
  107. package/dist/src/commands/cleanup.d.ts.map +1 -1
  108. package/dist/src/commands/cleanup.js +4 -2
  109. package/dist/src/commands/cleanup.js.map +1 -1
  110. package/dist/src/commands/completions.d.ts.map +1 -1
  111. package/dist/src/commands/completions.js +0 -1
  112. package/dist/src/commands/completions.js.map +1 -1
  113. package/dist/src/commands/config.js +7 -7
  114. package/dist/src/commands/config.js.map +1 -1
  115. package/dist/src/commands/doctor-project-checks.d.ts +7 -0
  116. package/dist/src/commands/doctor-project-checks.d.ts.map +1 -1
  117. package/dist/src/commands/doctor-project-checks.js +37 -5
  118. package/dist/src/commands/doctor-project-checks.js.map +1 -1
  119. package/dist/src/commands/doctor.d.ts.map +1 -1
  120. package/dist/src/commands/doctor.js +9 -3
  121. package/dist/src/commands/doctor.js.map +1 -1
  122. package/dist/src/commands/hooks-routing-commands.d.ts +1 -2
  123. package/dist/src/commands/hooks-routing-commands.d.ts.map +1 -1
  124. package/dist/src/commands/hooks-routing-commands.js +1 -101
  125. package/dist/src/commands/hooks-routing-commands.js.map +1 -1
  126. package/dist/src/commands/hooks-workers.d.ts.map +1 -1
  127. package/dist/src/commands/hooks-workers.js +19 -71
  128. package/dist/src/commands/hooks-workers.js.map +1 -1
  129. package/dist/src/commands/hooks.d.ts +1 -1
  130. package/dist/src/commands/hooks.d.ts.map +1 -1
  131. package/dist/src/commands/hooks.js +4 -7
  132. package/dist/src/commands/hooks.js.map +1 -1
  133. package/dist/src/commands/index.d.ts +1 -1
  134. package/dist/src/commands/index.d.ts.map +1 -1
  135. package/dist/src/commands/index.js +2 -2
  136. package/dist/src/commands/index.js.map +1 -1
  137. package/dist/src/commands/init-subcommands.d.ts.map +1 -1
  138. package/dist/src/commands/init-subcommands.js +4 -0
  139. package/dist/src/commands/init-subcommands.js.map +1 -1
  140. package/dist/src/commands/init-wizard.d.ts.map +1 -1
  141. package/dist/src/commands/init-wizard.js +0 -8
  142. package/dist/src/commands/init-wizard.js.map +1 -1
  143. package/dist/src/commands/init.d.ts.map +1 -1
  144. package/dist/src/commands/init.js +53 -23
  145. package/dist/src/commands/init.js.map +1 -1
  146. package/dist/src/commands/mcp.d.ts +1 -0
  147. package/dist/src/commands/mcp.d.ts.map +1 -1
  148. package/dist/src/commands/mcp.js +111 -60
  149. package/dist/src/commands/mcp.js.map +1 -1
  150. package/dist/src/commands/memory-crud.d.ts.map +1 -1
  151. package/dist/src/commands/memory-crud.js +33 -20
  152. package/dist/src/commands/memory-crud.js.map +1 -1
  153. package/dist/src/commands/monoswarm.d.ts +8 -0
  154. package/dist/src/commands/monoswarm.d.ts.map +1 -0
  155. package/dist/src/commands/{swarm.js → monoswarm.js} +83 -297
  156. package/dist/src/commands/monoswarm.js.map +1 -0
  157. package/dist/src/commands/neural-core.d.ts.map +1 -1
  158. package/dist/src/commands/neural-core.js +9 -1
  159. package/dist/src/commands/neural-core.js.map +1 -1
  160. package/dist/src/commands/neural-optimize.d.ts.map +1 -1
  161. package/dist/src/commands/neural-optimize.js +30 -110
  162. package/dist/src/commands/neural-optimize.js.map +1 -1
  163. package/dist/src/commands/neural-registry.d.ts +1 -2
  164. package/dist/src/commands/neural-registry.d.ts.map +1 -1
  165. package/dist/src/commands/neural-registry.js +21 -168
  166. package/dist/src/commands/neural-registry.js.map +1 -1
  167. package/dist/src/commands/org-observe.d.ts +13 -3
  168. package/dist/src/commands/org-observe.d.ts.map +1 -1
  169. package/dist/src/commands/org-observe.js +134 -45
  170. package/dist/src/commands/org-observe.js.map +1 -1
  171. package/dist/src/commands/org.d.ts +14 -0
  172. package/dist/src/commands/org.d.ts.map +1 -1
  173. package/dist/src/commands/org.js +98 -20
  174. package/dist/src/commands/org.js.map +1 -1
  175. package/dist/src/commands/performance.d.ts.map +1 -1
  176. package/dist/src/commands/performance.js +38 -31
  177. package/dist/src/commands/performance.js.map +1 -1
  178. package/dist/src/commands/security-misc.d.ts.map +1 -1
  179. package/dist/src/commands/security-misc.js +220 -90
  180. package/dist/src/commands/security-misc.js.map +1 -1
  181. package/dist/src/commands/security-scan.d.ts +13 -0
  182. package/dist/src/commands/security-scan.d.ts.map +1 -1
  183. package/dist/src/commands/security-scan.js +96 -27
  184. package/dist/src/commands/security-scan.js.map +1 -1
  185. package/dist/src/commands/security.js +1 -1
  186. package/dist/src/commands/security.js.map +1 -1
  187. package/dist/src/commands/start.d.ts.map +1 -1
  188. package/dist/src/commands/start.js +17 -96
  189. package/dist/src/commands/start.js.map +1 -1
  190. package/dist/src/commands/status.d.ts.map +1 -1
  191. package/dist/src/commands/status.js +72 -64
  192. package/dist/src/commands/status.js.map +1 -1
  193. package/dist/src/commands/tokens.d.ts.map +1 -1
  194. package/dist/src/commands/tokens.js +4 -5
  195. package/dist/src/commands/tokens.js.map +1 -1
  196. package/dist/src/consensus/audit-writer.d.ts +2 -2
  197. package/dist/src/consensus/audit-writer.d.ts.map +1 -1
  198. package/dist/src/consensus/audit-writer.js +1 -1
  199. package/dist/src/index.d.ts +2 -2
  200. package/dist/src/index.d.ts.map +1 -1
  201. package/dist/src/index.js +12 -10
  202. package/dist/src/index.js.map +1 -1
  203. package/dist/src/init/claudemd-generator.d.ts.map +1 -1
  204. package/dist/src/init/claudemd-generator.js +32 -31
  205. package/dist/src/init/claudemd-generator.js.map +1 -1
  206. package/dist/src/init/codex-generator.d.ts +10 -0
  207. package/dist/src/init/codex-generator.d.ts.map +1 -0
  208. package/dist/src/init/codex-generator.js +67 -0
  209. package/dist/src/init/codex-generator.js.map +1 -0
  210. package/dist/src/init/copy-assets.d.ts.map +1 -1
  211. package/dist/src/init/copy-assets.js +4 -8
  212. package/dist/src/init/copy-assets.js.map +1 -1
  213. package/dist/src/init/executor.d.ts.map +1 -1
  214. package/dist/src/init/executor.js +9 -2
  215. package/dist/src/init/executor.js.map +1 -1
  216. package/dist/src/init/helpers-generator.js +1 -1
  217. package/dist/src/init/index.d.ts +1 -0
  218. package/dist/src/init/index.d.ts.map +1 -1
  219. package/dist/src/init/index.js +1 -0
  220. package/dist/src/init/index.js.map +1 -1
  221. package/dist/src/init/opencode-generator.js +2 -2
  222. package/dist/src/init/opencode-generator.js.map +1 -1
  223. package/dist/src/init/settings-generator.d.ts.map +1 -1
  224. package/dist/src/init/settings-generator.js +1 -2
  225. package/dist/src/init/settings-generator.js.map +1 -1
  226. package/dist/src/init/shared.d.ts.map +1 -1
  227. package/dist/src/init/shared.js +3 -7
  228. package/dist/src/init/shared.js.map +1 -1
  229. package/dist/src/init/statusline-generator.js +19 -19
  230. package/dist/src/init/types.d.ts +9 -10
  231. package/dist/src/init/types.d.ts.map +1 -1
  232. package/dist/src/init/types.js +8 -6
  233. package/dist/src/init/types.js.map +1 -1
  234. package/dist/src/init/upgrade.js +5 -5
  235. package/dist/src/init/upgrade.js.map +1 -1
  236. package/dist/src/init/write-capabilities.d.ts.map +1 -1
  237. package/dist/src/init/write-capabilities.js +36 -49
  238. package/dist/src/init/write-capabilities.js.map +1 -1
  239. package/dist/src/init/write-claude.js +1 -1
  240. package/dist/src/init/write-claude.js.map +1 -1
  241. package/dist/src/init/write-codex.d.ts +4 -0
  242. package/dist/src/init/write-codex.d.ts.map +1 -0
  243. package/dist/src/init/write-codex.js +57 -0
  244. package/dist/src/init/write-codex.js.map +1 -0
  245. package/dist/src/init/write-runtime-config.d.ts.map +1 -1
  246. package/dist/src/init/write-runtime-config.js +4 -5
  247. package/dist/src/init/write-runtime-config.js.map +1 -1
  248. package/dist/src/knowledge/eval/golden-set.js +15 -15
  249. package/dist/src/knowledge/eval/golden-set.js.map +1 -1
  250. package/dist/src/mcp-client.d.ts.map +1 -1
  251. package/dist/src/mcp-client.js +1 -2
  252. package/dist/src/mcp-client.js.map +1 -1
  253. package/dist/src/mcp-server.js +1 -1
  254. package/dist/src/mcp-server.js.map +1 -1
  255. package/dist/src/mcp-tools/agent-tools.d.ts +1 -1
  256. package/dist/src/mcp-tools/agent-tools.d.ts.map +1 -1
  257. package/dist/src/mcp-tools/agent-tools.js +3 -3
  258. package/dist/src/mcp-tools/agent-tools.js.map +1 -1
  259. package/dist/src/mcp-tools/autopilot-tools.d.ts +1 -1
  260. package/dist/src/mcp-tools/autopilot-tools.d.ts.map +1 -1
  261. package/dist/src/mcp-tools/autopilot-tools.js +4 -62
  262. package/dist/src/mcp-tools/autopilot-tools.js.map +1 -1
  263. package/dist/src/mcp-tools/guidance-tools.d.ts.map +1 -1
  264. package/dist/src/mcp-tools/guidance-tools.js +21 -31
  265. package/dist/src/mcp-tools/guidance-tools.js.map +1 -1
  266. package/dist/src/mcp-tools/hooks-intelligence.d.ts +0 -1
  267. package/dist/src/mcp-tools/hooks-intelligence.d.ts.map +1 -1
  268. package/dist/src/mcp-tools/hooks-intelligence.js +56 -103
  269. package/dist/src/mcp-tools/hooks-intelligence.js.map +1 -1
  270. package/dist/src/mcp-tools/hooks-routing.d.ts +1 -2
  271. package/dist/src/mcp-tools/hooks-routing.d.ts.map +1 -1
  272. package/dist/src/mcp-tools/hooks-routing.js +78 -152
  273. package/dist/src/mcp-tools/hooks-routing.js.map +1 -1
  274. package/dist/src/mcp-tools/hooks-tools.d.ts.map +1 -1
  275. package/dist/src/mcp-tools/hooks-tools.js +2 -4
  276. package/dist/src/mcp-tools/hooks-tools.js.map +1 -1
  277. package/dist/src/mcp-tools/index.d.ts +1 -2
  278. package/dist/src/mcp-tools/index.d.ts.map +1 -1
  279. package/dist/src/mcp-tools/index.js +1 -2
  280. package/dist/src/mcp-tools/index.js.map +1 -1
  281. package/dist/src/mcp-tools/memory-tools.js +10 -10
  282. package/dist/src/mcp-tools/memory-tools.js.map +1 -1
  283. package/dist/src/mcp-tools/monograph/query-tools.js +9 -9
  284. package/dist/src/mcp-tools/monograph/query-tools.js.map +1 -1
  285. package/dist/src/mcp-tools/monoswarm-tools.d.ts +17 -0
  286. package/dist/src/mcp-tools/monoswarm-tools.d.ts.map +1 -0
  287. package/dist/src/mcp-tools/monoswarm-tools.js +1153 -0
  288. package/dist/src/mcp-tools/monoswarm-tools.js.map +1 -0
  289. package/dist/src/mcp-tools/performance-tools.d.ts.map +1 -1
  290. package/dist/src/mcp-tools/performance-tools.js +32 -25
  291. package/dist/src/mcp-tools/performance-tools.js.map +1 -1
  292. package/dist/src/mcp-tools/system-tools.d.ts.map +1 -1
  293. package/dist/src/mcp-tools/system-tools.js +30 -13
  294. package/dist/src/mcp-tools/system-tools.js.map +1 -1
  295. package/dist/src/mcp-tools/transfer-tools.d.ts +8 -12
  296. package/dist/src/mcp-tools/transfer-tools.d.ts.map +1 -1
  297. package/dist/src/mcp-tools/transfer-tools.js +9 -13
  298. package/dist/src/mcp-tools/transfer-tools.js.map +1 -1
  299. package/dist/src/memory/embedding-operations.d.ts.map +1 -1
  300. package/dist/src/memory/embedding-operations.js +0 -37
  301. package/dist/src/memory/embedding-operations.js.map +1 -1
  302. package/dist/src/memory/hnsw-operations.d.ts +14 -74
  303. package/dist/src/memory/hnsw-operations.d.ts.map +1 -1
  304. package/dist/src/memory/hnsw-operations.js +22 -262
  305. package/dist/src/memory/hnsw-operations.js.map +1 -1
  306. package/dist/src/memory/intelligence.d.ts +2 -2
  307. package/dist/src/memory/intelligence.d.ts.map +1 -1
  308. package/dist/src/memory/intelligence.js +8 -7
  309. package/dist/src/memory/intelligence.js.map +1 -1
  310. package/dist/src/memory/memory-bridge.d.ts +24 -24
  311. package/dist/src/memory/memory-bridge.d.ts.map +1 -1
  312. package/dist/src/memory/memory-bridge.js +33 -34
  313. package/dist/src/memory/memory-bridge.js.map +1 -1
  314. package/dist/src/memory/memory-crud.d.ts.map +1 -1
  315. package/dist/src/memory/memory-crud.js +0 -20
  316. package/dist/src/memory/memory-crud.js.map +1 -1
  317. package/dist/src/memory/memory-initializer.d.ts +2 -3
  318. package/dist/src/memory/memory-initializer.d.ts.map +1 -1
  319. package/dist/src/memory/memory-initializer.js +2 -3
  320. package/dist/src/memory/memory-initializer.js.map +1 -1
  321. package/dist/src/memory/memory-read.d.ts.map +1 -1
  322. package/dist/src/memory/memory-read.js +5 -14
  323. package/dist/src/memory/memory-read.js.map +1 -1
  324. package/dist/src/memory/sona-optimizer.d.ts +1 -1
  325. package/dist/src/memory/sona-optimizer.js +1 -1
  326. package/dist/src/monovector/model-outcomes.d.ts +25 -0
  327. package/dist/src/monovector/model-outcomes.d.ts.map +1 -0
  328. package/dist/src/monovector/model-outcomes.js +113 -0
  329. package/dist/src/monovector/model-outcomes.js.map +1 -0
  330. package/dist/src/orgrt/agent-runner.d.ts +8 -2
  331. package/dist/src/orgrt/agent-runner.d.ts.map +1 -1
  332. package/dist/src/orgrt/agent-runner.js.map +1 -1
  333. package/dist/src/orgrt/antigravity-runner.d.ts +25 -2
  334. package/dist/src/orgrt/antigravity-runner.d.ts.map +1 -1
  335. package/dist/src/orgrt/antigravity-runner.js +265 -124
  336. package/dist/src/orgrt/antigravity-runner.js.map +1 -1
  337. package/dist/src/orgrt/approvals.d.ts.map +1 -1
  338. package/dist/src/orgrt/approvals.js +8 -0
  339. package/dist/src/orgrt/approvals.js.map +1 -1
  340. package/dist/src/orgrt/checkpoint-ops.d.ts +10 -16
  341. package/dist/src/orgrt/checkpoint-ops.d.ts.map +1 -1
  342. package/dist/src/orgrt/checkpoint-ops.js +12 -18
  343. package/dist/src/orgrt/checkpoint-ops.js.map +1 -1
  344. package/dist/src/orgrt/checkpoint.d.ts +12 -1
  345. package/dist/src/orgrt/checkpoint.d.ts.map +1 -1
  346. package/dist/src/orgrt/checkpoint.js +19 -3
  347. package/dist/src/orgrt/checkpoint.js.map +1 -1
  348. package/dist/src/orgrt/codex-runner.d.ts +26 -2
  349. package/dist/src/orgrt/codex-runner.d.ts.map +1 -1
  350. package/dist/src/orgrt/codex-runner.js +359 -128
  351. package/dist/src/orgrt/codex-runner.js.map +1 -1
  352. package/dist/src/orgrt/copilot-runner.d.ts.map +1 -1
  353. package/dist/src/orgrt/copilot-runner.js +12 -2
  354. package/dist/src/orgrt/copilot-runner.js.map +1 -1
  355. package/dist/src/orgrt/cross-org.d.ts.map +1 -1
  356. package/dist/src/orgrt/cross-org.js +11 -0
  357. package/dist/src/orgrt/cross-org.js.map +1 -1
  358. package/dist/src/orgrt/crush-runner.d.ts +4 -1
  359. package/dist/src/orgrt/crush-runner.d.ts.map +1 -1
  360. package/dist/src/orgrt/crush-runner.js +42 -30
  361. package/dist/src/orgrt/crush-runner.js.map +1 -1
  362. package/dist/src/orgrt/daemon.d.ts +38 -25
  363. package/dist/src/orgrt/daemon.d.ts.map +1 -1
  364. package/dist/src/orgrt/daemon.js +150 -28
  365. package/dist/src/orgrt/daemon.js.map +1 -1
  366. package/dist/src/orgrt/decisions.d.ts +1 -0
  367. package/dist/src/orgrt/decisions.d.ts.map +1 -1
  368. package/dist/src/orgrt/decisions.js +20 -0
  369. package/dist/src/orgrt/decisions.js.map +1 -1
  370. package/dist/src/orgrt/grok-runner.d.ts.map +1 -1
  371. package/dist/src/orgrt/grok-runner.js +39 -14
  372. package/dist/src/orgrt/grok-runner.js.map +1 -1
  373. package/dist/src/orgrt/kimicode-runner.d.ts +53 -7
  374. package/dist/src/orgrt/kimicode-runner.d.ts.map +1 -1
  375. package/dist/src/orgrt/kimicode-runner.js +246 -144
  376. package/dist/src/orgrt/kimicode-runner.js.map +1 -1
  377. package/dist/src/orgrt/mailbox.d.ts +26 -1
  378. package/dist/src/orgrt/mailbox.d.ts.map +1 -1
  379. package/dist/src/orgrt/mailbox.js +74 -2
  380. package/dist/src/orgrt/mailbox.js.map +1 -1
  381. package/dist/src/orgrt/pi-rpc-runner.d.ts.map +1 -1
  382. package/dist/src/orgrt/pi-rpc-runner.js +76 -91
  383. package/dist/src/orgrt/pi-rpc-runner.js.map +1 -1
  384. package/dist/src/orgrt/policy.d.ts +11 -0
  385. package/dist/src/orgrt/policy.d.ts.map +1 -1
  386. package/dist/src/orgrt/policy.js +25 -2
  387. package/dist/src/orgrt/policy.js.map +1 -1
  388. package/dist/src/orgrt/provider.d.ts +29 -1
  389. package/dist/src/orgrt/provider.d.ts.map +1 -1
  390. package/dist/src/orgrt/provider.js +62 -2
  391. package/dist/src/orgrt/provider.js.map +1 -1
  392. package/dist/src/orgrt/qwen-rpc-runner.d.ts +56 -0
  393. package/dist/src/orgrt/qwen-rpc-runner.d.ts.map +1 -0
  394. package/dist/src/orgrt/qwen-rpc-runner.js +346 -0
  395. package/dist/src/orgrt/qwen-rpc-runner.js.map +1 -0
  396. package/dist/src/orgrt/qwen-runner.d.ts.map +1 -1
  397. package/dist/src/orgrt/qwen-runner.js +11 -8
  398. package/dist/src/orgrt/qwen-runner.js.map +1 -1
  399. package/dist/src/orgrt/scheduler-integration.d.ts.map +1 -1
  400. package/dist/src/orgrt/scheduler-integration.js +7 -0
  401. package/dist/src/orgrt/scheduler-integration.js.map +1 -1
  402. package/dist/src/orgrt/session.d.ts +29 -1
  403. package/dist/src/orgrt/session.d.ts.map +1 -1
  404. package/dist/src/orgrt/session.js +87 -18
  405. package/dist/src/orgrt/session.js.map +1 -1
  406. package/dist/src/orgrt/task-dag.d.ts +29 -1
  407. package/dist/src/orgrt/task-dag.d.ts.map +1 -1
  408. package/dist/src/orgrt/task-dag.js +54 -0
  409. package/dist/src/orgrt/task-dag.js.map +1 -1
  410. package/dist/src/orgrt/test-loop.d.ts.map +1 -1
  411. package/dist/src/orgrt/test-loop.js +86 -9
  412. package/dist/src/orgrt/test-loop.js.map +1 -1
  413. package/dist/src/orgrt/tool-fence.d.ts.map +1 -1
  414. package/dist/src/orgrt/tool-fence.js +15 -0
  415. package/dist/src/orgrt/tool-fence.js.map +1 -1
  416. package/dist/src/orgrt/types.d.ts +32 -1
  417. package/dist/src/orgrt/types.d.ts.map +1 -1
  418. package/dist/src/orgrt/types.js +47 -4
  419. package/dist/src/orgrt/types.js.map +1 -1
  420. package/dist/src/pricing/model-pricing.d.ts.map +1 -1
  421. package/dist/src/pricing/model-pricing.js +0 -4
  422. package/dist/src/pricing/model-pricing.js.map +1 -1
  423. package/dist/src/security/audit-log.d.ts +47 -0
  424. package/dist/src/security/audit-log.d.ts.map +1 -0
  425. package/dist/src/security/audit-log.js +84 -0
  426. package/dist/src/security/audit-log.js.map +1 -0
  427. package/dist/src/services/config-file-manager.d.ts +2 -2
  428. package/dist/src/services/config-file-manager.d.ts.map +1 -1
  429. package/dist/src/services/config-file-manager.js +6 -7
  430. package/dist/src/services/config-file-manager.js.map +1 -1
  431. package/dist/src/suggest.d.ts.map +1 -1
  432. package/dist/src/suggest.js +4 -5
  433. package/dist/src/suggest.js.map +1 -1
  434. package/dist/src/transfer/anonymization/index.d.ts +1 -1
  435. package/dist/src/transfer/anonymization/index.js +1 -1
  436. package/dist/src/types.d.ts +3 -3
  437. package/dist/src/types.d.ts.map +1 -1
  438. package/dist/src/ui/collector.mjs +9 -13
  439. package/dist/src/ui/dashboard.html +30 -10
  440. package/dist/src/ui/data/agent-avatars.html +0 -12
  441. package/dist/src/ui/data/agent-avatars.json +10 -26
  442. package/dist/src/ui/routes-org.mjs +59 -16
  443. package/dist/src/ui/server.mjs +50 -23
  444. package/dist/src/utils/json-file.d.ts +12 -0
  445. package/dist/src/utils/json-file.d.ts.map +1 -1
  446. package/dist/src/utils/json-file.js +11 -0
  447. package/dist/src/utils/json-file.js.map +1 -1
  448. package/dist/tsconfig.tsbuildinfo +1 -1
  449. package/package.json +4 -4
  450. package/.claude/agents/consensus/crdt-synchronizer.md +0 -977
  451. package/.claude/commands/hive-mind/README.md +0 -42
  452. package/.claude/commands/hive-mind/hive-mind-consensus.md +0 -72
  453. package/.claude/commands/hive-mind/hive-mind-init.md +0 -68
  454. package/.claude/commands/hive-mind/hive-mind-memory.md +0 -73
  455. package/.claude/commands/hive-mind/hive-mind-spawn.md +0 -82
  456. package/.claude/commands/hive-mind/hive-mind-status.md +0 -56
  457. package/.claude/commands/hive-mind/hive-mind-stop.md +0 -55
  458. package/.claude/commands/hive-mind/hive-mind.md +0 -87
  459. package/.claude/commands/swarm/README.md +0 -40
  460. package/.claude/commands/swarm/swarm.md +0 -79
  461. package/.claude/skills/hive-mind-advanced/SKILL.md +0 -347
  462. package/.claude/skills/swarm-advanced/SKILL.md +0 -936
  463. package/dist/src/commands/swarm.d.ts +0 -8
  464. package/dist/src/commands/swarm.d.ts.map +0 -1
  465. package/dist/src/commands/swarm.js.map +0 -1
  466. package/dist/src/mcp-tools/hive-mind-tools.d.ts +0 -17
  467. package/dist/src/mcp-tools/hive-mind-tools.d.ts.map +0 -1
  468. package/dist/src/mcp-tools/hive-mind-tools.js +0 -1239
  469. package/dist/src/mcp-tools/hive-mind-tools.js.map +0 -1
  470. package/dist/src/mcp-tools/swarm-tools.d.ts +0 -9
  471. package/dist/src/mcp-tools/swarm-tools.d.ts.map +0 -1
  472. package/dist/src/mcp-tools/swarm-tools.js +0 -411
  473. package/dist/src/mcp-tools/swarm-tools.js.map +0 -1
  474. package/dist/src/ui/data/avatars/crdt-synchronizer.svg +0 -53
  475. package/dist/src/ui/data/avatars/gossip-coordinator.svg +0 -54
  476. package/scripts/deploy-ipfs-node.sh +0 -153
  477. package/scripts/setup-ipfs-registry.md +0 -365
  478. /package/.claude/agents/{hive-mind → monoswarm}/scout-explorer.md +0 -0
  479. /package/.claude/agents/{hive-mind → monoswarm}/worker-specialist.md +0 -0
  480. /package/.claude/commands/{swarm → monoswarm}/analysis.md +0 -0
  481. /package/.claude/commands/{swarm → monoswarm}/development.md +0 -0
  482. /package/.claude/commands/{swarm → monoswarm}/examples.md +0 -0
  483. /package/.claude/commands/{swarm → monoswarm}/maintenance.md +0 -0
  484. /package/.claude/commands/{swarm → monoswarm}/optimization.md +0 -0
  485. /package/.claude/commands/{swarm → monoswarm}/testing.md +0 -0
  486. /package/dist/src/ui/data/avatars/{code-review-swarm.svg → monoswarm-code-review.svg} +0 -0
@@ -76,7 +76,7 @@ Bash(`gh api repos/:owner/:repo/contents/packages/@monomind/cli/CLAUDE.md \
76
76
  -f sha="$(gh api repos/:owner/:repo/contents/packages/@monomind/cli/CLAUDE.md?ref=sync/documentation --jq '.sha' 2>/dev/null || echo '')")`)
77
77
 
78
78
  // Store sync state in memory
79
- mcp__monomind__memory_store {
79
+ mcp__monomind__memory_pattern-store {
80
80
  key: "sync/documentation/status",
81
81
  value: { timestamp: Date.now(), status: "synchronized", files: ["CLAUDE.md"] }
82
82
  }
@@ -184,7 +184,7 @@ Generated with Claude Code using Monomind swarm coordination`
184
184
  ]}
185
185
 
186
186
  // Store comprehensive sync state
187
- mcp__monomind__memory_store {
187
+ mcp__monomind__memory_pattern-store {
188
188
  key: "sync/complete/status",
189
189
  value: {
190
190
  timestamp: Date.now(),
@@ -30,9 +30,8 @@ session-restore Restore a previous session
30
30
  route Route task to optimal agent using learned patterns
31
31
  explain Explain routing decision with transparency
32
32
  pretrain Bootstrap intelligence from repository (4-step pipeline + embeddings)
33
- build-agents Generate optimized agent configs from pretrain data
34
33
  metrics View learning metrics dashboard
35
- transfer Transfer patterns via IPFS registry or from another project
34
+ transfer Transfer patterns from another local project
36
35
  list List all registered hooks
37
36
  worker Background worker management (12 workers)
38
37
  progress Check v1 implementation progress
@@ -37,7 +37,6 @@ All hooks are invoked as `npx monomind hooks <subcommand>`:
37
37
  | `route` | Route task to optimal agent |
38
38
  | `explain` | Explain routing decision |
39
39
  | `pretrain` | Bootstrap intelligence from repo (4-step pipeline) |
40
- | `build-agents` | Generate optimized agent configs from pretrain data |
41
40
  | `metrics` | View learning metrics dashboard |
42
41
  | `model-route` | Route to optimal model (haiku/sonnet/opus) |
43
42
  | `model-outcome` | Record model routing result |
@@ -60,7 +59,7 @@ All hooks are invoked as `npx monomind hooks <subcommand>`:
60
59
  | `statusline` | Generate dynamic statusline display |
61
60
  | `list` | List all registered hooks |
62
61
  | `progress` | Check v1 implementation progress |
63
- | `transfer` | Transfer patterns via IPFS or from another project |
62
+ | `transfer` | Transfer patterns from another local project |
64
63
 
65
64
  ## Claude Code Integration
66
65
 
@@ -100,9 +100,6 @@ npx monomind hooks pretrain
100
100
 
101
101
  # Deep analysis only, no embeddings
102
102
  npx monomind hooks pretrain --depth deep --no-with-embeddings
103
-
104
- # Generate optimized agent configs from pretrain data
105
- npx monomind hooks build-agents
106
103
  ```
107
104
 
108
105
  ### Session Persistence
@@ -42,7 +42,7 @@ Parse `$ARGUMENTS`:
42
42
  Run ALL in parallel (skip errors):
43
43
  1. `mcp__monomind__monograph_suggest` with first 200 chars of `RAW_CONTENT`
44
44
  2. `mcp__monomind__monograph_query` for module/component names found in `RAW_CONTENT` (up to 5)
45
- 3. `mcp__monomind__memory_search` with input summary
45
+ 3. `mcp__monomind__memory_pattern-search` with input summary
46
46
  4. Read `README.md` (first 200 lines)
47
47
  5. Read first found: `package.json`, `Cargo.toml`, `pyproject.toml`, `go.mod`
48
48
  6. Repo name from `git remote get-url origin` (strip path, strip `.git`) — store as `REPO_NAME`
@@ -282,7 +282,7 @@ For each task, in prerequisite order:
282
282
 
283
283
  **File mode (default):** The frontmatter in `TASK_FILE` already records `recommended_mode`. No additional storage needed.
284
284
 
285
- **Monotask mode:** Call `mcp__monomind__memory_store` with:
285
+ **Monotask mode:** Call `mcp__monomind__memory_pattern-store` with:
286
286
  ```json
287
287
  {
288
288
  "key": "task-strategy:<REPO_NAME>:<timestamp>",
@@ -103,7 +103,7 @@ Group tasks by `context_group`:
103
103
 
104
104
  **File mode:** Read `recommended_mode` from the frontmatter of `TASK_FILE`. Use as the default.
105
105
 
106
- **Monotask mode:** Call `mcp__monomind__memory_search` with `"task-strategy:<REPO_NAME>"`. If found, use `recommended_execution_mode` as default.
106
+ **Monotask mode:** Call `mcp__monomind__memory_pattern-search` with `"task-strategy:<REPO_NAME>"`. If found, use `recommended_execution_mode` as default.
107
107
 
108
108
  ### 2e: Choose execution mode
109
109
 
@@ -328,7 +328,7 @@ Collect in parallel (skip any that error):
328
328
 
329
329
  1. **README**: Read `README.md` (first 200 lines).
330
330
  2. **Package manifest**: Read whichever exists first: `package.json`, `Cargo.toml`, `pyproject.toml`, `go.mod`.
331
- 3. **Memory search**: Call `mcp__monomind__memory_search` with the first task's title.
331
+ 3. **Memory search**: Call `mcp__monomind__memory_pattern-search` with the first task's title.
332
332
  4. **Knowledge graph**: Call `mcp__monomind__monograph_suggest` with the first task's title.
333
333
 
334
334
  Bundle into `PROJECT_CONTEXT` and include in every agent prompt.
@@ -500,7 +500,7 @@ To repeat this command on a schedule, wrap it with `/mastermind:repeat`.
500
500
 
501
501
  ### Store execution outcome in session memory
502
502
 
503
- Call `mcp__monomind__memory_store` with:
503
+ Call `mcp__monomind__memory_pattern-store` with:
504
504
  ```json
505
505
  {
506
506
  "key": "execution-outcome:<REPO_NAME>:<timestamp>",
@@ -111,8 +111,8 @@ npx monomind performance benchmark --suite all
111
111
 
112
112
  ```javascript
113
113
  // Memory
114
- mcp__monomind__memory_store({ key: "...", value: "...", namespace: "..." })
115
- mcp__monomind__memory_search({ query: "...", namespace: "..." })
114
+ mcp__monomind__memory_pattern-store({ key: "...", value: "...", namespace: "..." })
115
+ mcp__monomind__memory_pattern-search({ query: "...", namespace: "..." })
116
116
 
117
117
  // Knowledge graph
118
118
  mcp__monomind__monograph_suggest({ task: "..." })
@@ -39,7 +39,7 @@ Collect ALL of the following in parallel (skip any that error):
39
39
 
40
40
  4. **Knowledge graph**: Call `mcp__monomind__monograph_suggest` with the user's prompt (`$ARGUMENTS`). Skip if it errors or returns empty.
41
41
 
42
- 5. **Memory search**: Call `mcp__monomind__memory_search` with the user's prompt (`$ARGUMENTS`). Use the top 5 results.
42
+ 5. **Memory search**: Call `mcp__monomind__memory_pattern-search` with the user's prompt (`$ARGUMENTS`). Use the top 5 results.
43
43
 
44
44
  Bundle all gathered information into a single `PROJECT_CONTEXT` string for downstream agents.
45
45
 
@@ -43,7 +43,7 @@ Collect ALL of the following in parallel (skip any that error):
43
43
 
44
44
  4. **Knowledge graph**: Call `mcp__monomind__monograph_suggest` with the user's prompt (`$ARGUMENTS`). Skip if it errors or returns empty.
45
45
 
46
- 5. **Memory search**: Call `mcp__monomind__memory_search` with the user's prompt (`$ARGUMENTS`). Use the top 5 results.
46
+ 5. **Memory search**: Call `mcp__monomind__memory_pattern-search` with the user's prompt (`$ARGUMENTS`). Use the top 5 results.
47
47
 
48
48
  Bundle all gathered information into a single `PROJECT_CONTEXT` string for downstream agents.
49
49
 
@@ -188,10 +188,10 @@ npx monomind memory import --input ./backup.json --namespace archive
188
188
 
189
189
  ```javascript
190
190
  // Store
191
- mcp__monomind__memory_store({ key: "pattern/auth", value: "JWT + refresh", namespace: "patterns" })
191
+ mcp__monomind__memory_pattern-store({ key: "pattern/auth", value: "JWT + refresh", namespace: "patterns" })
192
192
 
193
193
  // Search
194
- mcp__monomind__memory_search({ query: "authentication", namespace: "patterns" })
194
+ mcp__monomind__memory_pattern-search({ query: "authentication", namespace: "patterns" })
195
195
 
196
196
  // Retrieve
197
197
  mcp__monomind__memory_retrieve({ key: "pattern/auth", namespace: "patterns" })
@@ -13,20 +13,19 @@ Multi-agent swarm coordination with hierarchical topology, distributed memory, a
13
13
  | `status` | Show current swarm status and progress |
14
14
  | `stop` | Stop swarm execution |
15
15
  | `scale` | Scale swarm agent count up or down |
16
- | `coordinate` | Launch v1 15-agent hierarchical-mesh coordination |
17
16
 
18
17
  ## init — Initialize a Swarm
19
18
 
20
19
  ```bash
21
20
  # Default (hierarchical, 15 agents)
22
- npx monomind swarm init
21
+ npx monomind monoswarm init
23
22
 
24
23
  # Anti-drift configuration (recommended)
25
- npx monomind swarm init --topology hierarchical --max-agents 8 --strategy specialized
24
+ npx monomind monoswarm init --topology hierarchical --max-agents 8 --strategy specialized
26
25
 
27
26
  # v1 15-agent hierarchical-mesh
28
- npx monomind swarm init --v1-mode
29
- npx monomind swarm init --topology hierarchical-mesh --max-agents 15 --strategy specialized
27
+ npx monomind monoswarm init --v1-mode
28
+ npx monomind monoswarm init --topology hierarchical-mesh --max-agents 15 --strategy specialized
30
29
  ```
31
30
 
32
31
  **Flags:**
@@ -48,7 +47,7 @@ npx monomind swarm init --topology hierarchical-mesh --max-agents 15 --strategy
48
47
  | `mesh` | Research, analysis — broad coverage |
49
48
  | `star` | Parallel testing, parallel maintenance |
50
49
  | `ring` | Sequential pipeline processing |
51
- | `hybrid` | Dynamic topology switching |
50
+ | `hybrid` | Topology label recorded in swarm state; coordination behavior is chosen by the caller — no automatic reconfiguration |
52
51
 
53
52
  ## Strategies
54
53
 
@@ -58,10 +57,10 @@ npx monomind swarm init --topology hierarchical-mesh --max-agents 15 --strategy
58
57
 
59
58
  ```bash
60
59
  # Start a development swarm
61
- npx monomind swarm start -o "Build REST API with authentication" -s development
60
+ npx monomind monoswarm start -o "Build REST API with authentication" -s development
62
61
 
63
62
  # Parallel research swarm
64
- npx monomind swarm start -o "Analyze performance bottlenecks" -s research --parallel
63
+ npx monomind monoswarm start -o "Analyze performance bottlenecks" -s research --parallel
65
64
  ```
66
65
 
67
66
  **Flags:**
@@ -77,20 +76,20 @@ npx monomind swarm start -o "Analyze performance bottlenecks" -s research --para
77
76
 
78
77
  ```bash
79
78
  # Overall status
80
- npx monomind swarm status
79
+ npx monomind monoswarm status
81
80
 
82
81
  # Status for a specific swarm ID
83
- npx monomind swarm status swarm-abc123
82
+ npx monomind monoswarm status swarm-abc123
84
83
  ```
85
84
 
86
85
  ## stop — Stop a Swarm
87
86
 
88
87
  ```bash
89
88
  # Graceful stop (saves state by default)
90
- npx monomind swarm stop swarm-abc123
89
+ npx monomind monoswarm stop swarm-abc123
91
90
 
92
91
  # Force immediate stop
93
- npx monomind swarm stop swarm-abc123 --force
92
+ npx monomind monoswarm stop swarm-abc123 --force
94
93
  ```
95
94
 
96
95
  **Flags:**
@@ -104,24 +103,12 @@ npx monomind swarm stop swarm-abc123 --force
104
103
 
105
104
  ```bash
106
105
  # Scale to 12 agents
107
- npx monomind swarm scale swarm-abc123 --agents 12
106
+ npx monomind monoswarm scale swarm-abc123 --agents 12
108
107
 
109
108
  # Scale a specific agent type
110
- npx monomind swarm scale swarm-abc123 --agents 8 --type coder
109
+ npx monomind monoswarm scale swarm-abc123 --agents 8 --type coder
111
110
  ```
112
111
 
113
- ## coordinate — v1 15-Agent Coordination
114
-
115
- ```bash
116
- # Full v1 15-agent hierarchical mesh
117
- npx monomind swarm coordinate
118
-
119
- # Subset of agents
120
- npx monomind swarm coordinate --agents 8
121
- ```
122
-
123
- Activates the v1 agent roster: Queen Coordinator, Security Architect, Security Auditor, Test Architect, Core Architect, Memory Specialist, Swarm Specialist, Integration Architect, Performance Engineer, CLI Developer, Hooks Developer, MCP Specialist, Project Coordinator, Documentation Lead, DevOps Engineer.
124
-
125
112
  ## MCP Tools
126
113
 
127
114
  ```javascript
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: mastermind-topology
3
- description: Swarm & Hive-Mind architecture picker — presents all topologies, consensus protocols, and strategies, then gives one concrete recommendation for the current task
3
+ description: Monoswarm architecture picker — presents all topologies, consensus protocols, and strategies, then gives one concrete recommendation for the current task
4
4
  ---
5
5
 
6
6
  IMPORTANT: Do NOT dump all the reference content at once. Follow the two-phase flow below exactly.
@@ -56,9 +56,9 @@ npx monomind memory import --input backup.json --merge
56
56
 
57
57
  | Tool | Purpose |
58
58
  |---|---|
59
- | `mcp__monomind__memory_store` | Store a memory entry |
59
+ | `mcp__monomind__memory_pattern-store` | Store a memory entry |
60
60
  | `mcp__monomind__memory_retrieve` | Retrieve by key |
61
- | `mcp__monomind__memory_search` | Search memory |
61
+ | `mcp__monomind__memory_pattern-search` | Search memory |
62
62
  | `mcp__monomind__memory_list` | List entries |
63
63
  | `mcp__monomind__memory_delete` | Delete entries |
64
64
  | `mcp__monomind__memory_stats` | Usage statistics |
@@ -61,7 +61,7 @@ Use `--build-hnsw` when searching large memory stores (1,000+ entries). The pure
61
61
  ## MCP Tool
62
62
 
63
63
  ```javascript
64
- mcp__monomind__memory_search({
64
+ mcp__monomind__memory_pattern-search({
65
65
  query: "authentication patterns",
66
66
  namespace: "default",
67
67
  limit: 10,
@@ -0,0 +1,59 @@
1
+ ---
2
+ name: monoswarm-README
3
+ description: Monoswarm skill index — lists all available multi-agent coordination and vote-consensus skills for Monomind
4
+ ---
5
+
6
+ # Monoswarm Skills
7
+
8
+ Multi-agent swarm coordination, with optional vote-based consensus, for Monomind.
9
+
10
+ ## Core Skills
11
+
12
+ - [monoswarm](./monoswarm.md) — Main skill: how to start and coordinate a run, plus the vote/consensus tool reference
13
+
14
+ ## Strategy Skills
15
+
16
+ - [analysis](./analysis.md) — Distributed analysis via coordinated agents
17
+ - [development](./development.md) — Coordinated development teams
18
+ - [research](./research.md) — Parallel information gathering
19
+ - [testing](./testing.md) — Distributed test execution
20
+ - [maintenance](./maintenance.md) — System maintenance coordination
21
+ - [optimization](./optimization.md) — Performance optimization runs
22
+ - [examples](./examples.md) — Common patterns and recipes
23
+
24
+ ## Lifecycle & Vote Commands
25
+
26
+ - [init](./init.md) — Initialize a run with topology and vote-strategy settings
27
+ - [spawn](./spawn.md) — Register worker agent records into the run
28
+ - [status](./status.md) — Show run status, workers, and metrics
29
+ - [stop](./stop.md) — Shut down the run
30
+ - [consensus](./consensus.md) — Manage proposals and voting
31
+ - [memory](./memory.md) — Access the run's shared memory
32
+
33
+ ## Real Tools (11 total)
34
+
35
+ ```
36
+ monoswarm_init Create the run state file (topology, vote strategy, empty worker list)
37
+ monoswarm_agent_add Register worker records into the agent store and run
38
+ monoswarm_status Read run status: lead, workers, task/vote metrics
39
+ monoswarm_join Add an existing agent id to the run's worker list
40
+ monoswarm_leave Remove an agent id from the run's worker list
41
+ monoswarm_vote Propose/vote/check status on threshold-based decisions
42
+ monoswarm_notice Write a message into the run's shared memory
43
+ monoswarm_memory Get/set/delete/list keys in the run's shared memory
44
+ monoswarm_audit_list List signed vote decision records
45
+ monoswarm_audit_verify Verify a vote decision's signatures
46
+ monoswarm_shutdown Clear run workers from the agent store, reset run state
47
+ ```
48
+
49
+ ## Quick Start
50
+
51
+ ```bash
52
+ # Initialize and start a run via CLI
53
+ npx monomind swarm init --topology hierarchical --max-agents 8
54
+ npx monomind swarm start "Build REST API" --strategy development
55
+ npx monomind swarm status
56
+ ```
57
+
58
+ For vote-based decisions, use the MCP tools directly — see
59
+ [monoswarm](./monoswarm.md) and [consensus](./consensus.md).
@@ -0,0 +1,61 @@
1
+ ---
2
+ name: monoswarm:consensus
3
+ ---
4
+
5
+ # monoswarm vote
6
+
7
+ Propose or vote on a threshold-based decision — vote-count bookkeeping over one
8
+ JSON state file. See `doc/concepts/monoswarm.md` for how the mechanism works.
9
+
10
+ There is no `npx monomind monoswarm vote` CLI command — this is invoked
11
+ directly as an MCP tool call (see below).
12
+
13
+ ## Parameters
14
+
15
+ | Param | Type | Default | Description |
16
+ |---|---|---|---|
17
+ | `action` | string | — | `propose`, `vote`, `status`, `list` (required) |
18
+ | `proposalId` | string | — | Proposal ID (required for `vote` and `status`) |
19
+ | `type` | string | — | Proposal type (used with `propose`) |
20
+ | `value` | any | — | Proposal value (used with `propose`) |
21
+ | `vote` | boolean | — | `true` = for, `false` = against (used with `vote`) |
22
+ | `voterId` | string | — | Voter agent ID (used with `vote`) |
23
+ | `strategy` | string | run's configured strategy, else `majority` | `majority`, `supermajority`, `unanimous`, `threshold` |
24
+ | `term` | number | — | Term number (majority-strategy re-proposals) |
25
+ | `timeoutMs` | number | `30000` | Timeout in ms for re-proposal |
26
+
27
+ ## Examples
28
+
29
+ ```javascript
30
+ // List all pending proposals
31
+ mcp__monomind__monoswarm_vote({ action: "list" })
32
+
33
+ // Create a new proposal
34
+ mcp__monomind__monoswarm_vote({
35
+ action: "propose",
36
+ type: "config-change",
37
+ value: { maxAgents: 20 }
38
+ })
39
+
40
+ // Vote on a proposal
41
+ mcp__monomind__monoswarm_vote({
42
+ action: "vote",
43
+ proposalId: "proposal-abc123",
44
+ vote: true,
45
+ voterId: "agent-1"
46
+ })
47
+
48
+ // Check proposal status
49
+ mcp__monomind__monoswarm_vote({ action: "status", proposalId: "proposal-abc123" })
50
+ ```
51
+
52
+ ## Actions
53
+
54
+ - **`list`** — Show all pending proposals
55
+ - **`propose`** — Create a new proposal (requires `type` and `value`)
56
+ - **`vote`** — Cast a vote on a proposal (requires `proposalId`, `vote`, and `voterId`)
57
+ - **`status`** — Check the current vote tally for a proposal (requires `proposalId`)
58
+
59
+ Resolved decisions are HMAC-signed and appended to a tamper-evident JSONL
60
+ audit trail. Verify with `mcp__monomind__monoswarm_audit_verify { decisionId }`;
61
+ list history with `mcp__monomind__monoswarm_audit_list { limit }`.
@@ -0,0 +1,68 @@
1
+ ---
2
+ name: monoswarm:init
3
+ ---
4
+
5
+ # monoswarm init
6
+
7
+ Initialize a monoswarm run with topology and (optionally) vote-strategy settings.
8
+
9
+ There is no `npx monomind monoswarm init` CLI command for the vote/consensus
10
+ side — that part is invoked directly as an MCP tool call. For plain agent
11
+ coordination without voting, use `npx monomind swarm init` (see `monoswarm.md`).
12
+
13
+ ```javascript
14
+ mcp__monomind__monoswarm_init({
15
+ topology: "hierarchical",
16
+ voteStrategy: "supermajority",
17
+ maxAgents: 15,
18
+ persist: true,
19
+ memoryBackend: "hybrid"
20
+ })
21
+ ```
22
+
23
+ ## Parameters
24
+
25
+ | Param | Type | Default | Description |
26
+ |---|---|---|---|
27
+ | `topology` | string | `mesh` | `mesh`, `hierarchical`, `ring`, `star` |
28
+ | `voteStrategy` | string | `supermajority` | `majority`, `supermajority`, `unanimous`, `threshold` |
29
+ | `maxAgents` | number | `15` | Maximum number of agents (bookkeeping only, not enforced by a scheduler) |
30
+ | `persist` | boolean | `true` | Whether to persist state to disk |
31
+ | `memoryBackend` | string | `hybrid` | Label stored with the config — not validated against a real backend list |
32
+ | `leadId` | string | `lead-<timestamp>` | Initial lead/coordinator agent ID |
33
+
34
+ `gossip` and `crdt` are **not implemented** as vote strategies — passing
35
+ either is rejected with an error listing the supported set.
36
+
37
+ ## Examples
38
+
39
+ ```javascript
40
+ // Initialize with recommended settings
41
+ mcp__monomind__monoswarm_init({})
42
+
43
+ // Hierarchical topology with a supermajority vote bar
44
+ mcp__monomind__monoswarm_init({ topology: "hierarchical", voteStrategy: "supermajority" })
45
+
46
+ // Larger run with a plain majority vote bar
47
+ mcp__monomind__monoswarm_init({ topology: "mesh", voteStrategy: "majority", maxAgents: 20 })
48
+
49
+ // Minimal run with no persistence
50
+ mcp__monomind__monoswarm_init({ topology: "hierarchical", voteStrategy: "majority", persist: false })
51
+ ```
52
+
53
+ ## Topology Guide
54
+
55
+ - **`hierarchical`** — Lead controls workers directly. Best for small teams (< 8 agents). Prevents drift.
56
+ - **`mesh`** — Fully connected peers. Best when all agents are equals.
57
+ - **`ring`** — Circular communication pattern.
58
+ - **`star`** — Central coordinator with spokes.
59
+
60
+ ## Vote Strategy Guide
61
+
62
+ - **`supermajority`** — Requires 2f+1 votes. Tolerates f < n/3 dissenting voters. Default.
63
+ - **`majority`** — Simple majority. Tolerates f < n/2.
64
+ - **`unanimous`** — Rejects on the first dissenting vote.
65
+ - **`threshold`** — Caller-supplied vote count or fraction.
66
+
67
+ These are vote-threshold implementations over one JSON state file — see
68
+ `doc/concepts/monoswarm.md` for how the mechanism works.
@@ -0,0 +1,55 @@
1
+ ---
2
+ name: monoswarm:memory
3
+ ---
4
+
5
+ # monoswarm memory
6
+
7
+ Access and manage monoswarm shared memory — a key-value blob on the run's
8
+ state file, readable/writable by all agents coordinating in the current run.
9
+
10
+ There is no `npx monomind monoswarm memory` CLI command — this is invoked
11
+ directly as an MCP tool call (see below).
12
+
13
+ ## Parameters
14
+
15
+ | Param | Type | Default | Description |
16
+ |---|---|---|---|
17
+ | `action` | string | `list` | Action: `get`, `set`, `delete`, `list` |
18
+ | `key` | string | — | Memory key (required for `get`, `set`, `delete`) |
19
+ | `value` | any | — | Value to store (required for `set`) |
20
+
21
+ ## Examples
22
+
23
+ ```javascript
24
+ // List all keys in shared memory
25
+ mcp__monomind__monoswarm_memory({ action: "list" })
26
+
27
+ // Store a value
28
+ mcp__monomind__monoswarm_memory({ action: "set", key: "project-goal", value: "Build auth module" })
29
+
30
+ // Retrieve a value
31
+ mcp__monomind__monoswarm_memory({ action: "get", key: "project-goal" })
32
+
33
+ // Delete a key
34
+ mcp__monomind__monoswarm_memory({ action: "delete", key: "project-goal" })
35
+ ```
36
+
37
+ ## Actions
38
+
39
+ - **`list`** — Show all keys currently in shared memory with count (default)
40
+ - **`get`** — Retrieve the value at a key (requires `key`)
41
+ - **`set`** — Store a value at a key (requires `key` and `value`)
42
+ - **`delete`** — Remove a key from shared memory (requires `key`)
43
+
44
+ ## Relationship to `monomind memory`
45
+
46
+ `monoswarm memory` operates on the **run's shared memory namespace** — a
47
+ single JSON blob on the run state file, visible to all agents coordinating
48
+ in the current run. This is distinct from the global memory tools
49
+ (`memory_pattern-store` / `memory_pattern-search` / CLI `monomind memory`), which are
50
+ backed by local SQLite (with `sql.js`/WASM as a fallback) — not LanceDB,
51
+ which has been fully removed from this codebase.
52
+
53
+ Use monoswarm memory for transient inter-agent coordination data (task
54
+ results, intermediate state). Use global memory for patterns and knowledge
55
+ that should persist across sessions.
@@ -0,0 +1,139 @@
1
+ ---
2
+ name: monoswarm-monoswarm
3
+ description: Main monoswarm skill — initializes and starts multi-agent swarms for research, development, analysis, testing, optimization, and maintenance tasks, with optional vote-based consensus
4
+ ---
5
+
6
+ # Monoswarm Orchestration
7
+
8
+ Start and coordinate multi-agent swarms for complex tasks. Queen-led,
9
+ vote-based coordination for decisions that need a recorded outcome.
10
+
11
+ ## How to Invoke
12
+
13
+ In Claude Code, load this skill:
14
+ ```
15
+ Skill("monoswarm:monoswarm")
16
+ ```
17
+
18
+ Then describe what you want to accomplish:
19
+ > "Start a development swarm to build a REST API with auth endpoints."
20
+ > "Run a research swarm on AI agent coordination patterns."
21
+
22
+ ---
23
+
24
+ ## CLI Reference
25
+
26
+ ```bash
27
+ # Initialize a swarm
28
+ npx monomind swarm init --topology hierarchical --max-agents 8 --strategy specialized
29
+
30
+ # Start a swarm with an objective
31
+ npx monomind swarm start "Build REST API" --strategy development --parallel
32
+
33
+ # Check swarm status
34
+ npx monomind swarm status
35
+
36
+ # Stop the swarm
37
+ npx monomind swarm stop
38
+
39
+ # Scale agents
40
+ npx monomind swarm scale <swarm-id> --agents 12
41
+ ```
42
+
43
+ ## MCP Tools
44
+
45
+ ```javascript
46
+ // Initialize swarm
47
+ mcp__monomind__swarm_init({
48
+ topology: "hierarchical",
49
+ maxAgents: 8,
50
+ strategy: "specialized"
51
+ })
52
+
53
+ // Check status
54
+ mcp__monomind__swarm_status({ swarmId: "current" })
55
+
56
+ // Coordinate tasks
57
+ mcp__monomind__coordination_orchestrate({ task: "build feature", strategy: "parallel" })
58
+
59
+ // Spawn an agent
60
+ mcp__monomind__agent_spawn({ type: "coder", capabilities: ["typescript", "api"] })
61
+
62
+ // Shut down swarm
63
+ mcp__monomind__swarm_shutdown({ swarmId: "current" })
64
+ ```
65
+
66
+ ## Strategy Selection
67
+
68
+ | Strategy | Topology | Use when |
69
+ |----------|----------|----------|
70
+ | research | mesh | Gathering information from multiple sources in parallel |
71
+ | development | hierarchical | Building features with architect → coder → tester flow |
72
+ | analysis | mesh | Distributed codebase or performance analysis |
73
+ | testing | star | Parallel test suite execution |
74
+ | optimization | mesh | Performance profiling and bottleneck resolution |
75
+ | maintenance | star | Sequential dependency updates with checkpoints |
76
+
77
+ ## Vote-Based Consensus (Optional)
78
+
79
+ There is no `npx monomind monoswarm consensus` CLI subcommand — vote/decision
80
+ functionality is available **exclusively via MCP tools**
81
+ (`mcp__monomind__monoswarm_*`). Invoke the tools directly, or use one of the
82
+ slash commands in this directory, which call the tools for you.
83
+
84
+ ### Real Tools (11 total)
85
+
86
+ | Tool | Description |
87
+ |---|---|
88
+ | `monoswarm_init` | Create the run state file (topology, vote strategy, empty worker list) |
89
+ | `monoswarm_agent_add` | Write worker agent records into the agent store and register them |
90
+ | `monoswarm_status` | Read run status: lead, workers, task/vote metrics |
91
+ | `monoswarm_join` | Add an existing agent id to the run's worker list |
92
+ | `monoswarm_leave` | Remove an agent id from the run's worker list |
93
+ | `monoswarm_vote` | Propose/vote/check status on threshold-based decisions |
94
+ | `monoswarm_notice` | Write a message into the run's shared memory for all workers to read |
95
+ | `monoswarm_memory` | Get/set/delete/list keys in the run's shared memory namespace |
96
+ | `monoswarm_audit_list` | List signed vote decision records |
97
+ | `monoswarm_audit_verify` | Verify a vote decision's signatures |
98
+ | `monoswarm_shutdown` | Clear run workers from the agent store and reset run state |
99
+
100
+ ### Vote Strategies (`monoswarm_vote`'s `strategy` param)
101
+
102
+ Vote-threshold bookkeeping over one JSON state file — see
103
+ `doc/concepts/monoswarm.md` for how the mechanism works.
104
+
105
+ | Strategy | Description |
106
+ |---|---|
107
+ | `supermajority` | Requires 2f+1 votes — tolerates f < n/3 dissenting voters (default) |
108
+ | `majority` | Simple majority — tolerates f < n/2 |
109
+ | `unanimous` | Rejects on the first dissenting vote |
110
+ | `threshold` | Caller-supplied vote count or fraction |
111
+
112
+ `gossip` and `crdt` are planned but not implemented — both `monoswarm_init`
113
+ and `monoswarm_vote` reject them with an error.
114
+
115
+ ### Quick Start
116
+
117
+ ```javascript
118
+ // 1. Initialize with recommended topology
119
+ mcp__monomind__monoswarm_init({ topology: "hierarchical", voteStrategy: "supermajority" })
120
+
121
+ // 2. Add worker agents
122
+ mcp__monomind__monoswarm_agent_add({ count: 5, role: "specialist" })
123
+
124
+ // 3. Check status
125
+ mcp__monomind__monoswarm_status({ verbose: true })
126
+
127
+ // 4. Shut down when done
128
+ mcp__monomind__monoswarm_shutdown({ graceful: true })
129
+ ```
130
+
131
+ Note: `monoswarm_agent_add` only writes bookkeeping records into the agent
132
+ store and the run's worker list — it does not start any process, thread, or
133
+ agent. Real concurrency comes from Claude Code's Task tool.
134
+
135
+ ## See Also
136
+ - `monoswarm:examples` — Common patterns with full code
137
+ - `monoswarm:consensus` — Vote proposal/vote details
138
+ - `monoswarm:memory` — Shared memory reference
139
+ - `monoswarm:status` — Status output reference