@monoes/monomindcli 1.10.47 → 1.10.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/commands/monomind/do.md +52 -0
- package/.claude/commands/monomind/improve.md +2 -0
- package/.claude/helpers/handlers/graph-status-handler.cjs +2 -1
- package/.claude/helpers/handlers/route-handler.cjs +61 -11
- package/.claude/helpers/hook-handler.cjs +19 -0
- package/.claude/helpers/skill-registry.json +122 -51
- package/.claude/helpers/statusline.cjs +1 -1
- package/.claude/skills/agent-browser-testing/SKILL.md +522 -152
- package/.claude/skills/github-issue-triage/SKILL.md +354 -0
- package/.claude/skills/github-repo-recap/SKILL.md +207 -0
- package/.claude/skills/mastermind/_delegation.md +83 -0
- package/.claude/skills/mastermind/_protocol.md +14 -0
- 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 -9765
- package/dist/src/ui/data/agent-avatars.html +763 -0
- package/dist/src/ui/data/agent-avatars.json +966 -0
- package/dist/src/ui/data/avatars/account-strategist.svg +58 -0
- package/dist/src/ui/data/avatars/accounts-payable.svg +54 -0
- package/dist/src/ui/data/avatars/adaptive-coordinator.svg +55 -0
- package/dist/src/ui/data/avatars/adaptive-coordinator2.svg +54 -0
- package/dist/src/ui/data/avatars/ai-citation.svg +57 -0
- package/dist/src/ui/data/avatars/ai-engineer.svg +61 -0
- package/dist/src/ui/data/avatars/analytics-reporter.svg +53 -0
- package/dist/src/ui/data/avatars/api-tester.svg +53 -0
- package/dist/src/ui/data/avatars/architecture.svg +54 -0
- package/dist/src/ui/data/avatars/automation-governance.svg +55 -0
- package/dist/src/ui/data/avatars/backend-dev.svg +53 -0
- package/dist/src/ui/data/avatars/benchmarker.svg +54 -0
- package/dist/src/ui/data/avatars/blockchain-auditor.svg +53 -0
- package/dist/src/ui/data/avatars/byzantine-coord.svg +57 -0
- package/dist/src/ui/data/avatars/case-analyst.svg +57 -0
- package/dist/src/ui/data/avatars/cicd-engineer.svg +55 -0
- package/dist/src/ui/data/avatars/cloud-architect.svg +54 -0
- package/dist/src/ui/data/avatars/code-review-swarm.svg +57 -0
- package/dist/src/ui/data/avatars/coder-v119.svg +57 -0
- package/dist/src/ui/data/avatars/coder.svg +58 -0
- package/dist/src/ui/data/avatars/collective-coord.svg +54 -0
- package/dist/src/ui/data/avatars/compliance-auditor.svg +58 -0
- package/dist/src/ui/data/avatars/consensus-coordinator.svg +54 -0
- package/dist/src/ui/data/avatars/content-creator.svg +54 -0
- package/dist/src/ui/data/avatars/crdt-synchronizer.svg +53 -0
- package/dist/src/ui/data/avatars/cro-specialist.svg +58 -0
- package/dist/src/ui/data/avatars/data-consolidator.svg +54 -0
- package/dist/src/ui/data/avatars/data-engineer.svg +53 -0
- package/dist/src/ui/data/avatars/database-optimizer.svg +61 -0
- package/dist/src/ui/data/avatars/deal-strategist.svg +54 -0
- package/dist/src/ui/data/avatars/defender.svg +53 -0
- package/dist/src/ui/data/avatars/devops-automator.svg +56 -0
- package/dist/src/ui/data/avatars/discovery-coach.svg +54 -0
- package/dist/src/ui/data/avatars/email-marketing.svg +57 -0
- package/dist/src/ui/data/avatars/embedded-firmware.svg +61 -0
- package/dist/src/ui/data/avatars/evidence-collector.svg +57 -0
- package/dist/src/ui/data/avatars/experiment-tracker.svg +53 -0
- package/dist/src/ui/data/avatars/feedback-synthesizer.svg +54 -0
- package/dist/src/ui/data/avatars/finance-tracker.svg +54 -0
- package/dist/src/ui/data/avatars/frontend-developer.svg +54 -0
- package/dist/src/ui/data/avatars/game-audio-engineer.svg +59 -0
- package/dist/src/ui/data/avatars/game-designer.svg +54 -0
- package/dist/src/ui/data/avatars/gossip-coordinator.svg +54 -0
- package/dist/src/ui/data/avatars/hierarchical-coord.svg +54 -0
- package/dist/src/ui/data/avatars/incident-commander.svg +57 -0
- package/dist/src/ui/data/avatars/infrastructure.svg +54 -0
- package/dist/src/ui/data/avatars/input-validator.svg +53 -0
- package/dist/src/ui/data/avatars/ios-developer.svg +54 -0
- package/dist/src/ui/data/avatars/issue-tracker.svg +53 -0
- package/dist/src/ui/data/avatars/judge.svg +55 -0
- package/dist/src/ui/data/avatars/launch-strategist.svg +54 -0
- package/dist/src/ui/data/avatars/legal-compliance.svg +53 -0
- package/dist/src/ui/data/avatars/level-designer.svg +53 -0
- package/dist/src/ui/data/avatars/load-balancer.svg +57 -0
- package/dist/src/ui/data/avatars/mcp-builder.svg +53 -0
- package/dist/src/ui/data/avatars/memory-coordinator.svg +55 -0
- package/dist/src/ui/data/avatars/mesh-coordinator.svg +55 -0
- package/dist/src/ui/data/avatars/ml-developer.svg +58 -0
- package/dist/src/ui/data/avatars/mobile-app-builder.svg +53 -0
- package/dist/src/ui/data/avatars/mobile-dev.svg +54 -0
- package/dist/src/ui/data/avatars/model-qa.svg +58 -0
- package/dist/src/ui/data/avatars/narrative-designer.svg +58 -0
- package/dist/src/ui/data/avatars/outbound-strategist.svg +55 -0
- package/dist/src/ui/data/avatars/path-validator.svg +54 -0
- package/dist/src/ui/data/avatars/payment-agent.svg +53 -0
- package/dist/src/ui/data/avatars/perf-analyzer.svg +58 -0
- package/dist/src/ui/data/avatars/pipeline-analyst.svg +54 -0
- package/dist/src/ui/data/avatars/planner.svg +55 -0
- package/dist/src/ui/data/avatars/pr-manager.svg +54 -0
- package/dist/src/ui/data/avatars/pricing-strategist.svg +54 -0
- package/dist/src/ui/data/avatars/product-manager.svg +54 -0
- package/dist/src/ui/data/avatars/production-validator.svg +54 -0
- package/dist/src/ui/data/avatars/project-shepherd.svg +54 -0
- package/dist/src/ui/data/avatars/proposal-strategist.svg +54 -0
- package/dist/src/ui/data/avatars/prosecutor.svg +57 -0
- package/dist/src/ui/data/avatars/pseudocode.svg +53 -0
- package/dist/src/ui/data/avatars/queen-coordinator.svg +55 -0
- package/dist/src/ui/data/avatars/quorum-manager.svg +53 -0
- package/dist/src/ui/data/avatars/raft-manager.svg +53 -0
- package/dist/src/ui/data/avatars/reality-checker.svg +58 -0
- package/dist/src/ui/data/avatars/recruitment.svg +58 -0
- package/dist/src/ui/data/avatars/refinement.svg +53 -0
- package/dist/src/ui/data/avatars/release-manager.svg +54 -0
- package/dist/src/ui/data/avatars/repo-architect.svg +54 -0
- package/dist/src/ui/data/avatars/researcher.svg +58 -0
- package/dist/src/ui/data/avatars/resource-allocator.svg +53 -0
- package/dist/src/ui/data/avatars/reviewer.svg +53 -0
- package/dist/src/ui/data/avatars/safe-executor.svg +53 -0
- package/dist/src/ui/data/avatars/sales-coach.svg +53 -0
- package/dist/src/ui/data/avatars/sales-engineer.svg +58 -0
- package/dist/src/ui/data/avatars/scout-explorer.svg +58 -0
- package/dist/src/ui/data/avatars/security-architect.svg +54 -0
- package/dist/src/ui/data/avatars/security-auditor.svg +55 -0
- package/dist/src/ui/data/avatars/senior-developer.svg +58 -0
- package/dist/src/ui/data/avatars/senior-pm.svg +58 -0
- package/dist/src/ui/data/avatars/seo-specialist.svg +57 -0
- package/dist/src/ui/data/avatars/social-media.svg +54 -0
- package/dist/src/ui/data/avatars/solidity-engineer.svg +58 -0
- package/dist/src/ui/data/avatars/sparc-coder.svg +58 -0
- package/dist/src/ui/data/avatars/sparc-coord.svg +56 -0
- package/dist/src/ui/data/avatars/specification.svg +57 -0
- package/dist/src/ui/data/avatars/sprint-prioritizer.svg +53 -0
- package/dist/src/ui/data/avatars/sre.svg +54 -0
- package/dist/src/ui/data/avatars/studio-operations.svg +53 -0
- package/dist/src/ui/data/avatars/studio-producer.svg +55 -0
- package/dist/src/ui/data/avatars/support-responder.svg +56 -0
- package/dist/src/ui/data/avatars/system-architect.svg +54 -0
- package/dist/src/ui/data/avatars/task-orchestrator.svg +56 -0
- package/dist/src/ui/data/avatars/technical-artist.svg +53 -0
- package/dist/src/ui/data/avatars/technical-writer.svg +59 -0
- package/dist/src/ui/data/avatars/tester.svg +53 -0
- package/dist/src/ui/data/avatars/threat-detection.svg +61 -0
- package/dist/src/ui/data/avatars/trend-researcher.svg +54 -0
- package/dist/src/ui/data/avatars/trial-director.svg +55 -0
- package/dist/src/ui/data/avatars/unity-architect.svg +54 -0
- package/dist/src/ui/data/avatars/visionos-engineer.svg +57 -0
- package/dist/src/ui/data/avatars/worker-specialist.svg +55 -0
- package/dist/src/ui/data/avatars/workflow-architect.svg +57 -0
- package/dist/src/ui/data/avatars/workflow-automation.svg +54 -0
- package/dist/src/ui/data/avatars/zk-steward.svg +54 -0
- package/dist/src/ui/data/known-projects.json +1 -1
- package/dist/src/ui/data/mastermind-events.jsonl +28 -0
- package/dist/src/ui/orgs.html +1171 -0
- package/dist/src/ui/server.mjs +529 -43
- 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 -4576
|
@@ -3,6 +3,157 @@ name: mastermind-master
|
|
|
3
3
|
description: Mastermind top-level orchestrator — receives any business prompt, loads the brain, decomposes into domains, spawns domain manager agents via Task tool, synthesizes results, and writes back to the brain. The single entry point for full business automation.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
<SUBAGENT-STOP>
|
|
7
|
+
If you were dispatched as a subagent to execute a specific task, skip the MASTERMIND PROTOCOL section below and proceed directly to execution.
|
|
8
|
+
</SUBAGENT-STOP>
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## MASTERMIND PROTOCOL
|
|
13
|
+
|
|
14
|
+
<EXTREMELY-IMPORTANT>
|
|
15
|
+
Before ANY response or action — including clarifying questions — check whether a mastermind skill applies to what you are about to do.
|
|
16
|
+
|
|
17
|
+
IF A SKILL APPLIES TO YOUR TASK, YOU DO NOT HAVE A CHOICE. YOU MUST INVOKE IT.
|
|
18
|
+
|
|
19
|
+
This is not negotiable. This is not optional. You cannot rationalize your way out of this.
|
|
20
|
+
</EXTREMELY-IMPORTANT>
|
|
21
|
+
|
|
22
|
+
### Instruction Priority
|
|
23
|
+
|
|
24
|
+
Mastermind skills override default system prompt behavior, but **user instructions always take precedence**:
|
|
25
|
+
|
|
26
|
+
1. **User's explicit instructions** (CLAUDE.md, direct requests, `$ARGUMENTS`) — highest priority
|
|
27
|
+
2. **Mastermind skills** — override default behavior where they conflict
|
|
28
|
+
3. **Default system prompt** — lowest priority
|
|
29
|
+
|
|
30
|
+
If CLAUDE.md says "skip review" and the skill says "always review," follow the user's instructions.
|
|
31
|
+
|
|
32
|
+
### User Instructions vs. Skill Workflows
|
|
33
|
+
|
|
34
|
+
User instructions say **WHAT** to do, not **HOW** to do it. "Build X" or "Fix Y" is a goal statement — it does not mean skip Brain Load, skip review, or bypass the domain decomposition flow. The skills define the how. Always apply the workflow unless the user explicitly opts out.
|
|
35
|
+
|
|
36
|
+
### Command-to-Skill Routing
|
|
37
|
+
|
|
38
|
+
Invoke the matching skill **before** doing anything else. Even a 1% chance a skill applies means you must check.
|
|
39
|
+
|
|
40
|
+
```
|
|
41
|
+
digraph mastermind_routing {
|
|
42
|
+
"User command / prompt received" [shape=doublecircle];
|
|
43
|
+
"Brain already loaded?" [shape=diamond];
|
|
44
|
+
"Load brain (Brain Load Procedure)" [shape=box];
|
|
45
|
+
"Might a mastermind skill apply?" [shape=diamond];
|
|
46
|
+
"Invoke Skill() tool" [shape=box];
|
|
47
|
+
"Announce: Using [skill] for [purpose]" [shape=box];
|
|
48
|
+
"Execute skill exactly" [shape=box];
|
|
49
|
+
"Respond or act" [shape=doublecircle];
|
|
50
|
+
|
|
51
|
+
"User command / prompt received" -> "Brain already loaded?";
|
|
52
|
+
"Brain already loaded?" -> "Load brain (Brain Load Procedure)" [label="no"];
|
|
53
|
+
"Brain already loaded?" -> "Might a mastermind skill apply?" [label="yes"];
|
|
54
|
+
"Load brain (Brain Load Procedure)" -> "Might a mastermind skill apply?";
|
|
55
|
+
"Might a mastermind skill apply?" -> "Invoke Skill() tool" [label="yes, even 1%"];
|
|
56
|
+
"Might a mastermind skill apply?" -> "Respond or act" [label="definitely not"];
|
|
57
|
+
"Invoke Skill() tool" -> "Announce: Using [skill] for [purpose]";
|
|
58
|
+
"Announce: Using [skill] for [purpose]" -> "Has checklist?" [shape=diamond];
|
|
59
|
+
"Has checklist?" -> "Create TodoWrite item per checklist step" [label="yes"];
|
|
60
|
+
"Has checklist?" -> "Execute skill exactly" [label="no"];
|
|
61
|
+
"Create TodoWrite item per checklist step" -> "Execute skill exactly";
|
|
62
|
+
}
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
| Situation | Skill to invoke |
|
|
66
|
+
|---|---|
|
|
67
|
+
| Debug a bug, test failure, unexpected behavior | `Skill("mastermind:debug")` |
|
|
68
|
+
| Verify a claim — tests pass, feature works, fix resolved | `Skill("mastermind:verify")` |
|
|
69
|
+
| Write tests first, enforce Red-Green-Refactor | `Skill("mastermind:tdd")` |
|
|
70
|
+
| Write a structured implementation plan (no placeholders) | `Skill("mastermind:plan")` |
|
|
71
|
+
| Execute a written plan step-by-step with stop-on-blocker | `Skill("mastermind:execute")` |
|
|
72
|
+
| Execute a plan via fresh subagents with 2-stage review | `Skill("mastermind:taskdev")` |
|
|
73
|
+
| Design first — spec, approaches, approval gate before code | `Skill("mastermind:design")` |
|
|
74
|
+
| Build a feature, fix a bug, implement anything | `Skill("mastermind:build")` |
|
|
75
|
+
| Code review, content critique, strategy audit | `Skill("mastermind:review")` |
|
|
76
|
+
| Receive a code review and apply it correctly | `Skill("mastermind:receive-review")` |
|
|
77
|
+
| System architecture, DDD, technical design | `Skill("mastermind:architect")` |
|
|
78
|
+
| Market research, competitive analysis, user insights | `Skill("mastermind:research")` |
|
|
79
|
+
| Ideas, feature generation, opportunity framing | `Skill("mastermind:idea")` |
|
|
80
|
+
| Marketing campaign, copy, SEO | `Skill("mastermind:marketing")` |
|
|
81
|
+
| Sales outreach, proposals, pipeline | `Skill("mastermind:sales")` |
|
|
82
|
+
| Blog, docs, newsletters, threads | `Skill("mastermind:content")` |
|
|
83
|
+
| Versioning, changelogs, deployment | `Skill("mastermind:release")` |
|
|
84
|
+
| Finish a branch — tests, options menu, merge/PR/discard | `Skill("mastermind:finish")` |
|
|
85
|
+
| Workflow, process, reporting | `Skill("mastermind:ops")` |
|
|
86
|
+
| Invoicing, forecasting, cost | `Skill("mastermind:finance")` |
|
|
87
|
+
| Inspect or manage brain memory | `Skill("mastermind:brain")` |
|
|
88
|
+
| Technical portfolio, project state assessment | `Skill("mastermind:techport")` |
|
|
89
|
+
| Define/run an agent organization | `Skill("mastermind:createorg")` / `Skill("mastermind:runorg")` |
|
|
90
|
+
| Review and action pending agent approval requests | `Skill("mastermind:approve")` |
|
|
91
|
+
| Autonomous build + review until clean | `Skill("mastermind:autodev")` |
|
|
92
|
+
| Isolate work in a git worktree | `Skill("mastermind:worktree")` |
|
|
93
|
+
| Write or improve a mastermind skill | `Skill("mastermind:skill-builder")` |
|
|
94
|
+
|
|
95
|
+
### Skill Execution Order
|
|
96
|
+
|
|
97
|
+
When multiple skills could apply to a **single-skill invocation** (not a full mastermind:master multi-domain run):
|
|
98
|
+
|
|
99
|
+
1. **Process skills first** — brainstorming (`mastermind:idea`), architecture (`mastermind:architect`), research (`mastermind:research`) determine HOW to approach the work
|
|
100
|
+
2. **Execution skills second** — build, review, release execute the approach
|
|
101
|
+
|
|
102
|
+
"Let's build X" → `mastermind:architect` first if approach is unclear, then `mastermind:build`.
|
|
103
|
+
"Fix this" → `mastermind:research` to understand root cause if unknown, then `mastermind:build` to fix.
|
|
104
|
+
"Ship it" → `mastermind:review` to verify clean, then `mastermind:release`.
|
|
105
|
+
|
|
106
|
+
**Multi-domain runs (Steps 4–7 of this command):** Domain manager agents for different domains run concurrently — there is no enforced serial order between `build` and `architect` domain managers when both are active. The order above applies when you (the master) are choosing which single skill to invoke directly.
|
|
107
|
+
|
|
108
|
+
### Skill Types
|
|
109
|
+
|
|
110
|
+
**Rigid** (autodev, review with `--tillend`): Follow exactly. Do not skip review cycles. Do not stop early.
|
|
111
|
+
|
|
112
|
+
**Flexible** (idea, research, content): Adapt principles to context. Use judgment on scope.
|
|
113
|
+
|
|
114
|
+
The skill itself tells you which it is.
|
|
115
|
+
|
|
116
|
+
### Anti-Drift Guards
|
|
117
|
+
|
|
118
|
+
These thoughts mean **STOP** — you are rationalizing. Check for a skill first.
|
|
119
|
+
|
|
120
|
+
| Thought | Reality |
|
|
121
|
+
|---|---|
|
|
122
|
+
| "This is just a simple task" | Simple tasks define the floor. Check for skills. |
|
|
123
|
+
| "I need more context first" | Skill check comes BEFORE gathering context. |
|
|
124
|
+
| "Let me explore the codebase first" | Skills tell you HOW to explore. Check first. |
|
|
125
|
+
| "I can check git/files quickly before invoking a skill" | Files lack conversation context. Brain Load + skill check come first. |
|
|
126
|
+
| "Let me gather information first, then I'll check" | Skills tell you HOW to gather information. Check first. |
|
|
127
|
+
| "The brain isn't loaded yet — let me just answer" | Brain Load is the first step. Load it. |
|
|
128
|
+
| "This doesn't need a formal skill" | If a skill exists for this domain, use it. |
|
|
129
|
+
| "This doesn't count as a real task" | Action = task. Check for skills. |
|
|
130
|
+
| "I remember how this works" | Skills evolve. Read current version. Always. |
|
|
131
|
+
| "I know what that command does" | Knowing the concept ≠ invoking the skill. Invoke it. |
|
|
132
|
+
| "The skill is overkill for this" | Small tasks become complex. Use it. |
|
|
133
|
+
| "I'll just do this one thing first" | Check BEFORE doing anything. |
|
|
134
|
+
| "This feels productive" | Undisciplined action creates drift. Skills prevent this. |
|
|
135
|
+
| "Auto mode means I should move fast" | Speed without discipline creates drift. Use skills. |
|
|
136
|
+
| "The user said --auto, so I skip confirmation" | --auto skips user confirmation. It does NOT skip skill invocation. |
|
|
137
|
+
| "Spawned agents don't need to check skills" | Subagents that have Skill access MUST use it. Only subagents with the `<SUBAGENT-STOP>` gate may skip. |
|
|
138
|
+
|
|
139
|
+
### Mandatory Patterns
|
|
140
|
+
|
|
141
|
+
These sequences are non-negotiable in all modes:
|
|
142
|
+
|
|
143
|
+
- **Before building**: Load brain → `mastermind:design` if approach is unclear → `mastermind:plan` for complex work → then build
|
|
144
|
+
- **When fixing bugs**: `mastermind:debug` first (root cause) → write failing test via `mastermind:tdd` → fix → `mastermind:verify`
|
|
145
|
+
- **After building**: `mastermind:review` — at minimum one pass before reporting complete
|
|
146
|
+
- **Consuming a review**: `mastermind:receive-review` — verify before implementing, clarify unclear items first
|
|
147
|
+
- **After any run**: Brain Write Procedure — score decisions, append to AgentDB
|
|
148
|
+
- **Before releasing**: `mastermind:review --tillend --auto` → `mastermind:verify` → `mastermind:finish`
|
|
149
|
+
- **Isolated work**: `mastermind:worktree` before making changes to avoid contaminating main
|
|
150
|
+
|
|
151
|
+
### Platform Note
|
|
152
|
+
|
|
153
|
+
This command assumes **Claude Code** as the execution environment. The `Skill` tool is the primary mechanism for loading and invoking mastermind skills — never use the Read tool on skill files directly. Skill content is loaded and injected by the harness when you call `Skill("mastermind:name")`.
|
|
154
|
+
|
|
155
|
+
---
|
|
156
|
+
|
|
6
157
|
**If $ARGUMENTS is empty:** Output the capability menu below and wait.
|
|
7
158
|
|
|
8
159
|
---
|
|
@@ -13,15 +164,30 @@ Describe your goal. Mastermind identifies the relevant domains, spawns specialis
|
|
|
13
164
|
|
|
14
165
|
---
|
|
15
166
|
|
|
167
|
+
**Debug & quality**
|
|
168
|
+
`/mastermind:debug` — systematic root-cause investigation before any fix attempt
|
|
169
|
+
`/mastermind:verify` — confirm claims with evidence: tests pass, feature works, fix resolved
|
|
170
|
+
`/mastermind:tdd` — enforce Red-Green-Refactor; no production code before failing test
|
|
171
|
+
|
|
172
|
+
**Plan & execute**
|
|
173
|
+
`/mastermind:design` — brainstorm, propose approaches, write approved spec before building
|
|
174
|
+
`/mastermind:plan` — write a complete implementation plan (no placeholders, exact file paths)
|
|
175
|
+
`/mastermind:execute` — run a written plan step-by-step with stop-on-blocker discipline
|
|
176
|
+
`/mastermind:taskdev` — execute a plan via fresh subagents with two-stage per-task review
|
|
177
|
+
`/mastermind:finish` — complete a branch: verify tests → options menu → merge/PR/keep/discard
|
|
178
|
+
|
|
16
179
|
**Build & ship**
|
|
17
180
|
`/mastermind:build` — code, features, bug fixes, test suites
|
|
18
181
|
`/mastermind:architect` — system structure, DDD, deduplication, migration (`--scope review|design|deduplicate|migrate|all`)
|
|
19
182
|
`/mastermind:idea` — products, features, pivots, opportunity framing
|
|
20
183
|
`/mastermind:content` — blog, threads, documentation, newsletters
|
|
21
184
|
|
|
185
|
+
**Review & improve**
|
|
186
|
+
`/mastermind:review` — code quality, content critique, strategy audit
|
|
187
|
+
`/mastermind:receive-review` — consume a code review correctly: verify, clarify, push back with evidence
|
|
188
|
+
|
|
22
189
|
**Understand & decide**
|
|
23
190
|
`/mastermind:research` — market intelligence, competitors, user insights
|
|
24
|
-
`/mastermind:review` — code quality, content critique, strategy audit
|
|
25
191
|
`/mastermind:brain` — inspect and manage business memory
|
|
26
192
|
|
|
27
193
|
**Go to market & operate**
|
|
@@ -34,6 +200,13 @@ Describe your goal. Mastermind identifies the relevant domains, spawns specialis
|
|
|
34
200
|
**Persistent agent orgs** — named teams that coordinate across sessions
|
|
35
201
|
`/mastermind:createorg` — define an org: roles, hierarchy, goal
|
|
36
202
|
`/mastermind:runorg` — start a saved org; boss agent assigns work to all roles
|
|
203
|
+
`/mastermind:approve` — review and action pending approval requests from running org agents
|
|
204
|
+
|
|
205
|
+
**Autonomous & advanced**
|
|
206
|
+
`/mastermind:autodev` — research → build → review loop until clean (`--tillend` supported)
|
|
207
|
+
`/mastermind:techport` — technical portfolio assessment; port capabilities from other projects
|
|
208
|
+
`/mastermind:worktree` — isolate work in a git worktree safely
|
|
209
|
+
`/mastermind:skill-builder` — write or improve a mastermind skill with TDD discipline
|
|
37
210
|
|
|
38
211
|
---
|
|
39
212
|
Flags: `--auto` · `--confirm` · `--project <name>` · `--iterate <N>`
|
|
@@ -722,10 +895,10 @@ Log this as a decision in the cycle's output schema with `confidence` set accord
|
|
|
722
895
|
|
|
723
896
|
#### 12c — Execute
|
|
724
897
|
|
|
725
|
-
Execute the chosen activity by invoking the appropriate domain skill via the `Skill` tool (Steps 4–10 of the main flow, condensed). Use `Skill("mastermind:<domain>")` — do NOT use slash command syntax (`/<name>`), which only works in the Claude Code CLI
|
|
898
|
+
Execute the chosen activity by invoking the appropriate domain skill via the `Skill` tool (Steps 4–10 of the main flow, condensed). Use `Skill("mastermind:<domain>")` — do NOT use slash command syntax (`/<name>`), which only works when typed interactively in the Claude Code CLI, not within an executing command or skill:
|
|
726
899
|
|
|
727
|
-
- Test → `Skill("mastermind:
|
|
728
|
-
- Debug/Fix → `Skill("mastermind:
|
|
900
|
+
- Test → `Skill("mastermind:tdd")` with the untested artifacts as prompt (enforce Red-Green-Refactor)
|
|
901
|
+
- Debug/Fix → `Skill("mastermind:debug")` with the failing test or error as prompt (root-cause first, then fix)
|
|
729
902
|
- Review → `Skill("mastermind:review")` with scope = artifacts from last run
|
|
730
903
|
- Improve/Refactor → `Skill("mastermind:build")` with refactor prompt
|
|
731
904
|
- Add feature → `Skill("mastermind:build")` with the next feature from the `next_actions` array printed by the Step 12a output above
|
|
@@ -733,9 +906,16 @@ Execute the chosen activity by invoking the appropriate domain skill via the `Sk
|
|
|
733
906
|
- Content/Docs → `Skill("mastermind:content")` with scope = new artifacts
|
|
734
907
|
- Release → `Skill("mastermind:release")` with project scope
|
|
735
908
|
|
|
736
|
-
Always pass: the current brain_context, project_name (from the `project_name` field above), the relevant board_id
|
|
909
|
+
Always pass: the current brain_context, project_name (from the `project_name` field above), the relevant board_id, and mode = auto (iteration cycles never pause for confirmation).
|
|
910
|
+
|
|
911
|
+
**Board ID lookup per activity:**
|
|
912
|
+
- `tdd`, `debug`, `Improve/Refactor`, `Add feature` → use `board_ids['build']` (these are build-domain activities)
|
|
913
|
+
- `review` → use `board_ids['review']`; fallback to `board_ids['build']` if not present
|
|
914
|
+
- `research` → use `board_ids['research']`; fallback to `board_ids['build']`
|
|
915
|
+
- `content` → use `board_ids['content']`; fallback to `board_ids['build']`
|
|
916
|
+
- `release` → use `board_ids['release']`; fallback to `board_ids['build']`
|
|
737
917
|
|
|
738
|
-
**Constraint:** Only invoke
|
|
918
|
+
**Constraint:** Only invoke a skill whose domain board_id exists in the `board_ids` map. If `board_ids['build']` is missing (rare), skip to the next activity whose board IS present. `build` is almost always present.
|
|
739
919
|
|
|
740
920
|
#### 12d — Brain Write
|
|
741
921
|
|
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mastermind-memory
|
|
3
|
+
description: AgentDB memory system — store, search, retrieve, list, delete, and manage cross-session persistent memory with vector embeddings
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Monomind Memory System
|
|
7
|
+
|
|
8
|
+
Persistent memory backed by AgentDB with HNSW vector indexing for semantic search (150x-12,500x faster than brute-force). Supports cross-session and cross-agent collaboration.
|
|
9
|
+
|
|
10
|
+
## Subcommands
|
|
11
|
+
|
|
12
|
+
| Subcommand | Alias | Description |
|
|
13
|
+
|---|---|---|
|
|
14
|
+
| `init` | — | Initialize memory database (sql.js + AgentDB) |
|
|
15
|
+
| `store` | — | Store a key/value entry |
|
|
16
|
+
| `edit` | — | Edit an existing entry |
|
|
17
|
+
| `retrieve` | `get` | Retrieve entry by key |
|
|
18
|
+
| `search` | — | Semantic/vector search |
|
|
19
|
+
| `list` | `ls` | List memory entries |
|
|
20
|
+
| `delete` | `rm` | Delete an entry |
|
|
21
|
+
| `templates` | — | Show best-practice entry templates |
|
|
22
|
+
| `stats` | — | Show memory statistics |
|
|
23
|
+
| `configure` | `config` | Configure memory backend |
|
|
24
|
+
| `cleanup` | — | Clean expired/stale entries |
|
|
25
|
+
| `compress` | — | Compress and optimize storage |
|
|
26
|
+
| `export` | — | Export memory to file |
|
|
27
|
+
| `import` | — | Import memory from file |
|
|
28
|
+
|
|
29
|
+
## init — Initialize Database
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
npx monomind memory init
|
|
33
|
+
npx monomind memory init --backend agentdb --verbose --verify
|
|
34
|
+
npx monomind memory init --force # Overwrite existing
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
**Flags:** `--backend hybrid|sqlite|agentdb` (default: `hybrid`), `--path`, `--force`, `--verbose`, `--verify` (default: true), `--load-embeddings`
|
|
38
|
+
|
|
39
|
+
## store — Store Data
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
# Store with specific namespace
|
|
43
|
+
npx monomind memory store --key "arch/api-design" --value "RESTful microservices" --namespace arch
|
|
44
|
+
|
|
45
|
+
# With tags and TTL
|
|
46
|
+
npx monomind memory store --key "pattern/auth" --value "JWT + refresh tokens" --namespace patterns --tags "auth,security" --ttl 86400
|
|
47
|
+
|
|
48
|
+
# Upsert (update if exists)
|
|
49
|
+
npx monomind memory store --key "bug/null-check" --value "Fixed null check in parser" --upsert
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
**Flags:**
|
|
53
|
+
|
|
54
|
+
| Flag | Short | Default | Description |
|
|
55
|
+
|---|---|---|---|
|
|
56
|
+
| `--key` | `-k` | — | Storage key (required) |
|
|
57
|
+
| `--value` | — | — | Value to store (required) |
|
|
58
|
+
| `--namespace` | `-n` | `default` | Memory namespace |
|
|
59
|
+
| `--ttl` | — | — | Time to live in seconds |
|
|
60
|
+
| `--tags` | — | — | Comma-separated tags |
|
|
61
|
+
| `--vector` | — | `false` | Store as vector embedding |
|
|
62
|
+
| `--upsert` | `-u` | `false` | Update if key exists |
|
|
63
|
+
|
|
64
|
+
## search — Semantic Search
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
# Semantic search (default)
|
|
68
|
+
npx monomind memory search --query "authentication patterns"
|
|
69
|
+
|
|
70
|
+
# Keyword search
|
|
71
|
+
npx monomind memory search --query "JWT" --type keyword
|
|
72
|
+
|
|
73
|
+
# Hybrid search with namespace filter
|
|
74
|
+
npx monomind memory search --query "error handling" --namespace patterns --limit 5
|
|
75
|
+
|
|
76
|
+
# Build HNSW index first for max speed
|
|
77
|
+
npx monomind memory search --query "API design" --build-hnsw
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
**Flags:**
|
|
81
|
+
|
|
82
|
+
| Flag | Short | Default | Description |
|
|
83
|
+
|---|---|---|---|
|
|
84
|
+
| `--query` | `-q` | — | Search query (required) |
|
|
85
|
+
| `--namespace` | `-n` | all | Filter by namespace |
|
|
86
|
+
| `--limit` | `-l` | `10` | Maximum results |
|
|
87
|
+
| `--threshold` | — | `0.7` | Similarity threshold (0-1) |
|
|
88
|
+
| `--type` | `-t` | `semantic` | `semantic`, `keyword`, `hybrid` |
|
|
89
|
+
| `--build-hnsw` | — | `false` | Rebuild HNSW index before search |
|
|
90
|
+
|
|
91
|
+
## retrieve — Get by Key
|
|
92
|
+
|
|
93
|
+
```bash
|
|
94
|
+
npx monomind memory retrieve --key "arch/api-design"
|
|
95
|
+
npx monomind memory retrieve --key "pattern/auth" --namespace patterns
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
**Flags:** `--key/-k` (required), `--namespace/-n` (default: `default`)
|
|
99
|
+
|
|
100
|
+
## list — Browse Entries
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
npx monomind memory list
|
|
104
|
+
npx monomind memory list --namespace patterns --limit 20
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
**Flags:** `--namespace/-n`, `--limit/-l` (default: `20`)
|
|
108
|
+
|
|
109
|
+
## delete — Remove Entry
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
npx monomind memory delete --key "old-pattern"
|
|
113
|
+
npx monomind memory delete --key "temp-key" --namespace temp --force
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
**Flags:** `--key/-k` (required), `--namespace/-n` (default: `default`), `--force/-f` (skip confirmation)
|
|
117
|
+
|
|
118
|
+
## templates — Entry Templates
|
|
119
|
+
|
|
120
|
+
```bash
|
|
121
|
+
npx monomind memory templates
|
|
122
|
+
npx monomind memory templates --type feedback
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
Types: `user`, `feedback`, `project`, `reference` — scaffolds for the auto-memory format.
|
|
126
|
+
|
|
127
|
+
## stats — Storage Overview
|
|
128
|
+
|
|
129
|
+
```bash
|
|
130
|
+
npx monomind memory stats
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
Shows backend, total entries, storage size, oldest/newest entry.
|
|
134
|
+
|
|
135
|
+
## configure — Backend Settings
|
|
136
|
+
|
|
137
|
+
```bash
|
|
138
|
+
npx monomind memory configure --backend agentdb
|
|
139
|
+
npx monomind memory configure --backend hybrid --cache-size 512 --hnsw-m 16 --hnsw-ef 200
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
**Flags:** `--backend/-b`, `--path`, `--cache-size`, `--hnsw-m`, `--hnsw-ef`
|
|
143
|
+
|
|
144
|
+
## cleanup — Remove Stale Entries
|
|
145
|
+
|
|
146
|
+
```bash
|
|
147
|
+
# Preview without deleting
|
|
148
|
+
npx monomind memory cleanup --dry-run
|
|
149
|
+
|
|
150
|
+
# Delete entries older than 30 days
|
|
151
|
+
npx monomind memory cleanup --older-than 30d
|
|
152
|
+
|
|
153
|
+
# Remove expired TTL entries only
|
|
154
|
+
npx monomind memory cleanup --expired-only
|
|
155
|
+
|
|
156
|
+
# Clean specific namespace
|
|
157
|
+
npx monomind memory cleanup --namespace temp --older-than 7d --force
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
**Flags:** `--dry-run/-d`, `--older-than/-o` (e.g., `7d`, `30d`), `--expired-only/-e`, `--namespace/-n`, `--force/-f`
|
|
161
|
+
|
|
162
|
+
## compress — Optimize Storage
|
|
163
|
+
|
|
164
|
+
```bash
|
|
165
|
+
npx monomind memory compress
|
|
166
|
+
npx monomind memory compress --quantize --bits 4 # 32x size reduction
|
|
167
|
+
npx monomind memory compress --level max --target vectors
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
**Flags:** `--level fast|balanced|max` (default: `balanced`), `--target vectors|text|patterns|all`, `--quantize/-z`, `--bits 4|8|16`, `--rebuild-index/-r` (default: true)
|
|
171
|
+
|
|
172
|
+
## export / import
|
|
173
|
+
|
|
174
|
+
```bash
|
|
175
|
+
# Export all to JSON
|
|
176
|
+
npx monomind memory export --output ./backup.json
|
|
177
|
+
|
|
178
|
+
# Export specific namespace to CSV
|
|
179
|
+
npx monomind memory export --output ./patterns.csv --format csv --namespace patterns
|
|
180
|
+
|
|
181
|
+
# Import
|
|
182
|
+
npx monomind memory import --input ./backup.json
|
|
183
|
+
npx monomind memory import --input ./backup.json --namespace archive
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
## Namespaces
|
|
187
|
+
|
|
188
|
+
`default`, `agents`, `tasks`, `sessions`, `swarm`, `project`, `spec`, `arch`, `impl`, `test`, `debug`, `patterns`, `solutions`
|
|
189
|
+
|
|
190
|
+
## MCP Tools
|
|
191
|
+
|
|
192
|
+
```javascript
|
|
193
|
+
// Store
|
|
194
|
+
mcp__monomind__memory_store({ key: "pattern/auth", value: "JWT + refresh", namespace: "patterns" })
|
|
195
|
+
|
|
196
|
+
// Search
|
|
197
|
+
mcp__monomind__memory_search({ query: "authentication", namespace: "patterns" })
|
|
198
|
+
|
|
199
|
+
// Retrieve
|
|
200
|
+
mcp__monomind__memory_retrieve({ key: "pattern/auth", namespace: "patterns" })
|
|
201
|
+
|
|
202
|
+
// List
|
|
203
|
+
mcp__monomind__memory_list({ namespace: "patterns" })
|
|
204
|
+
|
|
205
|
+
// Delete
|
|
206
|
+
mcp__monomind__memory_delete({ key: "pattern/auth", namespace: "patterns" })
|
|
207
|
+
|
|
208
|
+
// Stats
|
|
209
|
+
mcp__monomind__memory_stats({})
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
## Common Workflows
|
|
213
|
+
|
|
214
|
+
### Store successful pattern after completing a task
|
|
215
|
+
|
|
216
|
+
```bash
|
|
217
|
+
npx monomind memory store --key "pattern/oauth-integration" --value "Use PKCE flow, store tokens in httpOnly cookies" --namespace patterns --tags "auth,oauth"
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
### Search before starting a task
|
|
221
|
+
|
|
222
|
+
```bash
|
|
223
|
+
npx monomind memory search --query "OAuth integration patterns" --namespace patterns --limit 5
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
### Backup before major refactor
|
|
227
|
+
|
|
228
|
+
```bash
|
|
229
|
+
npx monomind memory export --output "./backups/memory-$(date +%Y%m%d).json"
|
|
230
|
+
```
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mastermind-plan
|
|
3
|
+
description: Write a comprehensive implementation plan from a spec or requirements. Saves to docs/mastermind/plans/. Default mode: confirm.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `_repeat.md`. Extracts `--repeat`, `--tillend`, `--maxruns`, `--wait`, `--rep`, `--loop` from `$ARGUMENTS` before all other parsing. If `is_continuation = true`, skip the empty-prompt check and intake below.
|
|
7
|
+
|
|
8
|
+
Parse `$ARGUMENTS` for:
|
|
9
|
+
- `--auto` flag → mode = auto
|
|
10
|
+
- `--confirm` flag → mode = confirm
|
|
11
|
+
- `--project <name>` → project_name = <name>
|
|
12
|
+
- Remaining text = spec description or path to spec file
|
|
13
|
+
|
|
14
|
+
If spec is empty: ask "What would you like a plan for? (provide a spec, requirements, or feature description)"
|
|
15
|
+
|
|
16
|
+
Load brain context (follow `_protocol.md` Brain Load Procedure).
|
|
17
|
+
|
|
18
|
+
Default mode: **confirm** (unless `--auto` flag is present).
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
Invoke `Skill("mastermind:plan")` passing: brain_context, params, project_name, mode.
|
|
23
|
+
|
|
24
|
+
After skill returns: follow `_protocol.md` Brain Write Procedure.
|
|
25
|
+
|
|
26
|
+
Invoke `Skill("mastermind:_repeat")` now to execute the REPEAT POSTAMBLE. This is a required tool call — do not skip it.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mastermind-receive-review
|
|
3
|
+
description: Use when receiving code review feedback to evaluate and implement it with technical rigor — verifies before implementing, clarifies unclear items first, applies reasoned pushback when warranted
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
**First — extract repeat flags:** Follow REPEAT PREAMBLE from `_repeat.md`.
|
|
7
|
+
|
|
8
|
+
Parse `$ARGUMENTS` for `--auto`, `--confirm`, `--project <name>`, and remaining text.
|
|
9
|
+
|
|
10
|
+
Load brain context (follow `_protocol.md` Brain Load Procedure).
|
|
11
|
+
|
|
12
|
+
Default mode: **confirm**.
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
Invoke `Skill("mastermind:receive-review")` passing: brain_context, params, mode.
|
|
17
|
+
|
|
18
|
+
After skill returns: follow `_protocol.md` Brain Write Procedure.
|
|
19
|
+
|
|
20
|
+
Invoke `Skill("mastermind:_repeat")` now. Required — do not skip.
|