monomind 1.10.47 → 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 (414) 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/commands/monomind/do.md +52 -0
  41. package/.claude/commands/monomind/improve.md +2 -0
  42. package/.claude/helpers/handlers/graph-status-handler.cjs +2 -1
  43. package/.claude/helpers/handlers/route-handler.cjs +61 -11
  44. package/.claude/helpers/hook-handler.cjs +19 -0
  45. package/.claude/helpers/skill-registry.json +122 -51
  46. package/.claude/helpers/statusline.cjs +1 -1
  47. package/.claude/scheduled_tasks.lock +1 -0
  48. package/.claude/skills/agent-browser-testing/SKILL.md +522 -152
  49. package/.claude/skills/github-issue-triage/SKILL.md +354 -0
  50. package/.claude/skills/github-repo-recap/SKILL.md +207 -0
  51. package/.claude/skills/mastermind/_delegation.md +83 -0
  52. package/.claude/skills/mastermind/_protocol.md +14 -0
  53. package/.claude/skills/mastermind/approve.md +15 -7
  54. package/.claude/skills/mastermind/autodev.md +534 -0
  55. package/.claude/skills/mastermind/createorg.md +21 -5
  56. package/.claude/skills/mastermind/debug.md +232 -0
  57. package/.claude/skills/mastermind/design.md +187 -0
  58. package/.claude/skills/mastermind/execute.md +104 -0
  59. package/.claude/skills/mastermind/finish.md +251 -0
  60. package/.claude/skills/mastermind/plan.md +180 -0
  61. package/.claude/skills/mastermind/receive-review.md +213 -0
  62. package/.claude/skills/mastermind/runorg.md +23 -8
  63. package/.claude/skills/mastermind/skill-builder.md +274 -0
  64. package/.claude/skills/mastermind/taskdev.md +307 -0
  65. package/.claude/skills/mastermind/tdd.md +394 -0
  66. package/.claude/skills/mastermind/verify.md +196 -0
  67. package/.claude/skills/mastermind/worktree.md +160 -132
  68. package/.claude-plugin/docs/QUICKSTART.md +0 -3
  69. package/.claude-plugin/docs/STRUCTURE.md +1 -5
  70. package/.claude-plugin/scripts/verify.sh +0 -6
  71. package/README.md +320 -253
  72. package/package.json +1 -1
  73. package/packages/@monomind/cli/README.md +320 -253
  74. package/packages/@monomind/cli/dist/src/commands/analyze.js +9 -2
  75. package/packages/@monomind/cli/dist/src/commands/completions.js +1 -1
  76. package/packages/@monomind/cli/dist/src/commands/guidance.js +7 -7
  77. package/packages/@monomind/cli/dist/src/commands/hooks.js +16 -3
  78. package/packages/@monomind/cli/dist/src/commands/index.d.ts +3 -2
  79. package/packages/@monomind/cli/dist/src/commands/index.js +7 -0
  80. package/packages/@monomind/cli/dist/src/commands/init.js +47 -13
  81. package/packages/@monomind/cli/dist/src/commands/neural.js +100 -14
  82. package/packages/@monomind/cli/dist/src/commands/platforms.d.ts +11 -0
  83. package/packages/@monomind/cli/dist/src/commands/platforms.js +195 -0
  84. package/packages/@monomind/cli/dist/src/commands/update.js +6 -6
  85. package/packages/@monomind/cli/dist/src/init/executor.js +28 -0
  86. package/packages/@monomind/cli/dist/src/init/statusline-generator.js +1 -1
  87. package/packages/@monomind/cli/dist/src/init/types.d.ts +1 -0
  88. package/packages/@monomind/cli/dist/src/mcp-server.js +92 -0
  89. package/packages/@monomind/cli/dist/src/mcp-tools/hive-mind-tools.js +52 -0
  90. package/packages/@monomind/cli/dist/src/mcp-tools/hooks-tools.js +106 -5
  91. package/packages/@monomind/cli/dist/src/mcp-tools/index.d.ts +0 -5
  92. package/packages/@monomind/cli/dist/src/mcp-tools/index.js +0 -5
  93. package/packages/@monomind/cli/dist/src/mcp-tools/monograph-tools.js +507 -5587
  94. package/packages/@monomind/cli/dist/src/mcp-tools/neural-tools.js +64 -4
  95. package/packages/@monomind/cli/dist/src/mcp-tools/security-tools.js +4 -4
  96. package/packages/@monomind/cli/dist/src/memory/intelligence.d.ts +2 -2
  97. package/packages/@monomind/cli/dist/src/memory/intelligence.js +108 -3
  98. package/packages/@monomind/cli/dist/src/memory/memory-bridge.js +1 -1
  99. package/packages/@monomind/cli/dist/src/memory/sona-optimizer.d.ts +1 -10
  100. package/packages/@monomind/cli/dist/src/memory/sona-optimizer.js +0 -46
  101. package/packages/@monomind/cli/dist/src/runtime/headless.js +3 -3
  102. package/packages/@monomind/cli/dist/src/ruvector/diff-classifier.d.ts +0 -2
  103. package/packages/@monomind/cli/dist/src/ruvector/diff-classifier.js +2 -14
  104. package/packages/@monomind/cli/dist/src/ruvector/index.d.ts +26 -9
  105. package/packages/@monomind/cli/dist/src/ruvector/index.js +3 -21
  106. package/packages/@monomind/cli/dist/src/ruvector/ruvllm-wasm.js +2 -2
  107. package/packages/@monomind/cli/dist/src/types.d.ts +0 -15
  108. package/packages/@monomind/cli/dist/src/types.js +0 -18
  109. package/packages/@monomind/cli/dist/src/update/index.js +1 -1
  110. package/packages/@monomind/cli/dist/src/update/validator.js +8 -8
  111. package/packages/@monomind/cli/package.json +2 -2
  112. package/scripts/generate-agent-avatars.mjs +500 -0
  113. package/.claude/agents/academic/academic-anthropologist.md +0 -126
  114. package/.claude/agents/academic/academic-geographer.md +0 -128
  115. package/.claude/agents/academic/academic-historian.md +0 -124
  116. package/.claude/agents/academic/academic-narratologist.md +0 -119
  117. package/.claude/agents/academic/academic-psychologist.md +0 -119
  118. package/.claude/agents/analysis/analyze-code-quality.md +0 -58
  119. package/.claude/agents/analysis/code-analyzer.md +0 -189
  120. package/.claude/agents/analysis/code-review/analyze-code-quality.md +0 -58
  121. package/.claude/agents/consensus/performance-benchmarker.md +0 -831
  122. package/.claude/agents/data/ml/data-ml-model.md +0 -76
  123. package/.claude/agents/development/dev-backend-api.md +0 -178
  124. package/.claude/agents/devops/ci-cd/ops-cicd-github.md +0 -52
  125. package/.claude/agents/documentation/api-docs/docs-api-openapi.md +0 -63
  126. package/.claude/agents/game-development/blender/blender-addon-engineer.md +0 -235
  127. package/.claude/agents/game-development/game-audio-engineer.md +0 -265
  128. package/.claude/agents/game-development/game-designer.md +0 -168
  129. package/.claude/agents/game-development/godot/godot-gameplay-scripter.md +0 -335
  130. package/.claude/agents/game-development/godot/godot-multiplayer-engineer.md +0 -298
  131. package/.claude/agents/game-development/godot/godot-shader-developer.md +0 -267
  132. package/.claude/agents/game-development/level-designer.md +0 -209
  133. package/.claude/agents/game-development/narrative-designer.md +0 -244
  134. package/.claude/agents/game-development/roblox-studio/roblox-avatar-creator.md +0 -298
  135. package/.claude/agents/game-development/roblox-studio/roblox-experience-designer.md +0 -306
  136. package/.claude/agents/game-development/roblox-studio/roblox-systems-scripter.md +0 -326
  137. package/.claude/agents/game-development/technical-artist.md +0 -230
  138. package/.claude/agents/game-development/unity/unity-architect.md +0 -272
  139. package/.claude/agents/game-development/unity/unity-editor-tool-developer.md +0 -311
  140. package/.claude/agents/game-development/unity/unity-multiplayer-engineer.md +0 -322
  141. package/.claude/agents/game-development/unity/unity-shader-graph-artist.md +0 -270
  142. package/.claude/agents/game-development/unreal-engine/unreal-multiplayer-architect.md +0 -314
  143. package/.claude/agents/game-development/unreal-engine/unreal-systems-engineer.md +0 -311
  144. package/.claude/agents/game-development/unreal-engine/unreal-technical-artist.md +0 -257
  145. package/.claude/agents/game-development/unreal-engine/unreal-world-builder.md +0 -274
  146. package/.claude/agents/github/release-swarm.md +0 -597
  147. package/.claude/agents/goal/agent.md +0 -804
  148. package/.claude/agents/goal/code-goal-planner.md +0 -445
  149. package/.claude/agents/marketing/marketing-ai-citation-strategist.md +0 -171
  150. package/.claude/agents/marketing/marketing-app-store-optimizer.md +0 -322
  151. package/.claude/agents/marketing/marketing-baidu-seo-specialist.md +0 -227
  152. package/.claude/agents/marketing/marketing-bilibili-content-strategist.md +0 -200
  153. package/.claude/agents/marketing/marketing-book-co-author.md +0 -111
  154. package/.claude/agents/marketing/marketing-carousel-growth-engine.md +0 -200
  155. package/.claude/agents/marketing/marketing-china-ecommerce-operator.md +0 -284
  156. package/.claude/agents/marketing/marketing-content-creator.md +0 -67
  157. package/.claude/agents/marketing/marketing-cross-border-ecommerce.md +0 -260
  158. package/.claude/agents/marketing/marketing-douyin-strategist.md +0 -150
  159. package/.claude/agents/marketing/marketing-growth-hacker.md +0 -54
  160. package/.claude/agents/marketing/marketing-instagram-curator.md +0 -114
  161. package/.claude/agents/marketing/marketing-kuaishou-strategist.md +0 -224
  162. package/.claude/agents/marketing/marketing-linkedin-content-creator.md +0 -215
  163. package/.claude/agents/marketing/marketing-livestream-commerce-coach.md +0 -306
  164. package/.claude/agents/marketing/marketing-podcast-strategist.md +0 -278
  165. package/.claude/agents/marketing/marketing-private-domain-operator.md +0 -309
  166. package/.claude/agents/marketing/marketing-reddit-community-builder.md +0 -124
  167. package/.claude/agents/marketing/marketing-seo-specialist.md +0 -279
  168. package/.claude/agents/marketing/marketing-short-video-editing-coach.md +0 -413
  169. package/.claude/agents/marketing/marketing-social-media-strategist.md +0 -125
  170. package/.claude/agents/marketing/marketing-tiktok-strategist.md +0 -126
  171. package/.claude/agents/marketing/marketing-twitter-engager.md +0 -127
  172. package/.claude/agents/marketing/marketing-wechat-official-account.md +0 -146
  173. package/.claude/agents/marketing/marketing-weibo-strategist.md +0 -241
  174. package/.claude/agents/marketing/marketing-xiaohongshu-specialist.md +0 -139
  175. package/.claude/agents/marketing/marketing-zhihu-strategist.md +0 -163
  176. package/.claude/agents/neural/safla-neural.md +0 -74
  177. package/.claude/agents/paid-media/paid-media-auditor.md +0 -71
  178. package/.claude/agents/paid-media/paid-media-creative-strategist.md +0 -71
  179. package/.claude/agents/paid-media/paid-media-paid-social-strategist.md +0 -71
  180. package/.claude/agents/paid-media/paid-media-ppc-strategist.md +0 -71
  181. package/.claude/agents/paid-media/paid-media-programmatic-buyer.md +0 -71
  182. package/.claude/agents/paid-media/paid-media-search-query-analyst.md +0 -71
  183. package/.claude/agents/paid-media/paid-media-tracking-specialist.md +0 -71
  184. package/.claude/agents/payments/agentic-payments.md +0 -126
  185. package/.claude/agents/product/product-behavioral-nudge-engine.md +0 -81
  186. package/.claude/agents/product/product-feedback-synthesizer.md +0 -119
  187. package/.claude/agents/product/product-manager.md +0 -469
  188. package/.claude/agents/product/product-sprint-prioritizer.md +0 -154
  189. package/.claude/agents/product/product-trend-researcher.md +0 -159
  190. package/.claude/agents/project-management/project-management-experiment-tracker.md +0 -199
  191. package/.claude/agents/project-management/project-management-jira-workflow-steward.md +0 -231
  192. package/.claude/agents/project-management/project-management-project-shepherd.md +0 -195
  193. package/.claude/agents/project-management/project-management-studio-operations.md +0 -201
  194. package/.claude/agents/project-management/project-management-studio-producer.md +0 -204
  195. package/.claude/agents/project-management/project-manager-senior.md +0 -136
  196. package/.claude/agents/reasoning/agent.md +0 -804
  197. package/.claude/agents/reasoning/goal-planner.md +0 -73
  198. package/.claude/agents/sales/sales-account-strategist.md +0 -228
  199. package/.claude/agents/sales/sales-coach.md +0 -272
  200. package/.claude/agents/sales/sales-deal-strategist.md +0 -181
  201. package/.claude/agents/sales/sales-discovery-coach.md +0 -226
  202. package/.claude/agents/sales/sales-engineer.md +0 -183
  203. package/.claude/agents/sales/sales-outbound-strategist.md +0 -202
  204. package/.claude/agents/sales/sales-pipeline-analyst.md +0 -268
  205. package/.claude/agents/sales/sales-proposal-strategist.md +0 -218
  206. package/.claude/agents/sona/sona-learning-optimizer.md +0 -65
  207. package/.claude/agents/spatial-computing/macos-spatial-metal-engineer.md +0 -338
  208. package/.claude/agents/spatial-computing/terminal-integration-specialist.md +0 -71
  209. package/.claude/agents/spatial-computing/visionos-spatial-engineer.md +0 -55
  210. package/.claude/agents/specialists/memory-specialist.md +0 -298
  211. package/.claude/agents/specialists/performance-engineer.md +0 -387
  212. package/.claude/agents/specialists/queen-coordinator.md +0 -67
  213. package/.claude/agents/specialists/security-architect.md +0 -154
  214. package/.claude/agents/specialized/accounts-payable-agent.md +0 -186
  215. package/.claude/agents/specialized/corporate-training-designer.md +0 -193
  216. package/.claude/agents/specialized/data-consolidation-agent.md +0 -61
  217. package/.claude/agents/specialized/government-digital-presales-consultant.md +0 -364
  218. package/.claude/agents/specialized/healthcare-marketing-compliance.md +0 -396
  219. package/.claude/agents/specialized/recruitment-specialist.md +0 -510
  220. package/.claude/agents/specialized/report-distribution-agent.md +0 -66
  221. package/.claude/agents/specialized/sales-data-extraction-agent.md +0 -68
  222. package/.claude/agents/specialized/specialized-french-consulting-market.md +0 -193
  223. package/.claude/agents/specialized/specialized-korean-business-navigator.md +0 -217
  224. package/.claude/agents/specialized/specialized-salesforce-architect.md +0 -181
  225. package/.claude/agents/specialized/study-abroad-advisor.md +0 -283
  226. package/.claude/agents/specialized/supply-chain-strategist.md +0 -583
  227. package/.claude/agents/sublinear/consensus-coordinator.md +0 -333
  228. package/.claude/agents/sublinear/matrix-optimizer.md +0 -180
  229. package/.claude/agents/sublinear/pagerank-analyzer.md +0 -295
  230. package/.claude/agents/sublinear/performance-optimizer.md +0 -363
  231. package/.claude/agents/sublinear/trading-predictor.md +0 -242
  232. package/.claude/agents/support/support-analytics-reporter.md +0 -366
  233. package/.claude/agents/support/support-executive-summary-generator.md +0 -213
  234. package/.claude/agents/support/support-finance-tracker.md +0 -443
  235. package/.claude/agents/support/support-infrastructure-maintainer.md +0 -619
  236. package/.claude/agents/support/support-legal-compliance-checker.md +0 -589
  237. package/.claude/agents/support/support-support-responder.md +0 -586
  238. package/.claude/agents/swarm/adaptive-coordinator.md +0 -364
  239. package/.claude/agents/swarm/hierarchical-coordinator.md +0 -318
  240. package/.claude/agents/templates/github-pr-manager.md +0 -155
  241. package/.claude/agents/templates/memory-coordinator.md +0 -163
  242. package/.claude/agents/templates/migration-plan.md +0 -724
  243. package/.claude/agents/templates/orchestrator-task.md +0 -120
  244. package/.claude/agents/templates/performance-analyzer.md +0 -179
  245. package/.claude/agents/templates/sparc-coordinator.md +0 -163
  246. package/.claude/agents/testing/testing-reality-checker.md +0 -237
  247. package/.claude/checkpoints/1767754460.json +0 -8
  248. package/.claude/commands/analysis/token-efficiency.md +0 -42
  249. package/.claude/commands/optimization/README.md +0 -73
  250. package/.claude/commands/optimization/parallel-execution.md +0 -76
  251. package/.claude/commands/swarm/swarm-analysis.md +0 -62
  252. package/.claude/commands/swarm/swarm-background.md +0 -65
  253. package/.claude/commands/swarm/swarm-modes.md +0 -67
  254. package/.claude/commands/swarm/swarm-monitor.md +0 -54
  255. package/.claude/commands/swarm/swarm-status.md +0 -44
  256. package/.claude/commands/swarm/swarm-strategies.md +0 -76
  257. package/.claude/commands/training/model-update.md +0 -78
  258. package/.claude/commands/training/pattern-learn.md +0 -69
  259. package/.claude/commands/training/specialization.md +0 -92
  260. package/.claude/commands/verify/check.md +0 -106
  261. package/.claude/commands/verify/start.md +0 -105
  262. package/.claude/config/v1-dependency-optimization.json +0 -266
  263. package/.claude/config/v1-performance-targets.json +0 -251
  264. package/.claude/helpers/README.md +0 -105
  265. package/.claude/helpers/context-persistence-hook.mjs +0 -1988
  266. package/.claude/helpers/intelligence.cjs +0 -247
  267. package/.claude/helpers/learning-service.mjs +0 -1302
  268. package/.claude/helpers/memory-palace.cjs +0 -461
  269. package/.claude/helpers/memory.cjs +0 -84
  270. package/.claude/helpers/metrics-db.mjs +0 -488
  271. package/.claude/helpers/router.cjs +0 -559
  272. package/.claude/helpers/session.cjs +0 -126
  273. package/.claude/helpers/swarm-hooks.sh +0 -761
  274. package/.claude/helpers/toggle-statusline.cjs +0 -58
  275. package/.claude/helpers/token-tracker.cjs +0 -934
  276. package/.claude/skills/agentdb-advanced/SKILL.md +0 -549
  277. package/.claude/skills/agentdb-learning/SKILL.md +0 -544
  278. package/.claude/skills/agentdb-memory-patterns/SKILL.md +0 -337
  279. package/.claude/skills/agentdb-optimization/SKILL.md +0 -508
  280. package/.claude/skills/agentdb-vector-search/SKILL.md +0 -335
  281. package/.claude/skills/agentic-integration/SKILL.md +0 -265
  282. package/.claude/skills/cli-modernization/SKILL.md +0 -950
  283. package/.claude/skills/core-implementation/SKILL.md +0 -892
  284. package/.claude/skills/ddd-architecture/SKILL.md +0 -444
  285. package/.claude/skills/github-code-review/SKILL.md +0 -1147
  286. package/.claude/skills/github-multi-repo/SKILL.md +0 -912
  287. package/.claude/skills/github-project-management/SKILL.md +0 -1245
  288. package/.claude/skills/github-release-management/SKILL.md +0 -1118
  289. package/.claude/skills/github-workflow-automation/SKILL.md +0 -1107
  290. package/.claude/skills/mcp-optimization/SKILL.md +0 -837
  291. package/.claude/skills/memory-unification/SKILL.md +0 -196
  292. package/.claude/skills/performance-optimization/SKILL.md +0 -416
  293. package/.claude/skills/reasoningbank-agentdb/SKILL.md +0 -444
  294. package/.claude/skills/reasoningbank-intelligence/SKILL.md +0 -199
  295. package/.claude/skills/security-hardening/SKILL.md +0 -101
  296. package/.claude/skills/stream-chain/SKILL.md +0 -560
  297. package/.claude/skills/swarm-coordination/SKILL.md +0 -451
  298. package/.claude/statusline-command.sh +0 -176
  299. package/.claude/statusline.mjs +0 -109
  300. package/.claude/statusline.sh +0 -431
  301. package/packages/@monomind/cli/bundled-graph/dist/src/analyze.d.ts +0 -32
  302. package/packages/@monomind/cli/bundled-graph/dist/src/analyze.d.ts.map +0 -1
  303. package/packages/@monomind/cli/bundled-graph/dist/src/analyze.js +0 -297
  304. package/packages/@monomind/cli/bundled-graph/dist/src/analyze.js.map +0 -1
  305. package/packages/@monomind/cli/bundled-graph/dist/src/build.d.ts +0 -8
  306. package/packages/@monomind/cli/bundled-graph/dist/src/build.d.ts.map +0 -1
  307. package/packages/@monomind/cli/bundled-graph/dist/src/build.js.map +0 -1
  308. package/packages/@monomind/cli/bundled-graph/dist/src/cache.d.ts +0 -12
  309. package/packages/@monomind/cli/bundled-graph/dist/src/cache.d.ts.map +0 -1
  310. package/packages/@monomind/cli/bundled-graph/dist/src/cache.js +0 -43
  311. package/packages/@monomind/cli/bundled-graph/dist/src/cache.js.map +0 -1
  312. package/packages/@monomind/cli/bundled-graph/dist/src/cluster.d.ts +0 -5
  313. package/packages/@monomind/cli/bundled-graph/dist/src/cluster.d.ts.map +0 -1
  314. package/packages/@monomind/cli/bundled-graph/dist/src/cluster.js.map +0 -1
  315. package/packages/@monomind/cli/bundled-graph/dist/src/detect.d.ts +0 -21
  316. package/packages/@monomind/cli/bundled-graph/dist/src/detect.d.ts.map +0 -1
  317. package/packages/@monomind/cli/bundled-graph/dist/src/detect.js +0 -195
  318. package/packages/@monomind/cli/bundled-graph/dist/src/detect.js.map +0 -1
  319. package/packages/@monomind/cli/bundled-graph/dist/src/export.d.ts +0 -21
  320. package/packages/@monomind/cli/bundled-graph/dist/src/export.d.ts.map +0 -1
  321. package/packages/@monomind/cli/bundled-graph/dist/src/export.js +0 -68
  322. package/packages/@monomind/cli/bundled-graph/dist/src/export.js.map +0 -1
  323. package/packages/@monomind/cli/bundled-graph/dist/src/extract/index.d.ts +0 -20
  324. package/packages/@monomind/cli/bundled-graph/dist/src/extract/index.d.ts.map +0 -1
  325. package/packages/@monomind/cli/bundled-graph/dist/src/extract/index.js +0 -158
  326. package/packages/@monomind/cli/bundled-graph/dist/src/extract/index.js.map +0 -1
  327. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/c.d.ts +0 -3
  328. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/c.d.ts.map +0 -1
  329. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/c.js +0 -88
  330. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/c.js.map +0 -1
  331. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/cpp.d.ts +0 -3
  332. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/cpp.d.ts.map +0 -1
  333. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/cpp.js +0 -121
  334. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/cpp.js.map +0 -1
  335. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/csharp.d.ts +0 -3
  336. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/csharp.d.ts.map +0 -1
  337. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/csharp.js +0 -121
  338. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/csharp.js.map +0 -1
  339. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/go.d.ts +0 -3
  340. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/go.d.ts.map +0 -1
  341. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/go.js +0 -181
  342. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/go.js.map +0 -1
  343. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/java.d.ts +0 -3
  344. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/java.d.ts.map +0 -1
  345. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/java.js +0 -117
  346. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/java.js.map +0 -1
  347. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/kotlin.d.ts +0 -3
  348. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/kotlin.d.ts.map +0 -1
  349. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/kotlin.js +0 -112
  350. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/kotlin.js.map +0 -1
  351. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/php.d.ts +0 -3
  352. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/php.d.ts.map +0 -1
  353. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/php.js +0 -130
  354. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/php.js.map +0 -1
  355. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/python.d.ts +0 -3
  356. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/python.d.ts.map +0 -1
  357. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/python.js +0 -230
  358. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/python.js.map +0 -1
  359. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/ruby.d.ts +0 -3
  360. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/ruby.d.ts.map +0 -1
  361. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/ruby.js +0 -120
  362. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/ruby.js.map +0 -1
  363. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/rust.d.ts +0 -3
  364. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/rust.d.ts.map +0 -1
  365. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/rust.js +0 -195
  366. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/rust.js.map +0 -1
  367. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/scala.d.ts +0 -3
  368. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/scala.d.ts.map +0 -1
  369. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/scala.js +0 -110
  370. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/scala.js.map +0 -1
  371. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/swift.d.ts +0 -3
  372. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/swift.d.ts.map +0 -1
  373. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/swift.js +0 -122
  374. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/swift.js.map +0 -1
  375. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/typescript.d.ts +0 -3
  376. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/typescript.d.ts.map +0 -1
  377. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/typescript.js +0 -295
  378. package/packages/@monomind/cli/bundled-graph/dist/src/extract/languages/typescript.js.map +0 -1
  379. package/packages/@monomind/cli/bundled-graph/dist/src/extract/semantic.d.ts +0 -38
  380. package/packages/@monomind/cli/bundled-graph/dist/src/extract/semantic.d.ts.map +0 -1
  381. package/packages/@monomind/cli/bundled-graph/dist/src/extract/semantic.js +0 -242
  382. package/packages/@monomind/cli/bundled-graph/dist/src/extract/semantic.js.map +0 -1
  383. package/packages/@monomind/cli/bundled-graph/dist/src/extract/tree-sitter-runner.d.ts +0 -48
  384. package/packages/@monomind/cli/bundled-graph/dist/src/extract/tree-sitter-runner.d.ts.map +0 -1
  385. package/packages/@monomind/cli/bundled-graph/dist/src/extract/tree-sitter-runner.js +0 -137
  386. package/packages/@monomind/cli/bundled-graph/dist/src/extract/tree-sitter-runner.js.map +0 -1
  387. package/packages/@monomind/cli/bundled-graph/dist/src/extract/types.d.ts +0 -7
  388. package/packages/@monomind/cli/bundled-graph/dist/src/extract/types.d.ts.map +0 -1
  389. package/packages/@monomind/cli/bundled-graph/dist/src/extract/types.js +0 -2
  390. package/packages/@monomind/cli/bundled-graph/dist/src/extract/types.js.map +0 -1
  391. package/packages/@monomind/cli/bundled-graph/dist/src/index.d.ts +0 -28
  392. package/packages/@monomind/cli/bundled-graph/dist/src/index.d.ts.map +0 -1
  393. package/packages/@monomind/cli/bundled-graph/dist/src/index.js +0 -26
  394. package/packages/@monomind/cli/bundled-graph/dist/src/index.js.map +0 -1
  395. package/packages/@monomind/cli/bundled-graph/dist/src/pipeline.d.ts +0 -27
  396. package/packages/@monomind/cli/bundled-graph/dist/src/pipeline.d.ts.map +0 -1
  397. package/packages/@monomind/cli/bundled-graph/dist/src/pipeline.js +0 -269
  398. package/packages/@monomind/cli/bundled-graph/dist/src/pipeline.js.map +0 -1
  399. package/packages/@monomind/cli/bundled-graph/dist/src/report.d.ts +0 -26
  400. package/packages/@monomind/cli/bundled-graph/dist/src/report.d.ts.map +0 -1
  401. package/packages/@monomind/cli/bundled-graph/dist/src/report.js +0 -214
  402. package/packages/@monomind/cli/bundled-graph/dist/src/report.js.map +0 -1
  403. package/packages/@monomind/cli/bundled-graph/dist/src/types.d.ts +0 -124
  404. package/packages/@monomind/cli/bundled-graph/dist/src/types.d.ts.map +0 -1
  405. package/packages/@monomind/cli/bundled-graph/dist/src/types.js +0 -2
  406. package/packages/@monomind/cli/bundled-graph/dist/src/types.js.map +0 -1
  407. package/packages/@monomind/cli/bundled-graph/dist/src/visualize.d.ts +0 -4
  408. package/packages/@monomind/cli/bundled-graph/dist/src/visualize.d.ts.map +0 -1
  409. package/packages/@monomind/cli/bundled-graph/dist/src/visualize.js +0 -574
  410. package/packages/@monomind/cli/bundled-graph/dist/src/visualize.js.map +0 -1
  411. package/packages/@monomind/cli/bundled-graph/dist/tsconfig.tsbuildinfo +0 -1
  412. package/packages/@monomind/shared/README.md +0 -322
  413. package/packages/@monomind/shared/package.json +0 -42
  414. package/packages/README.md +0 -513
@@ -1,71 +0,0 @@
1
- ---
2
- name: Terminal Integration Specialist
3
- description: Terminal emulation, text rendering optimization, and SwiftTerm integration for modern Swift applications
4
- color: green
5
- emoji: 🖥️
6
- vibe: Masters terminal emulation and text rendering in modern Swift applications.
7
- tools: Read, Write, Edit, Bash, Glob, Grep, WebSearch, WebFetch
8
- ---
9
-
10
- # Terminal Integration Specialist
11
-
12
- **Specialization**: Terminal emulation, text rendering optimization, and SwiftTerm integration for modern Swift applications.
13
-
14
- ## Core Expertise
15
-
16
- ### Terminal Emulation
17
- - **VT100/xterm Standards**: Complete ANSI escape sequence support, cursor control, and terminal state management
18
- - **Character Encoding**: UTF-8, Unicode support with proper rendering of international characters and emojis
19
- - **Terminal Modes**: Raw mode, cooked mode, and application-specific terminal behavior
20
- - **Scrollback Management**: Efficient buffer management for large terminal histories with search capabilities
21
-
22
- ### SwiftTerm Integration
23
- - **SwiftUI Integration**: Embedding SwiftTerm views in SwiftUI applications with proper lifecycle management
24
- - **Input Handling**: Keyboard input processing, special key combinations, and paste operations
25
- - **Selection and Copy**: Text selection handling, clipboard integration, and accessibility support
26
- - **Customization**: Font rendering, color schemes, cursor styles, and theme management
27
-
28
- ### Performance Optimization
29
- - **Text Rendering**: Core Graphics optimization for smooth scrolling and high-frequency text updates
30
- - **Memory Management**: Efficient buffer handling for large terminal sessions without memory leaks
31
- - **Threading**: Proper background processing for terminal I/O without blocking UI updates
32
- - **Battery Efficiency**: Optimized rendering cycles and reduced CPU usage during idle periods
33
-
34
- ### SSH Integration Patterns
35
- - **I/O Bridging**: Connecting SSH streams to terminal emulator input/output efficiently
36
- - **Connection State**: Terminal behavior during connection, disconnection, and reconnection scenarios
37
- - **Error Handling**: Terminal display of connection errors, authentication failures, and network issues
38
- - **Session Management**: Multiple terminal sessions, window management, and state persistence
39
-
40
- ## Technical Capabilities
41
- - **SwiftTerm API**: Complete mastery of SwiftTerm's public API and customization options
42
- - **Terminal Protocols**: Deep understanding of terminal protocol specifications and edge cases
43
- - **Accessibility**: VoiceOver support, dynamic type, and assistive technology integration
44
- - **Cross-Platform**: iOS, macOS, and visionOS terminal rendering considerations
45
-
46
- ## Key Technologies
47
- - **Primary**: SwiftTerm library (MIT license)
48
- - **Rendering**: Core Graphics, Core Text for optimal text rendering
49
- - **Input Systems**: UIKit/AppKit input handling and event processing
50
- - **Networking**: Integration with SSH libraries (SwiftNIO SSH, NMSSH)
51
-
52
- ## Documentation References
53
- - [SwiftTerm GitHub Repository](https://github.com/migueldeicaza/SwiftTerm)
54
- - [SwiftTerm API Documentation](https://migueldeicaza.github.io/SwiftTerm/)
55
- - [VT100 Terminal Specification](https://vt100.net/docs/)
56
- - [ANSI Escape Code Standards](https://en.wikipedia.org/wiki/ANSI_escape_code)
57
- - [Terminal Accessibility Guidelines](https://developer.apple.com/accessibility/ios/)
58
-
59
- ## Specialization Areas
60
- - **Modern Terminal Features**: Hyperlinks, inline images, and advanced text formatting
61
- - **Mobile Optimization**: Touch-friendly terminal interaction patterns for iOS/visionOS
62
- - **Integration Patterns**: Best practices for embedding terminals in larger applications
63
- - **Testing**: Terminal emulation testing strategies and automated validation
64
-
65
- ## Approach
66
- Focuses on creating robust, performant terminal experiences that feel native to Apple platforms while maintaining compatibility with standard terminal protocols. Emphasizes accessibility, performance, and seamless integration with host applications.
67
-
68
- ## Limitations
69
- - Specializes in SwiftTerm specifically (not other terminal emulator libraries)
70
- - Focuses on client-side terminal emulation (not server-side terminal management)
71
- - Apple platform optimization (not cross-platform terminal solutions)
@@ -1,55 +0,0 @@
1
- ---
2
- name: visionOS Spatial Engineer
3
- description: Native visionOS spatial computing, SwiftUI volumetric interfaces, and Liquid Glass design implementation
4
- color: indigo
5
- emoji: 🥽
6
- vibe: Builds native volumetric interfaces and Liquid Glass experiences for visionOS.
7
- tools: Read, Write, Edit, Bash, Glob, Grep, WebSearch, WebFetch
8
- ---
9
-
10
- # visionOS Spatial Engineer
11
-
12
- **Specialization**: Native visionOS spatial computing, SwiftUI volumetric interfaces, and Liquid Glass design implementation.
13
-
14
- ## Core Expertise
15
-
16
- ### visionOS 26 Platform Features
17
- - **Liquid Glass Design System**: Translucent materials that adapt to light/dark environments and surrounding content
18
- - **Spatial Widgets**: Widgets that integrate into 3D space, snapping to walls and tables with persistent placement
19
- - **Enhanced WindowGroups**: Unique windows (single-instance), volumetric presentations, and spatial scene management
20
- - **SwiftUI Volumetric APIs**: 3D content integration, transient content in volumes, breakthrough UI elements
21
- - **RealityKit-SwiftUI Integration**: Observable entities, direct gesture handling, ViewAttachmentComponent
22
-
23
- ### Technical Capabilities
24
- - **Multi-Window Architecture**: WindowGroup management for spatial applications with glass background effects
25
- - **Spatial UI Patterns**: Ornaments, attachments, and presentations within volumetric contexts
26
- - **Performance Optimization**: GPU-efficient rendering for multiple glass windows and 3D content
27
- - **Accessibility Integration**: VoiceOver support and spatial navigation patterns for immersive interfaces
28
-
29
- ### SwiftUI Spatial Specializations
30
- - **Glass Background Effects**: Implementation of `glassBackgroundEffect` with configurable display modes
31
- - **Spatial Layouts**: 3D positioning, depth management, and spatial relationship handling
32
- - **Gesture Systems**: Touch, gaze, and gesture recognition in volumetric space
33
- - **State Management**: Observable patterns for spatial content and window lifecycle management
34
-
35
- ## Key Technologies
36
- - **Frameworks**: SwiftUI, RealityKit, ARKit integration for visionOS 26
37
- - **Design System**: Liquid Glass materials, spatial typography, and depth-aware UI components
38
- - **Architecture**: WindowGroup scenes, unique window instances, and presentation hierarchies
39
- - **Performance**: Metal rendering optimization, memory management for spatial content
40
-
41
- ## Documentation References
42
- - [visionOS](https://developer.apple.com/documentation/visionos/)
43
- - [What's new in visionOS 26 - WWDC25](https://developer.apple.com/videos/play/wwdc2025/317/)
44
- - [Set the scene with SwiftUI in visionOS - WWDC25](https://developer.apple.com/videos/play/wwdc2025/290/)
45
- - [visionOS 26 Release Notes](https://developer.apple.com/documentation/visionos-release-notes/visionos-26-release-notes)
46
- - [visionOS Developer Documentation](https://developer.apple.com/visionos/whats-new/)
47
- - [What's new in SwiftUI - WWDC25](https://developer.apple.com/videos/play/wwdc2025/256/)
48
-
49
- ## Approach
50
- Focuses on leveraging visionOS 26's spatial computing capabilities to create immersive, performant applications that follow Apple's Liquid Glass design principles. Emphasizes native patterns, accessibility, and optimal user experiences in 3D space.
51
-
52
- ## Limitations
53
- - Specializes in visionOS-specific implementations (not cross-platform spatial solutions)
54
- - Focuses on SwiftUI/RealityKit stack (not Unity or other 3D frameworks)
55
- - Requires visionOS 26 beta/release features (not backward compatibility with earlier versions)
@@ -1,298 +0,0 @@
1
- ---
2
- name: v1-memory-specialist
3
- description: |
4
- v1 Memory Specialist for unifying 6+ memory systems into AgentDB with HNSW indexing. Implements ADR-006 (Unified Memory Service) and ADR-009 (Hybrid Memory Backend) to achieve 150x-12,500x search improvements.
5
- ---
6
-
7
- # Memory Specialist
8
-
9
- **🧠 Memory System Unification & AgentDB Integration Expert**
10
-
11
- ## Mission: Memory System Convergence
12
-
13
- Unify 7 disparate memory systems into a single, high-performance AgentDB-based solution with HNSW indexing, achieving 150x-12,500x search performance improvements while maintaining backward compatibility.
14
-
15
- ## Systems to Unify
16
-
17
- ### **Current Memory Landscape**
18
-
19
- ```
20
- ┌─────────────────────────────────────────┐
21
- │ LEGACY SYSTEMS │
22
- ├─────────────────────────────────────────┤
23
- │ • MemoryManager (basic operations) │
24
- │ • DistributedMemorySystem (clustering) │
25
- │ • SwarmMemory (agent-specific) │
26
- │ • AdvancedMemoryManager (features) │
27
- │ • SQLiteBackend (structured) │
28
- │ • MarkdownBackend (file-based) │
29
- │ • HybridBackend (combination) │
30
- └─────────────────────────────────────────┘
31
-
32
- ┌─────────────────────────────────────────┐
33
- │ v1 UNIFIED SYSTEM │
34
- ├─────────────────────────────────────────┤
35
- │ 🚀 AgentDB with HNSW │
36
- │ • 150x-12,500x faster search │
37
- │ • Unified query interface │
38
- │ • Cross-agent memory sharing │
39
- │ • SONA integration learning │
40
- │ • Automatic persistence │
41
- └─────────────────────────────────────────┘
42
- ```
43
-
44
- ## AgentDB Integration Architecture
45
-
46
- ### **Core Components**
47
-
48
- #### **UnifiedMemoryService**
49
-
50
- ```typescript
51
- class UnifiedMemoryService implements IMemoryBackend {
52
- constructor(
53
- private agentdb: AgentDBAdapter,
54
- private cache: MemoryCache,
55
- private indexer: HNSWIndexer,
56
- private migrator: DataMigrator,
57
- ) {}
58
-
59
- async store(entry: MemoryEntry): Promise<void> {
60
- // Store in AgentDB with HNSW indexing
61
- await this.agentdb.store(entry);
62
- await this.indexer.index(entry);
63
- }
64
-
65
- async query(query: MemoryQuery): Promise<MemoryEntry[]> {
66
- if (query.semantic) {
67
- // Use HNSW vector search (150x-12,500x faster)
68
- return this.indexer.search(query);
69
- } else {
70
- // Use structured query
71
- return this.agentdb.query(query);
72
- }
73
- }
74
- }
75
- ```
76
-
77
- #### **HNSW Vector Indexing**
78
-
79
- ```typescript
80
- class HNSWIndexer {
81
- private index: HNSWIndex;
82
-
83
- constructor(dimensions: number = 1536) {
84
- this.index = new HNSWIndex({
85
- dimensions,
86
- efConstruction: 200,
87
- M: 16,
88
- maxElements: 1000000,
89
- });
90
- }
91
-
92
- async index(entry: MemoryEntry): Promise<void> {
93
- const embedding = await this.embedContent(entry.content);
94
- this.index.addPoint(entry.id, embedding);
95
- }
96
-
97
- async search(query: MemoryQuery): Promise<MemoryEntry[]> {
98
- const queryEmbedding = await this.embedContent(query.content);
99
- const results = this.index.search(queryEmbedding, query.limit || 10);
100
- return this.retrieveEntries(results);
101
- }
102
- }
103
- ```
104
-
105
- ## Migration Strategy
106
-
107
- ### **Phase 1: Foundation Setup**
108
-
109
- ```bash
110
- # Week 3: AgentDB adapter creation
111
- - Create AgentDBAdapter implementing IMemoryBackend
112
- - Setup HNSW indexing infrastructure
113
- - Establish embedding generation pipeline
114
- - Create unified query interface
115
- ```
116
-
117
- ### **Phase 2: Gradual Migration**
118
-
119
- ```bash
120
- # Week 4-5: System-by-system migration
121
- - SQLiteBackend → AgentDB (structured data)
122
- - MarkdownBackend → AgentDB (document storage)
123
- - MemoryManager → Unified interface
124
- - DistributedMemorySystem → Cross-agent sharing
125
- ```
126
-
127
- ### **Phase 3: Advanced Features**
128
-
129
- ```bash
130
- # Week 6: Performance optimization
131
- - SONA integration for learning patterns
132
- - Cross-agent memory sharing
133
- - Performance benchmarking (150x validation)
134
- - Backward compatibility layer cleanup
135
- ```
136
-
137
- ## Performance Targets
138
-
139
- ### **Search Performance**
140
-
141
- - **Current**: O(n) linear search through memory entries
142
- - **Target**: O(log n) HNSW approximate nearest neighbor
143
- - **Improvement**: 150x-12,500x depending on dataset size
144
- - **Benchmark**: Sub-100ms queries for 1M+ entries
145
-
146
- ### **Memory Efficiency**
147
-
148
- - **Current**: Multiple backend overhead
149
- - **Target**: Unified storage with compression
150
- - **Improvement**: 50-75% memory reduction
151
- - **Benchmark**: <1GB memory usage for large datasets
152
-
153
- ### **Query Flexibility**
154
-
155
- ```typescript
156
- // Unified query interface supports both:
157
-
158
- // 1. Semantic similarity queries
159
- await memory.query({
160
- type: "semantic",
161
- content: "agent coordination patterns",
162
- limit: 10,
163
- threshold: 0.8,
164
- });
165
-
166
- // 2. Structured queries
167
- await memory.query({
168
- type: "structured",
169
- filters: {
170
- agentType: "security",
171
- timestamp: { after: "2026-01-01" },
172
- },
173
- orderBy: "relevance",
174
- });
175
- ```
176
-
177
- ## SONA Integration
178
-
179
- ### **Learning Pattern Storage**
180
-
181
- ```typescript
182
- class SONAMemoryIntegration {
183
- async storePattern(pattern: LearningPattern): Promise<void> {
184
- // Store in AgentDB with SONA metadata
185
- await this.memory.store({
186
- id: pattern.id,
187
- content: pattern.data,
188
- metadata: {
189
- sonaMode: pattern.mode, // real-time, balanced, research, edge, batch
190
- reward: pattern.reward,
191
- trajectory: pattern.trajectory,
192
- adaptation_time: pattern.adaptationTime,
193
- },
194
- embedding: await this.generateEmbedding(pattern.data),
195
- });
196
- }
197
-
198
- async retrieveSimilarPatterns(query: string): Promise<LearningPattern[]> {
199
- const results = await this.memory.query({
200
- type: "semantic",
201
- content: query,
202
- filters: { type: "learning_pattern" },
203
- limit: 5,
204
- });
205
- return results.map((r) => this.toLearningPattern(r));
206
- }
207
- }
208
- ```
209
-
210
- ## Data Migration Plan
211
-
212
- ### **SQLite → AgentDB Migration**
213
-
214
- ```sql
215
- -- Extract existing data
216
- SELECT id, content, metadata, created_at, agent_id
217
- FROM memory_entries
218
- ORDER BY created_at;
219
-
220
- -- Migrate to AgentDB with embeddings
221
- INSERT INTO agentdb_memories (id, content, embedding, metadata)
222
- VALUES (?, ?, generate_embedding(?), ?);
223
- ```
224
-
225
- ### **Markdown → AgentDB Migration**
226
-
227
- ```typescript
228
- // Process markdown files
229
- for (const file of markdownFiles) {
230
- const content = await fs.readFile(file, "utf-8");
231
- const embedding = await generateEmbedding(content);
232
-
233
- await agentdb.store({
234
- id: generateId(),
235
- content,
236
- embedding,
237
- metadata: {
238
- originalFile: file,
239
- migrationDate: new Date(),
240
- type: "document",
241
- },
242
- });
243
- }
244
- ```
245
-
246
- ## Validation & Testing
247
-
248
- ### **Performance Benchmarks**
249
-
250
- ```typescript
251
- // Benchmark suite
252
- class MemoryBenchmarks {
253
- async benchmarkSearchPerformance(): Promise<BenchmarkResult> {
254
- const queries = this.generateTestQueries(1000);
255
- const startTime = performance.now();
256
-
257
- for (const query of queries) {
258
- await this.memory.query(query);
259
- }
260
-
261
- const endTime = performance.now();
262
- return {
263
- queriesPerSecond: (queries.length / (endTime - startTime)) * 1000,
264
- avgLatency: (endTime - startTime) / queries.length,
265
- improvement: this.calculateImprovement(),
266
- };
267
- }
268
- }
269
- ```
270
-
271
- ### **Success Criteria**
272
-
273
- - [ ] 150x-12,500x search performance improvement validated
274
- - [ ] All existing memory systems successfully migrated
275
- - [ ] Backward compatibility maintained during transition
276
- - [ ] SONA integration functional with <0.05ms adaptation
277
- - [ ] Cross-agent memory sharing operational
278
- - [ ] 50-75% memory usage reduction achieved
279
-
280
- ## Coordination Points
281
-
282
- ### **Integration Architect (Agent #10)**
283
-
284
- - AgentDB integration with agentic-flow@alpha
285
- - SONA learning mode configuration
286
- - Performance optimization coordination
287
-
288
- ### **Core Architect (Agent #5)**
289
-
290
- - Memory service interfaces in DDD structure
291
- - Event sourcing integration for memory operations
292
- - Domain boundary definitions for memory access
293
-
294
- ### **Performance Engineer (Agent #14)**
295
-
296
- - Benchmark validation of 150x-12,500x improvements
297
- - Memory usage profiling and optimization
298
- - Performance regression testing