@monoes/monomindcli 1.10.54 → 1.10.55

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 (441) hide show
  1. package/.claude/agents/optimization/benchmark-suite.md +2 -0
  2. package/.claude/agents/optimization/load-balancer.md +2 -0
  3. package/.claude/agents/optimization/performance-monitor.md +2 -0
  4. package/.claude/agents/optimization/resource-allocator.md +3 -1
  5. package/.claude/agents/optimization/topology-optimizer.md +2 -0
  6. package/.claude/commands/mastermind/_repeat.md +21 -0
  7. package/.claude/commands/mastermind/_taskfile.md +235 -0
  8. package/.claude/commands/mastermind/adr.md +11 -0
  9. package/.claude/commands/mastermind/approve.md +94 -0
  10. package/.claude/commands/mastermind/autodev.md +32 -0
  11. package/.claude/commands/mastermind/budget.md +7 -0
  12. package/.claude/commands/mastermind/code-review.md +317 -0
  13. package/.claude/commands/mastermind/createorg.md +40 -1
  14. package/.claude/commands/mastermind/createtask.md +383 -0
  15. package/.claude/commands/mastermind/debug.md +22 -0
  16. package/.claude/commands/mastermind/design.md +20 -0
  17. package/.claude/commands/mastermind/do.md +526 -0
  18. package/.claude/commands/mastermind/execute.md +20 -0
  19. package/.claude/commands/mastermind/finish.md +20 -0
  20. package/.claude/commands/mastermind/graph-status.md +7 -0
  21. package/.claude/commands/mastermind/help.md +118 -0
  22. package/.claude/commands/mastermind/ideate.md +261 -0
  23. package/.claude/commands/mastermind/improve.md +345 -0
  24. package/.claude/commands/mastermind/loops.md +7 -0
  25. package/.claude/commands/mastermind/master.md +186 -6
  26. package/.claude/commands/mastermind/memory.md +230 -0
  27. package/.claude/commands/mastermind/plan.md +26 -0
  28. package/.claude/commands/mastermind/receive-review.md +20 -0
  29. package/.claude/commands/mastermind/repeat.md +257 -0
  30. package/.claude/commands/mastermind/runorg.md +3 -0
  31. package/.claude/commands/mastermind/skill-builder.md +20 -0
  32. package/.claude/commands/mastermind/specialagents.md +125 -0
  33. package/.claude/commands/mastermind/swarm.md +161 -0
  34. package/.claude/commands/mastermind/taskdev.md +26 -0
  35. package/.claude/commands/mastermind/tdd.md +22 -0
  36. package/.claude/commands/mastermind/techport.md +4 -0
  37. package/.claude/commands/mastermind/understand.md +139 -0
  38. package/.claude/commands/mastermind/verify.md +22 -0
  39. package/.claude/commands/mastermind/worktree.md +20 -0
  40. package/.claude/helpers/handlers/graph-status-handler.cjs +2 -1
  41. package/.claude/helpers/hook-handler.cjs +19 -0
  42. package/.claude/helpers/skill-registry.json +23 -0
  43. package/.claude/helpers/statusline.cjs +1 -1
  44. package/.claude/skills/mastermind/approve.md +15 -7
  45. package/.claude/skills/mastermind/autodev.md +534 -0
  46. package/.claude/skills/mastermind/createorg.md +21 -5
  47. package/.claude/skills/mastermind/debug.md +232 -0
  48. package/.claude/skills/mastermind/design.md +187 -0
  49. package/.claude/skills/mastermind/execute.md +104 -0
  50. package/.claude/skills/mastermind/finish.md +251 -0
  51. package/.claude/skills/mastermind/plan.md +180 -0
  52. package/.claude/skills/mastermind/receive-review.md +213 -0
  53. package/.claude/skills/mastermind/runorg.md +23 -8
  54. package/.claude/skills/mastermind/skill-builder.md +274 -0
  55. package/.claude/skills/mastermind/taskdev.md +307 -0
  56. package/.claude/skills/mastermind/tdd.md +394 -0
  57. package/.claude/skills/mastermind/verify.md +196 -0
  58. package/.claude/skills/mastermind/worktree.md +160 -132
  59. package/README.md +320 -253
  60. package/dist/src/commands/analyze.d.ts.map +1 -1
  61. package/dist/src/commands/analyze.js +9 -2
  62. package/dist/src/commands/analyze.js.map +1 -1
  63. package/dist/src/commands/benchmark.js.map +1 -1
  64. package/dist/src/commands/completions.js +1 -1
  65. package/dist/src/commands/guidance.js +7 -7
  66. package/dist/src/commands/hooks.d.ts.map +1 -1
  67. package/dist/src/commands/hooks.js +16 -3
  68. package/dist/src/commands/hooks.js.map +1 -1
  69. package/dist/src/commands/index.d.ts +3 -2
  70. package/dist/src/commands/index.d.ts.map +1 -1
  71. package/dist/src/commands/index.js +7 -0
  72. package/dist/src/commands/index.js.map +1 -1
  73. package/dist/src/commands/init.d.ts.map +1 -1
  74. package/dist/src/commands/init.js +47 -13
  75. package/dist/src/commands/init.js.map +1 -1
  76. package/dist/src/commands/neural.d.ts.map +1 -1
  77. package/dist/src/commands/neural.js +100 -14
  78. package/dist/src/commands/neural.js.map +1 -1
  79. package/dist/src/commands/platforms.d.ts +11 -0
  80. package/dist/src/commands/platforms.d.ts.map +1 -0
  81. package/dist/src/commands/platforms.js +195 -0
  82. package/dist/src/commands/platforms.js.map +1 -0
  83. package/dist/src/commands/ruvector/backup.js.map +1 -1
  84. package/dist/src/commands/ruvector/benchmark.js.map +1 -1
  85. package/dist/src/commands/ruvector/init.js.map +1 -1
  86. package/dist/src/commands/ruvector/migrate.js.map +1 -1
  87. package/dist/src/commands/ruvector/optimize.js.map +1 -1
  88. package/dist/src/commands/ruvector/status.js.map +1 -1
  89. package/dist/src/commands/update.js +6 -6
  90. package/dist/src/init/executor.d.ts.map +1 -1
  91. package/dist/src/init/executor.js +28 -0
  92. package/dist/src/init/executor.js.map +1 -1
  93. package/dist/src/init/statusline-generator.js +1 -1
  94. package/dist/src/init/types.d.ts +1 -0
  95. package/dist/src/init/types.d.ts.map +1 -1
  96. package/dist/src/mcp-server.d.ts.map +1 -1
  97. package/dist/src/mcp-server.js +92 -0
  98. package/dist/src/mcp-server.js.map +1 -1
  99. package/dist/src/mcp-tools/hive-mind-tools.d.ts.map +1 -1
  100. package/dist/src/mcp-tools/hive-mind-tools.js +52 -0
  101. package/dist/src/mcp-tools/hive-mind-tools.js.map +1 -1
  102. package/dist/src/mcp-tools/hooks-tools.d.ts.map +1 -1
  103. package/dist/src/mcp-tools/hooks-tools.js +106 -5
  104. package/dist/src/mcp-tools/hooks-tools.js.map +1 -1
  105. package/dist/src/mcp-tools/index.d.ts +0 -5
  106. package/dist/src/mcp-tools/index.d.ts.map +1 -1
  107. package/dist/src/mcp-tools/index.js +0 -5
  108. package/dist/src/mcp-tools/index.js.map +1 -1
  109. package/dist/src/mcp-tools/monograph-tools.d.ts.map +1 -1
  110. package/dist/src/mcp-tools/monograph-tools.js +507 -5587
  111. package/dist/src/mcp-tools/monograph-tools.js.map +1 -1
  112. package/dist/src/mcp-tools/neural-tools.d.ts.map +1 -1
  113. package/dist/src/mcp-tools/neural-tools.js +64 -4
  114. package/dist/src/mcp-tools/neural-tools.js.map +1 -1
  115. package/dist/src/mcp-tools/security-tools.js +4 -4
  116. package/dist/src/memory/intelligence.d.ts +2 -2
  117. package/dist/src/memory/intelligence.d.ts.map +1 -1
  118. package/dist/src/memory/intelligence.js +108 -3
  119. package/dist/src/memory/intelligence.js.map +1 -1
  120. package/dist/src/memory/memory-bridge.js +1 -1
  121. package/dist/src/memory/memory-bridge.js.map +1 -1
  122. package/dist/src/memory/sona-optimizer.d.ts +1 -10
  123. package/dist/src/memory/sona-optimizer.d.ts.map +1 -1
  124. package/dist/src/memory/sona-optimizer.js +0 -46
  125. package/dist/src/memory/sona-optimizer.js.map +1 -1
  126. package/dist/src/runtime/headless.js +3 -3
  127. package/dist/src/ruvector/diff-classifier.d.ts +0 -2
  128. package/dist/src/ruvector/diff-classifier.d.ts.map +1 -1
  129. package/dist/src/ruvector/diff-classifier.js +2 -14
  130. package/dist/src/ruvector/diff-classifier.js.map +1 -1
  131. package/dist/src/ruvector/index.d.ts +26 -9
  132. package/dist/src/ruvector/index.d.ts.map +1 -1
  133. package/dist/src/ruvector/index.js +3 -21
  134. package/dist/src/ruvector/index.js.map +1 -1
  135. package/dist/src/ruvector/ruvllm-wasm.js +2 -2
  136. package/dist/src/ruvector/ruvllm-wasm.js.map +1 -1
  137. package/dist/src/types.d.ts +0 -15
  138. package/dist/src/types.d.ts.map +1 -1
  139. package/dist/src/types.js +0 -18
  140. package/dist/src/types.js.map +1 -1
  141. package/dist/src/ui/dashboard.html +8763 -9766
  142. package/dist/src/ui/orgs.html +1 -1
  143. package/dist/src/ui/server.mjs +504 -35
  144. package/dist/src/update/index.js +1 -1
  145. package/dist/src/update/validator.js +8 -8
  146. package/dist/tsconfig.tsbuildinfo +1 -1
  147. package/package.json +2 -2
  148. package/.claude/agents/academic/academic-anthropologist.md +0 -126
  149. package/.claude/agents/academic/academic-geographer.md +0 -128
  150. package/.claude/agents/academic/academic-historian.md +0 -124
  151. package/.claude/agents/academic/academic-narratologist.md +0 -119
  152. package/.claude/agents/academic/academic-psychologist.md +0 -119
  153. package/.claude/agents/analysis/analyze-code-quality.md +0 -58
  154. package/.claude/agents/analysis/code-analyzer.md +0 -189
  155. package/.claude/agents/analysis/code-review/analyze-code-quality.md +0 -58
  156. package/.claude/agents/consensus/performance-benchmarker.md +0 -831
  157. package/.claude/agents/data/ml/data-ml-model.md +0 -76
  158. package/.claude/agents/development/dev-backend-api.md +0 -178
  159. package/.claude/agents/devops/ci-cd/ops-cicd-github.md +0 -52
  160. package/.claude/agents/documentation/api-docs/docs-api-openapi.md +0 -63
  161. package/.claude/agents/game-development/blender/blender-addon-engineer.md +0 -235
  162. package/.claude/agents/game-development/game-audio-engineer.md +0 -265
  163. package/.claude/agents/game-development/game-designer.md +0 -168
  164. package/.claude/agents/game-development/godot/godot-gameplay-scripter.md +0 -335
  165. package/.claude/agents/game-development/godot/godot-multiplayer-engineer.md +0 -298
  166. package/.claude/agents/game-development/godot/godot-shader-developer.md +0 -267
  167. package/.claude/agents/game-development/level-designer.md +0 -209
  168. package/.claude/agents/game-development/narrative-designer.md +0 -244
  169. package/.claude/agents/game-development/roblox-studio/roblox-avatar-creator.md +0 -298
  170. package/.claude/agents/game-development/roblox-studio/roblox-experience-designer.md +0 -306
  171. package/.claude/agents/game-development/roblox-studio/roblox-systems-scripter.md +0 -326
  172. package/.claude/agents/game-development/technical-artist.md +0 -230
  173. package/.claude/agents/game-development/unity/unity-architect.md +0 -272
  174. package/.claude/agents/game-development/unity/unity-editor-tool-developer.md +0 -311
  175. package/.claude/agents/game-development/unity/unity-multiplayer-engineer.md +0 -322
  176. package/.claude/agents/game-development/unity/unity-shader-graph-artist.md +0 -270
  177. package/.claude/agents/game-development/unreal-engine/unreal-multiplayer-architect.md +0 -314
  178. package/.claude/agents/game-development/unreal-engine/unreal-systems-engineer.md +0 -311
  179. package/.claude/agents/game-development/unreal-engine/unreal-technical-artist.md +0 -257
  180. package/.claude/agents/game-development/unreal-engine/unreal-world-builder.md +0 -274
  181. package/.claude/agents/github/release-swarm.md +0 -597
  182. package/.claude/agents/goal/agent.md +0 -804
  183. package/.claude/agents/goal/code-goal-planner.md +0 -445
  184. package/.claude/agents/marketing/marketing-ai-citation-strategist.md +0 -171
  185. package/.claude/agents/marketing/marketing-app-store-optimizer.md +0 -322
  186. package/.claude/agents/marketing/marketing-baidu-seo-specialist.md +0 -227
  187. package/.claude/agents/marketing/marketing-bilibili-content-strategist.md +0 -200
  188. package/.claude/agents/marketing/marketing-book-co-author.md +0 -111
  189. package/.claude/agents/marketing/marketing-carousel-growth-engine.md +0 -200
  190. package/.claude/agents/marketing/marketing-china-ecommerce-operator.md +0 -284
  191. package/.claude/agents/marketing/marketing-content-creator.md +0 -67
  192. package/.claude/agents/marketing/marketing-cross-border-ecommerce.md +0 -260
  193. package/.claude/agents/marketing/marketing-douyin-strategist.md +0 -150
  194. package/.claude/agents/marketing/marketing-growth-hacker.md +0 -54
  195. package/.claude/agents/marketing/marketing-instagram-curator.md +0 -114
  196. package/.claude/agents/marketing/marketing-kuaishou-strategist.md +0 -224
  197. package/.claude/agents/marketing/marketing-linkedin-content-creator.md +0 -215
  198. package/.claude/agents/marketing/marketing-livestream-commerce-coach.md +0 -306
  199. package/.claude/agents/marketing/marketing-podcast-strategist.md +0 -278
  200. package/.claude/agents/marketing/marketing-private-domain-operator.md +0 -309
  201. package/.claude/agents/marketing/marketing-reddit-community-builder.md +0 -124
  202. package/.claude/agents/marketing/marketing-seo-specialist.md +0 -279
  203. package/.claude/agents/marketing/marketing-short-video-editing-coach.md +0 -413
  204. package/.claude/agents/marketing/marketing-social-media-strategist.md +0 -125
  205. package/.claude/agents/marketing/marketing-tiktok-strategist.md +0 -126
  206. package/.claude/agents/marketing/marketing-twitter-engager.md +0 -127
  207. package/.claude/agents/marketing/marketing-wechat-official-account.md +0 -146
  208. package/.claude/agents/marketing/marketing-weibo-strategist.md +0 -241
  209. package/.claude/agents/marketing/marketing-xiaohongshu-specialist.md +0 -139
  210. package/.claude/agents/marketing/marketing-zhihu-strategist.md +0 -163
  211. package/.claude/agents/neural/safla-neural.md +0 -74
  212. package/.claude/agents/paid-media/paid-media-auditor.md +0 -71
  213. package/.claude/agents/paid-media/paid-media-creative-strategist.md +0 -71
  214. package/.claude/agents/paid-media/paid-media-paid-social-strategist.md +0 -71
  215. package/.claude/agents/paid-media/paid-media-ppc-strategist.md +0 -71
  216. package/.claude/agents/paid-media/paid-media-programmatic-buyer.md +0 -71
  217. package/.claude/agents/paid-media/paid-media-search-query-analyst.md +0 -71
  218. package/.claude/agents/paid-media/paid-media-tracking-specialist.md +0 -71
  219. package/.claude/agents/payments/agentic-payments.md +0 -126
  220. package/.claude/agents/product/product-behavioral-nudge-engine.md +0 -81
  221. package/.claude/agents/product/product-feedback-synthesizer.md +0 -119
  222. package/.claude/agents/product/product-manager.md +0 -469
  223. package/.claude/agents/product/product-sprint-prioritizer.md +0 -154
  224. package/.claude/agents/product/product-trend-researcher.md +0 -159
  225. package/.claude/agents/project-management/project-management-experiment-tracker.md +0 -199
  226. package/.claude/agents/project-management/project-management-jira-workflow-steward.md +0 -231
  227. package/.claude/agents/project-management/project-management-project-shepherd.md +0 -195
  228. package/.claude/agents/project-management/project-management-studio-operations.md +0 -201
  229. package/.claude/agents/project-management/project-management-studio-producer.md +0 -204
  230. package/.claude/agents/project-management/project-manager-senior.md +0 -136
  231. package/.claude/agents/reasoning/agent.md +0 -804
  232. package/.claude/agents/reasoning/goal-planner.md +0 -73
  233. package/.claude/agents/sales/sales-account-strategist.md +0 -228
  234. package/.claude/agents/sales/sales-coach.md +0 -272
  235. package/.claude/agents/sales/sales-deal-strategist.md +0 -181
  236. package/.claude/agents/sales/sales-discovery-coach.md +0 -226
  237. package/.claude/agents/sales/sales-engineer.md +0 -183
  238. package/.claude/agents/sales/sales-outbound-strategist.md +0 -202
  239. package/.claude/agents/sales/sales-pipeline-analyst.md +0 -268
  240. package/.claude/agents/sales/sales-proposal-strategist.md +0 -218
  241. package/.claude/agents/sona/sona-learning-optimizer.md +0 -65
  242. package/.claude/agents/spatial-computing/macos-spatial-metal-engineer.md +0 -338
  243. package/.claude/agents/spatial-computing/terminal-integration-specialist.md +0 -71
  244. package/.claude/agents/spatial-computing/visionos-spatial-engineer.md +0 -55
  245. package/.claude/agents/specialists/memory-specialist.md +0 -298
  246. package/.claude/agents/specialists/performance-engineer.md +0 -387
  247. package/.claude/agents/specialists/queen-coordinator.md +0 -67
  248. package/.claude/agents/specialists/security-architect.md +0 -154
  249. package/.claude/agents/specialized/accounts-payable-agent.md +0 -186
  250. package/.claude/agents/specialized/corporate-training-designer.md +0 -193
  251. package/.claude/agents/specialized/data-consolidation-agent.md +0 -61
  252. package/.claude/agents/specialized/government-digital-presales-consultant.md +0 -364
  253. package/.claude/agents/specialized/healthcare-marketing-compliance.md +0 -396
  254. package/.claude/agents/specialized/recruitment-specialist.md +0 -510
  255. package/.claude/agents/specialized/report-distribution-agent.md +0 -66
  256. package/.claude/agents/specialized/sales-data-extraction-agent.md +0 -68
  257. package/.claude/agents/specialized/specialized-french-consulting-market.md +0 -193
  258. package/.claude/agents/specialized/specialized-korean-business-navigator.md +0 -217
  259. package/.claude/agents/specialized/specialized-salesforce-architect.md +0 -181
  260. package/.claude/agents/specialized/study-abroad-advisor.md +0 -283
  261. package/.claude/agents/specialized/supply-chain-strategist.md +0 -583
  262. package/.claude/agents/sublinear/consensus-coordinator.md +0 -333
  263. package/.claude/agents/sublinear/matrix-optimizer.md +0 -180
  264. package/.claude/agents/sublinear/pagerank-analyzer.md +0 -295
  265. package/.claude/agents/sublinear/performance-optimizer.md +0 -363
  266. package/.claude/agents/sublinear/trading-predictor.md +0 -242
  267. package/.claude/agents/support/support-analytics-reporter.md +0 -366
  268. package/.claude/agents/support/support-executive-summary-generator.md +0 -213
  269. package/.claude/agents/support/support-finance-tracker.md +0 -443
  270. package/.claude/agents/support/support-infrastructure-maintainer.md +0 -619
  271. package/.claude/agents/support/support-legal-compliance-checker.md +0 -589
  272. package/.claude/agents/support/support-support-responder.md +0 -586
  273. package/.claude/agents/swarm/adaptive-coordinator.md +0 -364
  274. package/.claude/agents/swarm/hierarchical-coordinator.md +0 -318
  275. package/.claude/agents/templates/github-pr-manager.md +0 -155
  276. package/.claude/agents/templates/memory-coordinator.md +0 -163
  277. package/.claude/agents/templates/migration-plan.md +0 -724
  278. package/.claude/agents/templates/orchestrator-task.md +0 -120
  279. package/.claude/agents/templates/performance-analyzer.md +0 -179
  280. package/.claude/agents/templates/sparc-coordinator.md +0 -163
  281. package/.claude/agents/testing/testing-reality-checker.md +0 -237
  282. package/.claude/commands/analysis/token-efficiency.md +0 -42
  283. package/.claude/commands/optimization/README.md +0 -73
  284. package/.claude/commands/optimization/parallel-execution.md +0 -76
  285. package/.claude/commands/swarm/swarm-analysis.md +0 -62
  286. package/.claude/commands/swarm/swarm-background.md +0 -65
  287. package/.claude/commands/swarm/swarm-modes.md +0 -67
  288. package/.claude/commands/swarm/swarm-monitor.md +0 -54
  289. package/.claude/commands/swarm/swarm-status.md +0 -44
  290. package/.claude/commands/swarm/swarm-strategies.md +0 -76
  291. package/.claude/commands/training/model-update.md +0 -78
  292. package/.claude/commands/training/pattern-learn.md +0 -69
  293. package/.claude/commands/training/specialization.md +0 -92
  294. package/.claude/commands/verify/check.md +0 -106
  295. package/.claude/commands/verify/start.md +0 -105
  296. package/.claude/helpers/README.md +0 -105
  297. package/.claude/helpers/context-persistence-hook.mjs +0 -1988
  298. package/.claude/helpers/intelligence.cjs +0 -247
  299. package/.claude/helpers/learning-service.mjs +0 -1302
  300. package/.claude/helpers/memory-palace.cjs +0 -461
  301. package/.claude/helpers/memory.cjs +0 -84
  302. package/.claude/helpers/metrics-db.mjs +0 -488
  303. package/.claude/helpers/router.cjs +0 -559
  304. package/.claude/helpers/session.cjs +0 -126
  305. package/.claude/helpers/swarm-hooks.sh +0 -761
  306. package/.claude/helpers/toggle-statusline.cjs +0 -58
  307. package/.claude/helpers/token-tracker.cjs +0 -934
  308. package/.claude/skills/agentdb-advanced/SKILL.md +0 -549
  309. package/.claude/skills/agentdb-learning/SKILL.md +0 -544
  310. package/.claude/skills/agentdb-memory-patterns/SKILL.md +0 -337
  311. package/.claude/skills/agentdb-optimization/SKILL.md +0 -508
  312. package/.claude/skills/agentdb-vector-search/SKILL.md +0 -335
  313. package/.claude/skills/agentic-integration/SKILL.md +0 -265
  314. package/.claude/skills/cli-modernization/SKILL.md +0 -950
  315. package/.claude/skills/core-implementation/SKILL.md +0 -892
  316. package/.claude/skills/ddd-architecture/SKILL.md +0 -444
  317. package/.claude/skills/github-code-review/SKILL.md +0 -1147
  318. package/.claude/skills/github-multi-repo/SKILL.md +0 -912
  319. package/.claude/skills/github-project-management/SKILL.md +0 -1245
  320. package/.claude/skills/github-release-management/SKILL.md +0 -1118
  321. package/.claude/skills/github-workflow-automation/SKILL.md +0 -1107
  322. package/.claude/skills/mcp-optimization/SKILL.md +0 -837
  323. package/.claude/skills/memory-unification/SKILL.md +0 -196
  324. package/.claude/skills/performance-optimization/SKILL.md +0 -416
  325. package/.claude/skills/reasoningbank-agentdb/SKILL.md +0 -444
  326. package/.claude/skills/reasoningbank-intelligence/SKILL.md +0 -199
  327. package/.claude/skills/security-hardening/SKILL.md +0 -101
  328. package/.claude/skills/stream-chain/SKILL.md +0 -560
  329. package/.claude/skills/swarm-coordination/SKILL.md +0 -451
  330. package/bundled-graph/dist/src/analyze.d.ts +0 -32
  331. package/bundled-graph/dist/src/analyze.d.ts.map +0 -1
  332. package/bundled-graph/dist/src/analyze.js +0 -297
  333. package/bundled-graph/dist/src/analyze.js.map +0 -1
  334. package/bundled-graph/dist/src/build.d.ts +0 -8
  335. package/bundled-graph/dist/src/build.d.ts.map +0 -1
  336. package/bundled-graph/dist/src/build.js.map +0 -1
  337. package/bundled-graph/dist/src/cache.d.ts +0 -12
  338. package/bundled-graph/dist/src/cache.d.ts.map +0 -1
  339. package/bundled-graph/dist/src/cache.js +0 -43
  340. package/bundled-graph/dist/src/cache.js.map +0 -1
  341. package/bundled-graph/dist/src/cluster.d.ts +0 -5
  342. package/bundled-graph/dist/src/cluster.d.ts.map +0 -1
  343. package/bundled-graph/dist/src/cluster.js.map +0 -1
  344. package/bundled-graph/dist/src/detect.d.ts +0 -21
  345. package/bundled-graph/dist/src/detect.d.ts.map +0 -1
  346. package/bundled-graph/dist/src/detect.js +0 -195
  347. package/bundled-graph/dist/src/detect.js.map +0 -1
  348. package/bundled-graph/dist/src/export.d.ts +0 -21
  349. package/bundled-graph/dist/src/export.d.ts.map +0 -1
  350. package/bundled-graph/dist/src/export.js +0 -68
  351. package/bundled-graph/dist/src/export.js.map +0 -1
  352. package/bundled-graph/dist/src/extract/index.d.ts +0 -20
  353. package/bundled-graph/dist/src/extract/index.d.ts.map +0 -1
  354. package/bundled-graph/dist/src/extract/index.js +0 -158
  355. package/bundled-graph/dist/src/extract/index.js.map +0 -1
  356. package/bundled-graph/dist/src/extract/languages/c.d.ts +0 -3
  357. package/bundled-graph/dist/src/extract/languages/c.d.ts.map +0 -1
  358. package/bundled-graph/dist/src/extract/languages/c.js +0 -88
  359. package/bundled-graph/dist/src/extract/languages/c.js.map +0 -1
  360. package/bundled-graph/dist/src/extract/languages/cpp.d.ts +0 -3
  361. package/bundled-graph/dist/src/extract/languages/cpp.d.ts.map +0 -1
  362. package/bundled-graph/dist/src/extract/languages/cpp.js +0 -121
  363. package/bundled-graph/dist/src/extract/languages/cpp.js.map +0 -1
  364. package/bundled-graph/dist/src/extract/languages/csharp.d.ts +0 -3
  365. package/bundled-graph/dist/src/extract/languages/csharp.d.ts.map +0 -1
  366. package/bundled-graph/dist/src/extract/languages/csharp.js +0 -121
  367. package/bundled-graph/dist/src/extract/languages/csharp.js.map +0 -1
  368. package/bundled-graph/dist/src/extract/languages/go.d.ts +0 -3
  369. package/bundled-graph/dist/src/extract/languages/go.d.ts.map +0 -1
  370. package/bundled-graph/dist/src/extract/languages/go.js +0 -181
  371. package/bundled-graph/dist/src/extract/languages/go.js.map +0 -1
  372. package/bundled-graph/dist/src/extract/languages/java.d.ts +0 -3
  373. package/bundled-graph/dist/src/extract/languages/java.d.ts.map +0 -1
  374. package/bundled-graph/dist/src/extract/languages/java.js +0 -117
  375. package/bundled-graph/dist/src/extract/languages/java.js.map +0 -1
  376. package/bundled-graph/dist/src/extract/languages/kotlin.d.ts +0 -3
  377. package/bundled-graph/dist/src/extract/languages/kotlin.d.ts.map +0 -1
  378. package/bundled-graph/dist/src/extract/languages/kotlin.js +0 -112
  379. package/bundled-graph/dist/src/extract/languages/kotlin.js.map +0 -1
  380. package/bundled-graph/dist/src/extract/languages/php.d.ts +0 -3
  381. package/bundled-graph/dist/src/extract/languages/php.d.ts.map +0 -1
  382. package/bundled-graph/dist/src/extract/languages/php.js +0 -130
  383. package/bundled-graph/dist/src/extract/languages/php.js.map +0 -1
  384. package/bundled-graph/dist/src/extract/languages/python.d.ts +0 -3
  385. package/bundled-graph/dist/src/extract/languages/python.d.ts.map +0 -1
  386. package/bundled-graph/dist/src/extract/languages/python.js +0 -230
  387. package/bundled-graph/dist/src/extract/languages/python.js.map +0 -1
  388. package/bundled-graph/dist/src/extract/languages/ruby.d.ts +0 -3
  389. package/bundled-graph/dist/src/extract/languages/ruby.d.ts.map +0 -1
  390. package/bundled-graph/dist/src/extract/languages/ruby.js +0 -120
  391. package/bundled-graph/dist/src/extract/languages/ruby.js.map +0 -1
  392. package/bundled-graph/dist/src/extract/languages/rust.d.ts +0 -3
  393. package/bundled-graph/dist/src/extract/languages/rust.d.ts.map +0 -1
  394. package/bundled-graph/dist/src/extract/languages/rust.js +0 -195
  395. package/bundled-graph/dist/src/extract/languages/rust.js.map +0 -1
  396. package/bundled-graph/dist/src/extract/languages/scala.d.ts +0 -3
  397. package/bundled-graph/dist/src/extract/languages/scala.d.ts.map +0 -1
  398. package/bundled-graph/dist/src/extract/languages/scala.js +0 -110
  399. package/bundled-graph/dist/src/extract/languages/scala.js.map +0 -1
  400. package/bundled-graph/dist/src/extract/languages/swift.d.ts +0 -3
  401. package/bundled-graph/dist/src/extract/languages/swift.d.ts.map +0 -1
  402. package/bundled-graph/dist/src/extract/languages/swift.js +0 -122
  403. package/bundled-graph/dist/src/extract/languages/swift.js.map +0 -1
  404. package/bundled-graph/dist/src/extract/languages/typescript.d.ts +0 -3
  405. package/bundled-graph/dist/src/extract/languages/typescript.d.ts.map +0 -1
  406. package/bundled-graph/dist/src/extract/languages/typescript.js +0 -295
  407. package/bundled-graph/dist/src/extract/languages/typescript.js.map +0 -1
  408. package/bundled-graph/dist/src/extract/semantic.d.ts +0 -38
  409. package/bundled-graph/dist/src/extract/semantic.d.ts.map +0 -1
  410. package/bundled-graph/dist/src/extract/semantic.js +0 -242
  411. package/bundled-graph/dist/src/extract/semantic.js.map +0 -1
  412. package/bundled-graph/dist/src/extract/tree-sitter-runner.d.ts +0 -48
  413. package/bundled-graph/dist/src/extract/tree-sitter-runner.d.ts.map +0 -1
  414. package/bundled-graph/dist/src/extract/tree-sitter-runner.js +0 -137
  415. package/bundled-graph/dist/src/extract/tree-sitter-runner.js.map +0 -1
  416. package/bundled-graph/dist/src/extract/types.d.ts +0 -7
  417. package/bundled-graph/dist/src/extract/types.d.ts.map +0 -1
  418. package/bundled-graph/dist/src/extract/types.js +0 -2
  419. package/bundled-graph/dist/src/extract/types.js.map +0 -1
  420. package/bundled-graph/dist/src/index.d.ts +0 -28
  421. package/bundled-graph/dist/src/index.d.ts.map +0 -1
  422. package/bundled-graph/dist/src/index.js +0 -26
  423. package/bundled-graph/dist/src/index.js.map +0 -1
  424. package/bundled-graph/dist/src/pipeline.d.ts +0 -27
  425. package/bundled-graph/dist/src/pipeline.d.ts.map +0 -1
  426. package/bundled-graph/dist/src/pipeline.js +0 -269
  427. package/bundled-graph/dist/src/pipeline.js.map +0 -1
  428. package/bundled-graph/dist/src/report.d.ts +0 -26
  429. package/bundled-graph/dist/src/report.d.ts.map +0 -1
  430. package/bundled-graph/dist/src/report.js +0 -214
  431. package/bundled-graph/dist/src/report.js.map +0 -1
  432. package/bundled-graph/dist/src/types.d.ts +0 -124
  433. package/bundled-graph/dist/src/types.d.ts.map +0 -1
  434. package/bundled-graph/dist/src/types.js +0 -2
  435. package/bundled-graph/dist/src/types.js.map +0 -1
  436. package/bundled-graph/dist/src/visualize.d.ts +0 -4
  437. package/bundled-graph/dist/src/visualize.d.ts.map +0 -1
  438. package/bundled-graph/dist/src/visualize.js +0 -574
  439. package/bundled-graph/dist/src/visualize.js.map +0 -1
  440. package/bundled-graph/dist/tsconfig.tsbuildinfo +0 -1
  441. package/dist/src/ui/dashboard-v2.html +0 -5316
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  <p align="center">
2
- <img src="assets/hero-banner.png" alt="Monomind — AI Agent Orchestration" width="100%" />
2
+ <img src="assets/hero-banner.png" alt="Monomind — Autonomous Claude Code Orchestration" width="100%" />
3
3
  </p>
4
4
 
5
5
  <p align="center">
@@ -9,10 +9,16 @@
9
9
  <h1 align="center">Monomind</h1>
10
10
 
11
11
  <p align="center">
12
- <strong>The orchestration layer that turns Claude Code into an autonomous engineering team.</strong>
12
+ <strong>Build. Learn. Evolve. Without stopping.</strong>
13
13
  </p>
14
14
 
15
15
  <p align="center">
16
+ The self-learning orchestration layer that turns Claude Code<br/>
17
+ into an autonomous, multi-agent engineering team.
18
+ </p>
19
+
20
+ <p align="center">
21
+ <a href="https://monoes.github.io/monomind/"><img src="https://img.shields.io/badge/docs-monoes.github.io%2Fmonomind-00D2AA?style=flat-square" alt="Documentation" /></a>
16
22
  <a href="https://www.npmjs.com/package/monomind"><img src="https://img.shields.io/npm/v/monomind?color=%234F46E5&label=npm&style=flat-square" alt="npm version" /></a>
17
23
  <a href="https://www.npmjs.com/package/monomind"><img src="https://img.shields.io/npm/dm/monomind?color=%2310B981&style=flat-square" alt="downloads" /></a>
18
24
  <a href="https://github.com/nokhodian/monomind/stargazers"><img src="https://img.shields.io/github/stars/nokhodian/monomind?color=%23F59E0B&style=flat-square" alt="stars" /></a>
@@ -21,127 +27,132 @@
21
27
  </p>
22
28
 
23
29
  <p align="center">
30
+ <a href="https://monoes.github.io/monomind/">📖 Full Docs</a> &nbsp;&bull;&nbsp;
24
31
  <a href="#quickstart">Quickstart</a> &nbsp;&bull;&nbsp;
25
32
  <a href="#what-monomind-does">What It Does</a> &nbsp;&bull;&nbsp;
26
33
  <a href="#features">Features</a> &nbsp;&bull;&nbsp;
27
- <a href="#agent-catalog">Agent Catalog</a> &nbsp;&bull;&nbsp;
28
- <a href="#swarm-orchestration">Swarms</a> &nbsp;&bull;&nbsp;
29
34
  <a href="#commands">Commands</a> &nbsp;&bull;&nbsp;
30
35
  <a href="#memory--intelligence">Memory</a>
31
36
  </p>
32
37
 
33
38
  ---
34
39
 
35
- ## Why Monomind?
40
+ ## What is Monomind?
36
41
 
37
- You already use Claude Code. Monomind makes it **10x more powerful**.
42
+ You already use Claude Code. Monomind makes it **autonomous**.
38
43
 
39
- Instead of one AI assistant handling everything, Monomind coordinates **230+ specialized agents** — architects, security auditors, performance engineers, frontend developers, database optimizers — each with domain expertise, working in parallel swarms that review each other's work.
44
+ Type one command. Walk away. Come back to a clean codebase.
40
45
 
41
- **The difference:**
42
- - **Without Monomind:** You prompt Claude, it does its best across every domain.
43
- - **With Monomind:** Claude spawns the *right specialist* for each subtask, coordinates them in fault-tolerant swarms, remembers everything across sessions, and learns from every interaction.
46
+ ```bash
47
+ /mastermind:autodev --tillend --focus security
48
+ ```
49
+
50
+ Monomind researches your project, selects the highest-impact improvement, builds it with a coordinated agent chain, reviews until zero findings — then repeats. Indefinitely. Until there's nothing left to fix.
44
51
 
45
- > One command. Entire engineering workflows. Zero babysitting.
52
+ > **Without Monomind:** You prompt Claude, wait, review, iterate.
53
+ > **With Monomind:** You set a direction. Monomind executes.
46
54
 
47
55
  ---
48
56
 
49
57
  ## Quickstart
50
58
 
51
59
  ```bash
52
- # Install globally
60
+ # Install
53
61
  npm install -g monomind
54
62
 
55
- # Initialize in any project
63
+ # Initialize in your project
56
64
  cd your-project
57
65
  monomind init
58
66
 
59
- # Add MCP server to Claude Code
67
+ # Wire into Claude Code
60
68
  claude mcp add monomind npx monomind mcp start
69
+
70
+ # Start the background daemon
71
+ monomind daemon start
61
72
  ```
62
73
 
63
- That's it. Monomind is now active in your Claude Code sessions.
74
+ That's it. Open Claude Code and start orchestrating.
75
+
76
+ **[→ Full setup guide](https://monoes.github.io/monomind/#getting-started)**
64
77
 
65
78
  ---
66
79
 
67
- ## Monomind Control — Live Dashboard
80
+ ## What Monomind Does
68
81
 
69
- <p align="center">
70
- <img src="assets/dashboard-control.png" alt="Monomind Control Dashboard" width="100%" />
71
- </p>
82
+ ### Autonomous Build Loop — `/mastermind:autodev`
72
83
 
73
- Real-time visibility into every project, session, agent, memory, route decision, and token spend — all in one terminal-native dashboard.
84
+ The flagship command. Research Build Review Repeat.
74
85
 
75
- ---
86
+ ```
87
+ Phase 1 Research Parallel scan: git log, file analysis, TODO/FIXME grep,
88
+ monograph god nodes, memory search for prior work.
89
+ Returns ranked list of 3-5 improvement candidates.
76
90
 
77
- ## What Monomind Does
91
+ Phase 2 Selection Picks by feasibility × blast radius × focus alignment.
92
+ Stores selection to memory. Avoids repeating past work.
78
93
 
79
- ### From Prompt to Production
94
+ Phase 3 Build Spawns architect coder → tester → reviewer chain.
95
+ Runs with concrete spec and acceptance criteria.
80
96
 
81
- Monomind turns high-level instructions into coordinated multi-agent execution:
97
+ Phase 4 Review Loop Code Reviewer + Security Engineer + Reality Checker
98
+ run in parallel. Auto-fixes. Repeats up to 5× until clean.
82
99
 
100
+ Phase 5 Log Records completion. Continues to next improvement.
101
+ --tillend schedules the next session automatically.
83
102
  ```
84
- You: "Add webhook delivery with retries and dead-letter queue"
85
103
 
86
- Monomind:
87
- 1. Routes to Software Architect → designs the system
88
- 2. Spawns backend-dev implements webhook dispatcher
89
- 3. Spawns backend-dev implements retry logic with exponential backoff
90
- 4. Spawns Database Optimizer designs dead-letter queue schema
91
- 5. Spawns tester writes integration tests
92
- 6. Spawns Code Reviewer reviews all changes
93
- 7. Commits, reports, moves to next task
104
+ ```bash
105
+ /mastermind:autodev # 1 improvement
106
+ /mastermind:autodev 5 # 5 improvements in sequence
107
+ /mastermind:autodev --tillend # run until nothing is left
108
+ /mastermind:autodev --focus security # bias toward security work
109
+ /mastermind:autodev --focus dx # bias toward developer experience
110
+ /mastermind:autodev --newfeature 3 # discover & fully deliver 3 brand-new features
111
+ # (build review document → stage each one)
94
112
  ```
95
113
 
96
- ### Autonomous Task Pipelines
97
-
98
- ```bash
99
- # Turn a spec into executable tasks, then run them
100
- /monomind:createtask docs/specs/webhook-system.md
114
+ ### From Prompt to Coordinated Execution
101
115
 
102
- # Or let it generate ideas, evaluate, and execute
103
- /monomind:idea add real-time collaboration to the editor
116
+ ```
117
+ You: "Add webhook delivery with retries and a dead-letter queue"
104
118
 
105
- # Pick up tasks and execute them autonomously
106
- /monomind:do
119
+ Monomind:
120
+ 1. Software Architect → designs the system
121
+ 2. backend-dev → implements webhook dispatcher
122
+ 3. backend-dev → implements retry logic with exponential backoff
123
+ 4. Database Optimizer → designs dead-letter queue schema
124
+ 5. tester → writes integration tests
125
+ 6. Code Reviewer → reviews all changes before merge
107
126
  ```
108
127
 
128
+ **[→ See all 10 pages of documentation](https://monoes.github.io/monomind/)**
129
+
109
130
  ---
110
131
 
111
132
  ## Features
112
133
 
113
134
  ### 230+ Specialized Agents
114
135
 
115
- Not generic "code assistants" — domain experts with targeted system prompts, each optimized for a specific class of work.
136
+ Not generic assistants — domain experts with targeted system prompts, each optimized for a specific class of work.
116
137
 
117
- | Category | Count | Examples |
118
- |---|---|---|
119
- | **Engineering** | 23 | Backend Architect, Frontend Developer, Database Optimizer, Embedded Firmware Engineer, SRE |
120
- | **Marketing** | 27 | SEO Specialist, TikTok Strategist, Content Creator, Growth Hacker, LinkedIn Content Creator |
121
- | **Specialized** | 27 | Legal Compliance, Finance Tracker, Salesforce Architect, Document Generator, MCP Builder |
122
- | **Game Dev** | 20 | Unity Architect, Unreal Systems Engineer, Godot Scripter, Roblox Systems Scripter |
123
- | **Sales** | 8 | Deal Strategist, Sales Engineer, Pipeline Analyst, Outbound Strategist |
124
- | **Design** | 8 | UI Designer, UX Researcher, Brand Guardian, Visual Storyteller |
125
- | **Paid Media** | 7 | PPC Strategist, Ad Creative Strategist, Programmatic Buyer, Tracking Specialist |
126
- | **Support** | 6 | Support Responder, Analytics Reporter, Study Abroad Advisor, Trend Researcher |
127
- | **Product** | 5 | Product Manager, Sprint Prioritizer, UX Researcher, Experiment Tracker |
128
- | **Academic** | 5 | Anthropologist, Historian, Psychologist, Geographer, Narratologist |
129
- | **And more...** | 94+ | Consensus, Swarm Coordination, Neural, SPARC, Architecture, DevOps, Testing |
130
-
131
- ### Two-Stage LLM Routing
132
-
133
- Monomind doesn't guess which agent to use — it **asks an LLM**.
134
-
135
- ```
136
- Stage 1: "This task is about SEO optimization" → marketing domain
137
- Stage 2: "Best fit in marketing: SEO Specialist" → spawns SEO Specialist
138
- ```
138
+ | Category | Examples |
139
+ |---|---|
140
+ | **Engineering** | Backend Architect, Frontend Developer, Database Optimizer, SRE, Embedded Firmware Engineer |
141
+ | **Security** | Security Engineer, Threat Detection Engineer, Blockchain Security Auditor |
142
+ | **Architecture** | Software Architect, System Architect, Salesforce Architect |
143
+ | **Game Dev** | Unity Architect, Unreal Systems Engineer, Godot Scripter, Roblox Systems Scripter |
144
+ | **Marketing** | SEO Specialist, TikTok Strategist, Content Creator, Growth Hacker |
145
+ | **Product** | Product Manager, Sprint Prioritizer, CRO Specialist, Launch Strategist |
146
+ | **AI/ML** | AI Engineer, ML Developer, Data Engineer, Model QA Specialist |
147
+ | **Swarm/Consensus** | Hierarchical Coordinator, Mesh Coordinator, CRDT Synchronizer, Quorum Manager |
139
148
 
140
- Runs in under 2 seconds via Haiku. Falls back to keyword scoring if the API is unavailable.
149
+ ### Swarm Topologies
141
150
 
142
- ### Swarm Orchestration
151
+ Coordinate multiple agents working in parallel on the same problem:
143
152
 
144
- Coordinate multiple agents working on the same problem:
153
+ <p align="center">
154
+ <img src="assets/swarm-topology.png" alt="Swarm Topology" width="70%" />
155
+ </p>
145
156
 
146
157
  | Topology | Best For |
147
158
  |---|---|
@@ -149,265 +160,245 @@ Coordinate multiple agents working on the same problem:
149
160
  | **Mesh** | Research — all agents share findings peer-to-peer |
150
161
  | **Hierarchical-Mesh** | Complex projects — structured delegation with cross-talk |
151
162
  | **Adaptive** | Unknown complexity — topology evolves based on task |
163
+ | **Centralized** | Simple tasks — single coordinator, minimal overhead |
164
+ | **Hybrid** | Mixed — star topology with selective mesh connections |
152
165
 
153
- **Consensus protocols:** Raft (leader-based), Byzantine (fault-tolerant), Gossip (eventually consistent), CRDT (conflict-free), Quorum (majority vote).
154
-
155
- <p align="center">
156
- <img src="assets/swarm-topology.png" alt="Swarm Topology" width="60%" />
157
- </p>
166
+ **Consensus algorithms:** Raft (leader-based), Byzantine (fault-tolerant up to f < n/3), Gossip (eventually consistent), CRDT (conflict-free), Quorum (majority vote).
158
167
 
159
168
  ```bash
160
- # Let Monomind pick the best topology
161
- /mastermind
162
-
163
- # Or configure manually
169
+ /mastermind # topology picker recommends the best option for your task
164
170
  monomind swarm init --topology hierarchical --agents 8 --strategy specialized
165
171
  ```
166
172
 
167
- ### Self-Learning Memory
173
+ ### Self-Learning Memory — The Memory Palace
168
174
 
169
175
  Every interaction makes Monomind smarter:
170
176
 
171
- - **AgentDB** Persistent vector memory with HNSW indexing (150x-12,500x faster search)
172
- - **Knowledge Graph** — Full dependency mapping of your codebase via Graphify
173
- - **Session Continuity** Pick up exactly where you left off across sessions
174
- - **Neural Patterns** SONA learning adapts routing and agent behavior over time
175
- - **Memory Palace** Visual dashboard for exploring stored knowledge
176
-
177
- <p align="center">
178
- <img src="assets/memory-palace.png" alt="Memory Palace — Browse memories, sessions, knowledge, and swarms" width="100%" />
179
- </p>
177
+ | Layer | What It Stores | Tech |
178
+ |---|---|---|
179
+ | **Short-term** | In-flight context (current session) | SQLite + in-memory cache |
180
+ | **Long-term** | Persistent knowledge and patterns | AgentDB + HNSW |
181
+ | **Contextual** | Summarized episode clusters | RAPTOR consolidation worker |
182
+ | **Shared** | Cross-agent state and promotions | PartitionedHNSW |
180
183
 
181
- ### 17 Hooks + 12 Background Workers
184
+ - **150x–12,500x faster** semantic search via HNSW indexing
185
+ - **Hybrid backend** — SQLite for structured data + AgentDB for semantic
186
+ - **BM25 + vector** hybrid retrieval — precision + recall
187
+ - **Session continuity** — pick up exactly where you left off
182
188
 
183
- Monomind hooks into every phase of your Claude Code workflow:
189
+ ### Knowledge Graph Monograph
184
190
 
185
- | Hook | What It Does |
186
- |---|---|
187
- | `pre-task` | Routes to the best agent before execution starts |
188
- | `post-task` | Learns from outcomes, updates neural patterns |
189
- | `pre-edit` | Validates changes against project conventions |
190
- | `post-edit` | Indexes new code into the knowledge graph |
191
- | `session-start` | Restores context, preloads relevant memory |
192
- | `session-end` | Persists learnings, updates metrics |
191
+ 30 graph tools that build a full dependency map of your codebase:
193
192
 
194
- **Background workers** handle: optimization, consolidation, prediction, auditing, documentation, refactoring, benchmarking, and test gap analysis — all running autonomously.
193
+ ```bash
194
+ monograph_suggest "add webhook retry logic" # → ranked relevant files
195
+ monograph_query "UserService dependencies" # → file paths + line numbers
196
+ monograph_god_nodes # → high-centrality files
197
+ monograph_impact "auth.ts" # → blast radius before changing
198
+ ```
195
199
 
196
- ---
200
+ Queried automatically before every task. No manual invocation needed.
197
201
 
198
- ## Agent Catalog
202
+ ### Neural Learning — SONA
199
203
 
200
- ### Development
204
+ Self-Optimizing Neural Adaptation learns from every task:
201
205
 
202
- | Agent | Specialty |
203
- |---|---|
204
- | `coder` | General implementation with TDD |
205
- | `backend-dev` | APIs, databases, server-side logic |
206
- | `Frontend Developer` | React, Vue, Angular, CSS systems |
207
- | `mobile-dev` | React Native, iOS, Android |
208
- | `Rapid Prototyper` | Fast MVPs and proof-of-concepts |
209
- | `Solidity Smart Contract Engineer` | EVM, DeFi, gas optimization |
210
- | `WeChat Mini Program Developer` | WXML/WXSS, WeChat ecosystem |
211
- | `Embedded Firmware Engineer` | ESP32, ARM Cortex-M, FreeRTOS |
212
- | `visionOS Spatial Engineer` | SwiftUI volumetric, Liquid Glass |
213
-
214
- ### Architecture & Quality
215
-
216
- | Agent | Specialty |
217
- |---|---|
218
- | `Software Architect` | System design, DDD, architectural patterns |
219
- | `Code Reviewer` | Correctness, security, performance review |
220
- | `Security Engineer` | Threat modeling, vulnerability assessment |
221
- | `Database Optimizer` | Schema design, query tuning, indexing |
222
- | `SRE` | SLOs, error budgets, chaos engineering |
206
+ | Mode | Use Case | Latency |
207
+ |---|---|---|
208
+ | **Real-time** | Interactive sessions | <0.05ms |
209
+ | **Balanced** | General usage | 2-5ms |
210
+ | **Research** | Deep analysis | 50ms |
211
+ | **Edge** | Low-resource | <0.01ms |
212
+ | **Batch** | Offline training | |
223
213
 
224
- ### Marketing & Growth
214
+ - **LoRA fine-tuning** — rank 1–16, domain-specific adaptation
215
+ - **EWC++ memory preservation** — λ 1500–2500, prevents catastrophic forgetting
216
+ - **Reasoning Bank** — 3-tier storage: volatile / pattern / principle
225
217
 
226
- | Agent | Specialty |
227
- |---|---|
228
- | `SEO Specialist` | Technical SEO, content optimization |
229
- | `TikTok Strategist` | Viral content, algorithm optimization |
230
- | `LinkedIn Content Creator` | Thought leadership, professional content |
231
- | `Growth Hacker` | Viral loops, conversion funnels |
232
- | `Content Creator` | Multi-platform editorial calendars |
218
+ ### 3-Tier Model Routing
233
219
 
234
- ### Game Development
220
+ Monomind routes every task to the cheapest model that can handle it:
235
221
 
236
- | Agent | Specialty |
237
- |---|---|
238
- | `Unity Architect` | ScriptableObjects, modular systems |
239
- | `Unreal Systems Engineer` | C++/Blueprint, Nanite, Lumen |
240
- | `Godot Gameplay Scripter` | GDScript 2.0, signal architecture |
241
- | `Roblox Systems Scripter` | Luau, client-server, DataStore |
222
+ | Tier | Handler | Latency | Cost | Use Cases |
223
+ |---|---|---|---|---|
224
+ | **1** | Agent Booster (WASM) | <1ms | $0 | Simple transforms — skip the LLM |
225
+ | **2** | Haiku | ~500ms | $0.0002 | Low-complexity tasks (<30%) |
226
+ | **3** | Sonnet / Opus | 2-5s | $0.003-0.015 | Complex reasoning, architecture |
242
227
 
243
- [See all 230 agents →](.claude/agents/)
228
+ ### 29+ Hooks + 12 Background Workers
244
229
 
245
- ---
230
+ Monomind hooks into every phase of your Claude Code workflow:
246
231
 
247
- ## Swarm Orchestration
232
+ | Hook | What It Does |
233
+ |---|---|
234
+ | `pre-task` | Routes to the best agent, suggests topology |
235
+ | `post-task` | Learns from outcomes, updates neural patterns |
236
+ | `pre-edit` | Context suggestions, blast radius check |
237
+ | `post-edit` | Indexes new code into the knowledge graph |
238
+ | `session-start` | Restores context, preloads relevant memory |
239
+ | `session-end` | Persists learnings, updates metrics |
248
240
 
249
- ### How Swarms Work
241
+ **Background workers** (12 total): ultralearn, optimize, consolidate, predict, audit, map, preload, deepdive, document, refactor, benchmark, testgaps — all autonomous.
250
242
 
251
- <p align="center">
252
- <img src="assets/swarm-inspector.png" alt="Swarm Inspector — topology graph, agent roles, and communication logs" width="100%" />
253
- </p>
243
+ ---
254
244
 
255
- ```
256
- /mastermind "implement authentication system with OAuth2, JWT, and role-based access"
245
+ ## Live Dashboard
257
246
 
258
- Monomind recommends: Hierarchical swarm, 6 agents, Raft consensus
247
+ Real-time visibility into every project, session, agent, memory operation, route decision, and token spend.
259
248
 
260
- Queen Coordinator
261
- ├── Software Architect designs auth architecture
262
- ├── backend-dev → implements OAuth2 flow
263
- ├── backend-dev → implements JWT + RBAC
264
- ├── Security Engineer → audits for vulnerabilities
265
- ├── tester → writes auth test suite
266
- └── Code Reviewer → reviews everything before merge
249
+ ```bash
250
+ monomind daemon start # starts background workers and session tracking
267
251
  ```
268
252
 
269
- ### Anti-Drift Protection
270
-
271
- Swarms don't just run — they **stay on track**:
272
-
273
- - **Raft consensus** — Leader maintains authoritative state, prevents conflicting changes
274
- - **Frequent checkpoints** — `post-task` hooks validate progress after every step
275
- - **Shared memory namespace** — All agents in a swarm see the same context
276
- - **Review cycles** — Code reviewer validates before any task is marked done
253
+ Sessions are fully recorded and replayable — full conversation replay with tool breakdown, agent spawns, and memory operations.
277
254
 
278
255
  ---
279
256
 
280
257
  ## Commands
281
258
 
282
- ### Slash Commands (Inside Claude Code)
283
-
284
- | Command | What It Does |
285
- |---|---|
286
- | `/monomind:createtask <spec>` | Ingests a prompt, file, or folder → generates full implementation plan → creates self-contained tasks on monotask |
287
- | `/monomind:idea <prompt>` | Research swarm generates ideas → PM evaluates → architect decomposes into tasks |
288
- | `/monomind:do` | Picks up tasks, executes with assigned agents, reviews, fixes bugs, loops |
289
- | `/mastermind` | Analyzes your task and recommends the optimal swarm topology |
290
- | `/specialagent <task>` | Two-stage LLM routing to find the perfect specialist agent |
291
-
292
- ### CLI Commands
259
+ ### 53+ CLI Commands
293
260
 
294
261
  ```bash
295
- monomind agent spawn --type coder # Spawn a specific agent
296
- monomind agent list # List running agents
297
- monomind swarm init # Initialize a swarm
298
- monomind memory search "auth patterns" # Search vector memory
299
- monomind hooks route --task "fix bug" # Route to best agent
300
- monomind doctor --fix # Diagnose and fix issues
301
- monomind daemon start # Start background workers
262
+ monomind init # Project initialization wizard
263
+ monomind agent spawn --type coder # Spawn a specific agent
264
+ monomind swarm init --topology mesh # Initialize a swarm
265
+ monomind memory search "auth patterns" # Search vector memory
266
+ monomind hooks route --task "fix bug" # Route to best agent
267
+ monomind neural train --flash # enable Flash Attention optimization
268
+ monomind doctor --fix # Diagnose and auto-fix issues
269
+ monomind daemon start # Start background workers
302
270
  ```
303
271
 
304
- 41 CLI commands across: agent management, swarm coordination, memory, sessions, hooks, neural training, security, performance profiling, and more.
272
+ **[→ Full CLI reference](https://monoes.github.io/monomind/#commands)**
305
273
 
306
- ### Session Inspector
274
+ ### 160+ Slash Commands (inside Claude Code)
307
275
 
308
- Every session is recorded and browsable — tool calls, agent spawns, memory operations, and full conversation replay:
309
-
310
- <p align="center">
311
- <img src="assets/session-detail.png" alt="Session Inspector full conversation replay with tool breakdown" width="100%" />
312
- </p>
313
-
314
- ---
276
+ | Command | What It Does |
277
+ |---|---|
278
+ | `/mastermind:autodev` | Autonomous research → build → review loop |
279
+ | `/mastermind:review --tillend` | Keep reviewing and auto-fixing until clean |
280
+ | `/mastermind:build <brief>` | Build a specific feature with an agent chain |
281
+ | `/mastermind:architect` | System architecture design and review |
282
+ | `/mastermind:research` | Deep research with structured output |
283
+ | `/monomind:createtask` | Decompose a spec into executable tasks |
284
+ | `/monomind:idea` | Research → evaluate → create implementation tasks |
285
+ | `/monomind:do` | Execute tasks from the board with parallel agents |
286
+ | `/monomind:review` | Multi-agent iterative review with auto-fix |
287
+ | `/mastermind` | Topology picker — recommends best swarm for your task |
315
288
 
316
- ## Memory & Intelligence
289
+ **[→ Full slash command reference](https://monoes.github.io/monomind/#slash)**
317
290
 
318
- ### Knowledge Graph (Monograph)
291
+ ### `--tillend` Fully Autonomous Loops
319
292
 
320
- Monomind builds a full dependency graph of your codebase automatically queried before every task:
293
+ Any command can run autonomously until there's nothing left to do:
321
294
 
322
295
  ```bash
323
- # What files are relevant to my task?
324
- monograph_suggest "add webhook retry logic"
325
- # → returns ranked list of files with relevance scores
296
+ /mastermind:autodev --tillend --focus security
297
+ # runs until every security issue is found and fixed
326
298
 
327
- # What depends on UserService?
328
- monograph_query "UserService dependencies"
329
- # → returns file paths + line numbers
299
+ /mastermind:review --tillend --auto
300
+ # reviews and fixes until zero findings
330
301
 
331
- # Find the most connected files in the codebase
332
- monograph_god_nodes
333
- # → returns high-centrality internal files (external/test filtered out)
302
+ /mastermind:autodev 5 --tillend --maxruns 20
303
+ # → 5 improvements per session, up to 20 sessions
334
304
  ```
335
305
 
336
- All monograph tools are called automatically by hooks and slash commands you don't need to invoke them manually.
337
-
338
- ### Vector Memory (AgentDB + HNSW)
339
-
340
- Every insight, pattern, and decision is stored in searchable vector memory:
306
+ The loop uses `ScheduleWakeup` to resume across sessions. A staleness guard prevents duplicate runs. Human-in-loop items pause and wait for your response before continuing.
341
307
 
342
- - **150x-12,500x faster** than brute-force search via HNSW indexing
343
- - **Hybrid backend** SQLite for structured data, AgentDB for semantic search
344
- - **Cross-session persistence** — context survives restarts
345
-
346
- ### Neural Learning (SONA)
347
-
348
- Self-Optimizing Neural Adaptation learns from every task:
349
-
350
- - Pattern recognition improves agent routing over time
351
- - Trajectory tracking identifies what works and what doesn't
352
- - Automatic model adaptation with <0.05ms overhead
308
+ ```bash
309
+ # Stop a loop at any time
310
+ touch .monomind/loops/{loop-id}.stop
311
+ ```
353
312
 
354
313
  ---
355
314
 
356
315
  ## Architecture
357
316
 
358
317
  ```
359
- ┌─────────────────────────────────────────────────────────────┐
360
- Monomind
361
- ├──────────────┬──────────────┬──────────────┬───────────────┤
362
- 230+ Agents │ Swarm Engine Memory Layer │ Intelligence │
363
- │ │ │
364
- │ Specialized Hierarchical AgentDB │ SONA Neural │
365
- │ agent defs Mesh/Raft HNSW Vector Pattern
366
- │ + routing consensus Knowledge Learning
367
- Graph
368
- ├──────────────┴──────────────┴──────────────┴───────────────┤
369
- 17 Hooks + 12 Workers
370
- ├─────────────────────────────────────────────────────────────┤
371
- MCP Server (stdio/http/websocket)
372
- ├─────────────────────────────────────────────────────────────┤
373
- Claude Code Runtime │
374
- └─────────────────────────────────────────────────────────────┘
318
+ ┌─────────────────────────────────────────────────────────────────┐
319
+ Monomind
320
+ ├─────────────────┬───────────────┬──────────────┬───────────────┤
321
+ 230+ Agents │ Swarm Engine Memory Palace │ Intelligence │
322
+ │ │ │
323
+ │ Specialized 6 topologies AgentDB HNSW │ SONA Neural │
324
+ │ agent defs 5 consensusKnowledge 3-tier
325
+ │ + 3-tier algorithms Graph routing
326
+ routing (Monograph) <0.05ms
327
+ ├─────────────────┴───────────────┴──────────────┴───────────────┤
328
+ 29+ Hooks + 12 Background Workers
329
+ ├─────────────────────────────────────────────────────────────────┤
330
+ MCP Server (stdio / http / WebSocket)
331
+ ├─────────────────────────────────────────────────────────────────┤
332
+ Claude Code Runtime │
333
+ └─────────────────────────────────────────────────────────────────┘
375
334
  ```
376
335
 
377
336
  ### Key Packages
378
337
 
338
+ The workspace ships 17 `@monomind/*` packages:
339
+
379
340
  | Package | Purpose |
380
341
  |---|---|
381
- | `@monomind/cli` | 41 commands, agent definitions, slash commands, hooks, MCP server |
382
- | `@monomind/memory` | AgentDB with HNSW vector search |
383
- | `@monomind/hooks` | 17 lifecycle hooks + 12 background workers |
384
- | `@monomind/security` | Input validation, CVE remediation |
385
- | `@monomind/guidance` | Governance control plane |
342
+ | `@monoes/monomindcli` | CLI entry point — 43 top-level commands, 230+ agent defs, 160+ slash commands, hooks, MCP server |
343
+ | `@monomind/memory` | AgentDB + HNSW vector search, PartitionedHNSW, TierManager, hybrid SQLite backend |
344
+ | `@monomind/hooks` | Lifecycle hook bridge, 12 background workers (ultralearn, optimize, consolidate, predict, audit, map, preload, deepdive, document, refactor, benchmark, testgaps) |
345
+ | `@monomind/neural` | SONA manager, LoRA weight adaptation, EWC++ Fisher updates, 5 operating modes |
346
+ | `@monomind/monograph` | Knowledge graph construction, 30 MCP tools, BM25 + semantic search |
347
+ | `@monomind/graph` | AST-based node/edge extraction, community detection, RAPTOR consolidation |
348
+ | `@monomind/swarm` | UnifiedSwarmCoordinator, 6 topologies, 5 consensus algorithms |
349
+ | `@monomind/security` | Input validation, prompt injection detection, CVE remediation, gVisor sandbox |
350
+ | `@monomind/mcp` | MCP server transport (stdio / http / WebSocket) |
351
+ | `@monomind/routing` | Two-stage LLM + keyword agent routing, confidence scoring |
352
+ | `@monomind/embeddings` | Vector embedding generation and management |
353
+ | `@monomind/performance` | Profiling, benchmarking, latency tracking |
354
+ | `@monomind/plugins` | IPFS/Pinata plugin registry, install/create/list |
355
+ | `@monomind/claims` | Claims-based authorization for agent actions |
356
+ | `@monomind/aidefence` | Adversarial input detection, semantic scanning |
357
+ | `@monomind/guidance` | Governance control plane, workflow templates, budget management |
358
+ | `@monomind/shared` | Shared types, constants, utilities |
386
359
 
387
360
  ---
388
361
 
389
362
  ## Performance
390
363
 
391
- | Metric | Result |
392
- |---|---|
393
- | Agent routing | <2s (LLM) / <5ms (keyword fallback) |
394
- | Vector search | 150x-12,500x faster (HNSW) |
395
- | SONA learning | <0.05ms per adaptation |
396
- | Session restore | <500ms cold start |
397
- | Memory reduction | 50-75% vs baseline |
364
+ | Metric | Result | Notes |
365
+ |---|---|---|
366
+ | Vector search speedup | 150x–12,500x via HNSW | Range from Malkov & Yashunin 2018; HNSW implemented in `hnsw-index.ts` |
367
+ | Flash Attention speedup | 2.49x–7.47x | CPU-side attention optimization in `ruvector/flash-attention.ts`; marked in-progress |
368
+ | SONA adaptation target | <0.05ms | Enforced as SLA with runtime warning; marked in-progress |
369
+ | Agent routing (LLM) | <2s | Target; Haiku-based routing |
370
+ | Agent routing (fallback) | <5ms | Keyword scoring path |
371
+ | Session restore | <500ms cold start | Target |
372
+ | Memory reduction | 50–75% vs baseline | Target |
398
373
 
399
374
  ---
400
375
 
401
376
  ## Who Uses Monomind?
402
377
 
403
- Monomind is built for teams and individuals who use Claude Code for serious engineering work:
378
+ - **Solo developers** the power of a full engineering team from one terminal
379
+ - **Startups** — ship features 10x faster with autonomous agent pipelines
380
+ - **Enterprise teams** — coordinate complex multi-module changes without drift
381
+ - **Security teams** — automate audit, CVE triage, and compliance workflows
382
+ - **Game studios** — Unity, Unreal, Godot, and Roblox specialists on demand
383
+ - **Marketing teams** — content operations with 27 domain-specific marketing agents
384
+
385
+ ---
386
+
387
+ ## Documentation
388
+
389
+ **Full interactive documentation:** **[monoes.github.io/monomind](https://monoes.github.io/monomind/)**
404
390
 
405
- - **Solo developers** who want the power of a full engineering team
406
- - **Startups** shipping features faster with autonomous agent pipelines
407
- - **Enterprise teams** coordinating complex multi-module changes
408
- - **Game studios** using specialized Unity/Unreal/Godot agents
409
- - **Marketing teams** running content operations with domain-specific agents
410
- - **Security teams** automating audit and compliance workflows
391
+ | Section | Description |
392
+ |---|---|
393
+ | [Getting Started](https://monoes.github.io/monomind/#getting-started) | Install, configure MCP, run first autonomous loop |
394
+ | [Architecture](https://monoes.github.io/monomind/#architecture) | Package map, agent hierarchy, data flows |
395
+ | [Memory & Knowledge](https://monoes.github.io/monomind/#memory) | Memory Palace tiers, AgentDB, Monograph graph tools |
396
+ | [Hooks & Workers](https://monoes.github.io/monomind/#hooks) | 29+ hook events, 12 workers, settings.json wiring |
397
+ | [Swarm Coordination](https://monoes.github.io/monomind/#swarm) | 6 topologies, 5 consensus algorithms, agent hierarchy |
398
+ | [Neural Learning](https://monoes.github.io/monomind/#neural) | SONA modes, LoRA, EWC++, Reasoning Bank |
399
+ | [CLI Commands](https://monoes.github.io/monomind/#commands) | All 53+ commands with flags and examples |
400
+ | [Slash Commands](https://monoes.github.io/monomind/#slash) | All 160+ slash commands across 22 categories |
401
+ | [Mastermind](https://monoes.github.io/monomind/#mastermind) | autodev loop, --tillend mechanics, Brain protocol |
411
402
 
412
403
  ---
413
404
 
@@ -426,7 +417,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
426
417
 
427
418
  ## License
428
419
 
429
- MIT License — See [LICENSE](LICENSE) for details.
420
+ MIT — See [LICENSE](LICENSE) for details.
430
421
 
431
422
  ---
432
423
 
@@ -435,7 +426,83 @@ MIT License — See [LICENSE](LICENSE) for details.
435
426
  </p>
436
427
 
437
428
  <p align="center">
429
+ <a href="https://monoes.github.io/monomind/">📖 Docs</a> &nbsp;&bull;&nbsp;
438
430
  <a href="https://www.npmjs.com/package/monomind">npm</a> &nbsp;&bull;&nbsp;
439
431
  <a href="https://github.com/nokhodian/monomind">GitHub</a> &nbsp;&bull;&nbsp;
440
432
  <a href="https://github.com/nokhodian/monomind/issues">Issues</a>
441
433
  </p>
434
+
435
+ ---
436
+
437
+ ## Acknowledgements
438
+
439
+ Monomind builds on ideas, patterns, and research from the following projects:
440
+
441
+ | Repository | Used for |
442
+ |---|---|
443
+ | [ruvnet/ruflo](https://github.com/ruvnet/ruflo) | Original skeleton that provided the foundational hooks system, swarm coordination, and SPARC agent methodology. |
444
+ | [msitarzewski/agency-agents](https://github.com/msitarzewski/agency-agents) | Informs the multi-agent instruction file layout and specialist agent catalog design. |
445
+ | [microsoft/autogen](https://github.com/microsoft/autogen) | Provides the human-in-the-loop interrupt gate pattern and auto-retry tool logic in `@monomind/hooks`. |
446
+ | [crewAIInc/crewAI](https://github.com/crewAIInc/crewAI) | Provides the multi-tier memory architecture (`ShortTermMemory`, `EntityMemory`, `ContextualMemory`, `LongTermMemory`) in `@monomind/memory`. |
447
+ | [langchain-ai/langgraph](https://github.com/langchain-ai/langgraph) | Provides the `SwarmCheckpointer` graph-checkpoint-and-resume pattern and fan-out/fan-in workflow DSL. |
448
+ | [All-Hands-AI/OpenHands](https://github.com/All-Hands-AI/OpenHands) | Provides the per-agent `SandboxConfig` sandboxing model and EventStream session replay architecture. |
449
+ | [agno-agi/agno](https://github.com/agno-agi/agno) | Provides the `AgentMemory` knowledge-base architecture and team-level agent coordination class. |
450
+ | [huggingface/smolagents](https://github.com/huggingface/smolagents) | Provides the explicit planning-before-execution step in `LATSPlanner` and the `PlanStore` persistence layer. |
451
+ | [pydantic/pydantic-ai](https://github.com/pydantic/pydantic-ai) | Provides typed agent I/O schema patterns and auto-retry-on-validation-failure used throughout agent contracts. |
452
+ | [BerriAI/atomic-agents](https://github.com/KRunchPL/atomic-agents) | Provides `BaseIOSchema` typed agent contracts and `SystemPromptContextProvider` composition patterns. |
453
+ | [stanfordnlp/dspy](https://github.com/stanfordnlp/dspy) | Provides the `BootstrapFewShot`/MIPRO prompt optimization pipeline and Bayesian exploration in `PromptOptimizer.optimize()`. |
454
+ | [aurelio-labs/semantic-router](https://github.com/aurelio-labs/semantic-router) | Provides the utterance-based `RouteLayer` that replaced static routing codes in the agent dispatcher. |
455
+ | [langfuse/langfuse](https://github.com/langfuse/langfuse) | Provides the trace/span/generation observability hierarchy and prompt version management in `@monomind/hooks`. |
456
+ | [karpathy/autoresearch](https://github.com/karpathy/autoresearch) | Provides the BASELINE/KEEP/DISCARD experiment loop protocol and time-budget pattern used in `@monomind/graph`. |
457
+ | [safishamsi/graphify](https://github.com/safishamsi/graphify) | Provides the AST-based knowledge graph construction, Louvain community detection, and `GRAPH_REPORT.md` format that form `@monomind/graph`. |
458
+ | [google/gvisor](https://gvisor.dev) | Provides the `runsc` OCI runtime that reduces container syscall surface to ~50 interceptions, wired into `SandboxConfig.use_gvisor`. |
459
+ | [Indirect Injection research](https://arxiv.org/abs/2302.12173) | `validateExternalContent()` in `@monomind/security` applies the injection pattern detection to all externally-sourced tool content. |
460
+ | [FOREVER Forgetting Curve](https://arxiv.org/html/2601.03938v1) | `LearningBridge.decayConfidences()` implements the importance-weighted exponential forgetting curve (`importanceScore × e^(−λt)`). |
461
+ | [Awesome RLVR](https://github.com/opendilab/awesome-RLVR) | `hooksModelOutcome` `verifier_type` field (tsc/vitest/eslint/llm_judge) provides grounded binary reward signals. |
462
+ | [ERL — Experiential Reflective Learning](https://arxiv.org/abs/2603.24639) | Structured `{condition, action, confidence}` heuristics extracted at `hooks_post-task` and injected as ranked hints into `hooks_pre-task`. |
463
+ | [A-MEM — Agentic Memory](https://arxiv.org/abs/2502.12110) | Auto-links top-3 HNSW neighbors via `bridgeRecordCausalEdge` after every `bridgeStoreEntry` call in `@monomind/memory`. |
464
+ | [Collaborative Memory Promotion](https://arxiv.org/abs/2505.18279) | `checkAndPromoteEntry()` in `SQLiteBackend` auto-promotes entries from `private` to `team` scope after 3+ distinct agent reads within 24 h. |
465
+ | [Zep / Graphiti — Bi-Temporal Knowledge Graph](https://arxiv.org/abs/2501.13956) | `MemoryEntry.eventAt` separates event time T from ingestion time T' for bi-temporal filtering without index rebuilds. |
466
+ | [HippoRAG 2 — PPR Graph Retrieval](https://arxiv.org/abs/2405.14831) | `MemoryGraph.pprRerank()` expands HNSW candidates one hop via `MemoryEntry.references` edges. |
467
+ | [RAPTOR — Recursive Abstractive Tree Indexing](https://arxiv.org/abs/2401.18059) | `RaptorWorker` clusters episodic entries, summarizes each cluster, and stores results as `contextual`-tier entries. |
468
+ | [Multi-Agent Reflexion (MAR)](https://arxiv.org/html/2512.20845) | `hooks_post-task` returns `marReflection` on task failure via a Diagnoser/Critic/Aggregator reflection loop. |
469
+ | [TextGrad](https://arxiv.org/abs/2406.07496) | Stores `textual_gradient` critiques to the `gradients` memory namespace for injection into the next prompt on failure. |
470
+ | [CP-WBFT](https://arxiv.org/abs/2511.10400) | `weightedTally()` scales each agent's vote by confidence in `@monomind/hooks` hive-mind consensus (AAAI 2026). |
471
+ | [GraphRAG](https://arxiv.org/abs/2404.16130) | `MemoryGraph.getCommunitySummaries()` prepends community-level descriptors to semantic search results. |
472
+ | [MemPalace](https://github.com/nokhodian/mempalace) | Foundation of the memory palace system with BM25 verbatim retrieval, Wing/Room/Hall hierarchy, and temporal knowledge graph. |
473
+ | [vercel-labs/agent-browser](https://github.com/vercel-labs/agent-browser) | Native Rust CDP client architecture that powers `npx monomind browse`. |
474
+ | [AgentSeal/codeburn](https://github.com/AgentSeal/codeburn) | Token cost attribution model tracking spend by task, tool, model, and project used in `features/codeburn.md`. |
475
+ | [fallow-rs/fallow](https://github.com/fallow-rs/fallow) | Dead code detection patterns used in `monograph-tools.ts` via `deadCodePct()` and `unusedDepsPct()`. |
476
+ | [pbakaus/impeccable](https://github.com/pbakaus/impeccable) | 27-pattern HTML/CSS anti-pattern detection CLI integrated via `npx impeccable detect` in the `monodesign` skill. |
477
+ | [hardikpandya/stop-slop](https://github.com/hardikpandya/stop-slop) | Directly integrated as the `stop-slop` skill for detecting and removing AI writing tells from prose. |
478
+ | [obra/superpowers](https://github.com/obra/superpowers) | Forms the complete `superpowers` skill layer providing brainstorming, TDD, systematic debugging, and finishing workflows. |
479
+ | [Lum1104/Understand-Anything](https://github.com/Lum1104/Understand-Anything) | Informs `monomind:understand` semantic enrichment and `@monomind/graph` knowledge graph traversal architecture. |
480
+ | [nextlevelbuilder/ui-ux-pro-max-skill](https://github.com/nextlevelbuilder/ui-ux-pro-max-skill) | Provides the design system methodology and component-first craft approach that forms the `monodesign` skill. |
481
+ | [paperclipai/paperclip](https://github.com/paperclipai/paperclip) | Autonomous business workflow patterns that informed `mastermind:ops`, `mastermind:finance`, and `mastermind:sales`. |
482
+
483
+ ---
484
+
485
+ ## Research Acknowledgements
486
+
487
+ Monomind implements techniques from peer-reviewed research across distributed systems, machine learning, and software engineering:
488
+
489
+ | Technique | Paper | Applied In |
490
+ |---|---|---|
491
+ | HNSW approximate nearest neighbor | Malkov & Yashunin, 2018 — *Efficient and Robust ANN* | `HNSWIndex` and `HnswLite` in `@monomind/memory` vector search |
492
+ | Flash Attention | Dao et al., 2022 — *Fast and Memory-Efficient Exact Attention* | Session context compression in `@monomind/hooks` |
493
+ | LoRA fine-tuning | Hu et al., 2021 — *Low-Rank Adaptation of Large Language Models* | Pattern distillation DISTILL step in `RvfLearningStore` |
494
+ | EWC (Elastic Weight Consolidation) | Kirkpatrick et al., 2017 — *Overcoming Catastrophic Forgetting* | CONSOLIDATE step session persistence in `@monomind/memory` |
495
+ | Byzantine fault tolerance | Castro & Liskov, 1999 — *Practical Byzantine Fault Tolerance* | `weightedTally()` in CP-WBFT hive-mind consensus |
496
+ | Raft consensus | Ongaro & Ousterhout, 2014 — *In Search of an Understandable Consensus Algorithm* | `RaftManager` swarm coordinator state machine |
497
+ | CRDT data structures | Shapiro et al., 2011 — *Conflict-Free Replicated Data Types* | `CrdtSynchronizer` for eventually consistent agent memory |
498
+ | Gossip protocols | Demers et al., 1987 — *Epidemic Algorithms for Replicated Database Maintenance* | `GossipCoordinator` cross-agent state propagation |
499
+ | Mixture of Experts | Shazeer et al., 2017 — *Outrageously Large Neural Networks* | MoE semantic router for agent task routing |
500
+ | Hyperbolic embeddings | Nickel & Kiela, 2017 — *Poincaré Embeddings for Learning Hierarchical Representations* | Code graph hierarchical vector space in `@monomind/memory` |
501
+ | Int8 quantization | Dettmers et al., 2022 — *LLM.int8(): 8-bit Matrix Multiplication for Transformers* | Weight compression for neural pattern memory footprint reduction |
502
+ | GOAP planning | Orkin, 2004 — *Applying Goal-Oriented Action Planning to Games* | `code-goal-planner` and `sublinear-goal-planner` agents |
503
+ | Self-play RL | Silver et al., 2017 — *Mastering Chess and Shogi by Self-Play* | Pattern reinforcement loop in ReasoningBank |
504
+ | Hierarchical memory | Tulving, 1972 — *Episodic and Semantic Memory* | AgentDB episodic/semantic namespace split in `@monomind/memory` |
505
+ | PageRank influence | Page et al., 1998 — *The PageRank Citation Ranking* | `pagerank-analyzer` agent and `MemoryGraph` graph centrality scoring |
506
+ | Hindsight Experience Replay | Andrychowicz et al., 2017 — *HER: Hindsight Experience Replay* | HER policy learner in the RL router |
507
+ | SPARC methodology | Agile/TDD literature | `sparc-coord`, `sparc-coder`, `specification`, `pseudocode`, and `refinement` agents |
508
+ | Sublinear algorithms | Various — approximation theory | `sublinear-goal-planner`, `matrix-optimizer`, and `trading-predictor` agents |