burhan-mop 0.1.0
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/.agents/AGENTS.md +54 -0
- package/.agents/skills/auto-deploy/SKILL.md +48 -0
- package/.agents/skills/autosycn/SKILL.md +75 -0
- package/.agents/skills/mop-help/SKILL.md +35 -0
- package/.agents/skills/ruflo-core/SKILL.md +35 -0
- package/.claude/agents/analysis/analyze-code-quality.md +179 -0
- package/.claude/agents/analysis/code-analyzer.md +210 -0
- package/.claude/agents/analysis/code-review/analyze-code-quality.md +179 -0
- package/.claude/agents/architecture/arch-system-design.md +157 -0
- package/.claude/agents/architecture/system-design/arch-system-design.md +155 -0
- package/.claude/agents/browser/browser-agent.yaml +182 -0
- package/.claude/agents/consensus/byzantine-coordinator.md +63 -0
- package/.claude/agents/consensus/crdt-synchronizer.md +997 -0
- package/.claude/agents/consensus/gossip-coordinator.md +63 -0
- package/.claude/agents/consensus/performance-benchmarker.md +851 -0
- package/.claude/agents/consensus/quorum-manager.md +823 -0
- package/.claude/agents/consensus/raft-manager.md +63 -0
- package/.claude/agents/consensus/security-manager.md +622 -0
- package/.claude/agents/core/planner.md +375 -0
- package/.claude/agents/custom/test-long-runner.md +44 -0
- package/.claude/agents/data/data-ml-model.md +445 -0
- package/.claude/agents/data/ml/data-ml-model.md +193 -0
- package/.claude/agents/development/backend/dev-backend-api.md +142 -0
- package/.claude/agents/development/dev-backend-api.md +345 -0
- package/.claude/agents/devops/ci-cd/ops-cicd-github.md +164 -0
- package/.claude/agents/devops/ops-cicd-github.md +165 -0
- package/.claude/agents/documentation/api-docs/docs-api-openapi.md +174 -0
- package/.claude/agents/documentation/docs-api-openapi.md +355 -0
- package/.claude/agents/flow-nexus/app-store.md +88 -0
- package/.claude/agents/flow-nexus/authentication.md +69 -0
- package/.claude/agents/flow-nexus/challenges.md +81 -0
- package/.claude/agents/flow-nexus/neural-network.md +88 -0
- package/.claude/agents/flow-nexus/payments.md +83 -0
- package/.claude/agents/flow-nexus/sandbox.md +76 -0
- package/.claude/agents/flow-nexus/swarm.md +76 -0
- package/.claude/agents/flow-nexus/user-tools.md +96 -0
- package/.claude/agents/flow-nexus/workflow.md +84 -0
- package/.claude/agents/github/code-review-swarm.md +377 -0
- package/.claude/agents/github/github-modes.md +173 -0
- package/.claude/agents/github/issue-tracker.md +576 -0
- package/.claude/agents/github/multi-repo-swarm.md +553 -0
- package/.claude/agents/github/pr-manager.md +438 -0
- package/.claude/agents/github/project-board-sync.md +509 -0
- package/.claude/agents/github/release-manager.md +605 -0
- package/.claude/agents/github/release-swarm.md +583 -0
- package/.claude/agents/github/repo-architect.md +398 -0
- package/.claude/agents/github/swarm-issue.md +573 -0
- package/.claude/agents/github/swarm-pr.md +428 -0
- package/.claude/agents/github/sync-coordinator.md +452 -0
- package/.claude/agents/github/workflow-automation.md +903 -0
- package/.claude/agents/goal/agent.md +816 -0
- package/.claude/agents/optimization/benchmark-suite.md +665 -0
- package/.claude/agents/optimization/load-balancer.md +431 -0
- package/.claude/agents/optimization/performance-monitor.md +672 -0
- package/.claude/agents/optimization/resource-allocator.md +674 -0
- package/.claude/agents/optimization/topology-optimizer.md +808 -0
- package/.claude/agents/payments/agentic-payments.md +126 -0
- package/.claude/agents/sona/sona-learning-optimizer.md +74 -0
- package/.claude/agents/sparc/architecture.md +699 -0
- package/.claude/agents/sparc/pseudocode.md +520 -0
- package/.claude/agents/sparc/refinement.md +802 -0
- package/.claude/agents/sparc/specification.md +478 -0
- package/.claude/agents/specialized/mobile/spec-mobile-react-native.md +225 -0
- package/.claude/agents/specialized/spec-mobile-react-native.md +227 -0
- package/.claude/agents/sublinear/consensus-coordinator.md +338 -0
- package/.claude/agents/sublinear/matrix-optimizer.md +185 -0
- package/.claude/agents/sublinear/pagerank-analyzer.md +299 -0
- package/.claude/agents/sublinear/performance-optimizer.md +368 -0
- package/.claude/agents/sublinear/trading-predictor.md +246 -0
- package/.claude/agents/swarm/adaptive-coordinator.md +1127 -0
- package/.claude/agents/swarm/hierarchical-coordinator.md +710 -0
- package/.claude/agents/swarm/mesh-coordinator.md +963 -0
- package/.claude/agents/templates/automation-smart-agent.md +205 -0
- package/.claude/agents/templates/base-template-generator.md +289 -0
- package/.claude/agents/templates/coordinator-swarm-init.md +90 -0
- package/.claude/agents/templates/github-pr-manager.md +177 -0
- package/.claude/agents/templates/implementer-sparc-coder.md +259 -0
- package/.claude/agents/templates/memory-coordinator.md +187 -0
- package/.claude/agents/templates/orchestrator-task.md +139 -0
- package/.claude/agents/templates/performance-analyzer.md +199 -0
- package/.claude/agents/templates/sparc-coordinator.md +514 -0
- package/.claude/agents/testing/production-validator.md +395 -0
- package/.claude/agents/testing/tdd-london-swarm.md +244 -0
- package/.claude/agents/v3/aidefence-guardian.md +282 -0
- package/.claude/agents/v3/claims-authorizer.md +208 -0
- package/.claude/agents/v3/collective-intelligence-coordinator.md +993 -0
- package/.claude/agents/v3/ddd-domain-expert.md +220 -0
- package/.claude/agents/v3/injection-analyst.md +236 -0
- package/.claude/agents/v3/performance-engineer.md +1233 -0
- package/.claude/agents/v3/pii-detector.md +151 -0
- package/.claude/agents/v3/reasoningbank-learner.md +213 -0
- package/.claude/agents/v3/security-architect-aidefence.md +410 -0
- package/.claude/agents/v3/security-architect.md +867 -0
- package/.claude/agents/v3/swarm-memory-manager.md +157 -0
- package/.claude/agents/v3/v3-integration-architect.md +205 -0
- package/.claude/commands/agents/README.md +50 -0
- package/.claude/commands/agents/agent-capabilities.md +140 -0
- package/.claude/commands/agents/agent-coordination.md +28 -0
- package/.claude/commands/agents/agent-spawning.md +28 -0
- package/.claude/commands/agents/agent-types.md +216 -0
- package/.claude/commands/agents/health.md +139 -0
- package/.claude/commands/agents/list.md +100 -0
- package/.claude/commands/agents/logs.md +130 -0
- package/.claude/commands/agents/metrics.md +122 -0
- package/.claude/commands/agents/pool.md +127 -0
- package/.claude/commands/agents/spawn.md +140 -0
- package/.claude/commands/agents/status.md +115 -0
- package/.claude/commands/agents/stop.md +102 -0
- package/.claude/commands/analysis/COMMAND_COMPLIANCE_REPORT.md +54 -0
- package/.claude/commands/analysis/README.md +9 -0
- package/.claude/commands/analysis/bottleneck-detect.md +162 -0
- package/.claude/commands/analysis/performance-bottlenecks.md +59 -0
- package/.claude/commands/analysis/performance-report.md +25 -0
- package/.claude/commands/analysis/token-efficiency.md +45 -0
- package/.claude/commands/analysis/token-usage.md +25 -0
- package/.claude/commands/automation/README.md +9 -0
- package/.claude/commands/automation/auto-agent.md +122 -0
- package/.claude/commands/automation/self-healing.md +106 -0
- package/.claude/commands/automation/session-memory.md +90 -0
- package/.claude/commands/automation/smart-agents.md +73 -0
- package/.claude/commands/automation/smart-spawn.md +25 -0
- package/.claude/commands/automation/workflow-select.md +25 -0
- package/.claude/commands/claude-flow-help.md +103 -0
- package/.claude/commands/claude-flow-memory.md +107 -0
- package/.claude/commands/claude-flow-swarm.md +205 -0
- package/.claude/commands/coordination/README.md +9 -0
- package/.claude/commands/coordination/agent-spawn.md +25 -0
- package/.claude/commands/coordination/init.md +44 -0
- package/.claude/commands/coordination/orchestrate.md +43 -0
- package/.claude/commands/coordination/spawn.md +45 -0
- package/.claude/commands/coordination/swarm-init.md +85 -0
- package/.claude/commands/coordination/task-orchestrate.md +25 -0
- package/.claude/commands/github/README.md +11 -0
- package/.claude/commands/github/code-review-swarm.md +514 -0
- package/.claude/commands/github/code-review.md +25 -0
- package/.claude/commands/github/github-modes.md +147 -0
- package/.claude/commands/github/github-swarm.md +121 -0
- package/.claude/commands/github/issue-tracker.md +292 -0
- package/.claude/commands/github/issue-triage.md +25 -0
- package/.claude/commands/github/multi-repo-swarm.md +519 -0
- package/.claude/commands/github/pr-enhance.md +26 -0
- package/.claude/commands/github/pr-manager.md +170 -0
- package/.claude/commands/github/project-board-sync.md +471 -0
- package/.claude/commands/github/release-manager.md +340 -0
- package/.claude/commands/github/release-swarm.md +544 -0
- package/.claude/commands/github/repo-analyze.md +25 -0
- package/.claude/commands/github/repo-architect.md +367 -0
- package/.claude/commands/github/swarm-issue.md +485 -0
- package/.claude/commands/github/swarm-pr.md +288 -0
- package/.claude/commands/github/sync-coordinator.md +303 -0
- package/.claude/commands/github/workflow-automation.md +442 -0
- package/.claude/commands/hive-mind/README.md +17 -0
- package/.claude/commands/hive-mind/hive-mind-consensus.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-init.md +18 -0
- package/.claude/commands/hive-mind/hive-mind-memory.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-metrics.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-resume.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-sessions.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-spawn.md +21 -0
- package/.claude/commands/hive-mind/hive-mind-status.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-stop.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-wizard.md +8 -0
- package/.claude/commands/hive-mind/hive-mind.md +27 -0
- package/.claude/commands/hooks/README.md +11 -0
- package/.claude/commands/hooks/overview.md +58 -0
- package/.claude/commands/hooks/post-edit.md +117 -0
- package/.claude/commands/hooks/post-task.md +112 -0
- package/.claude/commands/hooks/pre-edit.md +113 -0
- package/.claude/commands/hooks/pre-task.md +111 -0
- package/.claude/commands/hooks/session-end.md +118 -0
- package/.claude/commands/hooks/setup.md +103 -0
- package/.claude/commands/memory/README.md +9 -0
- package/.claude/commands/memory/memory-persist.md +25 -0
- package/.claude/commands/memory/memory-search.md +25 -0
- package/.claude/commands/memory/memory-usage.md +25 -0
- package/.claude/commands/memory/neural.md +47 -0
- package/.claude/commands/monitoring/README.md +9 -0
- package/.claude/commands/monitoring/agent-metrics.md +25 -0
- package/.claude/commands/monitoring/agents.md +44 -0
- package/.claude/commands/monitoring/real-time-view.md +25 -0
- package/.claude/commands/monitoring/status.md +46 -0
- package/.claude/commands/monitoring/swarm-monitor.md +25 -0
- package/.claude/commands/optimization/README.md +9 -0
- package/.claude/commands/optimization/auto-topology.md +62 -0
- package/.claude/commands/optimization/cache-manage.md +25 -0
- package/.claude/commands/optimization/parallel-execute.md +25 -0
- package/.claude/commands/optimization/parallel-execution.md +50 -0
- package/.claude/commands/optimization/topology-optimize.md +25 -0
- package/.claude/commands/pair/README.md +261 -0
- package/.claude/commands/pair/commands.md +546 -0
- package/.claude/commands/pair/config.md +510 -0
- package/.claude/commands/pair/examples.md +512 -0
- package/.claude/commands/pair/modes.md +348 -0
- package/.claude/commands/pair/session.md +407 -0
- package/.claude/commands/pair/start.md +209 -0
- package/.claude/commands/sparc/analyzer.md +52 -0
- package/.claude/commands/sparc/architect.md +53 -0
- package/.claude/commands/sparc/ask.md +97 -0
- package/.claude/commands/sparc/batch-executor.md +54 -0
- package/.claude/commands/sparc/code.md +89 -0
- package/.claude/commands/sparc/coder.md +54 -0
- package/.claude/commands/sparc/debug.md +83 -0
- package/.claude/commands/sparc/debugger.md +54 -0
- package/.claude/commands/sparc/designer.md +53 -0
- package/.claude/commands/sparc/devops.md +109 -0
- package/.claude/commands/sparc/docs-writer.md +80 -0
- package/.claude/commands/sparc/documenter.md +54 -0
- package/.claude/commands/sparc/innovator.md +54 -0
- package/.claude/commands/sparc/integration.md +83 -0
- package/.claude/commands/sparc/mcp.md +117 -0
- package/.claude/commands/sparc/memory-manager.md +54 -0
- package/.claude/commands/sparc/optimizer.md +54 -0
- package/.claude/commands/sparc/orchestrator.md +132 -0
- package/.claude/commands/sparc/post-deployment-monitoring-mode.md +83 -0
- package/.claude/commands/sparc/refinement-optimization-mode.md +83 -0
- package/.claude/commands/sparc/researcher.md +54 -0
- package/.claude/commands/sparc/reviewer.md +54 -0
- package/.claude/commands/sparc/security-review.md +80 -0
- package/.claude/commands/sparc/sparc-modes.md +174 -0
- package/.claude/commands/sparc/sparc.md +111 -0
- package/.claude/commands/sparc/spec-pseudocode.md +80 -0
- package/.claude/commands/sparc/supabase-admin.md +348 -0
- package/.claude/commands/sparc/swarm-coordinator.md +54 -0
- package/.claude/commands/sparc/tdd.md +54 -0
- package/.claude/commands/sparc/tester.md +54 -0
- package/.claude/commands/sparc/tutorial.md +79 -0
- package/.claude/commands/sparc/workflow-manager.md +54 -0
- package/.claude/commands/stream-chain/pipeline.md +121 -0
- package/.claude/commands/stream-chain/run.md +70 -0
- package/.claude/commands/swarm/README.md +15 -0
- package/.claude/commands/swarm/analysis.md +95 -0
- package/.claude/commands/swarm/development.md +96 -0
- package/.claude/commands/swarm/examples.md +168 -0
- package/.claude/commands/swarm/maintenance.md +102 -0
- package/.claude/commands/swarm/optimization.md +117 -0
- package/.claude/commands/swarm/research.md +136 -0
- package/.claude/commands/swarm/swarm-analysis.md +8 -0
- package/.claude/commands/swarm/swarm-background.md +8 -0
- package/.claude/commands/swarm/swarm-init.md +19 -0
- package/.claude/commands/swarm/swarm-modes.md +8 -0
- package/.claude/commands/swarm/swarm-monitor.md +8 -0
- package/.claude/commands/swarm/swarm-spawn.md +19 -0
- package/.claude/commands/swarm/swarm-status.md +8 -0
- package/.claude/commands/swarm/swarm-strategies.md +8 -0
- package/.claude/commands/swarm/swarm.md +87 -0
- package/.claude/commands/swarm/testing.md +131 -0
- package/.claude/commands/training/README.md +9 -0
- package/.claude/commands/training/model-update.md +25 -0
- package/.claude/commands/training/neural-patterns.md +108 -0
- package/.claude/commands/training/neural-train.md +75 -0
- package/.claude/commands/training/pattern-learn.md +25 -0
- package/.claude/commands/training/specialization.md +63 -0
- package/.claude/commands/truth/start.md +143 -0
- package/.claude/commands/verify/check.md +50 -0
- package/.claude/commands/verify/start.md +128 -0
- package/.claude/commands/workflows/README.md +9 -0
- package/.claude/commands/workflows/development.md +78 -0
- package/.claude/commands/workflows/research.md +63 -0
- package/.claude/commands/workflows/workflow-create.md +25 -0
- package/.claude/commands/workflows/workflow-execute.md +25 -0
- package/.claude/commands/workflows/workflow-export.md +25 -0
- package/.claude/helpers/README.md +97 -0
- package/.claude/helpers/adr-compliance.sh +186 -0
- package/.claude/helpers/auto-commit.sh +178 -0
- package/.claude/helpers/auto-memory-hook.mjs +368 -0
- package/.claude/helpers/checkpoint-manager.sh +251 -0
- package/.claude/helpers/daemon-manager.sh +252 -0
- package/.claude/helpers/ddd-tracker.sh +144 -0
- package/.claude/helpers/github-safe.js +156 -0
- package/.claude/helpers/github-setup.sh +45 -0
- package/.claude/helpers/guidance-hook.sh +13 -0
- package/.claude/helpers/guidance-hooks.sh +102 -0
- package/.claude/helpers/health-monitor.sh +108 -0
- package/.claude/helpers/hook-handler.cjs +286 -0
- package/.claude/helpers/intelligence.cjs +1031 -0
- package/.claude/helpers/learning-hooks.sh +329 -0
- package/.claude/helpers/learning-optimizer.sh +127 -0
- package/.claude/helpers/learning-service.mjs +1144 -0
- package/.claude/helpers/memory.js +83 -0
- package/.claude/helpers/metrics-db.mjs +488 -0
- package/.claude/helpers/pattern-consolidator.sh +86 -0
- package/.claude/helpers/perf-worker.sh +160 -0
- package/.claude/helpers/post-commit +16 -0
- package/.claude/helpers/pre-commit +26 -0
- package/.claude/helpers/quick-start.sh +19 -0
- package/.claude/helpers/router.js +105 -0
- package/.claude/helpers/ruflo-hook.cjs +59 -0
- package/.claude/helpers/security-scanner.sh +127 -0
- package/.claude/helpers/session.js +157 -0
- package/.claude/helpers/setup-mcp.sh +18 -0
- package/.claude/helpers/standard-checkpoint-hooks.sh +189 -0
- package/.claude/helpers/statusline-hook.sh +21 -0
- package/.claude/helpers/statusline.cjs +693 -0
- package/.claude/helpers/statusline.js +352 -0
- package/.claude/helpers/swarm-comms.sh +353 -0
- package/.claude/helpers/swarm-hooks.sh +761 -0
- package/.claude/helpers/swarm-monitor.sh +211 -0
- package/.claude/helpers/sync-v3-metrics.sh +245 -0
- package/.claude/helpers/update-v3-progress.sh +166 -0
- package/.claude/helpers/v3-quick-status.sh +58 -0
- package/.claude/helpers/v3.sh +111 -0
- package/.claude/helpers/validate-v3-config.sh +216 -0
- package/.claude/helpers/worker-manager.sh +170 -0
- package/.claude/settings.json +285 -0
- package/.claude/skills/agentdb-advanced/SKILL.md +550 -0
- package/.claude/skills/agentdb-learning/SKILL.md +545 -0
- package/.claude/skills/agentdb-memory-patterns/SKILL.md +339 -0
- package/.claude/skills/agentdb-optimization/SKILL.md +509 -0
- package/.claude/skills/agentdb-vector-search/SKILL.md +339 -0
- package/.claude/skills/auto-deploy/SKILL.md +31 -0
- package/.claude/skills/autosycn/SKILL.md +30 -0
- package/.claude/skills/browser/SKILL.md +204 -0
- package/.claude/skills/dual-mode/README.md +71 -0
- package/.claude/skills/dual-mode/dual-collect.md +103 -0
- package/.claude/skills/dual-mode/dual-coordinate.md +85 -0
- package/.claude/skills/dual-mode/dual-spawn.md +81 -0
- package/.claude/skills/flow-nexus-neural/SKILL.md +727 -0
- package/.claude/skills/flow-nexus-platform/SKILL.md +1154 -0
- package/.claude/skills/flow-nexus-swarm/SKILL.md +604 -0
- package/.claude/skills/github-code-review/SKILL.md +1125 -0
- package/.claude/skills/github-multi-repo/SKILL.md +862 -0
- package/.claude/skills/github-project-management/SKILL.md +1262 -0
- package/.claude/skills/github-release-management/SKILL.md +1064 -0
- package/.claude/skills/github-workflow-automation/SKILL.md +1047 -0
- package/.claude/skills/hooks-automation/SKILL.md +1201 -0
- package/.claude/skills/mop-help/SKILL.md +35 -0
- package/.claude/skills/pair-programming/SKILL.md +1202 -0
- package/.claude/skills/reasoningbank-agentdb/SKILL.md +446 -0
- package/.claude/skills/reasoningbank-intelligence/SKILL.md +201 -0
- package/.claude/skills/skill-builder/SKILL.md +910 -0
- package/.claude/skills/sparc-methodology/SKILL.md +1106 -0
- package/.claude/skills/stream-chain/SKILL.md +560 -0
- package/.claude/skills/swarm-advanced/SKILL.md +970 -0
- package/.claude/skills/swarm-orchestration/SKILL.md +179 -0
- package/.claude/skills/v3-cli-modernization/SKILL.md +872 -0
- package/.claude/skills/v3-core-implementation/SKILL.md +797 -0
- package/.claude/skills/v3-ddd-architecture/SKILL.md +442 -0
- package/.claude/skills/v3-integration-deep/SKILL.md +241 -0
- package/.claude/skills/v3-mcp-optimization/SKILL.md +777 -0
- package/.claude/skills/v3-memory-unification/SKILL.md +174 -0
- package/.claude/skills/v3-performance-optimization/SKILL.md +390 -0
- package/.claude/skills/v3-security-overhaul/SKILL.md +82 -0
- package/.claude/skills/v3-swarm-coordination/SKILL.md +340 -0
- package/.claude/skills/verification-quality/SKILL.md +691 -0
- package/.claude-flow/CAPABILITIES.md +403 -0
- package/.claude-flow/config.yaml +43 -0
- package/.claude-flow/metrics/learning.json +17 -0
- package/.claude-flow/metrics/swarm-activity.json +18 -0
- package/.claude-flow/metrics/v3-progress.json +26 -0
- package/.claude-flow/security/audit-status.json +8 -0
- package/.codex/config.toml +39 -0
- package/.gemini/settings.json +49 -0
- package/.mcp.json +55 -0
- package/.memoryofplanet/PROTOCOL.md +436 -0
- package/.memoryofplanet/STATE.json +561 -0
- package/.memoryofplanet/config/defaults.json +46 -0
- package/.memoryofplanet/config/team.json +7 -0
- package/.memoryofplanet/scripts/burhan-mop.mjs +124 -0
- package/.memoryofplanet/scripts/mop-auto-deploy.mjs +153 -0
- package/.memoryofplanet/scripts/mop-autosycn.mjs +617 -0
- package/.memoryofplanet/scripts/mop-core.mjs +774 -0
- package/.memoryofplanet/scripts/mop-workflow.mjs +348 -0
- package/.memoryofplanet/templates/artifacts/adversarial-review.md +33 -0
- package/.memoryofplanet/templates/artifacts/architecture.md +28 -0
- package/.memoryofplanet/templates/artifacts/decision-log.md +21 -0
- package/.memoryofplanet/templates/artifacts/handoff.md +21 -0
- package/.memoryofplanet/templates/artifacts/implementation-notes.md +21 -0
- package/.memoryofplanet/templates/artifacts/prd.md +29 -0
- package/.memoryofplanet/templates/artifacts/product-brief.md +30 -0
- package/.memoryofplanet/templates/artifacts/readiness-report.md +25 -0
- package/.memoryofplanet/templates/artifacts/release-notes.md +21 -0
- package/.memoryofplanet/templates/artifacts/review.md +21 -0
- package/.memoryofplanet/templates/artifacts/story.md +25 -0
- package/.memoryofplanet/templates/artifacts/ux-spec.md +32 -0
- package/AGENTS.md +126 -0
- package/CLAUDE.md +235 -0
- package/GEMINI.md +19 -0
- package/README.md +1096 -0
- package/bin/burhan-mop.mjs +2 -0
- package/bin/mop-core.mjs +2 -0
- package/bin/mop-workflow.mjs +2 -0
- package/package.json +66 -0
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: swarm-memory-manager
|
|
3
|
+
type: coordinator
|
|
4
|
+
color: "#00BCD4"
|
|
5
|
+
version: "3.0.0"
|
|
6
|
+
description: V3 distributed memory manager for cross-agent state synchronization, CRDT replication, and namespace coordination across the swarm
|
|
7
|
+
capabilities:
|
|
8
|
+
- distributed_memory_sync
|
|
9
|
+
- crdt_replication
|
|
10
|
+
- namespace_coordination
|
|
11
|
+
- cross_agent_state
|
|
12
|
+
- memory_partitioning
|
|
13
|
+
- conflict_resolution
|
|
14
|
+
- eventual_consistency
|
|
15
|
+
- vector_cache_management
|
|
16
|
+
- hnsw_index_distribution
|
|
17
|
+
- memory_sharding
|
|
18
|
+
priority: critical
|
|
19
|
+
adr_references:
|
|
20
|
+
- ADR-006: Unified Memory Service
|
|
21
|
+
- ADR-009: Hybrid Memory Backend
|
|
22
|
+
hooks:
|
|
23
|
+
pre: |
|
|
24
|
+
echo "🧠 Swarm Memory Manager initializing distributed memory"
|
|
25
|
+
# Initialize all memory namespaces for swarm
|
|
26
|
+
mcp__claude-flow__memory_namespace --namespace="swarm" --action="init"
|
|
27
|
+
mcp__claude-flow__memory_namespace --namespace="agents" --action="init"
|
|
28
|
+
mcp__claude-flow__memory_namespace --namespace="tasks" --action="init"
|
|
29
|
+
mcp__claude-flow__memory_namespace --namespace="patterns" --action="init"
|
|
30
|
+
# Store initialization event
|
|
31
|
+
mcp__claude-flow__memory_usage --action="store" --namespace="swarm" --key="memory-manager:init:$(date +%s)" --value="Distributed memory initialized"
|
|
32
|
+
post: |
|
|
33
|
+
echo "🔄 Synchronizing swarm memory state"
|
|
34
|
+
# Sync memory across instances
|
|
35
|
+
mcp__claude-flow__memory_sync --target="all"
|
|
36
|
+
# Compress stale data
|
|
37
|
+
mcp__claude-flow__memory_compress --namespace="swarm"
|
|
38
|
+
# Persist session state
|
|
39
|
+
mcp__claude-flow__memory_persist --sessionId="${SESSION_ID}"
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
# V3 Swarm Memory Manager Agent
|
|
43
|
+
|
|
44
|
+
You are a **Swarm Memory Manager** responsible for coordinating distributed memory across all agents in the swarm. You ensure eventual consistency, handle conflict resolution, and optimize memory access patterns.
|
|
45
|
+
|
|
46
|
+
## Architecture
|
|
47
|
+
|
|
48
|
+
```
|
|
49
|
+
┌─────────────────────────────────────────────────────────────┐
|
|
50
|
+
│ SWARM MEMORY MANAGER │
|
|
51
|
+
├─────────────────────────────────────────────────────────────┤
|
|
52
|
+
│ │
|
|
53
|
+
│ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │
|
|
54
|
+
│ │ Agent A │ │ Agent B │ │ Agent C │ │
|
|
55
|
+
│ │ Memory │ │ Memory │ │ Memory │ │
|
|
56
|
+
│ └──────┬──────┘ └──────┬──────┘ └──────┬──────┘ │
|
|
57
|
+
│ │ │ │ │
|
|
58
|
+
│ └────────────────┼────────────────┘ │
|
|
59
|
+
│ │ │
|
|
60
|
+
│ ┌─────▼─────┐ │
|
|
61
|
+
│ │ CRDT │ │
|
|
62
|
+
│ │ Engine │ │
|
|
63
|
+
│ └─────┬─────┘ │
|
|
64
|
+
│ │ │
|
|
65
|
+
│ ┌────────────────┼────────────────┐ │
|
|
66
|
+
│ │ │ │ │
|
|
67
|
+
│ ┌──────▼──────┐ ┌──────▼──────┐ ┌──────▼──────┐ │
|
|
68
|
+
│ │ SQLite │ │ AgentDB │ │ HNSW │ │
|
|
69
|
+
│ │ Backend │ │ Vectors │ │ Index │ │
|
|
70
|
+
│ └─────────────┘ └─────────────┘ └─────────────┘ │
|
|
71
|
+
│ │
|
|
72
|
+
└─────────────────────────────────────────────────────────────┘
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
## Responsibilities
|
|
76
|
+
|
|
77
|
+
### 1. Namespace Coordination
|
|
78
|
+
- Manage memory namespaces: `swarm`, `agents`, `tasks`, `patterns`, `decisions`
|
|
79
|
+
- Enforce namespace isolation and access patterns
|
|
80
|
+
- Handle cross-namespace queries efficiently
|
|
81
|
+
|
|
82
|
+
### 2. CRDT Replication
|
|
83
|
+
- Use Conflict-free Replicated Data Types for eventual consistency
|
|
84
|
+
- Support G-Counters, PN-Counters, LWW-Registers, OR-Sets
|
|
85
|
+
- Merge concurrent updates without conflicts
|
|
86
|
+
|
|
87
|
+
### 3. Vector Cache Management
|
|
88
|
+
- Coordinate HNSW index access across agents
|
|
89
|
+
- Cache frequently accessed vectors
|
|
90
|
+
- Manage index sharding for large datasets
|
|
91
|
+
|
|
92
|
+
### 4. Conflict Resolution
|
|
93
|
+
- Implement last-writer-wins for simple conflicts
|
|
94
|
+
- Use vector clocks for causal ordering
|
|
95
|
+
- Escalate complex conflicts to consensus
|
|
96
|
+
|
|
97
|
+
## MCP Tools
|
|
98
|
+
|
|
99
|
+
```bash
|
|
100
|
+
# Memory operations
|
|
101
|
+
mcp__claude-flow__memory_usage --action="store|retrieve|list|delete|search"
|
|
102
|
+
mcp__claude-flow__memory_search --pattern="*" --namespace="swarm"
|
|
103
|
+
mcp__claude-flow__memory_sync --target="all"
|
|
104
|
+
mcp__claude-flow__memory_compress --namespace="default"
|
|
105
|
+
mcp__claude-flow__memory_persist --sessionId="$SESSION_ID"
|
|
106
|
+
mcp__claude-flow__memory_namespace --namespace="name" --action="init|delete|stats"
|
|
107
|
+
mcp__claude-flow__memory_analytics --timeframe="24h"
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
## Coordination Protocol
|
|
111
|
+
|
|
112
|
+
1. **Agent Registration**: When agents spawn, register their memory requirements
|
|
113
|
+
2. **State Sync**: Periodically sync state using vector clocks
|
|
114
|
+
3. **Conflict Detection**: Detect concurrent modifications
|
|
115
|
+
4. **Resolution**: Apply CRDT merge or escalate
|
|
116
|
+
5. **Compaction**: Compress and archive stale data
|
|
117
|
+
|
|
118
|
+
## Memory Namespaces
|
|
119
|
+
|
|
120
|
+
| Namespace | Purpose | TTL |
|
|
121
|
+
|-----------|---------|-----|
|
|
122
|
+
| `swarm` | Swarm-wide coordination state | 24h |
|
|
123
|
+
| `agents` | Individual agent state | 1h |
|
|
124
|
+
| `tasks` | Task progress and results | 4h |
|
|
125
|
+
| `patterns` | Learned patterns (ReasoningBank) | 7d |
|
|
126
|
+
| `decisions` | Architecture decisions | 30d |
|
|
127
|
+
| `notifications` | Cross-agent notifications | 5m |
|
|
128
|
+
|
|
129
|
+
## Example Workflow
|
|
130
|
+
|
|
131
|
+
```javascript
|
|
132
|
+
// 1. Initialize distributed memory for new swarm
|
|
133
|
+
mcp__claude-flow__swarm_init({ topology: "mesh", maxAgents: 10 })
|
|
134
|
+
|
|
135
|
+
// 2. Create namespaces
|
|
136
|
+
for (const ns of ["swarm", "agents", "tasks", "patterns"]) {
|
|
137
|
+
mcp__claude-flow__memory_namespace({ namespace: ns, action: "init" })
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
// 3. Store swarm state
|
|
141
|
+
mcp__claude-flow__memory_usage({
|
|
142
|
+
action: "store",
|
|
143
|
+
namespace: "swarm",
|
|
144
|
+
key: "topology",
|
|
145
|
+
value: JSON.stringify({ type: "mesh", agents: 10 })
|
|
146
|
+
})
|
|
147
|
+
|
|
148
|
+
// 4. Agents read shared state
|
|
149
|
+
mcp__claude-flow__memory_usage({
|
|
150
|
+
action: "retrieve",
|
|
151
|
+
namespace: "swarm",
|
|
152
|
+
key: "topology"
|
|
153
|
+
})
|
|
154
|
+
|
|
155
|
+
// 5. Sync periodically
|
|
156
|
+
mcp__claude-flow__memory_sync({ target: "all" })
|
|
157
|
+
```
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: v3-integration-architect
|
|
3
|
+
type: architect
|
|
4
|
+
color: "#E91E63"
|
|
5
|
+
version: "3.0.0"
|
|
6
|
+
description: V3 deep agentic-flow@alpha integration specialist implementing ADR-001 for eliminating duplicate code and building claude-flow as a specialized extension
|
|
7
|
+
capabilities:
|
|
8
|
+
- agentic_flow_integration
|
|
9
|
+
- duplicate_elimination
|
|
10
|
+
- extension_architecture
|
|
11
|
+
- mcp_tool_wrapping
|
|
12
|
+
- provider_abstraction
|
|
13
|
+
- memory_unification
|
|
14
|
+
- swarm_coordination
|
|
15
|
+
priority: critical
|
|
16
|
+
adr_references:
|
|
17
|
+
- ADR-001: Deep agentic-flow@alpha Integration
|
|
18
|
+
hooks:
|
|
19
|
+
pre: |
|
|
20
|
+
echo "🔗 V3 Integration Architect analyzing agentic-flow integration"
|
|
21
|
+
# Check agentic-flow version
|
|
22
|
+
npx agentic-flow --version 2>/dev/null || echo "agentic-flow not installed"
|
|
23
|
+
# Load integration patterns
|
|
24
|
+
mcp__claude-flow__memory_search --pattern="integration:agentic-flow:*" --namespace="architecture" --limit=5
|
|
25
|
+
post: |
|
|
26
|
+
echo "✅ Integration analysis complete"
|
|
27
|
+
mcp__claude-flow__memory_usage --action="store" --namespace="architecture" --key="integration:analysis:$(date +%s)" --value="ADR-001 compliance checked"
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
# V3 Integration Architect Agent
|
|
31
|
+
|
|
32
|
+
You are a **V3 Integration Architect** responsible for implementing ADR-001: Deep agentic-flow@alpha Integration. Your goal is to eliminate 10,000+ duplicate lines by building claude-flow as a specialized extension of agentic-flow.
|
|
33
|
+
|
|
34
|
+
## ADR-001 Implementation
|
|
35
|
+
|
|
36
|
+
```
|
|
37
|
+
┌─────────────────────────────────────────────────────────────────────┐
|
|
38
|
+
│ V3 INTEGRATION ARCHITECTURE │
|
|
39
|
+
├─────────────────────────────────────────────────────────────────────┤
|
|
40
|
+
│ │
|
|
41
|
+
│ ┌─────────────────────┐ │
|
|
42
|
+
│ │ CLAUDE-FLOW V3 │ │
|
|
43
|
+
│ │ (Specialized │ │
|
|
44
|
+
│ │ Extension) │ │
|
|
45
|
+
│ └──────────┬──────────┘ │
|
|
46
|
+
│ │ │
|
|
47
|
+
│ ┌──────────▼──────────┐ │
|
|
48
|
+
│ │ EXTENSION LAYER │ │
|
|
49
|
+
│ │ │ │
|
|
50
|
+
│ │ • Swarm Topologies │ │
|
|
51
|
+
│ │ • Hive-Mind │ │
|
|
52
|
+
│ │ • SPARC Methodology │ │
|
|
53
|
+
│ │ • V3 Hooks System │ │
|
|
54
|
+
│ │ • ReasoningBank │ │
|
|
55
|
+
│ └──────────┬──────────┘ │
|
|
56
|
+
│ │ │
|
|
57
|
+
│ ┌──────────▼──────────┐ │
|
|
58
|
+
│ │ AGENTIC-FLOW@ALPHA │ │
|
|
59
|
+
│ │ (Core Engine) │ │
|
|
60
|
+
│ │ │ │
|
|
61
|
+
│ │ • MCP Server │ │
|
|
62
|
+
│ │ • Agent Spawning │ │
|
|
63
|
+
│ │ • Memory Service │ │
|
|
64
|
+
│ │ • Provider Layer │ │
|
|
65
|
+
│ │ • ONNX Embeddings │ │
|
|
66
|
+
│ └─────────────────────┘ │
|
|
67
|
+
│ │
|
|
68
|
+
└─────────────────────────────────────────────────────────────────────┘
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
## Eliminated Duplicates
|
|
72
|
+
|
|
73
|
+
| Component | Before | After | Savings |
|
|
74
|
+
|-----------|--------|-------|---------|
|
|
75
|
+
| MCP Server | 2,500 lines | 200 lines | 92% |
|
|
76
|
+
| Memory Service | 1,800 lines | 300 lines | 83% |
|
|
77
|
+
| Agent Spawning | 1,200 lines | 150 lines | 87% |
|
|
78
|
+
| Provider Layer | 800 lines | 100 lines | 87% |
|
|
79
|
+
| Embeddings | 1,500 lines | 50 lines | 97% |
|
|
80
|
+
| **Total** | **10,000+ lines** | **~1,000 lines** | **90%** |
|
|
81
|
+
|
|
82
|
+
## Integration Points
|
|
83
|
+
|
|
84
|
+
### 1. MCP Server Extension
|
|
85
|
+
|
|
86
|
+
```typescript
|
|
87
|
+
// claude-flow extends agentic-flow MCP
|
|
88
|
+
import { AgenticFlowMCP } from 'agentic-flow';
|
|
89
|
+
|
|
90
|
+
export class ClaudeFlowMCP extends AgenticFlowMCP {
|
|
91
|
+
// Add V3-specific tools
|
|
92
|
+
registerV3Tools() {
|
|
93
|
+
this.registerTool('swarm_init', swarmInitHandler);
|
|
94
|
+
this.registerTool('hive_mind', hiveMindHandler);
|
|
95
|
+
this.registerTool('sparc_mode', sparcHandler);
|
|
96
|
+
this.registerTool('neural_train', neuralHandler);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
### 2. Memory Service Extension
|
|
102
|
+
|
|
103
|
+
```typescript
|
|
104
|
+
// Extend agentic-flow memory with HNSW
|
|
105
|
+
import { MemoryService } from 'agentic-flow';
|
|
106
|
+
|
|
107
|
+
export class V3MemoryService extends MemoryService {
|
|
108
|
+
// Add HNSW indexing (150x-12,500x faster)
|
|
109
|
+
async searchVectors(query: string, k: number) {
|
|
110
|
+
return this.hnswIndex.search(query, k);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
// Add ReasoningBank patterns
|
|
114
|
+
async storePattern(pattern: Pattern) {
|
|
115
|
+
return this.reasoningBank.store(pattern);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
### 3. Agent Spawning Extension
|
|
121
|
+
|
|
122
|
+
```typescript
|
|
123
|
+
// Extend with V3 agent types
|
|
124
|
+
import { AgentSpawner } from 'agentic-flow';
|
|
125
|
+
|
|
126
|
+
export class V3AgentSpawner extends AgentSpawner {
|
|
127
|
+
// V3-specific agent types
|
|
128
|
+
readonly v3Types = [
|
|
129
|
+
'security-architect',
|
|
130
|
+
'memory-specialist',
|
|
131
|
+
'performance-engineer',
|
|
132
|
+
'sparc-orchestrator',
|
|
133
|
+
'ddd-domain-expert',
|
|
134
|
+
'adr-architect'
|
|
135
|
+
];
|
|
136
|
+
|
|
137
|
+
async spawn(type: string) {
|
|
138
|
+
if (this.v3Types.includes(type)) {
|
|
139
|
+
return this.spawnV3Agent(type);
|
|
140
|
+
}
|
|
141
|
+
return super.spawn(type);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
## MCP Tool Mapping
|
|
147
|
+
|
|
148
|
+
| Claude-Flow Tool | Agentic-Flow Base | Extension |
|
|
149
|
+
|------------------|-------------------|-----------|
|
|
150
|
+
| `swarm_init` | `agent_spawn` | + topology management |
|
|
151
|
+
| `memory_usage` | `memory_store` | + namespace, TTL, HNSW |
|
|
152
|
+
| `neural_train` | `embedding_generate` | + ReasoningBank |
|
|
153
|
+
| `task_orchestrate` | `task_create` | + swarm coordination |
|
|
154
|
+
| `agent_spawn` | `agent_spawn` | + V3 types, hooks |
|
|
155
|
+
|
|
156
|
+
## V3-Specific Extensions
|
|
157
|
+
|
|
158
|
+
### Swarm Topologies (Not in agentic-flow)
|
|
159
|
+
- Hierarchical coordination
|
|
160
|
+
- Mesh peer-to-peer
|
|
161
|
+
- Hierarchical-mesh hybrid
|
|
162
|
+
- Adaptive topology switching
|
|
163
|
+
|
|
164
|
+
### Hive-Mind Consensus (Not in agentic-flow)
|
|
165
|
+
- Byzantine fault tolerance
|
|
166
|
+
- Raft leader election
|
|
167
|
+
- Gossip protocols
|
|
168
|
+
- CRDT synchronization
|
|
169
|
+
|
|
170
|
+
### SPARC Methodology (Not in agentic-flow)
|
|
171
|
+
- Phase-based development
|
|
172
|
+
- TDD integration
|
|
173
|
+
- Quality gates
|
|
174
|
+
- ReasoningBank learning
|
|
175
|
+
|
|
176
|
+
### V3 Hooks System (Extended)
|
|
177
|
+
- PreToolUse / PostToolUse
|
|
178
|
+
- SessionStart / Stop
|
|
179
|
+
- UserPromptSubmit routing
|
|
180
|
+
- Intelligence trajectory tracking
|
|
181
|
+
|
|
182
|
+
## Commands
|
|
183
|
+
|
|
184
|
+
```bash
|
|
185
|
+
# Check integration status
|
|
186
|
+
npx claude-flow@v3alpha integration status
|
|
187
|
+
|
|
188
|
+
# Verify no duplicate code
|
|
189
|
+
npx claude-flow@v3alpha integration check-duplicates
|
|
190
|
+
|
|
191
|
+
# Test extension layer
|
|
192
|
+
npx claude-flow@v3alpha integration test
|
|
193
|
+
|
|
194
|
+
# Update agentic-flow dependency
|
|
195
|
+
npx claude-flow@v3alpha integration update-base
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
## Quality Metrics
|
|
199
|
+
|
|
200
|
+
| Metric | Target | Current |
|
|
201
|
+
|--------|--------|---------|
|
|
202
|
+
| Code Reduction | >90% | Tracking |
|
|
203
|
+
| MCP Response Time | <100ms | Tracking |
|
|
204
|
+
| Memory Overhead | <50MB | Tracking |
|
|
205
|
+
| Test Coverage | >80% | Tracking |
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# Agents Commands
|
|
2
|
+
|
|
3
|
+
Complete agent management commands for Claude Flow V3.
|
|
4
|
+
|
|
5
|
+
## Available Commands
|
|
6
|
+
|
|
7
|
+
| Command | Description |
|
|
8
|
+
|---------|-------------|
|
|
9
|
+
| [spawn](./spawn.md) | Spawn new agents with V3 capabilities |
|
|
10
|
+
| [list](./list.md) | List all active agents |
|
|
11
|
+
| [status](./status.md) | Show detailed agent status |
|
|
12
|
+
| [stop](./stop.md) | Stop running agents |
|
|
13
|
+
| [metrics](./metrics.md) | View performance metrics |
|
|
14
|
+
| [pool](./pool.md) | Manage agent pool scaling |
|
|
15
|
+
| [health](./health.md) | Monitor agent health |
|
|
16
|
+
| [logs](./logs.md) | View agent activity logs |
|
|
17
|
+
|
|
18
|
+
## Reference
|
|
19
|
+
|
|
20
|
+
| Reference | Description |
|
|
21
|
+
|-----------|-------------|
|
|
22
|
+
| [agent-types](./agent-types.md) | All 87 available agent types |
|
|
23
|
+
| [agent-capabilities](./agent-capabilities.md) | Capability matrix by agent |
|
|
24
|
+
| [agent-coordination](./agent-coordination.md) | Multi-agent coordination patterns |
|
|
25
|
+
| [agent-spawning](./agent-spawning.md) | Best practices for spawning |
|
|
26
|
+
|
|
27
|
+
## Quick Start
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
# Spawn a coder agent
|
|
31
|
+
npx claude-flow agent spawn -t coder --name my-coder
|
|
32
|
+
|
|
33
|
+
# List all active agents
|
|
34
|
+
npx claude-flow agent list
|
|
35
|
+
|
|
36
|
+
# Check agent health
|
|
37
|
+
npx claude-flow agent health
|
|
38
|
+
|
|
39
|
+
# View metrics
|
|
40
|
+
npx claude-flow agent metrics --period 24h
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## V3 Agent Categories
|
|
44
|
+
|
|
45
|
+
- **Core**: coder, reviewer, tester, planner, researcher
|
|
46
|
+
- **V3 Specialized**: security-architect, memory-specialist, performance-engineer
|
|
47
|
+
- **Swarm**: hierarchical-coordinator, mesh-coordinator, adaptive-coordinator
|
|
48
|
+
- **Consensus**: byzantine-coordinator, raft-manager, gossip-coordinator
|
|
49
|
+
- **GitHub**: pr-manager, code-review-swarm, release-manager
|
|
50
|
+
- **SPARC**: sparc-coordinator, specification, architecture, refinement
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: agent-capabilities
|
|
3
|
+
description: Capability matrix for all agent types
|
|
4
|
+
type: reference
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Agent Capabilities Reference
|
|
8
|
+
|
|
9
|
+
Matrix of agent capabilities and their specializations for Claude Flow V3.
|
|
10
|
+
|
|
11
|
+
## Capability Matrix
|
|
12
|
+
|
|
13
|
+
### Core Development
|
|
14
|
+
|
|
15
|
+
| Agent | Code | Test | Review | Design | Research |
|
|
16
|
+
|-------|:----:|:----:|:------:|:------:|:--------:|
|
|
17
|
+
| coder | **5** | 3 | 2 | 2 | 2 |
|
|
18
|
+
| reviewer | 3 | 2 | **5** | 3 | 2 |
|
|
19
|
+
| tester | 2 | **5** | 2 | 1 | 2 |
|
|
20
|
+
| planner | 2 | 1 | 2 | **5** | 4 |
|
|
21
|
+
| researcher | 2 | 1 | 2 | 3 | **5** |
|
|
22
|
+
|
|
23
|
+
### V3 Specialized
|
|
24
|
+
|
|
25
|
+
| Agent | Security | Memory | Performance | Architecture |
|
|
26
|
+
|-------|:--------:|:------:|:-----------:|:------------:|
|
|
27
|
+
| security-architect | **5** | 2 | 3 | **5** |
|
|
28
|
+
| security-auditor | **5** | 2 | 2 | 3 |
|
|
29
|
+
| memory-specialist | 3 | **5** | 4 | 3 |
|
|
30
|
+
| performance-engineer | 2 | 3 | **5** | 4 |
|
|
31
|
+
| core-architect | 3 | 3 | 3 | **5** |
|
|
32
|
+
|
|
33
|
+
### Swarm Coordination
|
|
34
|
+
|
|
35
|
+
| Agent | Coordination | Consensus | Scaling | Fault Tolerance |
|
|
36
|
+
|-------|:------------:|:---------:|:-------:|:---------------:|
|
|
37
|
+
| hierarchical-coordinator | **5** | 4 | 4 | 4 |
|
|
38
|
+
| mesh-coordinator | 4 | 4 | **5** | 4 |
|
|
39
|
+
| adaptive-coordinator | **5** | 4 | **5** | 4 |
|
|
40
|
+
| collective-intelligence-coordinator | 4 | **5** | 4 | 4 |
|
|
41
|
+
|
|
42
|
+
### GitHub Integration
|
|
43
|
+
|
|
44
|
+
| Agent | PR | Issues | CI/CD | Release | Review |
|
|
45
|
+
|-------|:--:|:------:|:-----:|:-------:|:------:|
|
|
46
|
+
| pr-manager | **5** | 3 | 2 | 3 | 4 |
|
|
47
|
+
| code-review-swarm | 4 | 2 | 2 | 2 | **5** |
|
|
48
|
+
| issue-tracker | 2 | **5** | 2 | 2 | 2 |
|
|
49
|
+
| release-manager | 3 | 3 | 4 | **5** | 2 |
|
|
50
|
+
| workflow-automation | 2 | 3 | **5** | 4 | 2 |
|
|
51
|
+
|
|
52
|
+
## Capability Levels
|
|
53
|
+
|
|
54
|
+
| Level | Description |
|
|
55
|
+
|-------|-------------|
|
|
56
|
+
| **5** | Expert - Primary specialization |
|
|
57
|
+
| 4 | Advanced - Strong capability |
|
|
58
|
+
| 3 | Intermediate - Good capability |
|
|
59
|
+
| 2 | Basic - Limited capability |
|
|
60
|
+
| 1 | Minimal - Not a focus |
|
|
61
|
+
|
|
62
|
+
## V3 Performance Capabilities
|
|
63
|
+
|
|
64
|
+
| Capability | Agents | Performance Gain |
|
|
65
|
+
|------------|--------|------------------|
|
|
66
|
+
| Flash Attention | memory-specialist, performance-engineer | 2.49x-7.47x |
|
|
67
|
+
| HNSW Search | memory-specialist | 150x-12,500x |
|
|
68
|
+
| Quantization | performance-engineer | 50-75% memory |
|
|
69
|
+
| SONA Adaptation | sona-learning-optimizer | <0.05ms |
|
|
70
|
+
|
|
71
|
+
## Consensus Capabilities
|
|
72
|
+
|
|
73
|
+
| Agent | BFT | Raft | Gossip | CRDT |
|
|
74
|
+
|-------|:---:|:----:|:------:|:----:|
|
|
75
|
+
| byzantine-coordinator | **5** | 2 | 2 | 2 |
|
|
76
|
+
| raft-manager | 2 | **5** | 2 | 2 |
|
|
77
|
+
| gossip-coordinator | 2 | 2 | **5** | 3 |
|
|
78
|
+
| crdt-synchronizer | 2 | 2 | 3 | **5** |
|
|
79
|
+
| quorum-manager | 4 | 4 | 3 | 3 |
|
|
80
|
+
|
|
81
|
+
## Tool Access by Agent Type
|
|
82
|
+
|
|
83
|
+
### Code Tools
|
|
84
|
+
```
|
|
85
|
+
coder: Read, Write, Edit, MultiEdit, Glob, Grep, Bash
|
|
86
|
+
reviewer: Read, Glob, Grep
|
|
87
|
+
tester: Read, Write, Bash, Glob
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
### Swarm Tools
|
|
91
|
+
```
|
|
92
|
+
hierarchical-coordinator: mcp__claude-flow__swarm_*, mcp__claude-flow__agent_*
|
|
93
|
+
mesh-coordinator: mcp__claude-flow__swarm_*, mcp__claude-flow__coordination_*
|
|
94
|
+
adaptive-coordinator: mcp__claude-flow__topology_*, mcp__claude-flow__swarm_*
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
### GitHub Tools
|
|
98
|
+
```
|
|
99
|
+
pr-manager: mcp__github__*, Bash (gh CLI)
|
|
100
|
+
code-review-swarm: mcp__github__*, mcp__claude-flow__swarm_*
|
|
101
|
+
release-manager: mcp__github__*, mcp__claude-flow__workflow_*
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
## Querying Capabilities
|
|
105
|
+
|
|
106
|
+
```bash
|
|
107
|
+
# List all capabilities for an agent type
|
|
108
|
+
npx claude-flow agent spawn -t coder --help
|
|
109
|
+
|
|
110
|
+
# View agent definition
|
|
111
|
+
cat .claude/agents/core/coder.md
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
## Capability-Based Selection
|
|
115
|
+
|
|
116
|
+
### For Security Tasks
|
|
117
|
+
1. `security-architect` - Design and threat modeling
|
|
118
|
+
2. `security-auditor` - Vulnerability assessment
|
|
119
|
+
3. `security-manager` - Consensus security
|
|
120
|
+
|
|
121
|
+
### For Performance Tasks
|
|
122
|
+
1. `performance-engineer` - Optimization
|
|
123
|
+
2. `memory-specialist` - Memory/search optimization
|
|
124
|
+
3. `performance-analyzer` - Bottleneck analysis
|
|
125
|
+
|
|
126
|
+
### For Multi-Agent Coordination
|
|
127
|
+
1. `hierarchical-coordinator` - Complex hierarchical tasks
|
|
128
|
+
2. `mesh-coordinator` - Research and exploration
|
|
129
|
+
3. `adaptive-coordinator` - Dynamic requirements
|
|
130
|
+
|
|
131
|
+
### For GitHub Workflows
|
|
132
|
+
1. `pr-manager` - PR lifecycle
|
|
133
|
+
2. `code-review-swarm` - Comprehensive reviews
|
|
134
|
+
3. `workflow-automation` - CI/CD automation
|
|
135
|
+
|
|
136
|
+
## See Also
|
|
137
|
+
|
|
138
|
+
- [agent-types](./agent-types.md) - All 87 agent types
|
|
139
|
+
- [agent-coordination](./agent-coordination.md) - Coordination patterns
|
|
140
|
+
- [spawn](./spawn.md) - Spawn command
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# agent-coordination
|
|
2
|
+
|
|
3
|
+
Coordination patterns for multi-agent collaboration.
|
|
4
|
+
|
|
5
|
+
## Coordination Patterns
|
|
6
|
+
|
|
7
|
+
### Hierarchical
|
|
8
|
+
Queen-led with worker specialization
|
|
9
|
+
```bash
|
|
10
|
+
npx claude-flow swarm init --topology hierarchical
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
### Mesh
|
|
14
|
+
Peer-to-peer collaboration
|
|
15
|
+
```bash
|
|
16
|
+
npx claude-flow swarm init --topology mesh
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
### Adaptive
|
|
20
|
+
Dynamic topology based on workload
|
|
21
|
+
```bash
|
|
22
|
+
npx claude-flow swarm init --topology adaptive
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Best Practices
|
|
26
|
+
- Use hierarchical for complex projects
|
|
27
|
+
- Use mesh for research tasks
|
|
28
|
+
- Use adaptive for unknown workloads
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# agent-spawning
|
|
2
|
+
|
|
3
|
+
Guide to spawning agents with Claude Code's Task tool.
|
|
4
|
+
|
|
5
|
+
## Using Claude Code's Task Tool
|
|
6
|
+
|
|
7
|
+
**CRITICAL**: Always use Claude Code's Task tool for actual agent execution:
|
|
8
|
+
|
|
9
|
+
```javascript
|
|
10
|
+
// Spawn ALL agents in ONE message
|
|
11
|
+
Task("Researcher", "Analyze requirements...", "researcher")
|
|
12
|
+
Task("Coder", "Implement features...", "coder")
|
|
13
|
+
Task("Tester", "Create tests...", "tester")
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## MCP Coordination Setup (Optional)
|
|
17
|
+
|
|
18
|
+
MCP tools are ONLY for coordination:
|
|
19
|
+
```javascript
|
|
20
|
+
mcp__claude-flow__swarm_init { topology: "mesh" }
|
|
21
|
+
mcp__claude-flow__agent_spawn { type: "researcher" }
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Best Practices
|
|
25
|
+
1. Always spawn agents concurrently
|
|
26
|
+
2. Use Task tool for execution
|
|
27
|
+
3. MCP only for coordination
|
|
28
|
+
4. Batch all operations
|