@monoes/monomindcli 1.10.54 → 1.10.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/agents/optimization/benchmark-suite.md +2 -0
- package/.claude/agents/optimization/load-balancer.md +2 -0
- package/.claude/agents/optimization/performance-monitor.md +2 -0
- package/.claude/agents/optimization/resource-allocator.md +3 -1
- package/.claude/agents/optimization/topology-optimizer.md +2 -0
- package/.claude/commands/mastermind/_repeat.md +21 -0
- package/.claude/commands/mastermind/_taskfile.md +235 -0
- package/.claude/commands/mastermind/adr.md +11 -0
- package/.claude/commands/mastermind/approve.md +94 -0
- package/.claude/commands/mastermind/autodev.md +32 -0
- package/.claude/commands/mastermind/budget.md +7 -0
- package/.claude/commands/mastermind/code-review.md +317 -0
- package/.claude/commands/mastermind/createorg.md +40 -1
- package/.claude/commands/mastermind/createtask.md +383 -0
- package/.claude/commands/mastermind/debug.md +22 -0
- package/.claude/commands/mastermind/design.md +20 -0
- package/.claude/commands/mastermind/do.md +526 -0
- package/.claude/commands/mastermind/execute.md +20 -0
- package/.claude/commands/mastermind/finish.md +20 -0
- package/.claude/commands/mastermind/graph-status.md +7 -0
- package/.claude/commands/mastermind/help.md +118 -0
- package/.claude/commands/mastermind/ideate.md +261 -0
- package/.claude/commands/mastermind/improve.md +345 -0
- package/.claude/commands/mastermind/loops.md +7 -0
- package/.claude/commands/mastermind/master.md +186 -6
- package/.claude/commands/mastermind/memory.md +230 -0
- package/.claude/commands/mastermind/plan.md +26 -0
- package/.claude/commands/mastermind/receive-review.md +20 -0
- package/.claude/commands/mastermind/repeat.md +257 -0
- package/.claude/commands/mastermind/runorg.md +3 -0
- package/.claude/commands/mastermind/skill-builder.md +20 -0
- package/.claude/commands/mastermind/specialagents.md +125 -0
- package/.claude/commands/mastermind/swarm.md +161 -0
- package/.claude/commands/mastermind/taskdev.md +26 -0
- package/.claude/commands/mastermind/tdd.md +22 -0
- package/.claude/commands/mastermind/techport.md +4 -0
- package/.claude/commands/mastermind/understand.md +139 -0
- package/.claude/commands/mastermind/verify.md +22 -0
- package/.claude/commands/mastermind/worktree.md +20 -0
- package/.claude/helpers/handlers/graph-status-handler.cjs +2 -1
- package/.claude/helpers/hook-handler.cjs +19 -0
- package/.claude/helpers/skill-registry.json +23 -0
- package/.claude/helpers/statusline.cjs +1 -1
- package/.claude/skills/mastermind/approve.md +15 -7
- package/.claude/skills/mastermind/autodev.md +534 -0
- package/.claude/skills/mastermind/createorg.md +21 -5
- package/.claude/skills/mastermind/debug.md +232 -0
- package/.claude/skills/mastermind/design.md +187 -0
- package/.claude/skills/mastermind/execute.md +104 -0
- package/.claude/skills/mastermind/finish.md +251 -0
- package/.claude/skills/mastermind/plan.md +180 -0
- package/.claude/skills/mastermind/receive-review.md +213 -0
- package/.claude/skills/mastermind/runorg.md +23 -8
- package/.claude/skills/mastermind/skill-builder.md +274 -0
- package/.claude/skills/mastermind/taskdev.md +307 -0
- package/.claude/skills/mastermind/tdd.md +394 -0
- package/.claude/skills/mastermind/verify.md +196 -0
- package/.claude/skills/mastermind/worktree.md +160 -132
- package/README.md +320 -253
- package/dist/src/commands/analyze.d.ts.map +1 -1
- package/dist/src/commands/analyze.js +9 -2
- package/dist/src/commands/analyze.js.map +1 -1
- package/dist/src/commands/benchmark.js.map +1 -1
- package/dist/src/commands/completions.js +1 -1
- package/dist/src/commands/guidance.js +7 -7
- package/dist/src/commands/hooks.d.ts.map +1 -1
- package/dist/src/commands/hooks.js +16 -3
- package/dist/src/commands/hooks.js.map +1 -1
- package/dist/src/commands/index.d.ts +3 -2
- package/dist/src/commands/index.d.ts.map +1 -1
- package/dist/src/commands/index.js +7 -0
- package/dist/src/commands/index.js.map +1 -1
- package/dist/src/commands/init.d.ts.map +1 -1
- package/dist/src/commands/init.js +47 -13
- package/dist/src/commands/init.js.map +1 -1
- package/dist/src/commands/neural.d.ts.map +1 -1
- package/dist/src/commands/neural.js +100 -14
- package/dist/src/commands/neural.js.map +1 -1
- package/dist/src/commands/platforms.d.ts +11 -0
- package/dist/src/commands/platforms.d.ts.map +1 -0
- package/dist/src/commands/platforms.js +195 -0
- package/dist/src/commands/platforms.js.map +1 -0
- package/dist/src/commands/ruvector/backup.js.map +1 -1
- package/dist/src/commands/ruvector/benchmark.js.map +1 -1
- package/dist/src/commands/ruvector/init.js.map +1 -1
- package/dist/src/commands/ruvector/migrate.js.map +1 -1
- package/dist/src/commands/ruvector/optimize.js.map +1 -1
- package/dist/src/commands/ruvector/status.js.map +1 -1
- package/dist/src/commands/update.js +6 -6
- package/dist/src/init/executor.d.ts.map +1 -1
- package/dist/src/init/executor.js +28 -0
- package/dist/src/init/executor.js.map +1 -1
- package/dist/src/init/statusline-generator.js +1 -1
- package/dist/src/init/types.d.ts +1 -0
- package/dist/src/init/types.d.ts.map +1 -1
- package/dist/src/mcp-server.d.ts.map +1 -1
- package/dist/src/mcp-server.js +92 -0
- package/dist/src/mcp-server.js.map +1 -1
- package/dist/src/mcp-tools/hive-mind-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/hive-mind-tools.js +52 -0
- package/dist/src/mcp-tools/hive-mind-tools.js.map +1 -1
- package/dist/src/mcp-tools/hooks-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/hooks-tools.js +106 -5
- package/dist/src/mcp-tools/hooks-tools.js.map +1 -1
- package/dist/src/mcp-tools/index.d.ts +0 -5
- package/dist/src/mcp-tools/index.d.ts.map +1 -1
- package/dist/src/mcp-tools/index.js +0 -5
- package/dist/src/mcp-tools/index.js.map +1 -1
- package/dist/src/mcp-tools/monograph-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/monograph-tools.js +507 -5587
- package/dist/src/mcp-tools/monograph-tools.js.map +1 -1
- package/dist/src/mcp-tools/neural-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/neural-tools.js +64 -4
- package/dist/src/mcp-tools/neural-tools.js.map +1 -1
- package/dist/src/mcp-tools/security-tools.js +4 -4
- package/dist/src/memory/intelligence.d.ts +2 -2
- package/dist/src/memory/intelligence.d.ts.map +1 -1
- package/dist/src/memory/intelligence.js +108 -3
- package/dist/src/memory/intelligence.js.map +1 -1
- package/dist/src/memory/memory-bridge.js +1 -1
- package/dist/src/memory/memory-bridge.js.map +1 -1
- package/dist/src/memory/sona-optimizer.d.ts +1 -10
- package/dist/src/memory/sona-optimizer.d.ts.map +1 -1
- package/dist/src/memory/sona-optimizer.js +0 -46
- package/dist/src/memory/sona-optimizer.js.map +1 -1
- package/dist/src/runtime/headless.js +3 -3
- package/dist/src/ruvector/diff-classifier.d.ts +0 -2
- package/dist/src/ruvector/diff-classifier.d.ts.map +1 -1
- package/dist/src/ruvector/diff-classifier.js +2 -14
- package/dist/src/ruvector/diff-classifier.js.map +1 -1
- package/dist/src/ruvector/index.d.ts +26 -9
- package/dist/src/ruvector/index.d.ts.map +1 -1
- package/dist/src/ruvector/index.js +3 -21
- package/dist/src/ruvector/index.js.map +1 -1
- package/dist/src/ruvector/ruvllm-wasm.js +2 -2
- package/dist/src/ruvector/ruvllm-wasm.js.map +1 -1
- package/dist/src/types.d.ts +0 -15
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.js +0 -18
- package/dist/src/types.js.map +1 -1
- package/dist/src/ui/dashboard.html +8763 -9766
- package/dist/src/ui/orgs.html +1 -1
- package/dist/src/ui/server.mjs +504 -35
- package/dist/src/update/index.js +1 -1
- package/dist/src/update/validator.js +8 -8
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/.claude/agents/academic/academic-anthropologist.md +0 -126
- package/.claude/agents/academic/academic-geographer.md +0 -128
- package/.claude/agents/academic/academic-historian.md +0 -124
- package/.claude/agents/academic/academic-narratologist.md +0 -119
- package/.claude/agents/academic/academic-psychologist.md +0 -119
- package/.claude/agents/analysis/analyze-code-quality.md +0 -58
- package/.claude/agents/analysis/code-analyzer.md +0 -189
- package/.claude/agents/analysis/code-review/analyze-code-quality.md +0 -58
- package/.claude/agents/consensus/performance-benchmarker.md +0 -831
- package/.claude/agents/data/ml/data-ml-model.md +0 -76
- package/.claude/agents/development/dev-backend-api.md +0 -178
- package/.claude/agents/devops/ci-cd/ops-cicd-github.md +0 -52
- package/.claude/agents/documentation/api-docs/docs-api-openapi.md +0 -63
- package/.claude/agents/game-development/blender/blender-addon-engineer.md +0 -235
- package/.claude/agents/game-development/game-audio-engineer.md +0 -265
- package/.claude/agents/game-development/game-designer.md +0 -168
- package/.claude/agents/game-development/godot/godot-gameplay-scripter.md +0 -335
- package/.claude/agents/game-development/godot/godot-multiplayer-engineer.md +0 -298
- package/.claude/agents/game-development/godot/godot-shader-developer.md +0 -267
- package/.claude/agents/game-development/level-designer.md +0 -209
- package/.claude/agents/game-development/narrative-designer.md +0 -244
- package/.claude/agents/game-development/roblox-studio/roblox-avatar-creator.md +0 -298
- package/.claude/agents/game-development/roblox-studio/roblox-experience-designer.md +0 -306
- package/.claude/agents/game-development/roblox-studio/roblox-systems-scripter.md +0 -326
- package/.claude/agents/game-development/technical-artist.md +0 -230
- package/.claude/agents/game-development/unity/unity-architect.md +0 -272
- package/.claude/agents/game-development/unity/unity-editor-tool-developer.md +0 -311
- package/.claude/agents/game-development/unity/unity-multiplayer-engineer.md +0 -322
- package/.claude/agents/game-development/unity/unity-shader-graph-artist.md +0 -270
- package/.claude/agents/game-development/unreal-engine/unreal-multiplayer-architect.md +0 -314
- package/.claude/agents/game-development/unreal-engine/unreal-systems-engineer.md +0 -311
- package/.claude/agents/game-development/unreal-engine/unreal-technical-artist.md +0 -257
- package/.claude/agents/game-development/unreal-engine/unreal-world-builder.md +0 -274
- package/.claude/agents/github/release-swarm.md +0 -597
- package/.claude/agents/goal/agent.md +0 -804
- package/.claude/agents/goal/code-goal-planner.md +0 -445
- package/.claude/agents/marketing/marketing-ai-citation-strategist.md +0 -171
- package/.claude/agents/marketing/marketing-app-store-optimizer.md +0 -322
- package/.claude/agents/marketing/marketing-baidu-seo-specialist.md +0 -227
- package/.claude/agents/marketing/marketing-bilibili-content-strategist.md +0 -200
- package/.claude/agents/marketing/marketing-book-co-author.md +0 -111
- package/.claude/agents/marketing/marketing-carousel-growth-engine.md +0 -200
- package/.claude/agents/marketing/marketing-china-ecommerce-operator.md +0 -284
- package/.claude/agents/marketing/marketing-content-creator.md +0 -67
- package/.claude/agents/marketing/marketing-cross-border-ecommerce.md +0 -260
- package/.claude/agents/marketing/marketing-douyin-strategist.md +0 -150
- package/.claude/agents/marketing/marketing-growth-hacker.md +0 -54
- package/.claude/agents/marketing/marketing-instagram-curator.md +0 -114
- package/.claude/agents/marketing/marketing-kuaishou-strategist.md +0 -224
- package/.claude/agents/marketing/marketing-linkedin-content-creator.md +0 -215
- package/.claude/agents/marketing/marketing-livestream-commerce-coach.md +0 -306
- package/.claude/agents/marketing/marketing-podcast-strategist.md +0 -278
- package/.claude/agents/marketing/marketing-private-domain-operator.md +0 -309
- package/.claude/agents/marketing/marketing-reddit-community-builder.md +0 -124
- package/.claude/agents/marketing/marketing-seo-specialist.md +0 -279
- package/.claude/agents/marketing/marketing-short-video-editing-coach.md +0 -413
- package/.claude/agents/marketing/marketing-social-media-strategist.md +0 -125
- package/.claude/agents/marketing/marketing-tiktok-strategist.md +0 -126
- package/.claude/agents/marketing/marketing-twitter-engager.md +0 -127
- package/.claude/agents/marketing/marketing-wechat-official-account.md +0 -146
- package/.claude/agents/marketing/marketing-weibo-strategist.md +0 -241
- package/.claude/agents/marketing/marketing-xiaohongshu-specialist.md +0 -139
- package/.claude/agents/marketing/marketing-zhihu-strategist.md +0 -163
- package/.claude/agents/neural/safla-neural.md +0 -74
- package/.claude/agents/paid-media/paid-media-auditor.md +0 -71
- package/.claude/agents/paid-media/paid-media-creative-strategist.md +0 -71
- package/.claude/agents/paid-media/paid-media-paid-social-strategist.md +0 -71
- package/.claude/agents/paid-media/paid-media-ppc-strategist.md +0 -71
- package/.claude/agents/paid-media/paid-media-programmatic-buyer.md +0 -71
- package/.claude/agents/paid-media/paid-media-search-query-analyst.md +0 -71
- package/.claude/agents/paid-media/paid-media-tracking-specialist.md +0 -71
- package/.claude/agents/payments/agentic-payments.md +0 -126
- package/.claude/agents/product/product-behavioral-nudge-engine.md +0 -81
- package/.claude/agents/product/product-feedback-synthesizer.md +0 -119
- package/.claude/agents/product/product-manager.md +0 -469
- package/.claude/agents/product/product-sprint-prioritizer.md +0 -154
- package/.claude/agents/product/product-trend-researcher.md +0 -159
- package/.claude/agents/project-management/project-management-experiment-tracker.md +0 -199
- package/.claude/agents/project-management/project-management-jira-workflow-steward.md +0 -231
- package/.claude/agents/project-management/project-management-project-shepherd.md +0 -195
- package/.claude/agents/project-management/project-management-studio-operations.md +0 -201
- package/.claude/agents/project-management/project-management-studio-producer.md +0 -204
- package/.claude/agents/project-management/project-manager-senior.md +0 -136
- package/.claude/agents/reasoning/agent.md +0 -804
- package/.claude/agents/reasoning/goal-planner.md +0 -73
- package/.claude/agents/sales/sales-account-strategist.md +0 -228
- package/.claude/agents/sales/sales-coach.md +0 -272
- package/.claude/agents/sales/sales-deal-strategist.md +0 -181
- package/.claude/agents/sales/sales-discovery-coach.md +0 -226
- package/.claude/agents/sales/sales-engineer.md +0 -183
- package/.claude/agents/sales/sales-outbound-strategist.md +0 -202
- package/.claude/agents/sales/sales-pipeline-analyst.md +0 -268
- package/.claude/agents/sales/sales-proposal-strategist.md +0 -218
- package/.claude/agents/sona/sona-learning-optimizer.md +0 -65
- package/.claude/agents/spatial-computing/macos-spatial-metal-engineer.md +0 -338
- package/.claude/agents/spatial-computing/terminal-integration-specialist.md +0 -71
- package/.claude/agents/spatial-computing/visionos-spatial-engineer.md +0 -55
- package/.claude/agents/specialists/memory-specialist.md +0 -298
- package/.claude/agents/specialists/performance-engineer.md +0 -387
- package/.claude/agents/specialists/queen-coordinator.md +0 -67
- package/.claude/agents/specialists/security-architect.md +0 -154
- package/.claude/agents/specialized/accounts-payable-agent.md +0 -186
- package/.claude/agents/specialized/corporate-training-designer.md +0 -193
- package/.claude/agents/specialized/data-consolidation-agent.md +0 -61
- package/.claude/agents/specialized/government-digital-presales-consultant.md +0 -364
- package/.claude/agents/specialized/healthcare-marketing-compliance.md +0 -396
- package/.claude/agents/specialized/recruitment-specialist.md +0 -510
- package/.claude/agents/specialized/report-distribution-agent.md +0 -66
- package/.claude/agents/specialized/sales-data-extraction-agent.md +0 -68
- package/.claude/agents/specialized/specialized-french-consulting-market.md +0 -193
- package/.claude/agents/specialized/specialized-korean-business-navigator.md +0 -217
- package/.claude/agents/specialized/specialized-salesforce-architect.md +0 -181
- package/.claude/agents/specialized/study-abroad-advisor.md +0 -283
- package/.claude/agents/specialized/supply-chain-strategist.md +0 -583
- package/.claude/agents/sublinear/consensus-coordinator.md +0 -333
- package/.claude/agents/sublinear/matrix-optimizer.md +0 -180
- package/.claude/agents/sublinear/pagerank-analyzer.md +0 -295
- package/.claude/agents/sublinear/performance-optimizer.md +0 -363
- package/.claude/agents/sublinear/trading-predictor.md +0 -242
- package/.claude/agents/support/support-analytics-reporter.md +0 -366
- package/.claude/agents/support/support-executive-summary-generator.md +0 -213
- package/.claude/agents/support/support-finance-tracker.md +0 -443
- package/.claude/agents/support/support-infrastructure-maintainer.md +0 -619
- package/.claude/agents/support/support-legal-compliance-checker.md +0 -589
- package/.claude/agents/support/support-support-responder.md +0 -586
- package/.claude/agents/swarm/adaptive-coordinator.md +0 -364
- package/.claude/agents/swarm/hierarchical-coordinator.md +0 -318
- package/.claude/agents/templates/github-pr-manager.md +0 -155
- package/.claude/agents/templates/memory-coordinator.md +0 -163
- package/.claude/agents/templates/migration-plan.md +0 -724
- package/.claude/agents/templates/orchestrator-task.md +0 -120
- package/.claude/agents/templates/performance-analyzer.md +0 -179
- package/.claude/agents/templates/sparc-coordinator.md +0 -163
- package/.claude/agents/testing/testing-reality-checker.md +0 -237
- package/.claude/commands/analysis/token-efficiency.md +0 -42
- package/.claude/commands/optimization/README.md +0 -73
- package/.claude/commands/optimization/parallel-execution.md +0 -76
- package/.claude/commands/swarm/swarm-analysis.md +0 -62
- package/.claude/commands/swarm/swarm-background.md +0 -65
- package/.claude/commands/swarm/swarm-modes.md +0 -67
- package/.claude/commands/swarm/swarm-monitor.md +0 -54
- package/.claude/commands/swarm/swarm-status.md +0 -44
- package/.claude/commands/swarm/swarm-strategies.md +0 -76
- package/.claude/commands/training/model-update.md +0 -78
- package/.claude/commands/training/pattern-learn.md +0 -69
- package/.claude/commands/training/specialization.md +0 -92
- package/.claude/commands/verify/check.md +0 -106
- package/.claude/commands/verify/start.md +0 -105
- package/.claude/helpers/README.md +0 -105
- package/.claude/helpers/context-persistence-hook.mjs +0 -1988
- package/.claude/helpers/intelligence.cjs +0 -247
- package/.claude/helpers/learning-service.mjs +0 -1302
- package/.claude/helpers/memory-palace.cjs +0 -461
- package/.claude/helpers/memory.cjs +0 -84
- package/.claude/helpers/metrics-db.mjs +0 -488
- package/.claude/helpers/router.cjs +0 -559
- package/.claude/helpers/session.cjs +0 -126
- package/.claude/helpers/swarm-hooks.sh +0 -761
- package/.claude/helpers/toggle-statusline.cjs +0 -58
- package/.claude/helpers/token-tracker.cjs +0 -934
- package/.claude/skills/agentdb-advanced/SKILL.md +0 -549
- package/.claude/skills/agentdb-learning/SKILL.md +0 -544
- package/.claude/skills/agentdb-memory-patterns/SKILL.md +0 -337
- package/.claude/skills/agentdb-optimization/SKILL.md +0 -508
- package/.claude/skills/agentdb-vector-search/SKILL.md +0 -335
- package/.claude/skills/agentic-integration/SKILL.md +0 -265
- package/.claude/skills/cli-modernization/SKILL.md +0 -950
- package/.claude/skills/core-implementation/SKILL.md +0 -892
- package/.claude/skills/ddd-architecture/SKILL.md +0 -444
- package/.claude/skills/github-code-review/SKILL.md +0 -1147
- package/.claude/skills/github-multi-repo/SKILL.md +0 -912
- package/.claude/skills/github-project-management/SKILL.md +0 -1245
- package/.claude/skills/github-release-management/SKILL.md +0 -1118
- package/.claude/skills/github-workflow-automation/SKILL.md +0 -1107
- package/.claude/skills/mcp-optimization/SKILL.md +0 -837
- package/.claude/skills/memory-unification/SKILL.md +0 -196
- package/.claude/skills/performance-optimization/SKILL.md +0 -416
- package/.claude/skills/reasoningbank-agentdb/SKILL.md +0 -444
- package/.claude/skills/reasoningbank-intelligence/SKILL.md +0 -199
- package/.claude/skills/security-hardening/SKILL.md +0 -101
- package/.claude/skills/stream-chain/SKILL.md +0 -560
- package/.claude/skills/swarm-coordination/SKILL.md +0 -451
- package/bundled-graph/dist/src/analyze.d.ts +0 -32
- package/bundled-graph/dist/src/analyze.d.ts.map +0 -1
- package/bundled-graph/dist/src/analyze.js +0 -297
- package/bundled-graph/dist/src/analyze.js.map +0 -1
- package/bundled-graph/dist/src/build.d.ts +0 -8
- package/bundled-graph/dist/src/build.d.ts.map +0 -1
- package/bundled-graph/dist/src/build.js.map +0 -1
- package/bundled-graph/dist/src/cache.d.ts +0 -12
- package/bundled-graph/dist/src/cache.d.ts.map +0 -1
- package/bundled-graph/dist/src/cache.js +0 -43
- package/bundled-graph/dist/src/cache.js.map +0 -1
- package/bundled-graph/dist/src/cluster.d.ts +0 -5
- package/bundled-graph/dist/src/cluster.d.ts.map +0 -1
- package/bundled-graph/dist/src/cluster.js.map +0 -1
- package/bundled-graph/dist/src/detect.d.ts +0 -21
- package/bundled-graph/dist/src/detect.d.ts.map +0 -1
- package/bundled-graph/dist/src/detect.js +0 -195
- package/bundled-graph/dist/src/detect.js.map +0 -1
- package/bundled-graph/dist/src/export.d.ts +0 -21
- package/bundled-graph/dist/src/export.d.ts.map +0 -1
- package/bundled-graph/dist/src/export.js +0 -68
- package/bundled-graph/dist/src/export.js.map +0 -1
- package/bundled-graph/dist/src/extract/index.d.ts +0 -20
- package/bundled-graph/dist/src/extract/index.d.ts.map +0 -1
- package/bundled-graph/dist/src/extract/index.js +0 -158
- package/bundled-graph/dist/src/extract/index.js.map +0 -1
- package/bundled-graph/dist/src/extract/languages/c.d.ts +0 -3
- package/bundled-graph/dist/src/extract/languages/c.d.ts.map +0 -1
- package/bundled-graph/dist/src/extract/languages/c.js +0 -88
- package/bundled-graph/dist/src/extract/languages/c.js.map +0 -1
- package/bundled-graph/dist/src/extract/languages/cpp.d.ts +0 -3
- package/bundled-graph/dist/src/extract/languages/cpp.d.ts.map +0 -1
- package/bundled-graph/dist/src/extract/languages/cpp.js +0 -121
- package/bundled-graph/dist/src/extract/languages/cpp.js.map +0 -1
- package/bundled-graph/dist/src/extract/languages/csharp.d.ts +0 -3
- package/bundled-graph/dist/src/extract/languages/csharp.d.ts.map +0 -1
- package/bundled-graph/dist/src/extract/languages/csharp.js +0 -121
- package/bundled-graph/dist/src/extract/languages/csharp.js.map +0 -1
- package/bundled-graph/dist/src/extract/languages/go.d.ts +0 -3
- package/bundled-graph/dist/src/extract/languages/go.d.ts.map +0 -1
- package/bundled-graph/dist/src/extract/languages/go.js +0 -181
- package/bundled-graph/dist/src/extract/languages/go.js.map +0 -1
- package/bundled-graph/dist/src/extract/languages/java.d.ts +0 -3
- package/bundled-graph/dist/src/extract/languages/java.d.ts.map +0 -1
- package/bundled-graph/dist/src/extract/languages/java.js +0 -117
- package/bundled-graph/dist/src/extract/languages/java.js.map +0 -1
- package/bundled-graph/dist/src/extract/languages/kotlin.d.ts +0 -3
- package/bundled-graph/dist/src/extract/languages/kotlin.d.ts.map +0 -1
- package/bundled-graph/dist/src/extract/languages/kotlin.js +0 -112
- package/bundled-graph/dist/src/extract/languages/kotlin.js.map +0 -1
- package/bundled-graph/dist/src/extract/languages/php.d.ts +0 -3
- package/bundled-graph/dist/src/extract/languages/php.d.ts.map +0 -1
- package/bundled-graph/dist/src/extract/languages/php.js +0 -130
- package/bundled-graph/dist/src/extract/languages/php.js.map +0 -1
- package/bundled-graph/dist/src/extract/languages/python.d.ts +0 -3
- package/bundled-graph/dist/src/extract/languages/python.d.ts.map +0 -1
- package/bundled-graph/dist/src/extract/languages/python.js +0 -230
- package/bundled-graph/dist/src/extract/languages/python.js.map +0 -1
- package/bundled-graph/dist/src/extract/languages/ruby.d.ts +0 -3
- package/bundled-graph/dist/src/extract/languages/ruby.d.ts.map +0 -1
- package/bundled-graph/dist/src/extract/languages/ruby.js +0 -120
- package/bundled-graph/dist/src/extract/languages/ruby.js.map +0 -1
- package/bundled-graph/dist/src/extract/languages/rust.d.ts +0 -3
- package/bundled-graph/dist/src/extract/languages/rust.d.ts.map +0 -1
- package/bundled-graph/dist/src/extract/languages/rust.js +0 -195
- package/bundled-graph/dist/src/extract/languages/rust.js.map +0 -1
- package/bundled-graph/dist/src/extract/languages/scala.d.ts +0 -3
- package/bundled-graph/dist/src/extract/languages/scala.d.ts.map +0 -1
- package/bundled-graph/dist/src/extract/languages/scala.js +0 -110
- package/bundled-graph/dist/src/extract/languages/scala.js.map +0 -1
- package/bundled-graph/dist/src/extract/languages/swift.d.ts +0 -3
- package/bundled-graph/dist/src/extract/languages/swift.d.ts.map +0 -1
- package/bundled-graph/dist/src/extract/languages/swift.js +0 -122
- package/bundled-graph/dist/src/extract/languages/swift.js.map +0 -1
- package/bundled-graph/dist/src/extract/languages/typescript.d.ts +0 -3
- package/bundled-graph/dist/src/extract/languages/typescript.d.ts.map +0 -1
- package/bundled-graph/dist/src/extract/languages/typescript.js +0 -295
- package/bundled-graph/dist/src/extract/languages/typescript.js.map +0 -1
- package/bundled-graph/dist/src/extract/semantic.d.ts +0 -38
- package/bundled-graph/dist/src/extract/semantic.d.ts.map +0 -1
- package/bundled-graph/dist/src/extract/semantic.js +0 -242
- package/bundled-graph/dist/src/extract/semantic.js.map +0 -1
- package/bundled-graph/dist/src/extract/tree-sitter-runner.d.ts +0 -48
- package/bundled-graph/dist/src/extract/tree-sitter-runner.d.ts.map +0 -1
- package/bundled-graph/dist/src/extract/tree-sitter-runner.js +0 -137
- package/bundled-graph/dist/src/extract/tree-sitter-runner.js.map +0 -1
- package/bundled-graph/dist/src/extract/types.d.ts +0 -7
- package/bundled-graph/dist/src/extract/types.d.ts.map +0 -1
- package/bundled-graph/dist/src/extract/types.js +0 -2
- package/bundled-graph/dist/src/extract/types.js.map +0 -1
- package/bundled-graph/dist/src/index.d.ts +0 -28
- package/bundled-graph/dist/src/index.d.ts.map +0 -1
- package/bundled-graph/dist/src/index.js +0 -26
- package/bundled-graph/dist/src/index.js.map +0 -1
- package/bundled-graph/dist/src/pipeline.d.ts +0 -27
- package/bundled-graph/dist/src/pipeline.d.ts.map +0 -1
- package/bundled-graph/dist/src/pipeline.js +0 -269
- package/bundled-graph/dist/src/pipeline.js.map +0 -1
- package/bundled-graph/dist/src/report.d.ts +0 -26
- package/bundled-graph/dist/src/report.d.ts.map +0 -1
- package/bundled-graph/dist/src/report.js +0 -214
- package/bundled-graph/dist/src/report.js.map +0 -1
- package/bundled-graph/dist/src/types.d.ts +0 -124
- package/bundled-graph/dist/src/types.d.ts.map +0 -1
- package/bundled-graph/dist/src/types.js +0 -2
- package/bundled-graph/dist/src/types.js.map +0 -1
- package/bundled-graph/dist/src/visualize.d.ts +0 -4
- package/bundled-graph/dist/src/visualize.d.ts.map +0 -1
- package/bundled-graph/dist/src/visualize.js +0 -574
- package/bundled-graph/dist/src/visualize.js.map +0 -1
- package/bundled-graph/dist/tsconfig.tsbuildinfo +0 -1
- package/dist/src/ui/dashboard-v2.html +0 -5316
|
@@ -1,451 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: swarm-coordination
|
|
3
|
-
description: "15-agent hierarchical mesh coordination for complex implementations. Orchestrates parallel execution across security, core, and integration domains following 10 ADRs with 14-week timeline."
|
|
4
|
-
triggers:
|
|
5
|
-
- spawn 15 agents
|
|
6
|
-
- hierarchical mesh swarm
|
|
7
|
-
- multi-agent implementation
|
|
8
|
-
- coordinate parallel agents
|
|
9
|
-
- swarm implementation
|
|
10
|
-
- orchestrate agent domains
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
# Swarm Coordination
|
|
14
|
-
|
|
15
|
-
## What This Skill Does
|
|
16
|
-
|
|
17
|
-
Orchestrates the complete 15-agent hierarchical mesh swarm for monomind implementation, coordinating parallel execution across domains while maintaining dependencies and timeline adherence.
|
|
18
|
-
|
|
19
|
-
## Quick Start
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
# Initialize 15-agent v1 swarm
|
|
23
|
-
Task("Swarm initialization", "Initialize hierarchical mesh for v1 implementation", "v1-queen-coordinator")
|
|
24
|
-
|
|
25
|
-
# Security domain (Phase 1 - Critical priority)
|
|
26
|
-
Task("Security architecture", "Design v1 threat model and security boundaries", "v1-security-architect")
|
|
27
|
-
Task("CVE remediation", "Fix CVE-1, CVE-2, CVE-3 vulnerabilities", "security-auditor")
|
|
28
|
-
Task("Security testing", "Implement TDD security framework", "test-architect")
|
|
29
|
-
|
|
30
|
-
# Core domain (Phase 2 - Parallel execution)
|
|
31
|
-
Task("Memory unification", "Implement AgentDB 150x improvement", "v1-memory-specialist")
|
|
32
|
-
Task("Integration architecture", "Deep monomind integration architecture", "v1-integration-architect")
|
|
33
|
-
Task("Performance validation", "Validate 2.49x-7.47x targets", "v1-performance-engineer")
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
## 15-Agent Swarm Architecture
|
|
37
|
-
|
|
38
|
-
### Hierarchical Mesh Topology
|
|
39
|
-
|
|
40
|
-
```
|
|
41
|
-
👑 QUEEN COORDINATOR
|
|
42
|
-
(Agent #1)
|
|
43
|
-
│
|
|
44
|
-
┌────────────────────┼────────────────────┐
|
|
45
|
-
│ │ │
|
|
46
|
-
🛡️ SECURITY 🧠 CORE 🔗 INTEGRATION
|
|
47
|
-
(Agents #2-4) (Agents #5-9) (Agents #10-12)
|
|
48
|
-
│ │ │
|
|
49
|
-
└────────────────────┼────────────────────┘
|
|
50
|
-
│
|
|
51
|
-
┌────────────────────┼────────────────────┐
|
|
52
|
-
│ │ │
|
|
53
|
-
🧪 QUALITY ⚡ PERFORMANCE 🚀 DEPLOYMENT
|
|
54
|
-
(Agent #13) (Agent #14) (Agent #15)
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
### Agent Roster
|
|
58
|
-
|
|
59
|
-
| ID | Agent | Domain | Phase | Responsibility |
|
|
60
|
-
| --- | --------------------- | ------------- | ------------ | ------------------------------------- |
|
|
61
|
-
| 1 | Queen Coordinator | Orchestration | All | GitHub issues, dependencies, timeline |
|
|
62
|
-
| 2 | Security Architect | Security | Foundation | Threat modeling, CVE planning |
|
|
63
|
-
| 3 | Security Implementer | Security | Foundation | CVE fixes, secure patterns |
|
|
64
|
-
| 4 | Security Tester | Security | Foundation | TDD security testing |
|
|
65
|
-
| 5 | Core Architect | Core | Systems | DDD architecture, coordination |
|
|
66
|
-
| 6 | Core Implementer | Core | Systems | Core module implementation |
|
|
67
|
-
| 7 | Memory Specialist | Core | Systems | AgentDB unification |
|
|
68
|
-
| 8 | Swarm Specialist | Core | Systems | Unified coordination engine |
|
|
69
|
-
| 9 | MCP Specialist | Core | Systems | MCP server optimization |
|
|
70
|
-
| 10 | Integration Architect | Integration | Integration | monomind deep integration |
|
|
71
|
-
| 11 | CLI/Hooks Developer | Integration | Integration | CLI modernization |
|
|
72
|
-
| 12 | Neural/Learning Dev | Integration | Integration | SONA integration |
|
|
73
|
-
| 13 | TDD Test Engineer | Quality | All | London School TDD |
|
|
74
|
-
| 14 | Performance Engineer | Performance | Optimization | Benchmarking validation |
|
|
75
|
-
| 15 | Release Engineer | Deployment | Release | CI/CD and V1.0.0 release |
|
|
76
|
-
|
|
77
|
-
## Implementation Phases
|
|
78
|
-
|
|
79
|
-
### Phase 1: Foundation (Week 1-2)
|
|
80
|
-
|
|
81
|
-
**Active Agents**: #1, #2-4, #5-6
|
|
82
|
-
|
|
83
|
-
```typescript
|
|
84
|
-
const phase1 = async () => {
|
|
85
|
-
// Parallel security and architecture foundation
|
|
86
|
-
await Promise.all([
|
|
87
|
-
// Security domain (critical priority)
|
|
88
|
-
Task(
|
|
89
|
-
"Security architecture",
|
|
90
|
-
"Complete threat model and security boundaries",
|
|
91
|
-
"v1-security-architect",
|
|
92
|
-
),
|
|
93
|
-
Task("CVE-1 fix", "Update vulnerable dependencies", "security-implementer"),
|
|
94
|
-
Task("CVE-2 fix", "Replace weak password hashing", "security-implementer"),
|
|
95
|
-
Task("CVE-3 fix", "Remove hardcoded credentials", "security-implementer"),
|
|
96
|
-
Task(
|
|
97
|
-
"Security testing",
|
|
98
|
-
"TDD London School security framework",
|
|
99
|
-
"test-architect",
|
|
100
|
-
),
|
|
101
|
-
|
|
102
|
-
// Core architecture foundation
|
|
103
|
-
Task(
|
|
104
|
-
"DDD architecture",
|
|
105
|
-
"Design domain boundaries and structure",
|
|
106
|
-
"core-architect",
|
|
107
|
-
),
|
|
108
|
-
Task("Type modernization", "Update type system for v1", "core-implementer"),
|
|
109
|
-
]);
|
|
110
|
-
};
|
|
111
|
-
```
|
|
112
|
-
|
|
113
|
-
### Phase 2: Core Systems (Week 3-6)
|
|
114
|
-
|
|
115
|
-
**Active Agents**: #1, #5-9, #13
|
|
116
|
-
|
|
117
|
-
```typescript
|
|
118
|
-
const phase2 = async () => {
|
|
119
|
-
// Parallel core system implementation
|
|
120
|
-
await Promise.all([
|
|
121
|
-
Task(
|
|
122
|
-
"Memory unification",
|
|
123
|
-
"Implement AgentDB with 150x-12,500x improvement",
|
|
124
|
-
"v1-memory-specialist",
|
|
125
|
-
),
|
|
126
|
-
Task(
|
|
127
|
-
"Swarm coordination",
|
|
128
|
-
"Merge 4 coordination systems into unified engine",
|
|
129
|
-
"swarm-specialist",
|
|
130
|
-
),
|
|
131
|
-
Task(
|
|
132
|
-
"MCP optimization",
|
|
133
|
-
"Optimize MCP server performance",
|
|
134
|
-
"mcp-specialist",
|
|
135
|
-
),
|
|
136
|
-
Task(
|
|
137
|
-
"Core implementation",
|
|
138
|
-
"Implement DDD modular architecture",
|
|
139
|
-
"core-implementer",
|
|
140
|
-
),
|
|
141
|
-
Task(
|
|
142
|
-
"TDD core tests",
|
|
143
|
-
"Comprehensive test coverage for core systems",
|
|
144
|
-
"test-architect",
|
|
145
|
-
),
|
|
146
|
-
]);
|
|
147
|
-
};
|
|
148
|
-
```
|
|
149
|
-
|
|
150
|
-
### Phase 3: Integration (Week 7-10)
|
|
151
|
-
|
|
152
|
-
**Active Agents**: #1, #10-12, #13-14
|
|
153
|
-
|
|
154
|
-
```typescript
|
|
155
|
-
const phase3 = async () => {
|
|
156
|
-
// Parallel integration and optimization
|
|
157
|
-
await Promise.all([
|
|
158
|
-
Task(
|
|
159
|
-
"monomind integration",
|
|
160
|
-
"Eliminate 10,000+ duplicate lines",
|
|
161
|
-
"v1-integration-architect",
|
|
162
|
-
),
|
|
163
|
-
Task(
|
|
164
|
-
"CLI modernization",
|
|
165
|
-
"Enhance CLI with hooks system",
|
|
166
|
-
"cli-hooks-developer",
|
|
167
|
-
),
|
|
168
|
-
Task(
|
|
169
|
-
"SONA integration",
|
|
170
|
-
"Implement <0.05ms learning adaptation",
|
|
171
|
-
"neural-learning-developer",
|
|
172
|
-
),
|
|
173
|
-
Task(
|
|
174
|
-
"Performance benchmarking",
|
|
175
|
-
"Validate 2.49x-7.47x targets",
|
|
176
|
-
"v1-performance-engineer",
|
|
177
|
-
),
|
|
178
|
-
Task(
|
|
179
|
-
"Integration testing",
|
|
180
|
-
"End-to-end system validation",
|
|
181
|
-
"test-architect",
|
|
182
|
-
),
|
|
183
|
-
]);
|
|
184
|
-
};
|
|
185
|
-
```
|
|
186
|
-
|
|
187
|
-
### Phase 4: Release (Week 11-14)
|
|
188
|
-
|
|
189
|
-
**Active Agents**: All 15
|
|
190
|
-
|
|
191
|
-
```typescript
|
|
192
|
-
const phase4 = async () => {
|
|
193
|
-
// Full swarm final optimization
|
|
194
|
-
await Promise.all([
|
|
195
|
-
Task(
|
|
196
|
-
"Performance optimization",
|
|
197
|
-
"Final optimization pass",
|
|
198
|
-
"v1-performance-engineer",
|
|
199
|
-
),
|
|
200
|
-
Task(
|
|
201
|
-
"Release preparation",
|
|
202
|
-
"CI/CD pipeline and V1.0.0 release",
|
|
203
|
-
"release-engineer",
|
|
204
|
-
),
|
|
205
|
-
Task(
|
|
206
|
-
"Final testing",
|
|
207
|
-
"Complete test coverage validation",
|
|
208
|
-
"test-architect",
|
|
209
|
-
),
|
|
210
|
-
|
|
211
|
-
// All agents: Final polish and optimization
|
|
212
|
-
// Replace with actual agent IDs from the roster above
|
|
213
|
-
// e.g. Task("Final polish", "Agent #X final optimization", "agent-name-from-roster")
|
|
214
|
-
]);
|
|
215
|
-
};
|
|
216
|
-
```
|
|
217
|
-
|
|
218
|
-
## Coordination Patterns
|
|
219
|
-
|
|
220
|
-
### Dependency Management
|
|
221
|
-
|
|
222
|
-
```typescript
|
|
223
|
-
class DependencyCoordination {
|
|
224
|
-
private dependencies = new Map([
|
|
225
|
-
// Security first (no dependencies)
|
|
226
|
-
[2, []],
|
|
227
|
-
[3, [2]],
|
|
228
|
-
[4, [2, 3]],
|
|
229
|
-
|
|
230
|
-
// Core depends on security foundation
|
|
231
|
-
[5, [2]],
|
|
232
|
-
[6, [5]],
|
|
233
|
-
[7, [5]],
|
|
234
|
-
[8, [5, 7]],
|
|
235
|
-
[9, [5]],
|
|
236
|
-
|
|
237
|
-
// Integration depends on core systems
|
|
238
|
-
[10, [5, 7, 8]],
|
|
239
|
-
[11, [5, 10]],
|
|
240
|
-
[12, [7, 10]],
|
|
241
|
-
|
|
242
|
-
// Quality and performance cross-cutting
|
|
243
|
-
[13, [2, 5]],
|
|
244
|
-
[14, [5, 7, 8, 10]],
|
|
245
|
-
[15, [13, 14]],
|
|
246
|
-
]);
|
|
247
|
-
|
|
248
|
-
async coordinateExecution(): Promise<void> {
|
|
249
|
-
const completed = new Set<number>();
|
|
250
|
-
|
|
251
|
-
while (completed.size < 15) {
|
|
252
|
-
const ready = this.getReadyAgents(completed);
|
|
253
|
-
|
|
254
|
-
if (ready.length === 0) {
|
|
255
|
-
throw new Error("Deadlock detected in dependency chain");
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
// Execute ready agents in parallel
|
|
259
|
-
await Promise.all(ready.map((agentId) => this.executeAgent(agentId)));
|
|
260
|
-
|
|
261
|
-
ready.forEach((id) => completed.add(id));
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
```
|
|
266
|
-
|
|
267
|
-
### GitHub Integration
|
|
268
|
-
|
|
269
|
-
```typescript
|
|
270
|
-
class GitHubCoordination {
|
|
271
|
-
async initializev1Milestone(): Promise<void> {
|
|
272
|
-
await gh.createMilestone({
|
|
273
|
-
title: "Monomind V1.0.0 Implementation",
|
|
274
|
-
description: "15-agent swarm implementation of 10 ADRs",
|
|
275
|
-
dueDate: this.calculate14WeekDeadline(),
|
|
276
|
-
});
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
async createEpicIssues(): Promise<void> {
|
|
280
|
-
const epics = [
|
|
281
|
-
{ title: "Security Overhaul (CVE-1,2,3)", agents: [2, 3, 4] },
|
|
282
|
-
{ title: "Memory Unification (AgentDB)", agents: [7] },
|
|
283
|
-
{ title: "Monomind Integration", agents: [10] },
|
|
284
|
-
{ title: "Performance Optimization", agents: [14] },
|
|
285
|
-
{ title: "DDD Architecture", agents: [5, 6] },
|
|
286
|
-
];
|
|
287
|
-
|
|
288
|
-
for (const epic of epics) {
|
|
289
|
-
await gh.createIssue({
|
|
290
|
-
title: epic.title,
|
|
291
|
-
labels: ["epic", "v1", ...epic.agents.map((id) => `agent-${id}`)],
|
|
292
|
-
assignees: epic.agents.map((id) => this.getAgentGithubUser(id)),
|
|
293
|
-
});
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
private progressTimer: NodeJS.Timeout | null = null;
|
|
298
|
-
|
|
299
|
-
async trackProgress(): Promise<void> {
|
|
300
|
-
// Hourly progress updates from each agent
|
|
301
|
-
this.progressTimer = setInterval(async () => {
|
|
302
|
-
for (const agent of this.agents) {
|
|
303
|
-
await this.postAgentProgress(agent);
|
|
304
|
-
}
|
|
305
|
-
}, 3600000); // 1 hour
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
stopTracking(): void {
|
|
309
|
-
if (this.progressTimer) {
|
|
310
|
-
clearInterval(this.progressTimer);
|
|
311
|
-
this.progressTimer = null;
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
```
|
|
316
|
-
|
|
317
|
-
### Communication Bus
|
|
318
|
-
|
|
319
|
-
```typescript
|
|
320
|
-
class SwarmCommunication {
|
|
321
|
-
// Communication via MCP tool calls and shared .monomind/sessions/ namespace
|
|
322
|
-
// QuicSwarmBus is aspirational — implement when QUIC transport is added
|
|
323
|
-
private bus = {
|
|
324
|
-
broadcast: async (message: SwarmMessage, opts: { targetAgents: number[]; priority: string }) => {
|
|
325
|
-
// Use mcp__monomind__* tools or write to shared session namespace
|
|
326
|
-
throw new Error("Not implemented: use MCP tool calls for inter-agent messaging");
|
|
327
|
-
},
|
|
328
|
-
};
|
|
329
|
-
|
|
330
|
-
async broadcastToSecurityDomain(message: SwarmMessage): Promise<void> {
|
|
331
|
-
await this.bus.broadcast(message, {
|
|
332
|
-
targetAgents: [2, 3, 4],
|
|
333
|
-
priority: "critical",
|
|
334
|
-
});
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
async coordinateCoreSystems(message: SwarmMessage): Promise<void> {
|
|
338
|
-
await this.bus.broadcast(message, {
|
|
339
|
-
targetAgents: [5, 6, 7, 8, 9],
|
|
340
|
-
priority: "high",
|
|
341
|
-
});
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
async notifyIntegrationTeam(message: SwarmMessage): Promise<void> {
|
|
345
|
-
await this.bus.broadcast(message, {
|
|
346
|
-
targetAgents: [10, 11, 12],
|
|
347
|
-
priority: "medium",
|
|
348
|
-
});
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
```
|
|
352
|
-
|
|
353
|
-
## Performance Coordination
|
|
354
|
-
|
|
355
|
-
### Parallel Efficiency Monitoring
|
|
356
|
-
|
|
357
|
-
```typescript
|
|
358
|
-
class EfficiencyMonitor {
|
|
359
|
-
async measureParallelEfficiency(): Promise<EfficiencyReport> {
|
|
360
|
-
const agentUtilization = await this.measureAgentUtilization();
|
|
361
|
-
const coordinationOverhead = await this.measureCoordinationCost();
|
|
362
|
-
|
|
363
|
-
return {
|
|
364
|
-
totalEfficiency: agentUtilization.average,
|
|
365
|
-
target: 0.85, // >85% utilization
|
|
366
|
-
achieved: agentUtilization.average > 0.85,
|
|
367
|
-
bottlenecks: this.identifyBottlenecks(agentUtilization),
|
|
368
|
-
recommendations: this.generateOptimizations(),
|
|
369
|
-
};
|
|
370
|
-
}
|
|
371
|
-
}
|
|
372
|
-
```
|
|
373
|
-
|
|
374
|
-
### Load Balancing
|
|
375
|
-
|
|
376
|
-
```typescript
|
|
377
|
-
class SwarmLoadBalancer {
|
|
378
|
-
async balanceWorkload(): Promise<void> {
|
|
379
|
-
const workloads = await this.analyzeAgentWorkloads();
|
|
380
|
-
|
|
381
|
-
for (const [agentId, load] of workloads.entries()) {
|
|
382
|
-
if (load > this.getCapacityThreshold(agentId)) {
|
|
383
|
-
await this.redistributeWork(agentId);
|
|
384
|
-
}
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
async redistributeWork(overloadedAgent: number): Promise<void> {
|
|
389
|
-
const availableAgents = this.getAvailableAgents();
|
|
390
|
-
const tasks = await this.getAgentTasks(overloadedAgent);
|
|
391
|
-
|
|
392
|
-
// Redistribute tasks to available agents
|
|
393
|
-
for (const task of tasks) {
|
|
394
|
-
const bestAgent = this.selectOptimalAgent(task, availableAgents);
|
|
395
|
-
await this.reassignTask(task, bestAgent);
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
```
|
|
400
|
-
|
|
401
|
-
## Success Metrics
|
|
402
|
-
|
|
403
|
-
### Swarm Coordination
|
|
404
|
-
|
|
405
|
-
- [ ] **Parallel Efficiency**: >85% agent utilization time
|
|
406
|
-
- [ ] **Dependency Resolution**: Zero deadlocks or blocking issues
|
|
407
|
-
- [ ] **Communication Latency**: <100ms inter-agent messaging
|
|
408
|
-
- [ ] **Timeline Adherence**: 14-week delivery maintained
|
|
409
|
-
- [ ] **GitHub Integration**: <4h automated issue response
|
|
410
|
-
|
|
411
|
-
### Implementation Targets
|
|
412
|
-
|
|
413
|
-
- [ ] **ADR Coverage**: All 10 ADRs implemented successfully
|
|
414
|
-
- [ ] **Performance**: 2.49x-7.47x Flash Attention achieved
|
|
415
|
-
- [ ] **Search**: 150x-12,500x AgentDB improvement validated
|
|
416
|
-
- [ ] **Code Reduction**: <5,000 lines (vs 15,000+)
|
|
417
|
-
- [ ] **Security**: 90/100 security score achieved
|
|
418
|
-
|
|
419
|
-
## Related Skills
|
|
420
|
-
|
|
421
|
-
- `security-hardening` - Security domain coordination
|
|
422
|
-
- `memory-unification` - Memory system coordination
|
|
423
|
-
- `agentic-integration` - Integration domain coordination
|
|
424
|
-
- `performance-optimization` - Performance domain coordination
|
|
425
|
-
|
|
426
|
-
## Usage Examples
|
|
427
|
-
|
|
428
|
-
### Initialize Complete v1 Swarm
|
|
429
|
-
|
|
430
|
-
```bash
|
|
431
|
-
# Queen Coordinator initializes full swarm
|
|
432
|
-
Task("v1 swarm initialization",
|
|
433
|
-
"Initialize 15-agent hierarchical mesh for complete v1 implementation",
|
|
434
|
-
"v1-queen-coordinator")
|
|
435
|
-
```
|
|
436
|
-
|
|
437
|
-
### Phase-based Execution
|
|
438
|
-
|
|
439
|
-
```bash
|
|
440
|
-
# Phase 1: Security-first foundation
|
|
441
|
-
npm run v1:phase1:security
|
|
442
|
-
|
|
443
|
-
# Phase 2: Core systems parallel
|
|
444
|
-
npm run v1:phase2:core-systems
|
|
445
|
-
|
|
446
|
-
# Phase 3: Integration and optimization
|
|
447
|
-
npm run v1:phase3:integration
|
|
448
|
-
|
|
449
|
-
# Phase 4: Release preparation
|
|
450
|
-
npm run v1:phase4:release
|
|
451
|
-
```
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type Graph from 'graphology';
|
|
2
|
-
import type { GodNode, SurpriseEdge, GraphAnalysis, GraphStats, GraphQuestion, GraphDiff, SerializedGraph } from './types.js';
|
|
3
|
-
/**
|
|
4
|
-
* Find the most connected nodes (god nodes) — core abstractions of the codebase.
|
|
5
|
-
* Sorted by total degree (in + out), descending.
|
|
6
|
-
*/
|
|
7
|
-
export declare function godNodes(graph: Graph, topN?: number): GodNode[];
|
|
8
|
-
/**
|
|
9
|
-
* Find surprising cross-community connections.
|
|
10
|
-
* An edge is surprising when its endpoints belong to different communities.
|
|
11
|
-
* Base score is degree(source) * degree(target), boosted by confidence and file type factors.
|
|
12
|
-
*/
|
|
13
|
-
export declare function surprisingConnections(graph: Graph, topN?: number): SurpriseEdge[];
|
|
14
|
-
/**
|
|
15
|
-
* Compute high-level graph statistics.
|
|
16
|
-
*/
|
|
17
|
-
export declare function graphStats(graph: Graph, graphPath?: string): GraphStats;
|
|
18
|
-
/**
|
|
19
|
-
* Build a complete GraphAnalysis object from an annotated graph.
|
|
20
|
-
* Assumes community detection has already been run (nodes have `community` attribute).
|
|
21
|
-
*/
|
|
22
|
-
export declare function buildAnalysis(graph: Graph, graphPath?: string): GraphAnalysis;
|
|
23
|
-
/**
|
|
24
|
-
* Generate clarifying questions about uncertain or structurally interesting graph patterns.
|
|
25
|
-
* Sorted by priority (high → medium → low), capped at 25 total.
|
|
26
|
-
*/
|
|
27
|
-
export declare function suggestQuestions(graph: Graph, communities?: Record<number, string[]>): GraphQuestion[];
|
|
28
|
-
/**
|
|
29
|
-
* Compute the diff between two serialized graph snapshots.
|
|
30
|
-
*/
|
|
31
|
-
export declare function graphDiff(before: SerializedGraph, after: SerializedGraph): GraphDiff;
|
|
32
|
-
//# sourceMappingURL=analyze.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"analyze.d.ts","sourceRoot":"","sources":["../../src/analyze.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,UAAU,EAAc,aAAa,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAE1I;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,SAAK,GAAG,OAAO,EAAE,CAkB3D;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,SAAK,GAAG,YAAY,EAAE,CAuC7E;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,KAAK,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,UAAU,CAsCvE;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,KAAK,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,aAAa,CAgB7E;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,KAAK,EAAE,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,GAAG,aAAa,EAAE,CAgJtG;AAED;;GAEG;AACH,wBAAgB,SAAS,CAAC,MAAM,EAAE,eAAe,EAAE,KAAK,EAAE,eAAe,GAAG,SAAS,CAmCpF"}
|