agentic-flow 1.9.0 → 1.9.1

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 (1223) hide show
  1. package/.claude/agents/analysis/code-analyzer.md +1 -1
  2. package/.claude/agents/core/coder.md +2 -57
  3. package/.claude/agents/core/planner.md +1 -53
  4. package/.claude/agents/core/researcher.md +6 -60
  5. package/.claude/agents/core/reviewer.md +1 -55
  6. package/.claude/agents/core/tester.md +1 -54
  7. package/.claude/agents/goal/goal-planner.md +25 -120
  8. package/.claude/agents/swarm/hierarchical-coordinator.md +4 -75
  9. package/.claude/agents/templates/coordinator-swarm-init.md +4 -19
  10. package/.claude/commands/hooks/overview.md +10 -84
  11. package/.claude/settings.json +20 -21
  12. package/.claude/settings.local.json +7 -3
  13. package/CHANGELOG.md +976 -83
  14. package/README.md +1 -15
  15. package/dist/agentdb/tests/frontier-features.test.js +665 -0
  16. package/dist/cli/federation-cli.d.ts +53 -0
  17. package/dist/hooks/parallel-validation.js +166 -0
  18. package/dist/hooks/swarm-learning-optimizer.js +350 -0
  19. package/{agentic-flow/dist → dist}/proxy/provider-instructions.js +98 -0
  20. package/dist/reasoningbank/config/reasoningbank-types.ts +57 -0
  21. package/{agentic-flow/dist → dist}/utils/cli.js +29 -0
  22. package/docs/.claude-flow/metrics/performance.json +3 -3
  23. package/docs/.claude-flow/metrics/task-metrics.json +3 -3
  24. package/docs/guides/MCP-TOOLS.md +850 -1050
  25. package/package.json +169 -44
  26. package/validation/docker/Dockerfile.reasoningbank-local +24 -0
  27. package/validation/docker/Dockerfile.reasoningbank-test +21 -0
  28. package/validation/docker/README.md +234 -0
  29. package/validation/docker/docker-compose.yml +29 -0
  30. package/validation/docker/test-reasoningbank-npx.mjs +442 -0
  31. package/validation/docker-e2e-validation.sh +212 -0
  32. package/validation/docker-quic-test.sh +42 -0
  33. package/validation/docker-quic-validation.sh +60 -0
  34. package/validation/quic-deep-validation.ts +304 -0
  35. package/validation/test-quic-integration.ts +243 -0
  36. package/validation/test-quic-wasm.ts +94 -0
  37. package/validation/test-regression.mjs +246 -0
  38. package/validation/test-wasm-e2e.ts +354 -0
  39. package/validation/test-wasm-integration.ts +99 -0
  40. package/wasm/quic/agentic_flow_quic.d.ts +37 -0
  41. package/wasm/quic/agentic_flow_quic_bg.wasm.d.ts +19 -0
  42. package/wasm/reasoningbank/reasoningbank_wasm.d.ts +41 -0
  43. package/wasm/reasoningbank/reasoningbank_wasm_bg.wasm.d.ts +20 -0
  44. package/.claude/agents/goal/code-goal-planner.md +0 -446
  45. package/.claude/agents/hive-mind/collective-intelligence-coordinator.md +0 -130
  46. package/.claude/agents/hive-mind/queen-coordinator.md +0 -203
  47. package/.claude/agents/hive-mind/scout-explorer.md +0 -242
  48. package/.claude/agents/hive-mind/swarm-memory-manager.md +0 -193
  49. package/.claude/agents/hive-mind/worker-specialist.md +0 -217
  50. package/.claude/agents/neural/safla-neural.md +0 -74
  51. package/.claude/agents/reasoning/README.md +0 -452
  52. package/.claude/agents/reasoning/adaptive-learner.md +0 -415
  53. package/.claude/agents/reasoning/context-synthesizer.md +0 -532
  54. package/.claude/agents/reasoning/experience-curator.md +0 -562
  55. package/.claude/agents/reasoning/goal-planner.md +0 -73
  56. package/.claude/agents/reasoning/memory-optimizer.md +0 -579
  57. package/.claude/agents/reasoning/pattern-matcher.md +0 -591
  58. package/.claude/agents/reasoning/reasoning-optimized.md +0 -587
  59. package/.claude/commands/coordination/README.md +0 -9
  60. package/.claude/commands/coordination/agent-spawn.md +0 -25
  61. package/.claude/commands/coordination/init.md +0 -44
  62. package/.claude/commands/coordination/orchestrate.md +0 -43
  63. package/.claude/commands/coordination/spawn.md +0 -45
  64. package/.claude/commands/coordination/swarm-init.md +0 -85
  65. package/.claude/commands/coordination/task-orchestrate.md +0 -25
  66. package/.claude/commands/memory/README.md +0 -9
  67. package/.claude/commands/memory/memory-persist.md +0 -25
  68. package/.claude/commands/memory/memory-search.md +0 -25
  69. package/.claude/commands/memory/memory-usage.md +0 -25
  70. package/.claude/commands/memory/neural.md +0 -47
  71. package/.claude/commands/memory/usage.md +0 -46
  72. package/.claude/skills/agentdb-advanced/SKILL.md +0 -550
  73. package/.claude/skills/agentdb-learning/SKILL.md +0 -545
  74. package/.claude/skills/agentdb-memory-patterns/SKILL.md +0 -339
  75. package/.claude/skills/agentdb-optimization/SKILL.md +0 -509
  76. package/.claude/skills/agentdb-vector-search/SKILL.md +0 -339
  77. package/.claude/skills/flow-nexus-neural/SKILL.md +0 -738
  78. package/.claude/skills/flow-nexus-platform/SKILL.md +0 -1157
  79. package/.claude/skills/flow-nexus-swarm/SKILL.md +0 -610
  80. package/.claude/skills/github-code-review/SKILL.md +0 -1140
  81. package/.claude/skills/github-multi-repo/SKILL.md +0 -874
  82. package/.claude/skills/github-project-management/SKILL.md +0 -1277
  83. package/.claude/skills/github-release-management/SKILL.md +0 -1081
  84. package/.claude/skills/github-workflow-automation/SKILL.md +0 -1065
  85. package/.claude/skills/hive-mind-advanced/SKILL.md +0 -712
  86. package/.claude/skills/hooks-automation/SKILL.md +0 -1201
  87. package/.claude/skills/pair-programming/SKILL.md +0 -1202
  88. package/.claude/skills/performance-analysis/SKILL.md +0 -563
  89. package/.claude/skills/reasoningbank-agentdb/SKILL.md +0 -446
  90. package/.claude/skills/reasoningbank-intelligence/SKILL.md +0 -201
  91. package/.claude/skills/skill-builder/SKILL.md +0 -910
  92. package/.claude/skills/sparc-methodology/SKILL.md +0 -1115
  93. package/.claude/skills/stream-chain/SKILL.md +0 -563
  94. package/.claude/skills/swarm-advanced/SKILL.md +0 -973
  95. package/.claude/skills/swarm-orchestration/SKILL.md +0 -179
  96. package/.claude/skills/verification-quality/SKILL.md +0 -649
  97. package/.claude/statusline-command.sh +0 -176
  98. package/.claude-flow/metrics/performance.json +0 -87
  99. package/.claude-flow/metrics/system-metrics.json +0 -2138
  100. package/.claude-flow/metrics/task-metrics.json +0 -10
  101. package/.hive-mind/README.md +0 -43
  102. package/.hive-mind/config/queens.json +0 -59
  103. package/.hive-mind/config/workers.json +0 -72
  104. package/.hive-mind/config.json +0 -111
  105. package/.hive-mind/hive.db +0 -0
  106. package/.mcp.json +0 -39
  107. package/.swarm/memory.db +0 -0
  108. package/.swarm/memory.db-shm +0 -0
  109. package/.swarm/memory.db-wal +0 -0
  110. package/CLAUDE.md +0 -354
  111. package/agentdb.db +0 -0
  112. package/agentic-flow/.agentdb-instructions.md +0 -66
  113. package/agentic-flow/.claude/agents/analysis/code-analyzer.md +0 -209
  114. package/agentic-flow/.claude/agents/analysis/code-review/analyze-code-quality.md +0 -180
  115. package/agentic-flow/.claude/agents/architecture/system-design/arch-system-design.md +0 -156
  116. package/agentic-flow/.claude/agents/base-template-generator.md +0 -42
  117. package/agentic-flow/.claude/agents/consensus/byzantine-coordinator.md +0 -63
  118. package/agentic-flow/.claude/agents/consensus/crdt-synchronizer.md +0 -997
  119. package/agentic-flow/.claude/agents/consensus/gossip-coordinator.md +0 -63
  120. package/agentic-flow/.claude/agents/consensus/performance-benchmarker.md +0 -851
  121. package/agentic-flow/.claude/agents/consensus/quorum-manager.md +0 -823
  122. package/agentic-flow/.claude/agents/consensus/raft-manager.md +0 -63
  123. package/agentic-flow/.claude/agents/consensus/security-manager.md +0 -622
  124. package/agentic-flow/.claude/agents/core/coder.md +0 -211
  125. package/agentic-flow/.claude/agents/core/planner.md +0 -116
  126. package/agentic-flow/.claude/agents/core/researcher.md +0 -136
  127. package/agentic-flow/.claude/agents/core/reviewer.md +0 -272
  128. package/agentic-flow/.claude/agents/core/tester.md +0 -266
  129. package/agentic-flow/.claude/agents/data/ml/data-ml-model.md +0 -193
  130. package/agentic-flow/.claude/agents/development/backend/dev-backend-api.md +0 -142
  131. package/agentic-flow/.claude/agents/devops/ci-cd/ops-cicd-github.md +0 -164
  132. package/agentic-flow/.claude/agents/documentation/api-docs/docs-api-openapi.md +0 -174
  133. package/agentic-flow/.claude/agents/flow-nexus/app-store.md +0 -88
  134. package/agentic-flow/.claude/agents/flow-nexus/authentication.md +0 -69
  135. package/agentic-flow/.claude/agents/flow-nexus/challenges.md +0 -81
  136. package/agentic-flow/.claude/agents/flow-nexus/neural-network.md +0 -88
  137. package/agentic-flow/.claude/agents/flow-nexus/payments.md +0 -83
  138. package/agentic-flow/.claude/agents/flow-nexus/sandbox.md +0 -76
  139. package/agentic-flow/.claude/agents/flow-nexus/swarm.md +0 -76
  140. package/agentic-flow/.claude/agents/flow-nexus/user-tools.md +0 -96
  141. package/agentic-flow/.claude/agents/flow-nexus/workflow.md +0 -84
  142. package/agentic-flow/.claude/agents/github/code-review-swarm.md +0 -538
  143. package/agentic-flow/.claude/agents/github/github-modes.md +0 -173
  144. package/agentic-flow/.claude/agents/github/issue-tracker.md +0 -319
  145. package/agentic-flow/.claude/agents/github/multi-repo-swarm.md +0 -553
  146. package/agentic-flow/.claude/agents/github/pr-manager.md +0 -191
  147. package/agentic-flow/.claude/agents/github/project-board-sync.md +0 -509
  148. package/agentic-flow/.claude/agents/github/release-manager.md +0 -367
  149. package/agentic-flow/.claude/agents/github/release-swarm.md +0 -583
  150. package/agentic-flow/.claude/agents/github/repo-architect.md +0 -398
  151. package/agentic-flow/.claude/agents/github/swarm-issue.md +0 -573
  152. package/agentic-flow/.claude/agents/github/swarm-pr.md +0 -428
  153. package/agentic-flow/.claude/agents/github/sync-coordinator.md +0 -452
  154. package/agentic-flow/.claude/agents/github/workflow-automation.md +0 -635
  155. package/agentic-flow/.claude/agents/goal/agent.md +0 -816
  156. package/agentic-flow/.claude/agents/goal/goal-planner.md +0 -73
  157. package/agentic-flow/.claude/agents/optimization/benchmark-suite.md +0 -665
  158. package/agentic-flow/.claude/agents/optimization/load-balancer.md +0 -431
  159. package/agentic-flow/.claude/agents/optimization/performance-monitor.md +0 -672
  160. package/agentic-flow/.claude/agents/optimization/resource-allocator.md +0 -674
  161. package/agentic-flow/.claude/agents/optimization/topology-optimizer.md +0 -808
  162. package/agentic-flow/.claude/agents/sparc/architecture.md +0 -472
  163. package/agentic-flow/.claude/agents/sparc/pseudocode.md +0 -318
  164. package/agentic-flow/.claude/agents/sparc/refinement.md +0 -525
  165. package/agentic-flow/.claude/agents/sparc/specification.md +0 -276
  166. package/agentic-flow/.claude/agents/specialized/mobile/spec-mobile-react-native.md +0 -226
  167. package/agentic-flow/.claude/agents/swarm/adaptive-coordinator.md +0 -396
  168. package/agentic-flow/.claude/agents/swarm/hierarchical-coordinator.md +0 -256
  169. package/agentic-flow/.claude/agents/swarm/mesh-coordinator.md +0 -392
  170. package/agentic-flow/.claude/agents/templates/automation-smart-agent.md +0 -205
  171. package/agentic-flow/.claude/agents/templates/coordinator-swarm-init.md +0 -90
  172. package/agentic-flow/.claude/agents/templates/github-pr-manager.md +0 -177
  173. package/agentic-flow/.claude/agents/templates/implementer-sparc-coder.md +0 -259
  174. package/agentic-flow/.claude/agents/templates/memory-coordinator.md +0 -187
  175. package/agentic-flow/.claude/agents/templates/migration-plan.md +0 -746
  176. package/agentic-flow/.claude/agents/templates/orchestrator-task.md +0 -139
  177. package/agentic-flow/.claude/agents/templates/performance-analyzer.md +0 -199
  178. package/agentic-flow/.claude/agents/templates/sparc-coordinator.md +0 -183
  179. package/agentic-flow/.claude/agents/testing/unit/tdd-london-swarm.md +0 -244
  180. package/agentic-flow/.claude/agents/testing/validation/production-validator.md +0 -395
  181. package/agentic-flow/.claude/commands/agents/README.md +0 -10
  182. package/agentic-flow/.claude/commands/agents/agent-capabilities.md +0 -21
  183. package/agentic-flow/.claude/commands/agents/agent-coordination.md +0 -28
  184. package/agentic-flow/.claude/commands/agents/agent-spawning.md +0 -28
  185. package/agentic-flow/.claude/commands/agents/agent-types.md +0 -26
  186. package/agentic-flow/.claude/commands/analysis/COMMAND_COMPLIANCE_REPORT.md +0 -54
  187. package/agentic-flow/.claude/commands/analysis/README.md +0 -9
  188. package/agentic-flow/.claude/commands/analysis/bottleneck-detect.md +0 -162
  189. package/agentic-flow/.claude/commands/analysis/performance-bottlenecks.md +0 -59
  190. package/agentic-flow/.claude/commands/analysis/performance-report.md +0 -25
  191. package/agentic-flow/.claude/commands/analysis/token-efficiency.md +0 -45
  192. package/agentic-flow/.claude/commands/analysis/token-usage.md +0 -25
  193. package/agentic-flow/.claude/commands/automation/README.md +0 -9
  194. package/agentic-flow/.claude/commands/automation/auto-agent.md +0 -122
  195. package/agentic-flow/.claude/commands/automation/self-healing.md +0 -106
  196. package/agentic-flow/.claude/commands/automation/session-memory.md +0 -90
  197. package/agentic-flow/.claude/commands/automation/smart-agents.md +0 -73
  198. package/agentic-flow/.claude/commands/automation/smart-spawn.md +0 -25
  199. package/agentic-flow/.claude/commands/automation/workflow-select.md +0 -25
  200. package/agentic-flow/.claude/commands/flow-nexus/app-store.md +0 -124
  201. package/agentic-flow/.claude/commands/flow-nexus/challenges.md +0 -120
  202. package/agentic-flow/.claude/commands/flow-nexus/login-registration.md +0 -65
  203. package/agentic-flow/.claude/commands/flow-nexus/neural-network.md +0 -134
  204. package/agentic-flow/.claude/commands/flow-nexus/payments.md +0 -116
  205. package/agentic-flow/.claude/commands/flow-nexus/sandbox.md +0 -83
  206. package/agentic-flow/.claude/commands/flow-nexus/swarm.md +0 -87
  207. package/agentic-flow/.claude/commands/flow-nexus/user-tools.md +0 -152
  208. package/agentic-flow/.claude/commands/flow-nexus/workflow.md +0 -115
  209. package/agentic-flow/.claude/commands/github/README.md +0 -11
  210. package/agentic-flow/.claude/commands/github/code-review-swarm.md +0 -514
  211. package/agentic-flow/.claude/commands/github/code-review.md +0 -25
  212. package/agentic-flow/.claude/commands/github/github-modes.md +0 -147
  213. package/agentic-flow/.claude/commands/github/github-swarm.md +0 -121
  214. package/agentic-flow/.claude/commands/github/issue-tracker.md +0 -292
  215. package/agentic-flow/.claude/commands/github/issue-triage.md +0 -25
  216. package/agentic-flow/.claude/commands/github/multi-repo-swarm.md +0 -519
  217. package/agentic-flow/.claude/commands/github/pr-enhance.md +0 -26
  218. package/agentic-flow/.claude/commands/github/pr-manager.md +0 -170
  219. package/agentic-flow/.claude/commands/github/project-board-sync.md +0 -471
  220. package/agentic-flow/.claude/commands/github/release-manager.md +0 -338
  221. package/agentic-flow/.claude/commands/github/release-swarm.md +0 -544
  222. package/agentic-flow/.claude/commands/github/repo-analyze.md +0 -25
  223. package/agentic-flow/.claude/commands/github/repo-architect.md +0 -367
  224. package/agentic-flow/.claude/commands/github/swarm-issue.md +0 -482
  225. package/agentic-flow/.claude/commands/github/swarm-pr.md +0 -285
  226. package/agentic-flow/.claude/commands/github/sync-coordinator.md +0 -301
  227. package/agentic-flow/.claude/commands/github/workflow-automation.md +0 -442
  228. package/agentic-flow/.claude/commands/hive-mind/README.md +0 -17
  229. package/agentic-flow/.claude/commands/hive-mind/hive-mind-consensus.md +0 -8
  230. package/agentic-flow/.claude/commands/hive-mind/hive-mind-init.md +0 -18
  231. package/agentic-flow/.claude/commands/hive-mind/hive-mind-memory.md +0 -8
  232. package/agentic-flow/.claude/commands/hive-mind/hive-mind-metrics.md +0 -8
  233. package/agentic-flow/.claude/commands/hive-mind/hive-mind-resume.md +0 -8
  234. package/agentic-flow/.claude/commands/hive-mind/hive-mind-sessions.md +0 -8
  235. package/agentic-flow/.claude/commands/hive-mind/hive-mind-spawn.md +0 -21
  236. package/agentic-flow/.claude/commands/hive-mind/hive-mind-status.md +0 -8
  237. package/agentic-flow/.claude/commands/hive-mind/hive-mind-stop.md +0 -8
  238. package/agentic-flow/.claude/commands/hive-mind/hive-mind-wizard.md +0 -8
  239. package/agentic-flow/.claude/commands/hive-mind/hive-mind.md +0 -27
  240. package/agentic-flow/.claude/commands/hooks/README.md +0 -11
  241. package/agentic-flow/.claude/commands/hooks/overview.md +0 -58
  242. package/agentic-flow/.claude/commands/hooks/post-edit.md +0 -117
  243. package/agentic-flow/.claude/commands/hooks/post-task.md +0 -112
  244. package/agentic-flow/.claude/commands/hooks/pre-edit.md +0 -113
  245. package/agentic-flow/.claude/commands/hooks/pre-task.md +0 -111
  246. package/agentic-flow/.claude/commands/hooks/session-end.md +0 -118
  247. package/agentic-flow/.claude/commands/hooks/setup.md +0 -103
  248. package/agentic-flow/.claude/commands/monitoring/README.md +0 -9
  249. package/agentic-flow/.claude/commands/monitoring/agent-metrics.md +0 -25
  250. package/agentic-flow/.claude/commands/monitoring/agents.md +0 -44
  251. package/agentic-flow/.claude/commands/monitoring/real-time-view.md +0 -25
  252. package/agentic-flow/.claude/commands/monitoring/status.md +0 -46
  253. package/agentic-flow/.claude/commands/monitoring/swarm-monitor.md +0 -25
  254. package/agentic-flow/.claude/commands/optimization/README.md +0 -9
  255. package/agentic-flow/.claude/commands/optimization/auto-topology.md +0 -62
  256. package/agentic-flow/.claude/commands/optimization/cache-manage.md +0 -25
  257. package/agentic-flow/.claude/commands/optimization/parallel-execute.md +0 -25
  258. package/agentic-flow/.claude/commands/optimization/parallel-execution.md +0 -50
  259. package/agentic-flow/.claude/commands/optimization/topology-optimize.md +0 -25
  260. package/agentic-flow/.claude/commands/pair/commands.md +0 -546
  261. package/agentic-flow/.claude/commands/pair/config.md +0 -510
  262. package/agentic-flow/.claude/commands/pair/examples.md +0 -512
  263. package/agentic-flow/.claude/commands/pair/modes.md +0 -348
  264. package/agentic-flow/.claude/commands/pair/session.md +0 -407
  265. package/agentic-flow/.claude/commands/pair/start.md +0 -209
  266. package/agentic-flow/.claude/commands/sparc/analyzer.md +0 -52
  267. package/agentic-flow/.claude/commands/sparc/architect.md +0 -53
  268. package/agentic-flow/.claude/commands/sparc/batch-executor.md +0 -54
  269. package/agentic-flow/.claude/commands/sparc/coder.md +0 -54
  270. package/agentic-flow/.claude/commands/sparc/debugger.md +0 -54
  271. package/agentic-flow/.claude/commands/sparc/designer.md +0 -53
  272. package/agentic-flow/.claude/commands/sparc/documenter.md +0 -54
  273. package/agentic-flow/.claude/commands/sparc/innovator.md +0 -54
  274. package/agentic-flow/.claude/commands/sparc/memory-manager.md +0 -54
  275. package/agentic-flow/.claude/commands/sparc/optimizer.md +0 -54
  276. package/agentic-flow/.claude/commands/sparc/orchestrator.md +0 -132
  277. package/agentic-flow/.claude/commands/sparc/researcher.md +0 -54
  278. package/agentic-flow/.claude/commands/sparc/reviewer.md +0 -54
  279. package/agentic-flow/.claude/commands/sparc/sparc-modes.md +0 -174
  280. package/agentic-flow/.claude/commands/sparc/swarm-coordinator.md +0 -54
  281. package/agentic-flow/.claude/commands/sparc/tdd.md +0 -54
  282. package/agentic-flow/.claude/commands/sparc/tester.md +0 -54
  283. package/agentic-flow/.claude/commands/sparc/workflow-manager.md +0 -54
  284. package/agentic-flow/.claude/commands/stream-chain/pipeline.md +0 -121
  285. package/agentic-flow/.claude/commands/stream-chain/run.md +0 -70
  286. package/agentic-flow/.claude/commands/swarm/README.md +0 -15
  287. package/agentic-flow/.claude/commands/swarm/analysis.md +0 -95
  288. package/agentic-flow/.claude/commands/swarm/development.md +0 -96
  289. package/agentic-flow/.claude/commands/swarm/examples.md +0 -168
  290. package/agentic-flow/.claude/commands/swarm/maintenance.md +0 -102
  291. package/agentic-flow/.claude/commands/swarm/optimization.md +0 -117
  292. package/agentic-flow/.claude/commands/swarm/research.md +0 -136
  293. package/agentic-flow/.claude/commands/swarm/swarm-analysis.md +0 -8
  294. package/agentic-flow/.claude/commands/swarm/swarm-background.md +0 -8
  295. package/agentic-flow/.claude/commands/swarm/swarm-init.md +0 -19
  296. package/agentic-flow/.claude/commands/swarm/swarm-modes.md +0 -8
  297. package/agentic-flow/.claude/commands/swarm/swarm-monitor.md +0 -8
  298. package/agentic-flow/.claude/commands/swarm/swarm-spawn.md +0 -19
  299. package/agentic-flow/.claude/commands/swarm/swarm-status.md +0 -8
  300. package/agentic-flow/.claude/commands/swarm/swarm-strategies.md +0 -8
  301. package/agentic-flow/.claude/commands/swarm/swarm.md +0 -27
  302. package/agentic-flow/.claude/commands/swarm/testing.md +0 -131
  303. package/agentic-flow/.claude/commands/training/README.md +0 -9
  304. package/agentic-flow/.claude/commands/training/model-update.md +0 -25
  305. package/agentic-flow/.claude/commands/training/neural-patterns.md +0 -74
  306. package/agentic-flow/.claude/commands/training/neural-train.md +0 -25
  307. package/agentic-flow/.claude/commands/training/pattern-learn.md +0 -25
  308. package/agentic-flow/.claude/commands/training/specialization.md +0 -63
  309. package/agentic-flow/.claude/commands/truth/start.md +0 -143
  310. package/agentic-flow/.claude/commands/verify/check.md +0 -50
  311. package/agentic-flow/.claude/commands/verify/start.md +0 -128
  312. package/agentic-flow/.claude/commands/workflows/README.md +0 -9
  313. package/agentic-flow/.claude/commands/workflows/development.md +0 -78
  314. package/agentic-flow/.claude/commands/workflows/research.md +0 -63
  315. package/agentic-flow/.claude/commands/workflows/workflow-create.md +0 -25
  316. package/agentic-flow/.claude/commands/workflows/workflow-execute.md +0 -25
  317. package/agentic-flow/.claude/commands/workflows/workflow-export.md +0 -25
  318. package/agentic-flow/.claude/helpers/checkpoint-manager.sh +0 -251
  319. package/agentic-flow/.claude/helpers/github-safe.js +0 -106
  320. package/agentic-flow/.claude/helpers/github-setup.sh +0 -28
  321. package/agentic-flow/.claude/helpers/quick-start.sh +0 -19
  322. package/agentic-flow/.claude/helpers/setup-mcp.sh +0 -18
  323. package/agentic-flow/.claude/helpers/standard-checkpoint-hooks.sh +0 -179
  324. package/agentic-flow/.claude/settings.json +0 -114
  325. package/agentic-flow/.claude/settings.local.json +0 -14
  326. package/agentic-flow/.claude/skills/skill-builder/.claude-flow/metrics/agent-metrics.json +0 -1
  327. package/agentic-flow/AGENT-BOOSTER-STATUS.md +0 -292
  328. package/agentic-flow/CHANGELOG-v1.3.0.md +0 -120
  329. package/agentic-flow/CHANGELOG.md +0 -1023
  330. package/agentic-flow/COMPLETION_REPORT_v1.7.1.md +0 -335
  331. package/agentic-flow/DOCKER-VERIFICATION.md +0 -207
  332. package/agentic-flow/IMPLEMENTATION_SUMMARY_v1.7.1.md +0 -241
  333. package/agentic-flow/NPX_AGENTDB_SETUP.md +0 -175
  334. package/agentic-flow/PUBLISH_GUIDE.md +0 -438
  335. package/agentic-flow/PUBLISH_SUMMARY_v1.7.1.md +0 -198
  336. package/agentic-flow/Python/AddTwoNumbers.py +0 -2
  337. package/agentic-flow/README.md +0 -577
  338. package/agentic-flow/RELEASE_NOTES_v1.7.0.md +0 -297
  339. package/agentic-flow/RELEASE_v1.7.1.md +0 -327
  340. package/agentic-flow/SUPABASE-INTEGRATION-COMPLETE.md +0 -357
  341. package/agentic-flow/TESTING_QUICK_START.md +0 -223
  342. package/agentic-flow/TOOL-EMULATION-INTEGRATION-ISSUE.md +0 -669
  343. package/agentic-flow/VALIDATION_v1.7.1.md +0 -234
  344. package/agentic-flow/add_two_numbers.py +0 -2
  345. package/agentic-flow/agentdb.db +0 -0
  346. package/agentic-flow/agentic-flow/.claude-flow/metrics/agent-metrics.json +0 -1
  347. package/agentic-flow/agentic-flow/.claude-flow/metrics/performance.json +0 -87
  348. package/agentic-flow/agentic-flow/.claude-flow/metrics/task-metrics.json +0 -10
  349. package/agentic-flow/app/app.py +0 -0
  350. package/agentic-flow/config/.mcp.json +0 -22
  351. package/agentic-flow/config/router.config.example.json +0 -224
  352. package/agentic-flow/config/router.config.json +0 -224
  353. package/agentic-flow/deployment/.claude-settings.json +0 -14
  354. package/agentic-flow/docker/claude-agent-sdk/docker/claude-agent-sdk/FASTMCP_SUMMARY.md +0 -369
  355. package/agentic-flow/docker/claude-agent-sdk/docker/claude-agent-sdk/docs/ARCHITECTURE.md +0 -385
  356. package/agentic-flow/docker/claude-agent-sdk/docker/claude-agent-sdk/docs/fastmcp-implementation.md +0 -351
  357. package/agentic-flow/docker/claude-agent-sdk/docker/claude-agent-sdk/docs/fastmcp-quick-start.md +0 -358
  358. package/agentic-flow/docker/claude-agent-sdk/docker/claude-agent-sdk/src/mcp/fastmcp/README.md +0 -340
  359. package/agentic-flow/docker/fastmcp-test.Dockerfile +0 -24
  360. package/agentic-flow/docker/federation-test/.claude-flow/metrics/agent-metrics.json +0 -1
  361. package/agentic-flow/docker/federation-test/.claude-flow/metrics/performance.json +0 -87
  362. package/agentic-flow/docker/federation-test/.claude-flow/metrics/task-metrics.json +0 -10
  363. package/agentic-flow/docker/federation-test/README.md +0 -314
  364. package/agentic-flow/docker/federation-test/run-test.sh +0 -65
  365. package/agentic-flow/docker/federation-test/standalone-agent.js +0 -180
  366. package/agentic-flow/docker/federation-test/standalone-hub.js +0 -85
  367. package/agentic-flow/docker/federation-test/test-published-hub.js +0 -66
  368. package/agentic-flow/docker/test-instance/.claude-flow/metrics/agent-metrics.json +0 -1
  369. package/agentic-flow/docker/test-instance/.claude-flow/metrics/performance.json +0 -87
  370. package/agentic-flow/docker/test-instance/.claude-flow/metrics/task-metrics.json +0 -10
  371. package/agentic-flow/docker/test-instance/.env.example +0 -51
  372. package/agentic-flow/docker/test-instance/COMPREHENSIVE_TEST_RESULTS.md +0 -766
  373. package/agentic-flow/docker/test-instance/DOCKER_VALIDATION_SUMMARY.md +0 -417
  374. package/agentic-flow/docker/test-instance/FIX_VALIDATION_REPORT.md +0 -619
  375. package/agentic-flow/docker/test-instance/INDEX.md +0 -282
  376. package/agentic-flow/docker/test-instance/QUICK_START.md +0 -217
  377. package/agentic-flow/docker/test-instance/README.md +0 -266
  378. package/agentic-flow/docker/test-instance/VALIDATION_REPORT.md +0 -424
  379. package/agentic-flow/docker/test-instance/test-model-config.md +0 -69
  380. package/agentic-flow/docker/test-instance/test-runner.sh +0 -91
  381. package/agentic-flow/docker/test-v1.1.10.dockerfile +0 -12
  382. package/agentic-flow/docker/test-validation.sh +0 -37
  383. package/agentic-flow/docker-test.sh +0 -77
  384. package/agentic-flow/docs/.claude-flow/metrics/agent-metrics.json +0 -1
  385. package/agentic-flow/docs/.claude-flow/metrics/performance.json +0 -87
  386. package/agentic-flow/docs/.claude-flow/metrics/task-metrics.json +0 -10
  387. package/agentic-flow/docs/CLAUDE.md +0 -352
  388. package/agentic-flow/docs/INDEX.md +0 -279
  389. package/agentic-flow/docs/LICENSE +0 -21
  390. package/agentic-flow/docs/architecture/EXECUTIVE_SUMMARY.md +0 -310
  391. package/agentic-flow/docs/architecture/IMPROVEMENT_PLAN.md +0 -11
  392. package/agentic-flow/docs/architecture/INTEGRATION-STATUS.md +0 -290
  393. package/agentic-flow/docs/architecture/MULTI_MODEL_ROUTER_PLAN.md +0 -620
  394. package/agentic-flow/docs/architecture/PACKAGE_STRUCTURE.md +0 -199
  395. package/agentic-flow/docs/architecture/QUIC-IMPLEMENTATION-SUMMARY.md +0 -490
  396. package/agentic-flow/docs/architecture/QUIC-SWARM-INTEGRATION.md +0 -593
  397. package/agentic-flow/docs/architecture/QUICK_WINS.md +0 -333
  398. package/agentic-flow/docs/architecture/README.md +0 -15
  399. package/agentic-flow/docs/architecture/RESEARCH_SUMMARY.md +0 -652
  400. package/agentic-flow/docs/guides/.claude-flow/metrics/agent-metrics.json +0 -1
  401. package/agentic-flow/docs/guides/.claude-flow/metrics/performance.json +0 -9
  402. package/agentic-flow/docs/guides/.claude-flow/metrics/task-metrics.json +0 -10
  403. package/agentic-flow/docs/guides/ADDING-MCP-SERVERS-CLI.md +0 -515
  404. package/agentic-flow/docs/guides/ADDING-MCP-SERVERS.md +0 -642
  405. package/agentic-flow/docs/guides/AGENT-BOOSTER.md +0 -435
  406. package/agentic-flow/docs/guides/ALTERNATIVE_LLM_MODELS.md +0 -524
  407. package/agentic-flow/docs/guides/CLAUDE-CODE-INTEGRATION.md +0 -403
  408. package/agentic-flow/docs/guides/DEPLOYMENT.md +0 -906
  409. package/agentic-flow/docs/guides/DOCKER_AGENT_USAGE.md +0 -352
  410. package/agentic-flow/docs/guides/IMPLEMENTATION_EXAMPLES.md +0 -960
  411. package/agentic-flow/docs/guides/MCP-TOOLS.md +0 -1166
  412. package/agentic-flow/docs/guides/MODEL-ID-MAPPING.md +0 -193
  413. package/agentic-flow/docs/guides/MULTI-MODEL-ROUTER.md +0 -702
  414. package/agentic-flow/docs/guides/NPM-PUBLISH.md +0 -218
  415. package/agentic-flow/docs/guides/ONNX-PROXY-IMPLEMENTATION.md +0 -254
  416. package/agentic-flow/docs/guides/ONNX_CLI_USAGE.md +0 -344
  417. package/agentic-flow/docs/guides/ONNX_OPTIMIZATION_GUIDE.md +0 -665
  418. package/agentic-flow/docs/guides/OPENROUTER_DEPLOYMENT.md +0 -495
  419. package/agentic-flow/docs/guides/PROXY-ARCHITECTURE-AND-EXTENSION.md +0 -708
  420. package/agentic-flow/docs/guides/QUIC-SWARM-QUICKSTART.md +0 -543
  421. package/agentic-flow/docs/guides/README.md +0 -17
  422. package/agentic-flow/docs/guides/REASONINGBANK.md +0 -721
  423. package/agentic-flow/docs/guides/STANDALONE_PROXY_GUIDE.md +0 -437
  424. package/agentic-flow/docs/guides/agent-sdk.md +0 -234
  425. package/agentic-flow/docs/reports/QUIC_PHASE1_COMPLETE.md +0 -409
  426. package/agentic-flow/docs/reports/QUIC_PHASE1_COMPLETION.md +0 -323
  427. package/agentic-flow/docs/reviews/quic-implementation-review.md +0 -1076
  428. package/agentic-flow/docs/router/.claude-flow/metrics/agent-metrics.json +0 -1
  429. package/agentic-flow/docs/router/.claude-flow/metrics/performance.json +0 -9
  430. package/agentic-flow/docs/router/.claude-flow/metrics/task-metrics.json +0 -10
  431. package/agentic-flow/examples/PHASE-2-INTEGRATION-GUIDE.md +0 -380
  432. package/agentic-flow/examples/PHASE-2-TEST-REPORT.md +0 -325
  433. package/agentic-flow/examples/REGRESSION-TEST-RESULTS.md +0 -334
  434. package/agentic-flow/examples/TOOL-EMULATION-ARCHITECTURE.md +0 -473
  435. package/agentic-flow/examples/VALIDATION-SUMMARY.md +0 -323
  436. package/agentic-flow/examples/agentdb-memory-patterns/.claude-flow/metrics/agent-metrics.json +0 -1
  437. package/agentic-flow/examples/agentdb-memory-patterns/.claude-flow/metrics/performance.json +0 -87
  438. package/agentic-flow/examples/agentdb-memory-patterns/.claude-flow/metrics/task-metrics.json +0 -10
  439. package/agentic-flow/examples/crispr-cas13-pipeline/.github/workflows/ci.yml +0 -341
  440. package/agentic-flow/examples/crispr-cas13-pipeline/CONTRIBUTING.md +0 -388
  441. package/agentic-flow/examples/crispr-cas13-pipeline/Cargo.lock +0 -5323
  442. package/agentic-flow/examples/crispr-cas13-pipeline/Cargo.toml +0 -105
  443. package/agentic-flow/examples/crispr-cas13-pipeline/DELIVERABLES.md +0 -140
  444. package/agentic-flow/examples/crispr-cas13-pipeline/LICENSE +0 -32
  445. package/agentic-flow/examples/crispr-cas13-pipeline/PROJECT_SUMMARY.md +0 -515
  446. package/agentic-flow/examples/crispr-cas13-pipeline/PUBLISHING_NOTES.md +0 -171
  447. package/agentic-flow/examples/crispr-cas13-pipeline/PUBLISH_CHECKLIST.md +0 -216
  448. package/agentic-flow/examples/crispr-cas13-pipeline/README.md +0 -591
  449. package/agentic-flow/examples/crispr-cas13-pipeline/TEST_SUITE_SUMMARY.md +0 -318
  450. package/agentic-flow/examples/crispr-cas13-pipeline/benches/alignment_benchmark.rs +0 -207
  451. package/agentic-flow/examples/crispr-cas13-pipeline/benches/api_benchmark.rs +0 -346
  452. package/agentic-flow/examples/crispr-cas13-pipeline/benches/comprehensive_benchmarks.rs +0 -362
  453. package/agentic-flow/examples/crispr-cas13-pipeline/benches/immune_analysis_benchmark.rs +0 -369
  454. package/agentic-flow/examples/crispr-cas13-pipeline/benches/offtarget_prediction_benchmark.rs +0 -291
  455. package/agentic-flow/examples/crispr-cas13-pipeline/crates/alignment-engine/Cargo.toml +0 -23
  456. package/agentic-flow/examples/crispr-cas13-pipeline/crates/alignment-engine/src/bwa.rs +0 -255
  457. package/agentic-flow/examples/crispr-cas13-pipeline/crates/alignment-engine/src/error.rs +0 -34
  458. package/agentic-flow/examples/crispr-cas13-pipeline/crates/alignment-engine/src/lib.rs +0 -136
  459. package/agentic-flow/examples/crispr-cas13-pipeline/crates/alignment-engine/src/quality.rs +0 -287
  460. package/agentic-flow/examples/crispr-cas13-pipeline/crates/alignment-engine/tests/alignment_test.rs +0 -230
  461. package/agentic-flow/examples/crispr-cas13-pipeline/crates/api-service/Cargo.toml +0 -32
  462. package/agentic-flow/examples/crispr-cas13-pipeline/crates/api-service/src/error.rs +0 -38
  463. package/agentic-flow/examples/crispr-cas13-pipeline/crates/api-service/src/main.rs +0 -41
  464. package/agentic-flow/examples/crispr-cas13-pipeline/crates/api-service/src/routes.rs +0 -56
  465. package/agentic-flow/examples/crispr-cas13-pipeline/crates/api-service/tests/api_test.rs +0 -306
  466. package/agentic-flow/examples/crispr-cas13-pipeline/crates/data-models/Cargo.toml +0 -17
  467. package/agentic-flow/examples/crispr-cas13-pipeline/crates/data-models/src/error.rs +0 -31
  468. package/agentic-flow/examples/crispr-cas13-pipeline/crates/data-models/src/expression.rs +0 -313
  469. package/agentic-flow/examples/crispr-cas13-pipeline/crates/data-models/src/lib.rs +0 -27
  470. package/agentic-flow/examples/crispr-cas13-pipeline/crates/data-models/src/metadata.rs +0 -302
  471. package/agentic-flow/examples/crispr-cas13-pipeline/crates/data-models/src/sequencing.rs +0 -240
  472. package/agentic-flow/examples/crispr-cas13-pipeline/crates/data-models/src/targets.rs +0 -281
  473. package/agentic-flow/examples/crispr-cas13-pipeline/crates/data-models/tests/models_test.rs +0 -155
  474. package/agentic-flow/examples/crispr-cas13-pipeline/crates/immune-analyzer/Cargo.toml +0 -24
  475. package/agentic-flow/examples/crispr-cas13-pipeline/crates/immune-analyzer/src/deseq.rs +0 -265
  476. package/agentic-flow/examples/crispr-cas13-pipeline/crates/immune-analyzer/src/error.rs +0 -28
  477. package/agentic-flow/examples/crispr-cas13-pipeline/crates/immune-analyzer/src/lib.rs +0 -10
  478. package/agentic-flow/examples/crispr-cas13-pipeline/crates/immune-analyzer/src/normalization.rs +0 -173
  479. package/agentic-flow/examples/crispr-cas13-pipeline/crates/immune-analyzer/src/pathways.rs +0 -195
  480. package/agentic-flow/examples/crispr-cas13-pipeline/crates/immune-analyzer/tests/analysis_test.rs +0 -258
  481. package/agentic-flow/examples/crispr-cas13-pipeline/crates/offtarget-predictor/Cargo.toml +0 -26
  482. package/agentic-flow/examples/crispr-cas13-pipeline/crates/offtarget-predictor/src/error.rs +0 -34
  483. package/agentic-flow/examples/crispr-cas13-pipeline/crates/offtarget-predictor/src/features.rs +0 -272
  484. package/agentic-flow/examples/crispr-cas13-pipeline/crates/offtarget-predictor/src/lib.rs +0 -72
  485. package/agentic-flow/examples/crispr-cas13-pipeline/crates/offtarget-predictor/src/ml_model.rs +0 -264
  486. package/agentic-flow/examples/crispr-cas13-pipeline/crates/offtarget-predictor/src/scoring.rs +0 -292
  487. package/agentic-flow/examples/crispr-cas13-pipeline/crates/offtarget-predictor/tests/prediction_test.rs +0 -245
  488. package/agentic-flow/examples/crispr-cas13-pipeline/crates/processing-orchestrator/Cargo.toml +0 -26
  489. package/agentic-flow/examples/crispr-cas13-pipeline/crates/processing-orchestrator/src/jobs.rs +0 -27
  490. package/agentic-flow/examples/crispr-cas13-pipeline/crates/processing-orchestrator/src/main.rs +0 -35
  491. package/agentic-flow/examples/crispr-cas13-pipeline/crates/processing-orchestrator/src/scheduler.rs +0 -24
  492. package/agentic-flow/examples/crispr-cas13-pipeline/crates/processing-orchestrator/src/workers.rs +0 -17
  493. package/agentic-flow/examples/crispr-cas13-pipeline/docs/ARCHITECTURAL_DECISIONS.md +0 -429
  494. package/agentic-flow/examples/crispr-cas13-pipeline/docs/ARCHITECTURE.md +0 -2964
  495. package/agentic-flow/examples/crispr-cas13-pipeline/docs/ARCHITECTURE_SUMMARY.md +0 -286
  496. package/agentic-flow/examples/crispr-cas13-pipeline/docs/BENCHMARKS.md +0 -380
  497. package/agentic-flow/examples/crispr-cas13-pipeline/docs/PSEUDOCODE.md +0 -354
  498. package/agentic-flow/examples/crispr-cas13-pipeline/docs/REVIEW_REPORT.md +0 -543
  499. package/agentic-flow/examples/crispr-cas13-pipeline/docs/RIGHTS_PRESERVING_PLATFORM.md +0 -342
  500. package/agentic-flow/examples/crispr-cas13-pipeline/docs/SECURITY_AUDIT.md +0 -756
  501. package/agentic-flow/examples/crispr-cas13-pipeline/docs/SPECIFICATION.md +0 -719
  502. package/agentic-flow/examples/crispr-cas13-pipeline/docs/TESTING_GUIDE.md +0 -575
  503. package/agentic-flow/examples/crispr-cas13-pipeline/docs/algorithms/README.md +0 -121
  504. package/agentic-flow/examples/crispr-cas13-pipeline/docs/algorithms/alignment-module.md +0 -868
  505. package/agentic-flow/examples/crispr-cas13-pipeline/docs/algorithms/expression-module.md +0 -928
  506. package/agentic-flow/examples/crispr-cas13-pipeline/docs/algorithms/offtarget-module.md +0 -1030
  507. package/agentic-flow/examples/crispr-cas13-pipeline/docs/algorithms/reporting-module.md +0 -1135
  508. package/agentic-flow/examples/crispr-cas13-pipeline/docs/api-spec.openapi.yaml +0 -1258
  509. package/agentic-flow/examples/crispr-cas13-pipeline/docs/architecture-diagrams/c4-component.md +0 -240
  510. package/agentic-flow/examples/crispr-cas13-pipeline/docs/architecture-diagrams/c4-container.md +0 -223
  511. package/agentic-flow/examples/crispr-cas13-pipeline/docs/architecture-diagrams/c4-context.md +0 -86
  512. package/agentic-flow/examples/crispr-cas13-pipeline/docs/architecture-diagrams/sequence-diagrams.md +0 -499
  513. package/agentic-flow/examples/crispr-cas13-pipeline/docs/data-layer/schema.sql +0 -363
  514. package/agentic-flow/examples/crispr-cas13-pipeline/docs/data-models.yaml +0 -1639
  515. package/agentic-flow/examples/crispr-cas13-pipeline/docs/database-schemas.sql +0 -731
  516. package/agentic-flow/examples/crispr-cas13-pipeline/docs/deployment/alignment-service.yaml +0 -171
  517. package/agentic-flow/examples/crispr-cas13-pipeline/docs/deployment/api-gateway.yaml +0 -253
  518. package/agentic-flow/examples/crispr-cas13-pipeline/docs/deployment/namespace.yaml +0 -26
  519. package/agentic-flow/examples/crispr-cas13-pipeline/docs/deployment/postgresql.yaml +0 -119
  520. package/agentic-flow/examples/crispr-cas13-pipeline/docs/docker/alignment-service/requirements.txt +0 -18
  521. package/agentic-flow/examples/crispr-cas13-pipeline/docs/docker/diff-expr-service/requirements.txt +0 -19
  522. package/agentic-flow/examples/crispr-cas13-pipeline/docs/docker/off-target-service/requirements.txt +0 -27
  523. package/agentic-flow/examples/crispr-cas13-pipeline/docs/flowcharts/README.md +0 -130
  524. package/agentic-flow/examples/crispr-cas13-pipeline/docs/flowcharts/alignment-flowchart.md +0 -221
  525. package/agentic-flow/examples/crispr-cas13-pipeline/docs/flowcharts/expression-flowchart.md +0 -426
  526. package/agentic-flow/examples/crispr-cas13-pipeline/docs/flowcharts/offtarget-flowchart.md +0 -317
  527. package/agentic-flow/examples/crispr-cas13-pipeline/docs/flowcharts/reporting-flowchart.md +0 -502
  528. package/agentic-flow/examples/crispr-cas13-pipeline/docs/mongodb-collections.json +0 -759
  529. package/agentic-flow/examples/crispr-cas13-pipeline/docs/monitoring/alerts.yml +0 -291
  530. package/agentic-flow/examples/crispr-cas13-pipeline/docs/monitoring/grafana-dashboard-system-overview.json +0 -236
  531. package/agentic-flow/examples/crispr-cas13-pipeline/docs/monitoring/prometheus.yml +0 -213
  532. package/agentic-flow/examples/crispr-cas13-pipeline/docs/security/oauth2-authentication.md +0 -478
  533. package/agentic-flow/examples/crispr-cas13-pipeline/src/api/gateway.rs +0 -257
  534. package/agentic-flow/examples/crispr-cas13-pipeline/src/api/mod.rs +0 -1
  535. package/agentic-flow/examples/crispr-cas13-pipeline/src/audit/logger.rs +0 -345
  536. package/agentic-flow/examples/crispr-cas13-pipeline/src/audit/mod.rs +0 -1
  537. package/agentic-flow/examples/crispr-cas13-pipeline/src/governance/mod.rs +0 -1
  538. package/agentic-flow/examples/crispr-cas13-pipeline/src/governance/policy.rs +0 -339
  539. package/agentic-flow/examples/crispr-cas13-pipeline/src/lib.rs +0 -227
  540. package/agentic-flow/examples/crispr-cas13-pipeline/src/main.rs +0 -114
  541. package/agentic-flow/examples/crispr-cas13-pipeline/src/privacy/differential.rs +0 -303
  542. package/agentic-flow/examples/crispr-cas13-pipeline/src/privacy/mod.rs +0 -1
  543. package/agentic-flow/examples/crispr-cas13-pipeline/src/services/grpc.rs +0 -358
  544. package/agentic-flow/examples/crispr-cas13-pipeline/src/services/mod.rs +0 -1
  545. package/agentic-flow/examples/crispr-cas13-pipeline/tests/README.md +0 -336
  546. package/agentic-flow/examples/crispr-cas13-pipeline/tests/TESTING_SUMMARY.md +0 -386
  547. package/agentic-flow/examples/crispr-cas13-pipeline/tests/TEST_COVERAGE_REPORT.md +0 -347
  548. package/agentic-flow/examples/crispr-cas13-pipeline/tests/fixtures/mod.rs +0 -400
  549. package/agentic-flow/examples/crispr-cas13-pipeline/tests/integration/enhanced_integration_tests.rs +0 -432
  550. package/agentic-flow/examples/crispr-cas13-pipeline/tests/integration_test.rs +0 -340
  551. package/agentic-flow/examples/crispr-cas13-pipeline/tests/load_testing_k6.js +0 -269
  552. package/agentic-flow/examples/crispr-cas13-pipeline/tests/load_testing_locust.py +0 -290
  553. package/agentic-flow/examples/crispr-cas13-pipeline/tests/property/enhanced_property_tests.rs +0 -479
  554. package/agentic-flow/examples/crispr-cas13-pipeline/tests/property_tests.rs +0 -371
  555. package/agentic-flow/examples/crispr-cas13-pipeline/tests/rights_preserving_test.rs +0 -251
  556. package/agentic-flow/examples/crispr-cas13-pipeline/tests/unit/alignment_tests.rs +0 -307
  557. package/agentic-flow/examples/crispr-cas13-pipeline/tests/unit/api_service_tests.rs +0 -376
  558. package/agentic-flow/examples/crispr-cas13-pipeline/tests/unit/data_models_tests.rs +0 -283
  559. package/agentic-flow/examples/crispr-cas13-pipeline/tests/unit/immune_analyzer_tests.rs +0 -374
  560. package/agentic-flow/examples/crispr-cas13-pipeline/tests/unit/offtarget_tests.rs +0 -334
  561. package/agentic-flow/examples/crispr-cas13-pipeline/tests/unit/orchestrator_tests.rs +0 -466
  562. package/agentic-flow/examples/federated-agentdb/README.md +0 -494
  563. package/agentic-flow/memory-backup.json +0 -48
  564. package/agentic-flow/package-lock.json +0 -3974
  565. package/agentic-flow/package.json +0 -182
  566. package/agentic-flow/patches/agentdb-fix-imports.patch +0 -13
  567. package/agentic-flow/path/to/file.py +0 -2
  568. package/agentic-flow/path/to/your/script.py +0 -2
  569. package/agentic-flow/python/calculation.py +0 -1
  570. package/agentic-flow/python/operation.py +0 -1
  571. package/agentic-flow/run-agentdb.sh +0 -8
  572. package/agentic-flow/supabase/.temp/cli-latest +0 -1
  573. package/agentic-flow/supabase/.temp/gotrue-version +0 -1
  574. package/agentic-flow/supabase/.temp/pooler-url +0 -1
  575. package/agentic-flow/supabase/.temp/postgres-version +0 -1
  576. package/agentic-flow/supabase/.temp/project-ref +0 -1
  577. package/agentic-flow/supabase/.temp/rest-version +0 -1
  578. package/agentic-flow/supabase/.temp/storage-migration +0 -1
  579. package/agentic-flow/supabase/.temp/storage-version +0 -1
  580. package/agentic-flow/test-tool-commands.sh +0 -26
  581. package/agentic-llm/DEPLOYMENT_STATUS_UPDATE.md +0 -30
  582. package/agentic-llm/MONITOR_SUMMARY.md +0 -116
  583. package/agentic-llm/benchmarks/DEPLOYMENT_SUMMARY.md +0 -106
  584. package/agentic-llm/benchmarks/benchmark.py +0 -419
  585. package/agentic-llm/benchmarks/comparison/optimization_comparison.json +0 -57
  586. package/agentic-llm/benchmarks/finetune_comparison.py +0 -252
  587. package/agentic-llm/benchmarks/results/.gitkeep +0 -2
  588. package/agentic-llm/benchmarks/results/README.md +0 -59
  589. package/agentic-llm/benchmarks/results/agent-booster-results.json +0 -116
  590. package/agentic-llm/benchmarks/results/morph-baseline-results.json +0 -168
  591. package/agentic-llm/benchmarks/run_comparison.py +0 -246
  592. package/agentic-llm/check-training.sh +0 -27
  593. package/agentic-llm/claude_sdk/integration.py +0 -335
  594. package/agentic-llm/cloudrun/cloud_runner.py +0 -390
  595. package/agentic-llm/cloudrun/deploy.sh +0 -83
  596. package/agentic-llm/cloudrun/entrypoint.sh +0 -10
  597. package/agentic-llm/cloudrun/health_server.py +0 -114
  598. package/agentic-llm/cloudrun/setup-secrets.sh +0 -26
  599. package/agentic-llm/cloudrun/upload_to_huggingface.py +0 -277
  600. package/agentic-llm/configs/training_config.json +0 -71
  601. package/agentic-llm/deployment/DEPLOYMENT_INSTRUCTIONS.md +0 -93
  602. package/agentic-llm/deployment/fly.toml +0 -52
  603. package/agentic-llm/docs/BENCHMARK_OPTIMIZATION_GUIDE.md +0 -435
  604. package/agentic-llm/docs/CLOUD_RUN_DEPLOYMENT.md +0 -368
  605. package/agentic-llm/docs/DEPLOYMENT_GUIDE.md +0 -475
  606. package/agentic-llm/docs/DEPLOYMENT_READY.txt +0 -98
  607. package/agentic-llm/docs/DEPLOYMENT_STATUS.md +0 -389
  608. package/agentic-llm/docs/DEPLOYMENT_SUMMARY.md +0 -358
  609. package/agentic-llm/docs/DEPLOY_STATUS.md +0 -69
  610. package/agentic-llm/docs/FINETUNING_GUIDE.md +0 -483
  611. package/agentic-llm/docs/INDEX.md +0 -43
  612. package/agentic-llm/docs/OPTIMIZATION_RESULTS.md +0 -375
  613. package/agentic-llm/docs/PHI4_FINETUNING_RESEARCH.md +0 -1352
  614. package/agentic-llm/docs/QUICKSTART.md +0 -124
  615. package/agentic-llm/docs/README.md +0 -389
  616. package/agentic-llm/docs/TRAINING_MONITOR.md +0 -77
  617. package/agentic-llm/docs/USAGE_GUIDE.md +0 -499
  618. package/agentic-llm/monitor-loop.sh +0 -52
  619. package/agentic-llm/monitor-training.sh +0 -56
  620. package/agentic-llm/quantization/quantize.py +0 -255
  621. package/agentic-llm/requirements.txt +0 -43
  622. package/agentic-llm/scripts/deploy.sh +0 -120
  623. package/agentic-llm/scripts/run_benchmarks.sh +0 -53
  624. package/agentic-llm/scripts/run_finetuning.sh +0 -90
  625. package/agentic-llm/scripts/test_local.sh +0 -77
  626. package/agentic-llm/training/data/mcp_tools_dataset.json +0 -140
  627. package/agentic-llm/training/finetune_mcp.py +0 -306
  628. package/agentic-llm/training/mcp_dataset.py +0 -395
  629. package/agentic-llm/training/train.py +0 -347
  630. package/agentic-llm/validation/data/mcp_validation_set.json +0 -37
  631. package/agentic-llm/validation/mcp_validator.py +0 -267
  632. package/agentic-llm/validation/validator.py +0 -319
  633. package/bench/.claude-flow/metrics/agent-metrics.json +0 -1
  634. package/bench/.claude-flow/metrics/performance.json +0 -9
  635. package/bench/.claude-flow/metrics/task-metrics.json +0 -10
  636. package/bench/BENCHMARK-GUIDE.md +0 -506
  637. package/bench/BENCHMARK-RESULTS-TEMPLATE.md +0 -253
  638. package/bench/COMPLETION-SUMMARY.md +0 -409
  639. package/bench/README.md +0 -217
  640. package/bench/agents/baseline-agent.js +0 -69
  641. package/bench/agents/baseline-agent.ts +0 -78
  642. package/bench/agents/reasoningbank-agent.js +0 -141
  643. package/bench/agents/reasoningbank-agent.ts +0 -173
  644. package/bench/benchmark.js +0 -244
  645. package/bench/benchmark.ts +0 -309
  646. package/bench/config.json +0 -79
  647. package/bench/lib/metrics.js +0 -163
  648. package/bench/lib/metrics.ts +0 -216
  649. package/bench/lib/report-generator.js +0 -252
  650. package/bench/lib/report-generator.ts +0 -266
  651. package/bench/lib/types.js +0 -4
  652. package/bench/lib/types.ts +0 -117
  653. package/bench/package.json +0 -36
  654. package/bench/run-benchmark.sh +0 -67
  655. package/bench/scenarios/api-design-tasks.js +0 -175
  656. package/bench/scenarios/api-design-tasks.ts +0 -199
  657. package/bench/scenarios/coding-tasks.js +0 -199
  658. package/bench/scenarios/coding-tasks.ts +0 -223
  659. package/bench/scenarios/debugging-tasks.js +0 -216
  660. package/bench/scenarios/debugging-tasks.ts +0 -234
  661. package/bench/scenarios/problem-solving-tasks.js +0 -172
  662. package/bench/scenarios/problem-solving-tasks.ts +0 -196
  663. package/bench/tsconfig.json +0 -26
  664. package/benchmarks/quic-transport.bench.ts +0 -584
  665. package/claude-flow +0 -34
  666. package/crates/agentic-flow-quic/.claude-flow/metrics/agent-metrics.json +0 -1
  667. package/crates/agentic-flow-quic/.claude-flow/metrics/performance.json +0 -87
  668. package/crates/agentic-flow-quic/.claude-flow/metrics/task-metrics.json +0 -10
  669. package/crates/agentic-flow-quic/Cargo.toml +0 -66
  670. package/crates/agentic-flow-quic/IMPLEMENTATION.md +0 -299
  671. package/crates/agentic-flow-quic/README.md +0 -75
  672. package/crates/agentic-flow-quic/benches/quic_bench.rs +0 -229
  673. package/crates/agentic-flow-quic/build.rs +0 -23
  674. package/crates/agentic-flow-quic/src/client.rs +0 -242
  675. package/crates/agentic-flow-quic/src/error.rs +0 -100
  676. package/crates/agentic-flow-quic/src/lib.rs +0 -76
  677. package/crates/agentic-flow-quic/src/server.rs +0 -213
  678. package/crates/agentic-flow-quic/src/types.rs +0 -164
  679. package/crates/agentic-flow-quic/src/wasm.rs +0 -143
  680. package/crates/agentic-flow-quic/src/wasm_stub.rs +0 -61
  681. package/crates/agentic-flow-quic/tests/integration_test.rs +0 -254
  682. package/crates/agentic-flow-quic/wasm-pack-build.sh +0 -17
  683. package/crates/sqlite-vector-core/.claude-flow/metrics/agent-metrics.json +0 -1
  684. package/crates/sqlite-vector-core/.claude-flow/metrics/performance.json +0 -87
  685. package/crates/sqlite-vector-core/.claude-flow/metrics/task-metrics.json +0 -10
  686. package/crates/sqlite-vector-core/Cargo.lock +0 -942
  687. package/crates/sqlite-vector-wasm/.claude-flow/metrics/agent-metrics.json +0 -1
  688. package/crates/sqlite-vector-wasm/.claude-flow/metrics/performance.json +0 -87
  689. package/crates/sqlite-vector-wasm/.claude-flow/metrics/task-metrics.json +0 -10
  690. package/crates/sqlite-vector-wasm/Cargo.lock +0 -499
  691. package/docs/README.md +0 -85
  692. package/docs/REORGANIZATION_PLAN.md +0 -102
  693. package/docs/REORGANIZATION_SUMMARY.md +0 -183
  694. package/docs/agent-integration-guide.md +0 -483
  695. package/docs/api/mcp-tools/mcp-documentation-review.md +0 -834
  696. package/docs/api/mcp-tools/mcp-tools-architecture.md +0 -1082
  697. package/docs/architecture/FEDERATED-AGENTDB-EPHEMERAL-AGENTS.md +0 -680
  698. package/docs/architecture/FEDERATION-CLI-VALIDATION-REPORT.md +0 -491
  699. package/docs/features/README.md +0 -87
  700. package/docs/features/agent-booster/00-INDEX.md +0 -230
  701. package/docs/features/agent-booster/00-OVERVIEW.md +0 -454
  702. package/docs/features/agent-booster/01-ARCHITECTURE.md +0 -699
  703. package/docs/features/agent-booster/02-INTEGRATION.md +0 -771
  704. package/docs/features/agent-booster/03-BENCHMARKS.md +0 -616
  705. package/docs/features/agent-booster/04-NPM-SDK.md +0 -673
  706. package/docs/features/agent-booster/GITHUB-ISSUE.md +0 -523
  707. package/docs/features/agent-booster/README.md +0 -44
  708. package/docs/features/agentdb/AGENTDB-INTEGRATION-COMPLETE.md +0 -590
  709. package/docs/features/agentdb/AGENTDB-LEARNING-SYSTEMS-REPORT.md +0 -783
  710. package/docs/features/agentdb/AGENTDB-MCP-SECURITY-AUDIT.md +0 -877
  711. package/docs/features/agentdb/AGENTDB_INTEGRATION_PLAN.md +0 -776
  712. package/docs/features/agentdb/CAUSAL_RECALL_SEARCH_IMPLEMENTATION.md +0 -141
  713. package/docs/features/agentdb/CLI_GUIDE.md +0 -826
  714. package/docs/features/agentdb/CORE_TOOLS_6-10_IMPLEMENTATION.md +0 -376
  715. package/docs/features/agentdb/LEARNING_TOOLS_6-10.md +0 -474
  716. package/docs/features/agentdb/MCP_TOOLS_IMPLEMENTATION.md +0 -373
  717. package/docs/features/agentdb/README.md +0 -86
  718. package/docs/features/agentdb/TEST_SUITE_SUMMARY.md +0 -222
  719. package/docs/features/agentdb/VERSION_1.3.0_RELEASE.md +0 -199
  720. package/docs/features/agentdb/WASM-VECTOR-IMPLEMENTATION.md +0 -422
  721. package/docs/features/agentdb/agentdb-code-quality-analysis.md +0 -1050
  722. package/docs/features/agentdb/agentdb-tools-verification.md +0 -498
  723. package/docs/features/federation/FEDERATION-CLI-INTEGRATION.md +0 -494
  724. package/docs/features/federation/FEDERATION-IMPLEMENTATION-SUMMARY.md +0 -546
  725. package/docs/features/federation/FEDERATION-TEST-REPORT.md +0 -504
  726. package/docs/features/federation/README.md +0 -35
  727. package/docs/features/quic/BUILD_INSTRUCTIONS.md +0 -220
  728. package/docs/features/quic/FINAL-VALIDATION.md +0 -336
  729. package/docs/features/quic/IMPLEMENTATION-COMPLETE-SUMMARY.md +0 -349
  730. package/docs/features/quic/IMPLEMENTATION_STATUS.md +0 -234
  731. package/docs/features/quic/PERFORMANCE-VALIDATION.md +0 -282
  732. package/docs/features/quic/QUIC-INTEGRATION-SUMMARY.md +0 -545
  733. package/docs/features/quic/QUIC-INTEGRATION.md +0 -502
  734. package/docs/features/quic/QUIC-README.md +0 -226
  735. package/docs/features/quic/QUIC-STATUS-OLD.md +0 -513
  736. package/docs/features/quic/QUIC-STATUS.md +0 -451
  737. package/docs/features/quic/QUIC-VALIDATION-REPORT.md +0 -370
  738. package/docs/features/quic/QUIC_FINAL_STATUS.md +0 -399
  739. package/docs/features/quic/QUIC_IMPLEMENTATION_SUMMARY.md +0 -607
  740. package/docs/features/quic/README-CONDENSED.md +0 -447
  741. package/docs/features/quic/README.md +0 -79
  742. package/docs/features/quic/README_QUIC_PHASE1.md +0 -117
  743. package/docs/features/quic/WASM-INTEGRATION-COMPLETE.md +0 -382
  744. package/docs/features/quic/quic-research.md +0 -1415
  745. package/docs/features/quic/quic-tutorial.md +0 -485
  746. package/docs/features/reasoningbank/MEMORY_VALIDATION_REPORT.md +0 -417
  747. package/docs/features/reasoningbank/README.md +0 -64
  748. package/docs/features/reasoningbank/REASONING-AGENTS.md +0 -482
  749. package/docs/features/reasoningbank/REASONINGBANK-BENCHMARK-RESULTS.md +0 -166
  750. package/docs/features/reasoningbank/REASONINGBANK-BENCHMARK.md +0 -396
  751. package/docs/features/reasoningbank/REASONINGBANK-CLI-INTEGRATION.md +0 -455
  752. package/docs/features/reasoningbank/REASONINGBANK-DEMO.md +0 -419
  753. package/docs/features/reasoningbank/REASONINGBANK-VALIDATION.md +0 -532
  754. package/docs/features/reasoningbank/REASONINGBANK_ARCHITECTURE.md +0 -663
  755. package/docs/features/reasoningbank/REASONINGBANK_BACKENDS.md +0 -375
  756. package/docs/features/reasoningbank/REASONINGBANK_FIXES.md +0 -455
  757. package/docs/features/reasoningbank/REASONINGBANK_IMPLEMENTATION_STATUS.md +0 -478
  758. package/docs/features/reasoningbank/REASONINGBANK_INTEGRATION_PLAN.md +0 -1059
  759. package/docs/features/reasoningbank/REASONINGBANK_INVESTIGATION.md +0 -380
  760. package/docs/features/router/README.md +0 -38
  761. package/docs/features/router/ROUTER_CONFIG_REFERENCE.md +0 -577
  762. package/docs/features/router/ROUTER_USER_GUIDE.md +0 -865
  763. package/docs/features/router/TOP20_MODELS_MATRIX.md +0 -80
  764. package/docs/guides/MCP-AUTHENTICATION.md +0 -2017
  765. package/docs/guides/MCP-QUICKSTART.md +0 -521
  766. package/docs/guides/MCP-TROUBLESHOOTING.md +0 -1602
  767. package/docs/guides/NPM_STATS_GUIDE.md +0 -407
  768. package/docs/parallel-execution-implementation.md +0 -525
  769. package/docs/plans/.claude-flow/metrics/agent-metrics.json +0 -1
  770. package/docs/plans/.claude-flow/metrics/performance.json +0 -87
  771. package/docs/plans/.claude-flow/metrics/task-metrics.json +0 -10
  772. package/docs/releases/archive/GITHUB-ISSUE-ADDENDUM-v1.4.6.md +0 -1529
  773. package/docs/releases/archive/GITHUB-ISSUE-BUILD-FIX.md +0 -756
  774. package/docs/releases/archive/GITHUB-ISSUE-REASONINGBANK-BENCHMARK.md +0 -643
  775. package/docs/releases/archive/GITHUB-ISSUE-v1.4.6.md +0 -1453
  776. package/docs/releases/archive/GITHUB-ISSUE-v1.5.0.md +0 -468
  777. package/docs/releases/archive/HOTFIX-v1.2.1.md +0 -315
  778. package/docs/releases/archive/INTEGRATION-COMPLETE.md +0 -291
  779. package/docs/releases/archive/MIGRATION-STATUS.md +0 -118
  780. package/docs/releases/archive/MIGRATION_v1.7.0.md +0 -299
  781. package/docs/releases/archive/NPM-PUBLISH-GUIDE-v1.2.0.md +0 -440
  782. package/docs/releases/archive/PUBLICATION_REPORT_v1.5.11.md +0 -421
  783. package/docs/releases/archive/PUBLISH-COMPLETE-v1.2.0.md +0 -308
  784. package/docs/releases/archive/README.md +0 -82
  785. package/docs/releases/archive/RELEASE-v1.2.0.md +0 -339
  786. package/docs/releases/archive/VALIDATION_REPORT_v1.7.0.md +0 -418
  787. package/docs/releases/archive/ZERO-BUILD-MIGRATION.md +0 -227
  788. package/docs/releases/archive/github-issue-agentdb-integration.md +0 -379
  789. package/docs/releases/archive/v1.4.6-reasoningbank-release.md +0 -541
  790. package/docs/releases/archive/v1.4.7-bugfix.md +0 -212
  791. package/docs/releases/archive/v1.5.14-QUIC-TRANSPORT.md +0 -201
  792. package/docs/releases/archive/v1.5.9-DOCKER-VERIFICATION.md +0 -263
  793. package/docs/releases/archive/v1.5.9-RELEASE-SUMMARY.md +0 -222
  794. package/docs/swarm-optimization-report.md +0 -626
  795. package/index.html +0 -15
  796. package/memory/agents/README.md +0 -31
  797. package/memory/claude-flow@alpha-data.json +0 -5
  798. package/memory/memory-store.json +0 -69
  799. package/memory/sessions/README.md +0 -32
  800. package/src/App.css +0 -5
  801. package/src/App.tsx +0 -15
  802. package/src/components/AgentTypes.tsx +0 -122
  803. package/src/components/CoreComponents.tsx +0 -131
  804. package/src/components/Features.tsx +0 -102
  805. package/src/components/Footer.tsx +0 -159
  806. package/src/components/Hero.tsx +0 -87
  807. package/src/components/PerformanceMetrics.tsx +0 -125
  808. package/src/components/QuickStart.tsx +0 -178
  809. package/src/index.css +0 -87
  810. package/src/main.tsx +0 -10
  811. package/src/pages/LandingPage.tsx +0 -23
  812. package/src/transport/quic.ts +0 -258
  813. package/tailwind.config.ts +0 -79
  814. package/vite.config.ts +0 -20
  815. /package/{agentic-flow/.claude → .claude}/agents/MIGRATION_SUMMARY.md +0 -0
  816. /package/{agentic-flow/.claude → .claude}/agents/README.md +0 -0
  817. /package/{agentic-flow/.claude → .claude}/agents/consensus/README.md +0 -0
  818. /package/{agentic-flow/.claude → .claude}/agents/custom/test-long-runner.md +0 -0
  819. /package/.claude/agents/{reasoning → goal}/agent.md +0 -0
  820. /package/{agentic-flow/.claude → .claude}/agents/optimization/README.md +0 -0
  821. /package/{agentic-flow/.claude → .claude}/agents/payments/agentic-payments.md +0 -0
  822. /package/{agentic-flow/.claude → .claude}/agents/sublinear/consensus-coordinator.md +0 -0
  823. /package/{agentic-flow/.claude → .claude}/agents/sublinear/matrix-optimizer.md +0 -0
  824. /package/{agentic-flow/.claude → .claude}/agents/sublinear/pagerank-analyzer.md +0 -0
  825. /package/{agentic-flow/.claude → .claude}/agents/sublinear/performance-optimizer.md +0 -0
  826. /package/{agentic-flow/.claude → .claude}/agents/sublinear/trading-predictor.md +0 -0
  827. /package/{agentic-flow/.claude → .claude}/agents/swarm/README.md +0 -0
  828. /package/{agentic-flow/.claude → .claude}/agents/test-neural.md +0 -0
  829. /package/{agentic-flow/.claude → .claude}/answer.md +0 -0
  830. /package/{agentic-flow/.claude → .claude}/commands/claude-flow-help.md +0 -0
  831. /package/{agentic-flow/.claude → .claude}/commands/claude-flow-memory.md +0 -0
  832. /package/{agentic-flow/.claude → .claude}/commands/claude-flow-swarm.md +0 -0
  833. /package/{agentic-flow/.claude → .claude}/commands/pair/README.md +0 -0
  834. /package/{agentic-flow/.claude → .claude}/commands/sparc/ask.md +0 -0
  835. /package/{agentic-flow/.claude → .claude}/commands/sparc/code.md +0 -0
  836. /package/{agentic-flow/.claude → .claude}/commands/sparc/debug.md +0 -0
  837. /package/{agentic-flow/.claude → .claude}/commands/sparc/devops.md +0 -0
  838. /package/{agentic-flow/.claude → .claude}/commands/sparc/docs-writer.md +0 -0
  839. /package/{agentic-flow/.claude → .claude}/commands/sparc/integration.md +0 -0
  840. /package/{agentic-flow/.claude → .claude}/commands/sparc/mcp.md +0 -0
  841. /package/{agentic-flow/.claude → .claude}/commands/sparc/post-deployment-monitoring-mode.md +0 -0
  842. /package/{agentic-flow/.claude → .claude}/commands/sparc/refinement-optimization-mode.md +0 -0
  843. /package/{agentic-flow/.claude → .claude}/commands/sparc/security-review.md +0 -0
  844. /package/{agentic-flow/.claude → .claude}/commands/sparc/sparc.md +0 -0
  845. /package/{agentic-flow/.claude → .claude}/commands/sparc/spec-pseudocode.md +0 -0
  846. /package/{agentic-flow/.claude → .claude}/commands/sparc/supabase-admin.md +0 -0
  847. /package/{agentic-flow/.claude → .claude}/commands/sparc/tutorial.md +0 -0
  848. /package/{agentic-flow/.claude → .claude}/commands/sparc.md +0 -0
  849. /package/{agentic-flow/.claude → .claude}/mcp.json +0 -0
  850. /package/{agentic-flow/.claude → .claude}/openrouter-models-research.md +0 -0
  851. /package/{agentic-flow/.claude → .claude}/openrouter-quick-reference.md +0 -0
  852. /package/{agentic-flow/.claude → .claude}/settings-backup.json +0 -0
  853. /package/{agentic-flow/.claude → .claude}/settings-optimized.json +0 -0
  854. /package/{agentic-flow/.claude → .claude}/settings-simple.json +0 -0
  855. /package/{.claude-flow → .claude/skills/.claude-flow}/metrics/agent-metrics.json +0 -0
  856. /package/{agentic-flow/.claude → .claude}/skills/.claude-flow/metrics/performance.json +0 -0
  857. /package/{agentic-flow/.claude → .claude}/skills/.claude-flow/metrics/task-metrics.json +0 -0
  858. /package/{agentic-flow/.claude/skills → .claude/skills/skill-builder}/.claude-flow/metrics/agent-metrics.json +0 -0
  859. /package/{agentic-flow/.claude → .claude}/skills/skill-builder/.claude-flow/metrics/performance.json +0 -0
  860. /package/{agentic-flow/.claude → .claude}/skills/skill-builder/.claude-flow/metrics/task-metrics.json +0 -0
  861. /package/{agentic-flow/dist → dist}/agentdb/benchmarks/comprehensive-benchmark.js +0 -0
  862. /package/{agentic-flow/dist → dist}/agentdb/benchmarks/frontier-benchmark.js +0 -0
  863. /package/{agentic-flow/dist → dist}/agentdb/benchmarks/reflexion-benchmark.js +0 -0
  864. /package/{agentic-flow/dist → dist}/agentdb/cli/agentdb-cli.js +0 -0
  865. /package/{agentic-flow/dist → dist}/agentdb/controllers/CausalMemoryGraph.js +0 -0
  866. /package/{agentic-flow/dist → dist}/agentdb/controllers/CausalRecall.js +0 -0
  867. /package/{agentic-flow/dist → dist}/agentdb/controllers/EmbeddingService.js +0 -0
  868. /package/{agentic-flow/dist → dist}/agentdb/controllers/ExplainableRecall.js +0 -0
  869. /package/{agentic-flow/dist → dist}/agentdb/controllers/NightlyLearner.js +0 -0
  870. /package/{agentic-flow/dist → dist}/agentdb/controllers/ReflexionMemory.js +0 -0
  871. /package/{agentic-flow/dist → dist}/agentdb/controllers/SkillLibrary.js +0 -0
  872. /package/{agentic-flow/dist → dist}/agentdb/controllers/frontier-index.js +0 -0
  873. /package/{agentic-flow/dist → dist}/agentdb/controllers/index.js +0 -0
  874. /package/{agentic-flow/dist → dist}/agentdb/index.js +0 -0
  875. /package/{agentic-flow/dist → dist}/agentdb/optimizations/BatchOperations.js +0 -0
  876. /package/{agentic-flow/dist → dist}/agentdb/optimizations/QueryOptimizer.js +0 -0
  877. /package/{agentic-flow/dist → dist}/agentdb/optimizations/index.js +0 -0
  878. /package/{agentic-flow/dist → dist}/agents/claudeAgent.js +0 -0
  879. /package/{agentic-flow/dist → dist}/agents/claudeAgentDirect.js +0 -0
  880. /package/{agentic-flow/dist → dist}/agents/claudeFlowAgent.js +0 -0
  881. /package/{agentic-flow/dist → dist}/agents/codeReviewAgent.js +0 -0
  882. /package/{agentic-flow/dist → dist}/agents/dataAgent.js +0 -0
  883. /package/{agentic-flow/dist → dist}/agents/directApiAgent.js +0 -0
  884. /package/{agentic-flow/dist → dist}/agents/webResearchAgent.js +0 -0
  885. /package/{agentic-flow/dist → dist}/cli/agent-manager.js +0 -0
  886. /package/{agentic-flow/dist → dist}/cli/claude-code-wrapper.js +0 -0
  887. /package/{agentic-flow/dist → dist}/cli/config-wizard.js +0 -0
  888. /package/{agentic-flow/dist → dist}/cli/federation-cli.js +0 -0
  889. /package/{agentic-flow/dist → dist}/cli/mcp-manager.js +0 -0
  890. /package/{agentic-flow/dist → dist}/cli/mcp.js +0 -0
  891. /package/{agentic-flow/dist → dist}/cli/skills-manager.js +0 -0
  892. /package/{agentic-flow/dist → dist}/cli/update-message.js +0 -0
  893. /package/{agentic-flow/dist → dist}/cli-proxy.js +0 -0
  894. /package/{agentic-flow/dist → dist}/cli-standalone-proxy.js +0 -0
  895. /package/{agentic-flow/dist → dist}/config/claudeFlow.js +0 -0
  896. /package/{agentic-flow/dist → dist}/config/quic.js +0 -0
  897. /package/{agentic-flow/dist → dist}/config/tools.js +0 -0
  898. /package/{agentic-flow/dist → dist}/examples/multi-agent-orchestration.js +0 -0
  899. /package/{agentic-flow/dist → dist}/examples/use-goal-planner.js +0 -0
  900. /package/{agentic-flow/dist → dist}/federation/EphemeralAgent.js +0 -0
  901. /package/{agentic-flow/dist → dist}/federation/FederationHub.js +0 -0
  902. /package/{agentic-flow/dist → dist}/federation/FederationHubClient.js +0 -0
  903. /package/{agentic-flow/dist → dist}/federation/FederationHubServer.js +0 -0
  904. /package/{agentic-flow/dist → dist}/federation/SecurityManager.js +0 -0
  905. /package/{agentic-flow/dist → dist}/federation/debug/agent-debug-stream.js +0 -0
  906. /package/{agentic-flow/dist → dist}/federation/debug/debug-stream.js +0 -0
  907. /package/{agentic-flow/dist → dist}/federation/index.js +0 -0
  908. /package/{agentic-flow/dist → dist}/federation/integrations/realtime-federation.js +0 -0
  909. /package/{agentic-flow/dist → dist}/federation/integrations/supabase-adapter-debug.js +0 -0
  910. /package/{agentic-flow/dist → dist}/federation/integrations/supabase-adapter.js +0 -0
  911. /package/{agentic-flow/dist → dist}/health.js +0 -0
  912. /package/{agentic-flow/dist → dist}/index.js +0 -0
  913. /package/{agentic-flow/dist → dist}/mcp/claudeFlowSdkServer.js +0 -0
  914. /package/{agentic-flow/dist → dist}/mcp/fastmcp/servers/claude-flow-sdk.js +0 -0
  915. /package/{agentic-flow/dist → dist}/mcp/fastmcp/servers/http-sse.js +0 -0
  916. /package/{agentic-flow/dist → dist}/mcp/fastmcp/servers/http-streaming-updated.js +0 -0
  917. /package/{agentic-flow/dist → dist}/mcp/fastmcp/servers/poc-stdio.js +0 -0
  918. /package/{agentic-flow/dist → dist}/mcp/fastmcp/servers/stdio-full.js +0 -0
  919. /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/agent/add-agent.js +0 -0
  920. /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/agent/add-command.js +0 -0
  921. /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/agent/execute.js +0 -0
  922. /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/agent/list.js +0 -0
  923. /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/agent/parallel.js +0 -0
  924. /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/swarm/init.js +0 -0
  925. /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/swarm/orchestrate.js +0 -0
  926. /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/swarm/spawn.js +0 -0
  927. /package/{agentic-flow/dist → dist}/mcp/fastmcp/types/index.js +0 -0
  928. /package/{agentic-flow/dist → dist}/mcp/standalone-stdio.js +0 -0
  929. /package/{agentic-flow/dist → dist}/memory/SharedMemoryPool.js +0 -0
  930. /package/{agentic-flow/dist → dist}/memory/index.js +0 -0
  931. /package/{agentic-flow/dist → dist}/proxy/anthropic-to-gemini.js +0 -0
  932. /package/{agentic-flow/dist → dist}/proxy/anthropic-to-onnx.js +0 -0
  933. /package/{agentic-flow/dist → dist}/proxy/anthropic-to-openrouter.js +0 -0
  934. /package/{agentic-flow/dist → dist}/proxy/anthropic-to-requesty.js +0 -0
  935. /package/{agentic-flow/dist → dist}/proxy/quic-proxy.js +0 -0
  936. /package/{agentic-flow/dist → dist}/proxy/tool-emulation.js +0 -0
  937. /package/{agentic-flow/dist → dist}/reasoningbank/AdvancedMemory.js +0 -0
  938. /package/{agentic-flow/dist → dist}/reasoningbank/HybridBackend.js +0 -0
  939. /package/{agentic-flow/dist → dist}/reasoningbank/agentdb-adapter.js +0 -0
  940. /package/{agentic-flow/dist → dist}/reasoningbank/backend-selector.js +0 -0
  941. /package/{agentic-flow/dist → dist}/reasoningbank/benchmark.js +0 -0
  942. /package/{agentic-flow/dist → dist}/reasoningbank/config/reasoningbank-types.js +0 -0
  943. /package/{agentic-flow/dist → dist}/reasoningbank/config/reasoningbank.yaml +0 -0
  944. /package/{agentic-flow/dist → dist}/reasoningbank/core/consolidate.js +0 -0
  945. /package/{agentic-flow/dist → dist}/reasoningbank/core/database.js +0 -0
  946. /package/{agentic-flow/dist → dist}/reasoningbank/core/distill.js +0 -0
  947. /package/{agentic-flow/dist → dist}/reasoningbank/core/judge.js +0 -0
  948. /package/{agentic-flow/dist → dist}/reasoningbank/core/matts.js +0 -0
  949. /package/{agentic-flow/dist → dist}/reasoningbank/core/memory-engine.js +0 -0
  950. /package/{agentic-flow/dist → dist}/reasoningbank/core/retrieve.js +0 -0
  951. /package/{agentic-flow/dist → dist}/reasoningbank/db/queries.js +0 -0
  952. /package/{agentic-flow/dist → dist}/reasoningbank/db/schema.js +0 -0
  953. /package/{agentic-flow/dist → dist}/reasoningbank/demo-comparison.js +0 -0
  954. /package/{agentic-flow/dist → dist}/reasoningbank/hooks/post-task.js +0 -0
  955. /package/{agentic-flow/dist → dist}/reasoningbank/hooks/pre-task.js +0 -0
  956. /package/{agentic-flow/dist → dist}/reasoningbank/index-new.js +0 -0
  957. /package/{agentic-flow/dist → dist}/reasoningbank/index.js +0 -0
  958. /package/{agentic-flow/dist → dist}/reasoningbank/prompts/distill-failure.json +0 -0
  959. /package/{agentic-flow/dist → dist}/reasoningbank/prompts/distill-success.json +0 -0
  960. /package/{agentic-flow/dist → dist}/reasoningbank/prompts/judge.json +0 -0
  961. /package/{agentic-flow/dist → dist}/reasoningbank/prompts/matts-aggregate.json +0 -0
  962. /package/{agentic-flow/dist → dist}/reasoningbank/test-integration.js +0 -0
  963. /package/{agentic-flow/dist → dist}/reasoningbank/test-retrieval.js +0 -0
  964. /package/{agentic-flow/dist → dist}/reasoningbank/test-validation.js +0 -0
  965. /package/{agentic-flow/dist → dist}/reasoningbank/types/index.js +0 -0
  966. /package/{agentic-flow/dist → dist}/reasoningbank/utils/config.js +0 -0
  967. /package/{agentic-flow/dist → dist}/reasoningbank/utils/embeddings.js +0 -0
  968. /package/{agentic-flow/dist → dist}/reasoningbank/utils/mmr.js +0 -0
  969. /package/{agentic-flow/dist → dist}/reasoningbank/utils/pii-scrubber.js +0 -0
  970. /package/{agentic-flow/dist → dist}/reasoningbank/wasm-adapter.js +0 -0
  971. /package/{agentic-flow/dist → dist}/router/model-mapping.js +0 -0
  972. /package/{agentic-flow/dist → dist}/router/providers/anthropic.js +0 -0
  973. /package/{agentic-flow/dist → dist}/router/providers/gemini.js +0 -0
  974. /package/{agentic-flow/dist → dist}/router/providers/onnx-local-optimized.js +0 -0
  975. /package/{agentic-flow/dist → dist}/router/providers/onnx-local.js +0 -0
  976. /package/{agentic-flow/dist → dist}/router/providers/onnx-phi4.js +0 -0
  977. /package/{agentic-flow/dist → dist}/router/providers/onnx.js +0 -0
  978. /package/{agentic-flow/dist → dist}/router/providers/openrouter.js +0 -0
  979. /package/{agentic-flow/dist → dist}/router/router.js +0 -0
  980. /package/{agentic-flow/dist → dist}/router/test-integration.js +0 -0
  981. /package/{agentic-flow/dist → dist}/router/test-onnx-benchmark.js +0 -0
  982. /package/{agentic-flow/dist → dist}/router/test-onnx-integration.js +0 -0
  983. /package/{agentic-flow/dist → dist}/router/test-onnx-local.js +0 -0
  984. /package/{agentic-flow/dist → dist}/router/test-onnx.js +0 -0
  985. /package/{agentic-flow/dist → dist}/router/test-openrouter.js +0 -0
  986. /package/{agentic-flow/dist → dist}/router/test-phi4.js +0 -0
  987. /package/{agentic-flow/dist → dist}/router/types.js +0 -0
  988. /package/{agentic-flow/dist → dist}/swarm/index.js +0 -0
  989. /package/{agentic-flow/dist → dist}/swarm/quic-coordinator.js +0 -0
  990. /package/{agentic-flow/dist → dist}/swarm/transport-router.js +0 -0
  991. /package/{agentic-flow/dist → dist}/transport/index.js +0 -0
  992. /package/{agentic-flow/dist → dist}/transport/quic-handshake.js +0 -0
  993. /package/{agentic-flow/dist → dist}/transport/quic.js +0 -0
  994. /package/{agentic-flow/dist → dist}/utils/agentBoosterPreprocessor.js +0 -0
  995. /package/{agentic-flow/dist → dist}/utils/agentLoader.js +0 -0
  996. /package/{agentic-flow/dist → dist}/utils/agentdb-runtime-patch.js +0 -0
  997. /package/{agentic-flow/dist → dist}/utils/agentdbCommands.js +0 -0
  998. /package/{agentic-flow/dist → dist}/utils/logger.js +0 -0
  999. /package/{agentic-flow/dist → dist}/utils/math.js +0 -0
  1000. /package/{agentic-flow/dist → dist}/utils/mcpCommands.js +0 -0
  1001. /package/{agentic-flow/dist → dist}/utils/model-downloader.js +0 -0
  1002. /package/{agentic-flow/dist → dist}/utils/modelCapabilities.js +0 -0
  1003. /package/{agentic-flow/dist → dist}/utils/modelOptimizer.js +0 -0
  1004. /package/{agentic-flow/dist → dist}/utils/reasoningbankCommands.js +0 -0
  1005. /package/{agentic-flow/dist → dist}/utils/retry.js +0 -0
  1006. /package/{agentic-flow/docs → docs}/AGENTDB_TESTING.md +0 -0
  1007. /package/{agentic-flow/docs → docs}/INTEGRATION-COMPLETE.md +0 -0
  1008. /package/{agentic-flow/docs → docs}/QUIC_FINAL_STATUS.md +0 -0
  1009. /package/{agentic-flow/docs → docs}/README_QUIC_PHASE1.md +0 -0
  1010. /package/{agentic-flow/docs → docs}/TEST-V1.7.8.Dockerfile +0 -0
  1011. /package/{agentic-flow/docs → docs}/TEST-V1.7.9-NODE20.Dockerfile +0 -0
  1012. /package/{agentic-flow/docs → docs}/TEST-V1.7.9.Dockerfile +0 -0
  1013. /package/{agentic-flow/docs → docs}/architecture/FEDERATION-DATA-LIFECYCLE.md +0 -0
  1014. /package/{agentic-flow/docs → docs}/archived/COMPLETE_VALIDATION_SUMMARY.md +0 -0
  1015. /package/{agentic-flow/docs → docs}/archived/DOCKER_MCP_VALIDATION.md +0 -0
  1016. /package/{agentic-flow/docs → docs}/archived/DOCKER_OPENROUTER_VALIDATION.md +0 -0
  1017. /package/{agentic-flow/docs → docs}/archived/FASTMCP_COMPLETE.md +0 -0
  1018. /package/{agentic-flow/docs → docs}/archived/FASTMCP_INTEGRATION_STATUS.md +0 -0
  1019. /package/{agentic-flow/docs → docs}/archived/FINAL_SDK_VALIDATION.md +0 -0
  1020. /package/{agentic-flow/docs → docs}/archived/FINAL_SYSTEM_VALIDATION.md +0 -0
  1021. /package/{agentic-flow/docs → docs}/archived/FINAL_VALIDATION_SUMMARY.md +0 -0
  1022. /package/{agentic-flow/docs → docs}/archived/FIXES-APPLIED-STATUS.md +0 -0
  1023. /package/{agentic-flow/docs → docs}/archived/FLOW-NEXUS-COMPLETE.md +0 -0
  1024. /package/{agentic-flow/docs → docs}/archived/HOTFIX_1.1.7.md +0 -0
  1025. /package/{agentic-flow/docs → docs}/archived/INTEGRATION_CONFIRMED.md +0 -0
  1026. /package/{agentic-flow/docs → docs}/archived/MCP_CLI_TOOLS_VALIDATION.md +0 -0
  1027. /package/{agentic-flow/docs → docs}/archived/MCP_INTEGRATION_SUCCESS.md +0 -0
  1028. /package/{agentic-flow/docs → docs}/archived/MCP_PROXY_VALIDATION.md +0 -0
  1029. /package/{agentic-flow/docs → docs}/archived/MODEL_VALIDATION_REPORT.md +0 -0
  1030. /package/{agentic-flow/docs → docs}/archived/ONNX_ENV_VARS.md +0 -0
  1031. /package/{agentic-flow/docs → docs}/archived/ONNX_FINAL_REPORT.md +0 -0
  1032. /package/{agentic-flow/docs → docs}/archived/ONNX_IMPLEMENTATION_COMPLETE.md +0 -0
  1033. /package/{agentic-flow/docs → docs}/archived/ONNX_IMPLEMENTATION_SUMMARY.md +0 -0
  1034. /package/{agentic-flow/docs → docs}/archived/ONNX_INTEGRATION.md +0 -0
  1035. /package/{agentic-flow/docs → docs}/archived/ONNX_OPTIMIZATION_SUMMARY.md +0 -0
  1036. /package/{agentic-flow/docs → docs}/archived/ONNX_PHI4_RESEARCH.md +0 -0
  1037. /package/{agentic-flow/docs → docs}/archived/ONNX_RUNTIME_INTEGRATION_PLAN.md +0 -0
  1038. /package/{agentic-flow/docs → docs}/archived/ONNX_SUCCESS_REPORT.md +0 -0
  1039. /package/{agentic-flow/docs → docs}/archived/ONNX_VS_CLAUDE_QUALITY.md +0 -0
  1040. /package/{agentic-flow/docs → docs}/archived/OPENROUTER-FIX-VALIDATION.md +0 -0
  1041. /package/{agentic-flow/docs → docs}/archived/OPENROUTER-SUCCESS-REPORT.md +0 -0
  1042. /package/{agentic-flow/docs → docs}/archived/OPENROUTER_ISSUES_AND_FIXES.md +0 -0
  1043. /package/{agentic-flow/docs → docs}/archived/OPENROUTER_PROXY_COMPLETE.md +0 -0
  1044. /package/{agentic-flow/docs → docs}/archived/OPENROUTER_VALIDATION_COMPLETE.md +0 -0
  1045. /package/{agentic-flow/docs → docs}/archived/OPTIMIZATION_SUMMARY.md +0 -0
  1046. /package/{agentic-flow/docs → docs}/archived/PACKAGE-COMPLETE.md +0 -0
  1047. /package/{agentic-flow/docs → docs}/archived/PHI4_HYPEROPTIMIZATION_PLAN.md +0 -0
  1048. /package/{agentic-flow/docs → docs}/archived/PROVIDER_INSTRUCTION_OPTIMIZATION.md +0 -0
  1049. /package/{agentic-flow/docs → docs}/archived/PROXY_VALIDATION.md +0 -0
  1050. /package/{agentic-flow/docs → docs}/archived/README.md +0 -0
  1051. /package/{agentic-flow/docs → docs}/archived/README_SDK_VALIDATION.md +0 -0
  1052. /package/{agentic-flow/docs → docs}/archived/README_V1.1.11.md +0 -0
  1053. /package/{agentic-flow/docs → docs}/archived/RELEASE-NOTES-v1.1.13.md +0 -0
  1054. /package/{agentic-flow/docs → docs}/archived/RELEASE-SUMMARY-v1.1.14-beta.1.md +0 -0
  1055. /package/{agentic-flow/docs → docs}/archived/RESEARCH_COMPLETE.txt +0 -0
  1056. /package/{agentic-flow/docs → docs}/archived/ROUTER_VALIDATION.md +0 -0
  1057. /package/{agentic-flow/docs → docs}/archived/SDK-SETUP-COMPLETE.md +0 -0
  1058. /package/{agentic-flow/docs → docs}/archived/SDK_INTEGRATION_COMPLETE.md +0 -0
  1059. /package/{agentic-flow/docs → docs}/archived/TOOL_INSTRUCTION_ENHANCEMENT.md +0 -0
  1060. /package/{agentic-flow/docs → docs}/archived/V1.1.10_VALIDATION.md +0 -0
  1061. /package/{agentic-flow/docs → docs}/archived/V1.1.11_COMPLETE_VALIDATION.md +0 -0
  1062. /package/{agentic-flow/docs → docs}/archived/V1.1.11_MCP_PROXY_FIX.md +0 -0
  1063. /package/{agentic-flow/docs → docs}/archived/V1.1.14-BETA-READY.md +0 -0
  1064. /package/{agentic-flow/docs → docs}/archived/VALIDATION-RESULTS.md +0 -0
  1065. /package/{agentic-flow/docs → docs}/archived/VALIDATION_COMPLETE.md +0 -0
  1066. /package/{agentic-flow/docs → docs}/archived/VALIDATION_SUMMARY.md +0 -0
  1067. /package/{agentic-flow/docs → docs}/archived/claude-flow-integration.md +0 -0
  1068. /package/{agentic-flow/docs → docs}/archived/docker-cli-validation.md +0 -0
  1069. /package/{agentic-flow/docs → docs}/archived/docker-memory-coordination-status.md +0 -0
  1070. /package/{agentic-flow/docs → docs}/archived/mcp-validation-summary.md +0 -0
  1071. /package/{agentic-flow/docs → docs}/archived/quick-wins-validation.md +0 -0
  1072. /package/{agentic-flow/docs → docs}/benchmarks/optimization-guide.md +0 -0
  1073. /package/{agentic-flow/docs → docs}/benchmarks/quic-results.md +0 -0
  1074. /package/{agentic-flow/docs → docs}/federation/AGENT-DEBUG-STREAMING.md +0 -0
  1075. /package/{agentic-flow/docs → docs}/federation/DEBUG-STREAMING-COMPLETE.md +0 -0
  1076. /package/{agentic-flow/docs → docs}/federation/DEBUG-STREAMING.md +0 -0
  1077. /package/{agentic-flow/docs → docs}/federation/DEPLOYMENT-VALIDATION-SUCCESS.md +0 -0
  1078. /package/{agentic-flow/docs → docs}/federation/DOCKER-FEDERATION-DEEP-REVIEW.md +0 -0
  1079. /package/{agentic-flow/docs → docs}/integration-docs/AGENT-BOOSTER-INTEGRATION.md +0 -0
  1080. /package/{agentic-flow/docs → docs}/integration-docs/CLAUDE-FLOW-INTEGRATION-ANALYSIS.md +0 -0
  1081. /package/{agentic-flow/docs → docs}/integration-docs/CLI-INTEGRATION-COMPLETE.md +0 -0
  1082. /package/{agentic-flow/docs → docs}/integration-docs/IMPLEMENTATION_SUMMARY.md +0 -0
  1083. /package/{agentic-flow/docs → docs}/integration-docs/INTEGRATION-QUICK-SUMMARY.md +0 -0
  1084. /package/{agentic-flow/docs → docs}/integration-docs/INTEGRATION-STATUS-CORRECTED.md +0 -0
  1085. /package/{agentic-flow/docs → docs}/integration-docs/INTEGRATION_COMPLETE_SUMMARY.md +0 -0
  1086. /package/{agentic-flow/docs → docs}/integration-docs/QUIC-WASM-INTEGRATION.md +0 -0
  1087. /package/{agentic-flow/docs → docs}/integration-docs/README.md +0 -0
  1088. /package/{agentic-flow/docs → docs}/integration-docs/WASM_ESM_FIX.md +0 -0
  1089. /package/{agentic-flow/docs → docs}/integration-docs/WASM_INTEGRATION_COMPLETE.md +0 -0
  1090. /package/{agentic-flow/docs → docs}/integrations/CLAUDE_AGENTS_INTEGRATION.md +0 -0
  1091. /package/{agentic-flow/docs → docs}/integrations/CLAUDE_FLOW_INTEGRATION.md +0 -0
  1092. /package/{agentic-flow/docs → docs}/integrations/FASTMCP_CLI_INTEGRATION.md +0 -0
  1093. /package/{agentic-flow/docs → docs}/integrations/FLOW-NEXUS-INTEGRATION.md +0 -0
  1094. /package/{agentic-flow/docs → docs}/integrations/README.md +0 -0
  1095. /package/{agentic-flow/docs → docs}/integrations/fastmcp-implementation-plan.md +0 -0
  1096. /package/{agentic-flow/docs → docs}/integrations/fastmcp-poc-integration.md +0 -0
  1097. /package/{agentic-flow/docs → docs}/issues/ISSUE-SUPABASE-INTEGRATION.md +0 -0
  1098. /package/{agentic-flow/docs → docs}/mcp-validation/IMPLEMENTATION-SUMMARY.md +0 -0
  1099. /package/{agentic-flow/docs → docs}/mcp-validation/MCP-CLI-VALIDATION-REPORT.md +0 -0
  1100. /package/{agentic-flow/docs → docs}/mcp-validation/README.md +0 -0
  1101. /package/{agentic-flow/docs → docs}/mcp-validation/strange-loops-test.md +0 -0
  1102. /package/{agentic-flow/docs → docs}/plans/QUIC/BUILD_INSTRUCTIONS.md +0 -0
  1103. /package/{agentic-flow/docs → docs}/plans/QUIC/IMPLEMENTATION_STATUS.md +0 -0
  1104. /package/{agentic-flow/docs → docs}/plans/QUIC/QUIC-INTEGRATION-SUMMARY.md +0 -0
  1105. /package/{agentic-flow/docs → docs}/plans/QUIC/QUIC-INTEGRATION.md +0 -0
  1106. /package/{agentic-flow/docs → docs}/plans/QUIC/QUIC-README.md +0 -0
  1107. /package/{agentic-flow/docs → docs}/plans/QUIC/QUIC_IMPLEMENTATION_SUMMARY.md +0 -0
  1108. /package/{agentic-flow/docs → docs}/plans/QUIC/README-CONDENSED.md +0 -0
  1109. /package/{agentic-flow/docs → docs}/plans/QUIC/quic-research.md +0 -0
  1110. /package/{agentic-flow/docs → docs}/plans/QUIC/quic-tutorial.md +0 -0
  1111. /package/{agentic-flow/docs → docs}/plans/agent-booster/00-INDEX.md +0 -0
  1112. /package/{agentic-flow/docs → docs}/plans/agent-booster/00-OVERVIEW.md +0 -0
  1113. /package/{agentic-flow/docs → docs}/plans/agent-booster/01-ARCHITECTURE.md +0 -0
  1114. /package/{agentic-flow/docs → docs}/plans/agent-booster/02-INTEGRATION.md +0 -0
  1115. /package/{agentic-flow/docs → docs}/plans/agent-booster/03-BENCHMARKS.md +0 -0
  1116. /package/{agentic-flow/docs → docs}/plans/agent-booster/04-NPM-SDK.md +0 -0
  1117. /package/{agentic-flow/docs → docs}/plans/agent-booster/GITHUB-ISSUE.md +0 -0
  1118. /package/{agentic-flow/docs → docs}/plans/agent-booster/README.md +0 -0
  1119. /package/{agentic-flow/docs → docs}/plans/agent-booster-cli-integration.md +0 -0
  1120. /package/{agentic-flow/docs → docs}/plans/requesty/00-overview.md +0 -0
  1121. /package/{agentic-flow/docs → docs}/plans/requesty/01-api-research.md +0 -0
  1122. /package/{agentic-flow/docs → docs}/plans/requesty/02-architecture.md +0 -0
  1123. /package/{agentic-flow/docs → docs}/plans/requesty/03-implementation-phases.md +0 -0
  1124. /package/{agentic-flow/docs → docs}/plans/requesty/04-testing-strategy.md +0 -0
  1125. /package/{agentic-flow/docs → docs}/plans/requesty/05-migration-guide.md +0 -0
  1126. /package/{agentic-flow/docs → docs}/plans/requesty/README.md +0 -0
  1127. /package/{agentic-flow/docs → docs}/quantum-goap/DEPENDENCY_GRAPH.mermaid +0 -0
  1128. /package/{agentic-flow/docs → docs}/quantum-goap/EXECUTION_SUMMARY.md +0 -0
  1129. /package/{agentic-flow/docs → docs}/quantum-goap/GOAP_IMPLEMENTATION_PLAN.md +0 -0
  1130. /package/{agentic-flow/docs → docs}/quantum-goap/QUICK_START.md +0 -0
  1131. /package/{agentic-flow/docs → docs}/quantum-research/QUANTUM_RESEARCH_LITERATURE_REVIEW.md +0 -0
  1132. /package/{agentic-flow/docs → docs}/quantum-research/README.md +0 -0
  1133. /package/{agentic-flow/docs → docs}/quic/FINAL-VALIDATION.md +0 -0
  1134. /package/{agentic-flow/docs → docs}/quic/IMPLEMENTATION-COMPLETE-SUMMARY.md +0 -0
  1135. /package/{agentic-flow/docs → docs}/quic/PERFORMANCE-VALIDATION.md +0 -0
  1136. /package/{agentic-flow/docs → docs}/quic/QUIC-STATUS-OLD.md +0 -0
  1137. /package/{agentic-flow/docs → docs}/quic/QUIC-STATUS.md +0 -0
  1138. /package/{agentic-flow/docs → docs}/quic/QUIC-VALIDATION-REPORT.md +0 -0
  1139. /package/{agentic-flow/docs → docs}/quic/WASM-INTEGRATION-COMPLETE.md +0 -0
  1140. /package/{agentic-flow/docs → docs}/reasoningbank/MEMORY_VALIDATION_REPORT.md +0 -0
  1141. /package/{agentic-flow/docs → docs}/reasoningbank/README.md +0 -0
  1142. /package/{agentic-flow/docs → docs}/reasoningbank/REASONING-AGENTS.md +0 -0
  1143. /package/{agentic-flow/docs → docs}/reasoningbank/REASONINGBANK-BENCHMARK-RESULTS.md +0 -0
  1144. /package/{agentic-flow/docs → docs}/reasoningbank/REASONINGBANK-BENCHMARK.md +0 -0
  1145. /package/{agentic-flow/docs → docs}/reasoningbank/REASONINGBANK-CLI-INTEGRATION.md +0 -0
  1146. /package/{agentic-flow/docs → docs}/reasoningbank/REASONINGBANK-DEMO.md +0 -0
  1147. /package/{agentic-flow/docs → docs}/reasoningbank/REASONINGBANK-VALIDATION.md +0 -0
  1148. /package/{agentic-flow/docs → docs}/reasoningbank/REASONINGBANK_ARCHITECTURE.md +0 -0
  1149. /package/{agentic-flow/docs → docs}/reasoningbank/REASONINGBANK_BACKENDS.md +0 -0
  1150. /package/{agentic-flow/docs → docs}/reasoningbank/REASONINGBANK_FIXES.md +0 -0
  1151. /package/{agentic-flow/docs → docs}/reasoningbank/REASONINGBANK_IMPLEMENTATION_STATUS.md +0 -0
  1152. /package/{agentic-flow/docs → docs}/reasoningbank/REASONINGBANK_INTEGRATION_PLAN.md +0 -0
  1153. /package/{agentic-flow/docs → docs}/reasoningbank/REASONINGBANK_INVESTIGATION.md +0 -0
  1154. /package/{agentic-flow/docs → docs}/releases/GITHUB-ISSUE-ADDENDUM-v1.4.6.md +0 -0
  1155. /package/{agentic-flow/docs → docs}/releases/GITHUB-ISSUE-REASONINGBANK-BENCHMARK.md +0 -0
  1156. /package/{agentic-flow/docs → docs}/releases/GITHUB-ISSUE-v1.4.6.md +0 -0
  1157. /package/{agentic-flow/docs → docs}/releases/GITHUB-ISSUE-v1.5.0.md +0 -0
  1158. /package/{agentic-flow/docs → docs}/releases/HOTFIX-v1.2.1.md +0 -0
  1159. /package/{agentic-flow/docs → docs}/releases/NPM-PUBLISH-GUIDE-v1.2.0.md +0 -0
  1160. /package/{agentic-flow/docs → docs}/releases/PUBLISH-COMPLETE-v1.2.0.md +0 -0
  1161. /package/{agentic-flow/docs → docs}/releases/README.md +0 -0
  1162. /package/{agentic-flow/docs → docs}/releases/RELEASE-v1.2.0.md +0 -0
  1163. /package/{agentic-flow/docs → docs}/releases/RELEASE-v1.8.13.md +0 -0
  1164. /package/{agentic-flow/docs → docs}/releases/v1.4.6-reasoningbank-release.md +0 -0
  1165. /package/{agentic-flow/docs → docs}/releases/v1.4.7-bugfix.md +0 -0
  1166. /package/{agentic-flow/docs → docs}/releases/v1.5.14-QUIC-TRANSPORT.md +0 -0
  1167. /package/{agentic-flow/docs → docs}/router/README.md +0 -0
  1168. /package/{agentic-flow/docs → docs}/router/ROUTER_CONFIG_REFERENCE.md +0 -0
  1169. /package/{agentic-flow/docs → docs}/router/ROUTER_USER_GUIDE.md +0 -0
  1170. /package/{agentic-flow/docs → docs}/router/TOP20_MODELS_MATRIX.md +0 -0
  1171. /package/{agentic-flow/docs → docs}/supabase/IMPLEMENTATION-SUMMARY.md +0 -0
  1172. /package/{agentic-flow/docs → docs}/supabase/INDEX.md +0 -0
  1173. /package/{agentic-flow/docs → docs}/supabase/QUICKSTART.md +0 -0
  1174. /package/{agentic-flow/docs → docs}/supabase/README.md +0 -0
  1175. /package/{agentic-flow/docs → docs}/supabase/SUPABASE-REALTIME-FEDERATION.md +0 -0
  1176. /package/{agentic-flow/docs → docs}/supabase/TEST-REPORT.md +0 -0
  1177. /package/{agentic-flow/docs → docs}/supabase/migrations/001_create_federation_tables.sql +0 -0
  1178. /package/{agentic-flow/docs → docs}/testing/AGENT-SYSTEM-VALIDATION.md +0 -0
  1179. /package/{agentic-flow/docs → docs}/testing/FINAL-TESTING-SUMMARY.md +0 -0
  1180. /package/{agentic-flow/docs → docs}/testing/README.md +0 -0
  1181. /package/{agentic-flow/docs → docs}/testing/REGRESSION-TEST-RESULTS.md +0 -0
  1182. /package/{agentic-flow/docs → docs}/testing/STREAMING-AND-MCP-VALIDATION.md +0 -0
  1183. /package/{agentic-flow/docs → docs}/v1.7.1-QUICK-START.md +0 -0
  1184. /package/{agentic-flow/docs → docs}/validation/README.md +0 -0
  1185. /package/{agentic-flow/docs → docs}/validation/reports/REGRESSION-TEST-V1.8.11.md +0 -0
  1186. /package/{agentic-flow/docs → docs}/validation-reports/BENCHMARK_AND_OPTIMIZATION_REPORT.md +0 -0
  1187. /package/{agentic-flow/docs → docs}/validation-reports/DOCKER_VALIDATION_RESULTS.md +0 -0
  1188. /package/{agentic-flow/docs → docs}/validation-reports/NO_REGRESSIONS_CONFIRMED.md +0 -0
  1189. /package/{agentic-flow/docs → docs}/validation-reports/NPM-PACKAGE-ANALYSIS-FINAL.md +0 -0
  1190. /package/{agentic-flow/docs → docs}/validation-reports/README.md +0 -0
  1191. /package/{agentic-flow/docs → docs}/validation-reports/V2.7.0-ALPHA.10_FINAL_VALIDATION.md +0 -0
  1192. /package/{agentic-flow/docs → docs}/validation-reports/V2.7.0-ALPHA.9_VALIDATION.md +0 -0
  1193. /package/{agentic-flow/docs → docs}/validation-reports/v1.6.0-QUIC-CLI-VALIDATION.md +0 -0
  1194. /package/{agentic-flow/docs → docs}/validation-reports/v1.6.1-NPM-PUBLISH-VALIDATION.md +0 -0
  1195. /package/{agentic-flow/docs → docs}/version-releases/PUBLICATION_REPORT_v1.5.11.md +0 -0
  1196. /package/{agentic-flow/docs → docs}/version-releases/README.md +0 -0
  1197. /package/{agentic-flow/docs → docs}/version-releases/v1.5.9-DOCKER-VERIFICATION.md +0 -0
  1198. /package/{agentic-flow/docs → docs}/version-releases/v1.5.9-RELEASE-SUMMARY.md +0 -0
  1199. /package/{agentic-flow/scripts → scripts}/build.sh +0 -0
  1200. /package/{agentic-flow/scripts → scripts}/claude-code +0 -0
  1201. /package/{agentic-flow/scripts → scripts}/claude-flow +0 -0
  1202. /package/{agentic-flow/scripts → scripts}/claude-flow.bat +0 -0
  1203. /package/{agentic-flow/scripts → scripts}/claude-flow.ps1 +0 -0
  1204. /package/{agentic-flow/scripts → scripts}/postinstall.js +0 -0
  1205. /package/{agentic-flow/scripts → scripts}/run-validation.sh +0 -0
  1206. /package/{agentic-flow/scripts → scripts}/test-agentdb.sh +0 -0
  1207. /package/{agentic-flow/scripts → scripts}/test-all-commands.sh +0 -0
  1208. /package/{agentic-flow/scripts → scripts}/test-claude-flow-sdk.sh +0 -0
  1209. /package/{agentic-flow/scripts → scripts}/test-fastmcp-docker.sh +0 -0
  1210. /package/{agentic-flow/scripts → scripts}/test-fastmcp-poc.sh +0 -0
  1211. /package/{agentic-flow/scripts → scripts}/test-functionality.sh +0 -0
  1212. /package/{agentic-flow/scripts → scripts}/test-onnx-docker.sh +0 -0
  1213. /package/{agentic-flow/scripts → scripts}/test-router-docker.sh +0 -0
  1214. /package/{agentic-flow/scripts → scripts}/validate-mcp-cli-tools.sh +0 -0
  1215. /package/{agentic-flow/scripts → scripts}/validate-providers.sh +0 -0
  1216. /package/{agentic-flow/wasm → wasm}/quic/README.md +0 -0
  1217. /package/{agentic-flow/wasm → wasm}/quic/agentic_flow_quic.js +0 -0
  1218. /package/{agentic-flow/wasm → wasm}/quic/agentic_flow_quic_bg.wasm +0 -0
  1219. /package/{agentic-flow/wasm → wasm}/quic/package.json +0 -0
  1220. /package/{agentic-flow/wasm → wasm}/reasoningbank/package.json +0 -0
  1221. /package/{agentic-flow/wasm → wasm}/reasoningbank/reasoningbank_wasm.js +0 -0
  1222. /package/{agentic-flow/wasm → wasm}/reasoningbank/reasoningbank_wasm_bg.js +0 -0
  1223. /package/{agentic-flow/wasm → wasm}/reasoningbank/reasoningbank_wasm_bg.wasm +0 -0
@@ -1,1050 +0,0 @@
1
- # AgentDB Code Quality Analysis Report
2
-
3
- **Analysis Date:** 2025-10-25
4
- **Analyst:** Code Quality Analyzer Agent
5
- **AgentDB Version:** 1.4.4
6
- **Total Lines of Code:** 5,514
7
-
8
- ---
9
-
10
- ## Executive Summary
11
-
12
- AgentDB is a **sophisticated vector database with advanced memory systems** designed for AI agents. The codebase demonstrates **solid architectural patterns** and **innovative features**, but has **significant gaps** between documentation claims and actual implementation.
13
-
14
- ### Overall Quality Score: **6.5/10**
15
-
16
- **Strengths:**
17
- - Well-structured TypeScript codebase with clear separation of concerns
18
- - Innovative memory patterns (Reflexion, Causal reasoning, Skill library)
19
- - Comprehensive SQL schema with proper indexing
20
- - Good type safety and interfaces
21
-
22
- **Critical Issues:**
23
- - **NO actual vector database implementation** (missing HNSW, no quantization)
24
- - **Performance claims unsubstantiated** (150x faster claim not verified)
25
- - **Missing implementations** of several advertised features
26
- - **No test coverage** found in source
27
- - Learning algorithms implementation incomplete
28
-
29
- ---
30
-
31
- ## 1. Vector Database Core Analysis
32
-
33
- ### ❌ CRITICAL: Missing Core Vector Features
34
-
35
- **Claim:** "150x faster vector search with HNSW indexing"
36
- **Reality:** No HNSW implementation found
37
-
38
- #### EmbeddingService.ts Review (147 lines)
39
-
40
- **What EXISTS:**
41
- - Basic embedding interface with caching
42
- - Support for transformers.js, OpenAI, and mock embeddings
43
- - Simple LRU cache (10,000 entries, clear half when full)
44
- - Batch embedding support
45
-
46
- **What's MISSING:**
47
- - ❌ No HNSW (Hierarchical Navigable Small World) indexing
48
- - ❌ No quantization (claimed 4-32x memory reduction)
49
- - ❌ No actual vector search implementation
50
- - ❌ No distance metrics (cosine, euclidean, dot product)
51
- - ❌ No index building or optimization
52
-
53
- **Code Quality Issues:**
54
- ```typescript
55
- // Line 66-70: Naive cache eviction
56
- if (this.cache.size > 10000) {
57
- // Simple LRU: clear half the cache
58
- const keysToDelete = Array.from(this.cache.keys()).slice(0, 5000);
59
- keysToDelete.forEach(k => this.cache.delete(k));
60
- }
61
- ```
62
- - **Issue:** Clearing half the cache is inefficient
63
- - **Better:** True LRU with timestamps or linked list
64
-
65
- **Mock Embedding Quality:**
66
- ```typescript
67
- // Lines 111-145: Deterministic but simplistic
68
- for (let i = 0; i < this.config.dimension; i++) {
69
- const seed = hash + i * 31;
70
- embedding[i] = Math.sin(seed) * Math.cos(seed * 0.5);
71
- }
72
- ```
73
- - **Adequate** for testing but not production-ready
74
-
75
- ### 🔍 Performance Claims Investigation
76
-
77
- **Claimed:** "150x faster than cloud APIs"
78
- **Evidence:** None found in codebase
79
-
80
- **Analysis:**
81
- - No benchmarking code discovered
82
- - No WASM vector search implementation
83
- - ReasoningBank WASM mentioned but not integrated with vector search
84
- - Mock embeddings would be fast, but not a real vector database
85
-
86
- ---
87
-
88
- ## 2. Memory Systems Implementation
89
-
90
- ### ✅ STRONG: Reflexion Memory (ReflexionMemory.ts - 355 lines)
91
-
92
- **Implementation Quality: 8/10**
93
-
94
- **Well Implemented:**
95
- - Episodic storage with critique tracking
96
- - Semantic similarity search using embeddings
97
- - Task statistics and improvement tracking
98
- - Pruning policies for memory management
99
-
100
- **Code Quality:**
101
- ```typescript
102
- // Good: Proper error handling and filtering
103
- async retrieveRelevant(query: ReflexionQuery): Promise<EpisodeWithEmbedding[]> {
104
- const queryEmbedding = await this.embedder.embed(queryText);
105
- // ... filter construction
106
- const whereClause = filters.length > 0 ? `WHERE ${filters.join(' AND ')}` : '';
107
- // ... similarity calculation and ranking
108
- }
109
- ```
110
-
111
- **Issues:**
112
- - No pagination for large result sets
113
- - Cosine similarity calculated in-memory (not scalable)
114
- - No caching of frequent queries
115
-
116
- ### ✅ GOOD: Skill Library (SkillLibrary.ts - 631 lines)
117
-
118
- **Implementation Quality: 7/10**
119
-
120
- **Highlights:**
121
- - Pattern extraction from episodes (lines 350-421)
122
- - NLP-inspired keyword frequency analysis
123
- - Learning curve analysis
124
- - Skill consolidation with metadata
125
-
126
- **Innovative Features:**
127
- ```typescript
128
- // Lines 372-383: Keyword extraction with stop words
129
- private extractKeywordFrequency(texts: string[]): Map<string, number> {
130
- const stopWords = new Set([/* comprehensive list */]);
131
- // ... word extraction and counting
132
- }
133
- ```
134
-
135
- **Issues:**
136
- - Pattern extraction is basic (no actual ML)
137
- - Stop words hardcoded (should be configurable)
138
- - No skill versioning or rollback
139
- - Composite scoring formula hardcoded (line 621-628)
140
-
141
- ### ✅ EXCELLENT: Causal Memory Graph (CausalMemoryGraph.ts - 505 lines)
142
-
143
- **Implementation Quality: 9/10**
144
-
145
- **Strengths:**
146
- - **Rigorous causal inference** with uplift modeling
147
- - A/B experiment framework
148
- - Statistical significance testing (t-tests)
149
- - Confounder detection
150
- - Multi-hop causal chains
151
-
152
- **Impressive Implementation:**
153
- ```typescript
154
- // Lines 175-244: Proper statistical uplift calculation
155
- calculateUplift(experimentId: number): {
156
- uplift: number;
157
- pValue: number;
158
- confidenceInterval: [number, number];
159
- } {
160
- // Treatment vs control comparison
161
- const uplift = treatmentMean - controlMean;
162
- const tStat = uplift / pooledSE;
163
- const pValue = 2 * (1 - this.tCDF(Math.abs(tStat), df));
164
- // ... confidence intervals
165
- }
166
- ```
167
-
168
- **Minor Issues:**
169
- - t-distribution approximations (lines 480-489) are simplified
170
- - Should use proper stats library (mentioned in comments)
171
- - Correlation calculation overly simplified (lines 492-503)
172
-
173
- ### ⚠️ MIXED: Nightly Learner (NightlyLearner.ts - 487 lines)
174
-
175
- **Implementation Quality: 6/10**
176
-
177
- **Strengths:**
178
- - **Doubly robust learner** for causal discovery (lines 136-146)
179
- - Propensity score calculation
180
- - Automatic experiment creation
181
- - Edge pruning policies
182
-
183
- **Critical Issues:**
184
- ```typescript
185
- // Lines 263-279: Oversimplified outcome model
186
- private calculateOutcomeModel(task: string, treated: boolean): number {
187
- const avgReward = this.db.prepare(`/* SQL */`).get(task) as any;
188
- return avgReward?.avg_reward || 0.5; // FALLBACK TO 0.5!
189
- }
190
- ```
191
- - **Issue:** Default value of 0.5 can bias causal estimates
192
- - **Issue:** No handling of insufficient data
193
- - **Issue:** No model validation or cross-validation
194
-
195
- **Line 221:** Hardcoded similarity value
196
- ```typescript
197
- similarity: 0.8, // Simplified - would use embedding similarity in production
198
- ```
199
- - Should actually calculate similarity, not hardcode
200
-
201
- ---
202
-
203
- ## 3. Learning Algorithms Analysis
204
-
205
- ### ⚠️ INCOMPLETE: Learning System (LearningSystem.ts - 1,288 lines)
206
-
207
- **Claimed:** "9 RL algorithms"
208
- **Reality:** Partial implementations only
209
-
210
- **Implementation Quality: 5/10**
211
-
212
- #### Algorithm Coverage:
213
-
214
- | Algorithm | Claimed | Implemented | Quality |
215
- |-----------|---------|-------------|---------|
216
- | Q-Learning | ✅ | ✅ | 7/10 |
217
- | SARSA | ✅ | ✅ | 6/10 |
218
- | DQN | ✅ | ⚠️ Placeholder | 3/10 |
219
- | Policy Gradient | ✅ | ⚠️ Basic | 4/10 |
220
- | Actor-Critic | ✅ | ⚠️ Basic | 4/10 |
221
- | PPO | ✅ | ⚠️ Placeholder | 3/10 |
222
- | Decision Transformer | ✅ | ❌ Stub | 2/10 |
223
- | MCTS | ✅ | ⚠️ UCB1 only | 5/10 |
224
- | Model-Based RL | ✅ | ❌ Stub | 2/10 |
225
-
226
- **Q-Learning Implementation (Lines 552-561):**
227
- ```typescript
228
- case 'q-learning': {
229
- // Q(s,a) ← Q(s,a) + α[r + γ max Q(s',a') - Q(s,a)]
230
- let maxNextQ = 0;
231
- if (feedback.nextState) {
232
- const nextActions = Object.keys(policy.qValues)
233
- .filter(k => k.startsWith(feedback.nextState + '|'));
234
- maxNextQ = Math.max(...nextActions.map(k => policy.qValues[k]), 0);
235
- }
236
- const target = feedback.reward + gamma * maxNextQ;
237
- policy.qValues[key] += alpha * (target - policy.qValues[key]);
238
- break;
239
- }
240
- ```
241
- - **Quality:** Correct textbook implementation
242
- - **Issue:** No experience replay
243
- - **Issue:** No epsilon-greedy scheduling
244
-
245
- **Decision Transformer (Lines 509-511, 695-697):**
246
- ```typescript
247
- case 'decision-transformer':
248
- score = this.calculateTransformerScore(state, action, policy);
249
- break;
250
-
251
- private calculateTransformerScore(state: string, action: string, policy: any): number {
252
- const key = `${state}|${action}`;
253
- return policy.avgRewards[key] || 0;
254
- }
255
- ```
256
- - **CRITICAL ISSUE:** This is NOT a Decision Transformer
257
- - Just returns average reward (same as policy gradient)
258
- - Missing: sequence modeling, attention mechanism, reward conditioning
259
-
260
- ### ⚠️ Transfer Learning (Lines 868-1004)
261
-
262
- **Implementation Quality: 6/10**
263
-
264
- **Good:**
265
- - Similarity-based transfer
266
- - Q-value transfer between tasks
267
- - Policy merging
268
-
269
- **Issues:**
270
- - No domain adaptation
271
- - Simple embedding similarity (no learned transfer functions)
272
- - No progressive transfer or curriculum learning
273
-
274
- ### ✅ XAI Features (Lines 1009-1122)
275
-
276
- **Implementation Quality: 8/10**
277
-
278
- **Strengths:**
279
- - Evidence-based action explanation
280
- - Causal chain integration
281
- - Confidence scoring with supporting examples
282
-
283
- ---
284
-
285
- ## 4. Database Schema Quality
286
-
287
- ### ✅ EXCELLENT: Schema Design (schema.sql - 383 lines)
288
-
289
- **Quality: 9/10**
290
-
291
- **Strengths:**
292
- - Comprehensive indexing strategy
293
- - Proper foreign key constraints
294
- - Useful views for common queries
295
- - Triggers for auto-maintenance
296
- - JSON metadata support
297
-
298
- **Well-Designed Tables:**
299
- ```sql
300
- -- Episode storage with performance indexes
301
- CREATE INDEX IF NOT EXISTS idx_episodes_ts ON episodes(ts DESC);
302
- CREATE INDEX IF NOT EXISTS idx_episodes_session ON episodes(session_id);
303
- CREATE INDEX IF NOT EXISTS idx_episodes_reward ON episodes(reward DESC);
304
- CREATE INDEX IF NOT EXISTS idx_episodes_task ON episodes(task);
305
- ```
306
-
307
- **Smart Views:**
308
- ```sql
309
- -- Lines 304-315: Skill candidates auto-detection
310
- CREATE VIEW IF NOT EXISTS skill_candidates AS
311
- SELECT task, COUNT(*) as attempt_count, AVG(reward) as avg_reward
312
- FROM episodes
313
- WHERE ts > strftime('%s', 'now') - 86400 * 7
314
- GROUP BY task
315
- HAVING attempt_count >= 3 AND avg_reward >= 0.7;
316
- ```
317
-
318
- **Issues:**
319
- - BLOB storage for embeddings (no vector extension mentioned)
320
- - No partition strategy for large datasets
321
- - JSON fields prevent efficient filtering
322
-
323
- ### ✅ GOOD: Frontier Schema (frontier-schema.sql - 342 lines)
324
-
325
- **Quality: 8/10**
326
-
327
- **Advanced Features:**
328
- - Causal edge tracking with uplift metrics
329
- - Provenance and Merkle tree support
330
- - Explainability certificates
331
- - Recursive CTEs for causal chains
332
-
333
- **Minor Issues:**
334
- - Foreign keys disabled for causal edges (line 42-43)
335
- - Complex views may have performance issues
336
- - No partitioning strategy
337
-
338
- ---
339
-
340
- ## 5. Optimization Analysis
341
-
342
- ### ⚠️ MIXED: Query Optimizer (QueryOptimizer.ts - 298 lines)
343
-
344
- **Implementation Quality: 6/10**
345
-
346
- **Features:**
347
- - Query result caching with TTL
348
- - Query plan analysis
349
- - Performance statistics tracking
350
- - Optimization suggestions
351
-
352
- **Code Issues:**
353
- ```typescript
354
- // Lines 236-242: Naive LRU implementation
355
- private cacheResult(key: string, result: any): void {
356
- if (this.cache.size >= this.config.maxSize) {
357
- // Simple LRU: remove oldest entry
358
- const oldestKey = this.cache.keys().next().value as string | undefined;
359
- if (oldestKey) {
360
- this.cache.delete(oldestKey);
361
- }
362
- }
363
- ```
364
- - **Issue:** `.keys().next()` doesn't guarantee oldest entry
365
- - **Fix:** Use actual timestamp tracking or `Map` iteration order (not guaranteed)
366
-
367
- **Cache Invalidation (Lines 250-261):**
368
- ```typescript
369
- private invalidateCache(sql: string): void {
370
- const tables = this.extractTables(sql);
371
- for (const [key] of this.cache) {
372
- for (const table of tables) {
373
- if (key.toLowerCase().includes(table.toLowerCase())) {
374
- this.cache.delete(key);
375
- }
376
- }
377
- }
378
- }
379
- ```
380
- - **Issue:** O(n*m) complexity for cache invalidation
381
- - **Better:** Maintain table-to-cache-key mapping
382
-
383
- ### ✅ GOOD: Batch Operations (BatchOperations.ts - 294 lines)
384
-
385
- **Implementation Quality: 7/10**
386
-
387
- **Strengths:**
388
- - Transaction-based batch inserts
389
- - Progress callbacks
390
- - Parallel processing with configurable parallelism
391
- - Database optimization utilities
392
-
393
- **Well-Implemented:**
394
- ```typescript
395
- // Lines 40-95: Proper transactional batch insert
396
- async insertEpisodes(episodes: Episode[]): Promise<number> {
397
- const transaction = this.db.transaction(() => {
398
- batch.forEach((episode, idx) => {
399
- const result = episodeStmt.run(/* ... */);
400
- const episodeId = result.lastInsertRowid as number;
401
- embeddingStmt.run(episodeId, Buffer.from(embeddings[idx].buffer));
402
- });
403
- });
404
- transaction();
405
- }
406
- ```
407
-
408
- **Issues:**
409
- - No error handling inside transactions
410
- - No rollback on partial failures
411
- - Progress callback called outside transaction (could be inconsistent)
412
-
413
- ---
414
-
415
- ## 6. Code Smells and Anti-Patterns
416
-
417
- ### 🔴 Critical Code Smells
418
-
419
- **1. Type Safety Issues**
420
- ```typescript
421
- // Multiple files: Any types everywhere
422
- type Database = any;
423
- const row = stmt.get(id) as any;
424
- ```
425
- - **Count:** 100+ uses of `any`
426
- - **Impact:** Defeats TypeScript's type safety
427
- - **Fix:** Define proper Database interface
428
-
429
- **2. Magic Numbers**
430
- ```typescript
431
- // EmbeddingService.ts:66
432
- if (this.cache.size > 10000) {
433
- const keysToDelete = Array.from(this.cache.keys()).slice(0, 5000);
434
- }
435
-
436
- // SkillLibrary.ts:622-628
437
- return (
438
- skill.similarity * 0.4 +
439
- skill.successRate * 0.3 +
440
- Math.min(skill.uses / 1000, 1.0) * 0.1 +
441
- skill.avgReward * 0.2
442
- );
443
- ```
444
- - **Issue:** Hardcoded constants without explanation
445
- - **Fix:** Extract to named constants with documentation
446
-
447
- **3. Long Methods**
448
- ```typescript
449
- // LearningSystem.ts:730-863: getMetrics() - 134 lines
450
- // SkillLibrary.ts:232-347: consolidateEpisodesIntoSkills() - 116 lines
451
- // NightlyLearner.ts:74-133: run() - 60 lines
452
- ```
453
- - **Issue:** Methods exceed 50 lines (complexity threshold)
454
- - **Fix:** Extract sub-methods
455
-
456
- **4. God Object**
457
- ```typescript
458
- // LearningSystem.ts - 1,288 lines
459
- // SkillLibrary.ts - 631 lines
460
- ```
461
- - **Issue:** Large classes with multiple responsibilities
462
- - **Fix:** Split into focused components
463
-
464
- **5. Duplicate Code**
465
- ```typescript
466
- // Cosine similarity implemented 4 times:
467
- // - ReflexionMemory.ts:341-353
468
- // - SkillLibrary.ts:607-619
469
- // - ReasoningBank.ts:394-411
470
- // - LearningSystem.ts:1270-1286
471
- ```
472
- - **Fix:** Extract to shared utility
473
-
474
- **6. Error Handling**
475
- ```typescript
476
- // Multiple catch blocks that just log:
477
- try {
478
- // operation
479
- } catch (error) {
480
- console.error(`⚠ Failed:`, error);
481
- }
482
- ```
483
- - **Issue:** Errors swallowed without propagation
484
- - **Fix:** Rethrow or return error types
485
-
486
- ### ⚠️ Code Quality Issues
487
-
488
- **7. Inconsistent Naming**
489
- - `storePattern` vs `createSkill`
490
- - `retrieveRelevant` vs `searchPatterns` vs `searchSkills`
491
- - `ts` vs `created_at` vs `timestamp`
492
-
493
- **8. Missing Documentation**
494
- - No JSDoc for complex algorithms
495
- - Algorithm formulas in comments but no references
496
- - No examples in docstrings
497
-
498
- **9. Dead Code**
499
- ```typescript
500
- // LearningSystem.ts:147-164: discover() method
501
- // Just calls discoverCausalEdges() and returns empty array for dry runs
502
- // Appears unused and incomplete
503
- ```
504
-
505
- **10. Feature Envy**
506
- ```typescript
507
- // SkillLibrary accessing Episode internals repeatedly
508
- // CausalMemoryGraph directly querying episodes table
509
- ```
510
- - **Fix:** Add abstraction layers
511
-
512
- ---
513
-
514
- ## 7. Missing Implementations
515
-
516
- ### ❌ Advertised but Missing Features
517
-
518
- **1. HNSW Vector Indexing**
519
- - Claimed: "150x faster with HNSW"
520
- - Status: ❌ Not implemented
521
- - Files searched: All controllers, optimizations
522
-
523
- **2. Quantization**
524
- - Claimed: "4-32x memory reduction"
525
- - Status: ❌ Not implemented
526
- - No scalar quantization, product quantization, or binary quantization
527
-
528
- **3. Advanced RL Algorithms**
529
- - DQN: Missing replay buffer, target network
530
- - PPO: Missing clipped objective, advantage estimation
531
- - Decision Transformer: Completely stub implementation
532
- - Model-Based RL: Just returns average reward
533
-
534
- **4. Distributed Features**
535
- - Claimed: QUIC synchronization
536
- - Status: ❌ Not found in codebase
537
-
538
- **5. Hybrid Search**
539
- - Claimed: Keyword + vector hybrid
540
- - Status: ❌ Not implemented
541
- - Only vector similarity search exists
542
-
543
- ### ⚠️ Partially Implemented
544
-
545
- **1. Neural Training** (NightlyLearner)
546
- - Basic framework exists
547
- - Missing: Neural network architecture
548
- - Missing: Backpropagation implementation
549
- - Missing: Model serialization
550
-
551
- **2. Explainable Recall** (ExplainableRecall.ts - file not analyzed due to time)
552
- - Schema exists (frontier-schema.sql)
553
- - Implementation completeness unknown
554
-
555
- ---
556
-
557
- ## 8. Performance Analysis
558
-
559
- ### 🔍 Performance Bottlenecks
560
-
561
- **1. In-Memory Similarity Search**
562
- ```typescript
563
- // ReflexionMemory.ts:149-175
564
- const episodes: EpisodeWithEmbedding[] = rows.map(row => {
565
- const embedding = this.deserializeEmbedding(row.embedding);
566
- const similarity = this.cosineSimilarity(queryEmbedding, embedding);
567
- return { /* ... */, similarity };
568
- });
569
- episodes.sort((a, b) => (b.similarity || 0) - (a.similarity || 0));
570
- ```
571
- - **Issue:** O(n) similarity calculation for all episodes
572
- - **Impact:** Doesn't scale beyond thousands of episodes
573
- - **Fix:** Implement actual HNSW or FAISS integration
574
-
575
- **2. String Concatenation for Cache Keys**
576
- ```typescript
577
- // QueryOptimizer.ts:231-233
578
- private generateCacheKey(sql: string, params: any[]): string {
579
- return `${sql}:${JSON.stringify(params)}`;
580
- }
581
- ```
582
- - **Issue:** JSON.stringify on every query
583
- - **Better:** Hash function
584
-
585
- **3. Synchronous Database Operations**
586
- - No async/await for database queries in many places
587
- - Blocking operations in loops
588
-
589
- **4. No Connection Pooling**
590
- - Single database connection
591
- - No concurrent query support
592
-
593
- ### ⚡ Performance Strengths
594
-
595
- **1. Prepared Statement Caching**
596
- ```typescript
597
- // BatchOperations.ts: Reuses prepared statements in transactions
598
- const episodeStmt = this.db.prepare(`INSERT INTO episodes...`);
599
- batch.forEach((episode, idx) => {
600
- const result = episodeStmt.run(/* ... */);
601
- });
602
- ```
603
-
604
- **2. Batch Operations**
605
- - Proper use of transactions
606
- - Reduces I/O operations
607
-
608
- **3. Indexing Strategy**
609
- - Comprehensive indexes in schema
610
- - Proper use of covering indexes
611
-
612
- ---
613
-
614
- ## 9. Security Analysis
615
-
616
- ### ✅ Good Security Practices
617
-
618
- **1. SQL Injection Protection**
619
- - Consistent use of prepared statements
620
- - No string concatenation in queries
621
-
622
- **2. Foreign Key Constraints**
623
- - Proper CASCADE operations
624
- - Data integrity maintained
625
-
626
- ### ⚠️ Security Concerns
627
-
628
- **1. Input Validation**
629
- ```typescript
630
- // Missing validation in many public methods
631
- async storePattern(pattern: ReasoningPattern): Promise<number> {
632
- // No validation of pattern fields
633
- const embedding = await this.embedder.embed(/* ... */);
634
- }
635
- ```
636
-
637
- **2. Resource Limits**
638
- - No query timeout enforcement
639
- - No memory limits on caches
640
- - No pagination limits
641
-
642
- **3. Sensitive Data**
643
- - No encryption for embeddings
644
- - No access control
645
- - No audit logging
646
-
647
- ---
648
-
649
- ## 10. Testing Analysis
650
-
651
- ### ❌ CRITICAL: No Test Coverage Found
652
-
653
- **Tests Discovered:** 0 in `/packages/agentdb/`
654
- - No unit tests
655
- - No integration tests
656
- - No benchmarks
657
- - No examples that test functionality
658
-
659
- **Impact:**
660
- - Cannot verify correctness of algorithms
661
- - Cannot validate performance claims
662
- - High risk of regressions
663
- - No documentation through tests
664
-
665
- **Example Tests Needed:**
666
- ```typescript
667
- // Should have tests like:
668
- describe('ReflexionMemory', () => {
669
- test('retrieves similar episodes', async () => {
670
- // Store episodes
671
- // Query for similar
672
- // Assert similarity scores
673
- });
674
-
675
- test('prunes old episodes', () => {
676
- // Insert episodes with dates
677
- // Run pruning
678
- // Verify deletion
679
- });
680
- });
681
- ```
682
-
683
- ---
684
-
685
- ## 11. Dependency Analysis
686
-
687
- ### Dependencies (package.json)
688
-
689
- **Production:**
690
- - `@modelcontextprotocol/sdk`: ^1.20.1 - MCP integration
691
- - `chalk`: ^5.3.0 - Terminal colors
692
- - `commander`: ^12.1.0 - CLI
693
- - `sql.js`: ^1.13.0 - **SQLite WASM** (good choice)
694
- - `zod`: ^3.25.76 - Schema validation
695
-
696
- **Optional:**
697
- - `better-sqlite3`: ^11.8.1 - Native SQLite (fallback)
698
-
699
- **Dev:**
700
- - `typescript`: ^5.7.2
701
- - `vitest`: ^2.1.8 - Test runner (but no tests found!)
702
- - `esbuild`: ^0.25.11 - Bundler
703
-
704
- ### Issues:
705
- - ❌ No vector search library (FAISS, hnswlib, etc.)
706
- - ❌ No ML/stats library (for proper RL implementation)
707
- - ⚠️ Using sql.js (slower than native) but has better-sqlite3 optional
708
- - ⚠️ Large bundle size potential (sql.js + WASM)
709
-
710
- ---
711
-
712
- ## 12. Architecture Assessment
713
-
714
- ### ✅ Architectural Strengths
715
-
716
- **1. Separation of Concerns**
717
- - Controllers handle business logic
718
- - Optimizations separate from core logic
719
- - Schema isolated in SQL files
720
-
721
- **2. Plugin Architecture**
722
- - EmbeddingService supports multiple providers
723
- - Database abstraction (sql.js vs better-sqlite3)
724
-
725
- **3. Event-Driven Design**
726
- - SQL triggers for auto-maintenance
727
- - Consolidation jobs tracked
728
-
729
- ### ⚠️ Architectural Issues
730
-
731
- **1. Tight Coupling**
732
- ```typescript
733
- // Many controllers directly instantiate dependencies
734
- this.reflexion = new ReflexionMemory(db, embedder);
735
- this.skillLibrary = new SkillLibrary(db, embedder);
736
- ```
737
- - **Fix:** Dependency injection
738
-
739
- **2. No Clear Layering**
740
- - Controllers access database directly
741
- - No repository pattern
742
- - No domain models (just interfaces)
743
-
744
- **3. Mixed Responsibilities**
745
- - LearningSystem handles: session management, prediction, training, metrics, transfer learning, XAI
746
- - **Fix:** Split into focused classes
747
-
748
- **4. No Clear API Boundary**
749
- - Public vs private methods unclear
750
- - No facade pattern
751
- - Consumers must know internal structure
752
-
753
- ---
754
-
755
- ## 13. Documentation Quality
756
-
757
- ### ✅ Good Documentation
758
-
759
- **1. File Headers**
760
- ```typescript
761
- /**
762
- * ReflexionMemory - Episodic Replay Memory System
763
- *
764
- * Implements reflexion-style episodic replay for agent self-improvement.
765
- * Based on: "Reflexion: Language Agents with Verbal Reinforcement Learning"
766
- * https://arxiv.org/abs/2303.11366
767
- */
768
- ```
769
- - Clear purpose
770
- - Academic citations
771
- - Links to papers
772
-
773
- **2. SQL Schema Comments**
774
- ```sql
775
- -- ============================================================================
776
- -- Pattern 1: Reflexion-Style Episodic Replay
777
- -- ============================================================================
778
- ```
779
- - Well-organized sections
780
- - Explains patterns
781
-
782
- ### ⚠️ Documentation Gaps
783
-
784
- **1. Missing API Documentation**
785
- - No JSDoc for method parameters
786
- - No return type documentation
787
- - No usage examples
788
-
789
- **2. Algorithm Documentation**
790
- - Formulas in comments but no derivation
791
- - No complexity analysis
792
- - No accuracy/performance trade-offs documented
793
-
794
- **3. No Architecture Documentation**
795
- - No system diagrams
796
- - No data flow documentation
797
- - No decision records
798
-
799
- ---
800
-
801
- ## 14. Recommendations
802
-
803
- ### 🔴 Critical Priority (Fix Immediately)
804
-
805
- **1. Implement Actual Vector Search or Remove Claims**
806
- - Either implement HNSW/FAISS integration
807
- - Or update documentation to remove "150x faster" claims
808
- - Current implementation is a SQLite database with basic embeddings
809
-
810
- **2. Add Comprehensive Test Suite**
811
- - Unit tests for all controllers
812
- - Integration tests for workflows
813
- - Benchmarks to validate performance claims
814
-
815
- **3. Fix Type Safety**
816
- - Remove `type Database = any`
817
- - Define proper interfaces
818
- - Enable strict TypeScript
819
-
820
- **4. Complete RL Implementations**
821
- - Either implement DQN, PPO, Decision Transformer properly
822
- - Or remove from "9 algorithms" claim
823
- - Current stubs are misleading
824
-
825
- ### 🟡 High Priority (Next Sprint)
826
-
827
- **5. Extract Shared Utilities**
828
- - Cosine similarity → `utils/vector.ts`
829
- - Cache management → `utils/cache.ts`
830
- - Statistical functions → `utils/stats.ts`
831
-
832
- **6. Add Error Handling**
833
- - Wrap database operations in try-catch
834
- - Return Result types instead of throwing
835
- - Add validation to public APIs
836
-
837
- **7. Refactor Large Classes**
838
- - Split LearningSystem (1,288 lines)
839
- - Extract pattern recognition from SkillLibrary
840
- - Separate session management from learning
841
-
842
- **8. Implement Proper LRU Cache**
843
- ```typescript
844
- class LRUCache<K, V> {
845
- private cache = new Map<K, { value: V; timestamp: number }>();
846
- // ... proper LRU implementation
847
- }
848
- ```
849
-
850
- ### 🟢 Medium Priority (Future)
851
-
852
- **9. Add Dependency Injection**
853
- ```typescript
854
- class AgentDB {
855
- constructor(
856
- private db: DatabaseInterface,
857
- private embedder: EmbeddingService,
858
- private config: AgentDBConfig
859
- ) {}
860
- }
861
- ```
862
-
863
- **10. Implement Repository Pattern**
864
- ```typescript
865
- interface EpisodeRepository {
866
- save(episode: Episode): Promise<number>;
867
- findById(id: number): Promise<Episode | null>;
868
- findSimilar(embedding: Float32Array, k: number): Promise<Episode[]>;
869
- }
870
- ```
871
-
872
- **11. Add Observability**
873
- - Structured logging
874
- - Metrics collection
875
- - Tracing for debugging
876
-
877
- **12. Performance Optimization**
878
- - Implement actual vector index
879
- - Add connection pooling
880
- - Optimize batch operations
881
-
882
- ---
883
-
884
- ## 15. Comparison with Industry Standards
885
-
886
- ### Vector Databases Comparison
887
-
888
- | Feature | AgentDB | Pinecone | Weaviate | Qdrant | Milvus |
889
- |---------|---------|----------|----------|--------|--------|
890
- | HNSW Indexing | ❌ | ✅ | ✅ | ✅ | ✅ |
891
- | Quantization | ❌ | ✅ | ✅ | ✅ | ✅ |
892
- | Distributed | ❌ | ✅ | ✅ | ✅ | ✅ |
893
- | Hybrid Search | ❌ | ✅ | ✅ | ✅ | ⚠️ |
894
- | Filters | ⚠️ | ✅ | ✅ | ✅ | ✅ |
895
- | CRUD | ✅ | ✅ | ✅ | ✅ | ✅ |
896
-
897
- **Verdict:** AgentDB is **not competitive** as a vector database but has **unique memory features** not found in others.
898
-
899
- ### Memory Systems Comparison
900
-
901
- | Feature | AgentDB | LangChain | LlamaIndex | AutoGPT | Voyager |
902
- |---------|---------|-----------|------------|---------|---------|
903
- | Episodic Memory | ✅ | ⚠️ | ✅ | ✅ | ⚠️ |
904
- | Skill Library | ✅ | ❌ | ❌ | ⚠️ | ✅ |
905
- | Causal Reasoning | ✅ | ❌ | ❌ | ❌ | ❌ |
906
- | XAI | ✅ | ❌ | ⚠️ | ❌ | ❌ |
907
- | RL Integration | ⚠️ | ❌ | ❌ | ❌ | ⚠️ |
908
-
909
- **Verdict:** AgentDB has **innovative** causal reasoning and XAI features that differentiate it.
910
-
911
- ---
912
-
913
- ## 16. Positive Findings
914
-
915
- ### 🎯 Innovation Highlights
916
-
917
- **1. Causal Memory Graph**
918
- - Novel approach to memory relationships
919
- - Proper statistical causal inference
920
- - Doubly robust learner implementation
921
- - Production-quality A/B testing framework
922
-
923
- **2. Explainable Recall**
924
- - Provenance tracking with Merkle trees
925
- - Justification paths for AI decisions
926
- - Compliance-ready architecture
927
-
928
- **3. Skill Consolidation**
929
- - Automatic skill extraction from episodes
930
- - Pattern learning from success/failure
931
- - Learning curve analysis
932
-
933
- **4. Reflexion Integration**
934
- - Based on recent research (2023)
935
- - Self-critique loop
936
- - Improvement tracking
937
-
938
- **5. SQL Schema Quality**
939
- - Well-designed indexes
940
- - Proper normalization
941
- - Useful views and triggers
942
-
943
- ---
944
-
945
- ## 17. Technical Debt Assessment
946
-
947
- ### High Technical Debt Areas
948
-
949
- **1. Type System Debt**
950
- - 100+ uses of `any`
951
- - Missing interfaces
952
- - **Effort:** 2 weeks
953
- - **Risk:** High (type safety violations)
954
-
955
- **2. Testing Debt**
956
- - Zero test coverage
957
- - **Effort:** 4 weeks
958
- - **Risk:** Critical (no regression protection)
959
-
960
- **3. Implementation Debt**
961
- - Missing HNSW
962
- - Incomplete RL algorithms
963
- - **Effort:** 8 weeks
964
- - **Risk:** High (false advertising)
965
-
966
- **4. Code Quality Debt**
967
- - Large classes
968
- - Duplicate code
969
- - Long methods
970
- - **Effort:** 3 weeks
971
- - **Risk:** Medium (maintainability)
972
-
973
- ### Technical Debt Score: **7/10** (High)
974
-
975
- ---
976
-
977
- ## 18. Final Recommendations
978
-
979
- ### For Immediate Release (v1.5.0)
980
-
981
- **DO:**
982
- 1. ✅ Keep causal reasoning features (strong)
983
- 2. ✅ Keep skill library (innovative)
984
- 3. ✅ Keep Reflexion memory (well-implemented)
985
- 4. ✅ Add comprehensive test suite
986
- 5. ✅ Fix type safety issues
987
-
988
- **DON'T:**
989
- 1. ❌ Claim HNSW until implemented
990
- 2. ❌ Claim 150x performance without benchmarks
991
- 3. ❌ Advertise 9 complete RL algorithms (only 4-5 are complete)
992
-
993
- ### For Future Versions
994
-
995
- **v2.0.0: Vector Database Parity**
996
- - Implement HNSW or integrate FAISS
997
- - Add quantization support
998
- - Benchmark against Pinecone/Qdrant
999
- - Add hybrid search
1000
-
1001
- **v2.1.0: Complete RL Suite**
1002
- - Finish DQN with replay buffer
1003
- - Implement PPO with advantage estimation
1004
- - Add Decision Transformer (sequence model)
1005
- - Add model-based RL (world model)
1006
-
1007
- **v3.0.0: Production Readiness**
1008
- - Distributed architecture
1009
- - Connection pooling
1010
- - Observability suite
1011
- - Security audit
1012
-
1013
- ---
1014
-
1015
- ## Conclusion
1016
-
1017
- **AgentDB is a innovative research project** with unique features like causal reasoning and explainable recall that differentiate it from existing vector databases and memory systems. However, it has **significant gaps** between documentation claims and actual implementation.
1018
-
1019
- ### Key Takeaways:
1020
-
1021
- 1. **NOT a vector database** in the traditional sense (no HNSW, no quantization)
1022
- 2. **Strong causal inference** capabilities (best-in-class for AI memory)
1023
- 3. **Incomplete RL implementation** (4-5 of 9 algorithms partially done)
1024
- 4. **No test coverage** (critical risk)
1025
- 5. **Good SQL schema** and memory patterns
1026
- 6. **High technical debt** but manageable with focused effort
1027
-
1028
- ### Recommended Next Steps:
1029
-
1030
- **For Users:**
1031
- - Use AgentDB for its **causal reasoning** and **memory features**
1032
- - Don't rely on it as a high-performance vector database
1033
- - Understand limitations of RL algorithms
1034
-
1035
- **For Developers:**
1036
- - Add tests immediately
1037
- - Fix type safety
1038
- - Complete or remove incomplete features
1039
- - Update documentation to match reality
1040
-
1041
- **Overall Assessment: 6.5/10**
1042
- - Strong foundation with innovative features
1043
- - Needs implementation completion and testing
1044
- - Has potential to be unique in the market if gaps are addressed
1045
-
1046
- ---
1047
-
1048
- **Analysis Completed:** 2025-10-25
1049
- **Files Analyzed:** 17 TypeScript files, 2 SQL schemas, 1 package.json
1050
- **Total Lines Reviewed:** 5,514+ lines