monomind 1.16.6 → 1.16.8
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/package.json +3 -1
- package/packages/@monomind/cli/.claude/agents/architecture/system-design/arch-system-design.md +54 -0
- package/packages/@monomind/cli/.claude/agents/consensus/crdt-synchronizer.md +977 -0
- package/packages/@monomind/cli/.claude/agents/consensus/quorum-manager.md +803 -0
- package/packages/@monomind/cli/.claude/agents/consensus/security-manager.md +602 -0
- package/packages/@monomind/cli/.claude/agents/core/coder.md +262 -0
- package/packages/@monomind/cli/.claude/agents/core/coordinator.md +71 -0
- package/packages/@monomind/cli/.claude/agents/core/planner.md +170 -0
- package/packages/@monomind/cli/.claude/agents/core/researcher.md +192 -0
- package/packages/@monomind/cli/.claude/agents/core/reviewer.md +327 -0
- package/packages/@monomind/cli/.claude/agents/core/tester.md +318 -0
- package/packages/@monomind/cli/.claude/agents/design/design-monodesign.md +121 -0
- package/packages/@monomind/cli/.claude/agents/engineering/engineering-ai-data-remediation-engineer.md +212 -0
- package/packages/@monomind/cli/.claude/agents/engineering/engineering-ai-engineer.md +165 -0
- package/packages/@monomind/cli/.claude/agents/engineering/engineering-autonomous-optimization-architect.md +108 -0
- package/packages/@monomind/cli/.claude/agents/engineering/engineering-backend-architect.md +254 -0
- package/packages/@monomind/cli/.claude/agents/engineering/engineering-code-reviewer.md +95 -0
- package/packages/@monomind/cli/.claude/agents/engineering/engineering-data-engineer.md +307 -0
- package/packages/@monomind/cli/.claude/agents/engineering/engineering-database-optimizer.md +200 -0
- package/packages/@monomind/cli/.claude/agents/engineering/engineering-devops-automator.md +430 -0
- package/packages/@monomind/cli/.claude/agents/engineering/engineering-embedded-firmware-engineer.md +174 -0
- package/packages/@monomind/cli/.claude/agents/engineering/engineering-feishu-integration-developer.md +607 -0
- package/packages/@monomind/cli/.claude/agents/engineering/engineering-frontend-developer.md +249 -0
- package/packages/@monomind/cli/.claude/agents/engineering/engineering-git-workflow-master.md +108 -0
- package/packages/@monomind/cli/.claude/agents/engineering/engineering-incident-response-commander.md +482 -0
- package/packages/@monomind/cli/.claude/agents/engineering/engineering-mobile-app-builder.md +499 -0
- package/packages/@monomind/cli/.claude/agents/engineering/engineering-rapid-prototyper.md +463 -0
- package/packages/@monomind/cli/.claude/agents/engineering/engineering-security-engineer.md +303 -0
- package/packages/@monomind/cli/.claude/agents/engineering/engineering-senior-developer.md +195 -0
- package/packages/@monomind/cli/.claude/agents/engineering/engineering-software-architect.md +100 -0
- package/packages/@monomind/cli/.claude/agents/engineering/engineering-solidity-smart-contract-engineer.md +528 -0
- package/packages/@monomind/cli/.claude/agents/engineering/engineering-sre.md +114 -0
- package/packages/@monomind/cli/.claude/agents/engineering/engineering-technical-writer.md +412 -0
- package/packages/@monomind/cli/.claude/agents/engineering/engineering-threat-detection-engineer.md +540 -0
- package/packages/@monomind/cli/.claude/agents/engineering/engineering-wechat-mini-program-developer.md +351 -0
- package/packages/@monomind/cli/.claude/agents/generated/case-analyst.md +50 -0
- package/packages/@monomind/cli/.claude/agents/generated/channel-intelligence-director.md +87 -0
- package/packages/@monomind/cli/.claude/agents/generated/chief-growth-officer.md +88 -0
- package/packages/@monomind/cli/.claude/agents/generated/churn-analyst.md +53 -0
- package/packages/@monomind/cli/.claude/agents/generated/code-reviewer.md +55 -0
- package/packages/@monomind/cli/.claude/agents/generated/code-validator.md +57 -0
- package/packages/@monomind/cli/.claude/agents/generated/complexity-scanner.md +56 -0
- package/packages/@monomind/cli/.claude/agents/generated/content-seo-strategist.md +90 -0
- package/packages/@monomind/cli/.claude/agents/generated/copy-editor.md +45 -0
- package/packages/@monomind/cli/.claude/agents/generated/court-reporter.md +50 -0
- package/packages/@monomind/cli/.claude/agents/generated/defender.md +51 -0
- package/packages/@monomind/cli/.claude/agents/generated/devbot-orchestrator.md +58 -0
- package/packages/@monomind/cli/.claude/agents/generated/devbot-planner.md +63 -0
- package/packages/@monomind/cli/.claude/agents/generated/developer-community-strategist.md +91 -0
- package/packages/@monomind/cli/.claude/agents/generated/editor-in-chief.md +45 -0
- package/packages/@monomind/cli/.claude/agents/generated/fact-checker.md +45 -0
- package/packages/@monomind/cli/.claude/agents/generated/impact-assessor.md +54 -0
- package/packages/@monomind/cli/.claude/agents/generated/judge.md +51 -0
- package/packages/@monomind/cli/.claude/agents/generated/outreach-partnership-strategist.md +90 -0
- package/packages/@monomind/cli/.claude/agents/generated/prosecutor.md +51 -0
- package/packages/@monomind/cli/.claude/agents/generated/reporter.md +45 -0
- package/packages/@monomind/cli/.claude/agents/generated/social-media-strategist.md +91 -0
- package/packages/@monomind/cli/.claude/agents/generated/video-visual-strategist.md +90 -0
- package/packages/@monomind/cli/.claude/agents/github/code-review-swarm.md +557 -0
- package/packages/@monomind/cli/.claude/agents/github/github-modes.md +154 -0
- package/packages/@monomind/cli/.claude/agents/github/issue-tracker.md +299 -0
- package/packages/@monomind/cli/.claude/agents/github/multi-repo-swarm.md +525 -0
- package/packages/@monomind/cli/.claude/agents/github/pr-manager.md +163 -0
- package/packages/@monomind/cli/.claude/agents/github/project-board-sync.md +478 -0
- package/packages/@monomind/cli/.claude/agents/github/release-manager.md +296 -0
- package/packages/@monomind/cli/.claude/agents/github/repo-architect.md +359 -0
- package/packages/@monomind/cli/.claude/agents/github/swarm-issue.md +548 -0
- package/packages/@monomind/cli/.claude/agents/github/swarm-pr.md +427 -0
- package/packages/@monomind/cli/.claude/agents/github/sync-coordinator.md +355 -0
- package/packages/@monomind/cli/.claude/agents/github/workflow-automation.md +640 -0
- package/packages/@monomind/cli/.claude/agents/goal/goal-planner.md +168 -0
- package/packages/@monomind/cli/.claude/agents/hive-mind/collective-intelligence-coordinator.md +129 -0
- package/packages/@monomind/cli/.claude/agents/hive-mind/queen-coordinator.md +202 -0
- package/packages/@monomind/cli/.claude/agents/hive-mind/scout-explorer.md +241 -0
- package/packages/@monomind/cli/.claude/agents/hive-mind/swarm-memory-manager.md +192 -0
- package/packages/@monomind/cli/.claude/agents/hive-mind/worker-specialist.md +216 -0
- package/packages/@monomind/cli/.claude/agents/marketing/marketing-competitive-content.md +155 -0
- package/packages/@monomind/cli/.claude/agents/marketing/marketing-cro-specialist.md +147 -0
- package/packages/@monomind/cli/.claude/agents/marketing/marketing-email-specialist.md +90 -0
- package/packages/@monomind/cli/.claude/agents/marketing/marketing-launch-strategist.md +129 -0
- package/packages/@monomind/cli/.claude/agents/marketing/marketing-pricing-strategist.md +127 -0
- package/packages/@monomind/cli/.claude/agents/optimization/benchmark-suite.md +665 -0
- package/packages/@monomind/cli/.claude/agents/optimization/load-balancer.md +431 -0
- package/packages/@monomind/cli/.claude/agents/optimization/performance-monitor.md +672 -0
- package/packages/@monomind/cli/.claude/agents/optimization/resource-allocator.md +674 -0
- package/packages/@monomind/cli/.claude/agents/optimization/topology-optimizer.md +808 -0
- package/packages/@monomind/cli/.claude/agents/reengineer-squad/boss.md +113 -0
- package/packages/@monomind/cli/.claude/agents/reengineer-squad/critic-architect.md +132 -0
- package/packages/@monomind/cli/.claude/agents/reengineer-squad/git-manager.md +145 -0
- package/packages/@monomind/cli/.claude/agents/reengineer-squad/idea-generator.md +95 -0
- package/packages/@monomind/cli/.claude/agents/reengineer-squad/implementer.md +112 -0
- package/packages/@monomind/cli/.claude/agents/reengineer-squad/integration-planner.md +112 -0
- package/packages/@monomind/cli/.claude/agents/reengineer-squad/source-analyst.md +103 -0
- package/packages/@monomind/cli/.claude/agents/reengineer-squad/target-analyst.md +118 -0
- package/packages/@monomind/cli/.claude/agents/reengineer-squad/tester.md +105 -0
- package/packages/@monomind/cli/.claude/agents/schemas/architecture-output.json +43 -0
- package/packages/@monomind/cli/.claude/agents/schemas/code-review-output.json +28 -0
- package/packages/@monomind/cli/.claude/agents/schemas/generic-task-input.json +12 -0
- package/packages/@monomind/cli/.claude/agents/schemas/implementation-output.json +18 -0
- package/packages/@monomind/cli/.claude/agents/schemas/research-output.json +31 -0
- package/packages/@monomind/cli/.claude/agents/schemas/security-audit-output.json +29 -0
- package/packages/@monomind/cli/.claude/agents/schemas/test-report-output.json +29 -0
- package/packages/@monomind/cli/.claude/agents/sparc/architecture.md +453 -0
- package/packages/@monomind/cli/.claude/agents/sparc/pseudocode.md +299 -0
- package/packages/@monomind/cli/.claude/agents/sparc/refinement.md +504 -0
- package/packages/@monomind/cli/.claude/agents/sparc/specification.md +258 -0
- package/packages/@monomind/cli/.claude/agents/specialists/integration-architect.md +94 -0
- package/packages/@monomind/cli/.claude/agents/specialized/agentic-identity-trust.md +388 -0
- package/packages/@monomind/cli/.claude/agents/specialized/agents-orchestrator.md +368 -0
- package/packages/@monomind/cli/.claude/agents/specialized/automation-governance-architect.md +217 -0
- package/packages/@monomind/cli/.claude/agents/specialized/blockchain-security-auditor.md +497 -0
- package/packages/@monomind/cli/.claude/agents/specialized/compliance-auditor.md +159 -0
- package/packages/@monomind/cli/.claude/agents/specialized/identity-graph-operator.md +261 -0
- package/packages/@monomind/cli/.claude/agents/specialized/lsp-index-engineer.md +315 -0
- package/packages/@monomind/cli/.claude/agents/specialized/mobile/spec-mobile-react-native.md +89 -0
- package/packages/@monomind/cli/.claude/agents/specialized/specialized-cultural-intelligence-strategist.md +89 -0
- package/packages/@monomind/cli/.claude/agents/specialized/specialized-developer-advocate.md +318 -0
- package/packages/@monomind/cli/.claude/agents/specialized/specialized-document-generator.md +56 -0
- package/packages/@monomind/cli/.claude/agents/specialized/specialized-mcp-builder.md +64 -0
- package/packages/@monomind/cli/.claude/agents/specialized/specialized-model-qa.md +489 -0
- package/packages/@monomind/cli/.claude/agents/specialized/specialized-workflow-architect.md +598 -0
- package/packages/@monomind/cli/.claude/agents/specialized/zk-steward.md +212 -0
- package/packages/@monomind/cli/.claude/agents/swarm/mesh-coordinator.md +363 -0
- package/packages/@monomind/cli/.claude/agents/templates/automation-smart-agent.md +185 -0
- package/packages/@monomind/cli/.claude/agents/templates/coordinator-swarm-init.md +83 -0
- package/packages/@monomind/cli/.claude/agents/templates/implementer-sparc-coder.md +231 -0
- package/packages/@monomind/cli/.claude/agents/testing/production-validator.md +374 -0
- package/packages/@monomind/cli/.claude/agents/testing/tdd-london-swarm.md +241 -0
- package/packages/@monomind/cli/.claude/agents/testing/testing-accessibility-auditor.md +322 -0
- package/packages/@monomind/cli/.claude/agents/testing/testing-api-tester.md +307 -0
- package/packages/@monomind/cli/.claude/agents/testing/testing-evidence-collector.md +211 -0
- package/packages/@monomind/cli/.claude/agents/testing/testing-performance-benchmarker.md +269 -0
- package/packages/@monomind/cli/.claude/agents/testing/testing-test-results-analyzer.md +306 -0
- package/packages/@monomind/cli/.claude/agents/testing/testing-tool-evaluator.md +395 -0
- package/packages/@monomind/cli/.claude/agents/testing/testing-workflow-optimizer.md +451 -0
- package/packages/@monomind/cli/.claude/commands/agents/README.md +14 -0
- package/packages/@monomind/cli/.claude/commands/agents/agent-capabilities.md +25 -0
- package/packages/@monomind/cli/.claude/commands/agents/agent-coordination.md +32 -0
- package/packages/@monomind/cli/.claude/commands/agents/agent-spawning.md +32 -0
- package/packages/@monomind/cli/.claude/commands/agents/agent-types.md +30 -0
- package/packages/@monomind/cli/.claude/commands/analysis/README.md +18 -0
- package/packages/@monomind/cli/.claude/commands/analysis/bottleneck-detect.md +69 -0
- package/packages/@monomind/cli/.claude/commands/analysis/performance-bottlenecks.md +59 -0
- package/packages/@monomind/cli/.claude/commands/analysis/performance-report.md +52 -0
- package/packages/@monomind/cli/.claude/commands/analysis/token-usage.md +47 -0
- package/packages/@monomind/cli/.claude/commands/automation/README.md +19 -0
- package/packages/@monomind/cli/.claude/commands/automation/auto-agent.md +86 -0
- package/packages/@monomind/cli/.claude/commands/automation/self-healing.md +108 -0
- package/packages/@monomind/cli/.claude/commands/automation/session-memory.md +89 -0
- package/packages/@monomind/cli/.claude/commands/automation/smart-agents.md +81 -0
- package/packages/@monomind/cli/.claude/commands/automation/smart-spawn.md +66 -0
- package/packages/@monomind/cli/.claude/commands/automation/workflow-select.md +60 -0
- package/packages/@monomind/cli/.claude/commands/coordination/README.md +13 -0
- package/packages/@monomind/cli/.claude/commands/coordination/agent-spawn.md +69 -0
- package/packages/@monomind/cli/.claude/commands/coordination/swarm-init.md +82 -0
- package/packages/@monomind/cli/.claude/commands/coordination/task-orchestrate.md +79 -0
- package/packages/@monomind/cli/.claude/commands/github/README.md +24 -0
- package/packages/@monomind/cli/.claude/commands/github/github-modes.md +151 -0
- package/packages/@monomind/cli/.claude/commands/github/issue-tracker.md +293 -0
- package/packages/@monomind/cli/.claude/commands/github/pr-manager.md +173 -0
- package/packages/@monomind/cli/.claude/commands/github/release-manager.md +343 -0
- package/packages/@monomind/cli/.claude/commands/github/repo-architect.md +379 -0
- package/packages/@monomind/cli/.claude/commands/github/sync-coordinator.md +297 -0
- package/packages/@monomind/cli/.claude/commands/hive-mind/README.md +42 -0
- package/packages/@monomind/cli/.claude/commands/hive-mind/hive-mind-consensus.md +72 -0
- package/packages/@monomind/cli/.claude/commands/hive-mind/hive-mind-init.md +68 -0
- package/packages/@monomind/cli/.claude/commands/hive-mind/hive-mind-memory.md +73 -0
- package/packages/@monomind/cli/.claude/commands/hive-mind/hive-mind-spawn.md +82 -0
- package/packages/@monomind/cli/.claude/commands/hive-mind/hive-mind-status.md +56 -0
- package/packages/@monomind/cli/.claude/commands/hive-mind/hive-mind-stop.md +55 -0
- package/packages/@monomind/cli/.claude/commands/hive-mind/hive-mind.md +87 -0
- package/packages/@monomind/cli/.claude/commands/hooks/README.md +66 -0
- package/packages/@monomind/cli/.claude/commands/hooks/overview.md +117 -0
- package/packages/@monomind/cli/.claude/commands/hooks/post-edit.md +78 -0
- package/packages/@monomind/cli/.claude/commands/hooks/post-task.md +62 -0
- package/packages/@monomind/cli/.claude/commands/hooks/pre-edit.md +81 -0
- package/packages/@monomind/cli/.claude/commands/hooks/pre-task.md +76 -0
- package/packages/@monomind/cli/.claude/commands/hooks/session-end.md +82 -0
- package/packages/@monomind/cli/.claude/commands/hooks/setup.md +132 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/_repeat.md +472 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/_taskfile.md +235 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/adr.md +11 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/approve.md +94 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/architect.md +55 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/autodev.md +32 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/brain.md +102 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/budget.md +7 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/build.md +26 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/code-review.md +317 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/content.md +26 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/createorg.md +139 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/createtask.md +383 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/debug.md +22 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/design.md +20 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/do.md +528 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/execute.md +20 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/finance.md +26 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/finish.md +20 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/graph-status.md +7 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/help.md +118 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/idea.md +26 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/ideate.md +261 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/improve.md +345 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/loops.md +7 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/marketing.md +26 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/master.md +1070 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/memory.md +230 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/ops.md +26 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/orgs.md +21 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/orgstatus.md +59 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/plan.md +26 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/receive-review.md +20 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/release.md +26 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/repeat.md +257 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/research.md +26 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/review.md +26 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/runorg.md +156 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/sales.md +26 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/skill-builder.md +20 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/specialagents.md +125 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/stoporg.md +78 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/swarm.md +161 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/taskdev.md +26 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/tdd.md +22 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/techport.md +30 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/understand.md +139 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/verify.md +22 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/worktree.md +20 -0
- package/packages/@monomind/cli/.claude/commands/mastermind.md +121 -0
- package/packages/@monomind/cli/.claude/commands/memory/README.md +79 -0
- package/packages/@monomind/cli/.claude/commands/memory/memory-search.md +77 -0
- package/packages/@monomind/cli/.claude/commands/monitoring/README.md +69 -0
- package/packages/@monomind/cli/.claude/commands/monitoring/agent-metrics.md +65 -0
- package/packages/@monomind/cli/.claude/commands/monitoring/agents.md +71 -0
- package/packages/@monomind/cli/.claude/commands/monitoring/status.md +108 -0
- package/packages/@monomind/cli/.claude/commands/monobrowse.md +21 -0
- package/packages/@monomind/cli/.claude/commands/monograph/README.md +102 -0
- package/packages/@monomind/cli/.claude/commands/monograph/monograph-build.md +79 -0
- package/packages/@monomind/cli/.claude/commands/monograph/monograph-search.md +96 -0
- package/packages/@monomind/cli/.claude/commands/monograph/monograph-stats.md +53 -0
- package/packages/@monomind/cli/.claude/commands/monograph/monograph-watch.md +63 -0
- package/packages/@monomind/cli/.claude/commands/monograph/monograph-wiki.md +91 -0
- package/packages/@monomind/cli/.claude/commands/optimization/auto-topology.md +85 -0
- package/packages/@monomind/cli/.claude/commands/optimization/performance-optimize.md +79 -0
- package/packages/@monomind/cli/.claude/commands/pair/README.md +79 -0
- package/packages/@monomind/cli/.claude/commands/pair/examples.md +156 -0
- package/packages/@monomind/cli/.claude/commands/pair/modes.md +122 -0
- package/packages/@monomind/cli/.claude/commands/pair/session.md +124 -0
- package/packages/@monomind/cli/.claude/commands/sparc/analyzer.md +35 -0
- package/packages/@monomind/cli/.claude/commands/sparc/architect.md +36 -0
- package/packages/@monomind/cli/.claude/commands/sparc/ask.md +56 -0
- package/packages/@monomind/cli/.claude/commands/sparc/batch-executor.md +37 -0
- package/packages/@monomind/cli/.claude/commands/sparc/code.md +48 -0
- package/packages/@monomind/cli/.claude/commands/sparc/coder.md +37 -0
- package/packages/@monomind/cli/.claude/commands/sparc/debug.md +42 -0
- package/packages/@monomind/cli/.claude/commands/sparc/debugger.md +37 -0
- package/packages/@monomind/cli/.claude/commands/sparc/designer.md +36 -0
- package/packages/@monomind/cli/.claude/commands/sparc/devops.md +68 -0
- package/packages/@monomind/cli/.claude/commands/sparc/docs-writer.md +39 -0
- package/packages/@monomind/cli/.claude/commands/sparc/documenter.md +37 -0
- package/packages/@monomind/cli/.claude/commands/sparc/innovator.md +37 -0
- package/packages/@monomind/cli/.claude/commands/sparc/integration.md +42 -0
- package/packages/@monomind/cli/.claude/commands/sparc/mcp.md +76 -0
- package/packages/@monomind/cli/.claude/commands/sparc/memory-manager.md +57 -0
- package/packages/@monomind/cli/.claude/commands/sparc/optimizer.md +37 -0
- package/packages/@monomind/cli/.claude/commands/sparc/orchestrator.md +70 -0
- package/packages/@monomind/cli/.claude/commands/sparc/post-deployment-monitoring-mode.md +42 -0
- package/packages/@monomind/cli/.claude/commands/sparc/refinement-optimization-mode.md +42 -0
- package/packages/@monomind/cli/.claude/commands/sparc/researcher.md +37 -0
- package/packages/@monomind/cli/.claude/commands/sparc/reviewer.md +37 -0
- package/packages/@monomind/cli/.claude/commands/sparc/security-review.md +39 -0
- package/packages/@monomind/cli/.claude/commands/sparc/sparc-modes.md +120 -0
- package/packages/@monomind/cli/.claude/commands/sparc/sparc.md +71 -0
- package/packages/@monomind/cli/.claude/commands/sparc/spec-pseudocode.md +39 -0
- package/packages/@monomind/cli/.claude/commands/sparc/supabase-admin.md +301 -0
- package/packages/@monomind/cli/.claude/commands/sparc/swarm-coordinator.md +50 -0
- package/packages/@monomind/cli/.claude/commands/sparc/tdd.md +37 -0
- package/packages/@monomind/cli/.claude/commands/sparc/tester.md +37 -0
- package/packages/@monomind/cli/.claude/commands/sparc/tutorial.md +38 -0
- package/packages/@monomind/cli/.claude/commands/sparc/workflow-manager.md +37 -0
- package/packages/@monomind/cli/.claude/commands/sparc.md +112 -0
- package/packages/@monomind/cli/.claude/commands/stream-chain/pipeline.md +116 -0
- package/packages/@monomind/cli/.claude/commands/stream-chain/run.md +156 -0
- package/packages/@monomind/cli/.claude/commands/swarm/README.md +40 -0
- package/packages/@monomind/cli/.claude/commands/swarm/analysis.md +73 -0
- package/packages/@monomind/cli/.claude/commands/swarm/development.md +72 -0
- package/packages/@monomind/cli/.claude/commands/swarm/examples.md +103 -0
- package/packages/@monomind/cli/.claude/commands/swarm/maintenance.md +75 -0
- package/packages/@monomind/cli/.claude/commands/swarm/optimization.md +84 -0
- package/packages/@monomind/cli/.claude/commands/swarm/research.md +76 -0
- package/packages/@monomind/cli/.claude/commands/swarm/swarm.md +79 -0
- package/packages/@monomind/cli/.claude/commands/swarm/testing.md +80 -0
- package/packages/@monomind/cli/.claude/commands/tokens.md +18 -0
- package/packages/@monomind/cli/.claude/commands/truth/start.md +121 -0
- package/packages/@monomind/cli/.claude/commands/ts.md +14 -0
- package/packages/@monomind/cli/.claude/commands/workflows/README.md +65 -0
- package/packages/@monomind/cli/.claude/commands/workflows/development.md +86 -0
- package/packages/@monomind/cli/.claude/commands/workflows/research.md +89 -0
- package/packages/@monomind/cli/.claude/commands/workflows/workflow-create.md +84 -0
- package/packages/@monomind/cli/.claude/commands/workflows/workflow-execute.md +103 -0
- package/packages/@monomind/cli/.claude/commands/workflows/workflow-export.md +90 -0
- package/packages/@monomind/cli/.claude/helpers/auto-memory-hook.mjs +413 -0
- package/packages/@monomind/cli/.claude/helpers/control-start.cjs +155 -0
- package/packages/@monomind/cli/.claude/helpers/event-logger.cjs +155 -0
- package/packages/@monomind/cli/.claude/helpers/extras-registry.json +5141 -0
- package/packages/@monomind/cli/.claude/helpers/graphify-freshen.cjs +115 -0
- package/packages/@monomind/cli/.claude/helpers/handlers/adr-draft-handler.cjs +78 -0
- package/packages/@monomind/cli/.claude/helpers/handlers/agent-start-handler.cjs +108 -0
- package/packages/@monomind/cli/.claude/helpers/handlers/budget-status-handler.cjs +14 -0
- package/packages/@monomind/cli/.claude/helpers/handlers/capture-handler.cjs +473 -0
- package/packages/@monomind/cli/.claude/helpers/handlers/compact-handler.cjs +35 -0
- package/packages/@monomind/cli/.claude/helpers/handlers/edit-handler.cjs +145 -0
- package/packages/@monomind/cli/.claude/helpers/handlers/gates-handler.cjs +138 -0
- package/packages/@monomind/cli/.claude/helpers/handlers/graph-status-handler.cjs +45 -0
- package/packages/@monomind/cli/.claude/helpers/handlers/loops-status-handler.cjs +48 -0
- package/packages/@monomind/cli/.claude/helpers/handlers/route-handler.cjs +457 -0
- package/packages/@monomind/cli/.claude/helpers/handlers/session-handler.cjs +174 -0
- package/packages/@monomind/cli/.claude/helpers/handlers/session-restore-handler.cjs +370 -0
- package/packages/@monomind/cli/.claude/helpers/handlers/stats-handler.cjs +14 -0
- package/packages/@monomind/cli/.claude/helpers/handlers/task-handler.cjs +341 -0
- package/packages/@monomind/cli/.claude/helpers/hook-handler.cjs +400 -0
- package/packages/@monomind/cli/.claude/helpers/intelligence.cjs +164 -0
- package/packages/@monomind/cli/.claude/helpers/learning-service.mjs +60 -0
- package/packages/@monomind/cli/.claude/helpers/loop-tracker.cjs +119 -0
- package/packages/@monomind/cli/.claude/helpers/memory-palace.cjs +461 -0
- package/packages/@monomind/cli/.claude/helpers/memory.cjs +193 -0
- package/packages/@monomind/cli/.claude/helpers/metrics-db.mjs +87 -0
- package/packages/@monomind/cli/.claude/helpers/monolean-activate.cjs +20 -0
- package/packages/@monomind/cli/.claude/helpers/monolean-config.cjs +76 -0
- package/packages/@monomind/cli/.claude/helpers/monolean-instructions.cjs +109 -0
- package/packages/@monomind/cli/.claude/helpers/monolean-propagate.cjs +9 -0
- package/packages/@monomind/cli/.claude/helpers/monolean-tracker.cjs +18 -0
- package/packages/@monomind/cli/.claude/helpers/router.cjs +326 -0
- package/packages/@monomind/cli/.claude/helpers/session.cjs +140 -0
- package/packages/@monomind/cli/.claude/helpers/skill-registry.json +1043 -0
- package/packages/@monomind/cli/.claude/helpers/statusline.cjs +1350 -0
- package/packages/@monomind/cli/.claude/helpers/toggle-statusline.cjs +73 -0
- package/packages/@monomind/cli/.claude/helpers/token-tracker.cjs +934 -0
- package/packages/@monomind/cli/.claude/helpers/utils/micro-agents.cjs +354 -0
- package/packages/@monomind/cli/.claude/helpers/utils/monograph.cjs +386 -0
- package/packages/@monomind/cli/.claude/helpers/utils/telemetry.cjs +146 -0
- package/packages/@monomind/cli/.claude/skills/agent-browser-testing/SKILL.md +964 -0
- package/packages/@monomind/cli/.claude/skills/agentic-jujutsu/SKILL.md +645 -0
- package/packages/@monomind/cli/.claude/skills/github-issue-triage/SKILL.md +354 -0
- package/packages/@monomind/cli/.claude/skills/github-repo-recap/SKILL.md +207 -0
- package/packages/@monomind/cli/.claude/skills/hive-mind-advanced/SKILL.md +709 -0
- package/packages/@monomind/cli/.claude/skills/hooks-automation/SKILL.md +1193 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/_agent-select.md +132 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/_delegation.md +83 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/_intake.md +83 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/_protocol.md +404 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/_repeat.md +144 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/access.md +236 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/activity.md +191 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/adapter-manager.md +259 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/adapters.md +204 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/agent-detail.md +242 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/agents.md +178 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/approval-detail.md +259 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/approve.md +188 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/architect.md +863 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/autodev.md +536 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/backup.md +197 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/bootstrap.md +190 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/budgets.md +237 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/build.md +170 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/code-quality-reviewer-prompt.md +60 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/companies.md +256 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/content.md +197 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/costs.md +151 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/createorg.md +853 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/debug.md +232 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/design.md +189 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/diagnose.md +249 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/env.md +198 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/environments.md +250 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/execute.md +104 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/export.md +333 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/finance.md +166 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/finish.md +251 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/goal-detail.md +255 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/goals.md +149 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/heartbeat.md +164 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/idea.md +1142 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/implementer-prompt.md +109 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/import.md +281 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/inbox.md +214 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/instance-settings.md +315 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/instance.md +233 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/invite-landing.md +227 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/invites.md +254 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/issue-detail.md +291 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/issues.md +235 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/join-queue.md +170 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/liveness.md +392 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/marketing.md +228 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/memory.md +321 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/monitor.md +1284 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/monotask.md +350 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/my-issues.md +146 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/new-agent.md +241 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/ops.md +168 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/org-chart.md +209 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/org-settings.md +254 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/orgs.md +98 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/orgstatus.md +194 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/plan-to-tasks.md +136 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/plan.md +198 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/plugin-manager.md +241 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/plugin-settings.md +273 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/plugins.md +190 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/profile.md +187 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/project-detail.md +249 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/project-workspace.md +244 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/projects.md +164 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/receive-review.md +213 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/references/copywriting-frameworks.md +181 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/references/persuasion-psychology.md +158 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/release.md +168 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/research.md +168 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/review.md +219 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/routine-detail.md +253 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/routines.md +203 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/runorg.md +684 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/sales.md +170 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/search.md +186 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/secrets.md +199 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/skill-builder.md +274 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/skills.md +156 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/spec-reviewer-prompt.md +63 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/stoporg.md +138 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/taskdev.md +307 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/tasks.md +149 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/tdd.md +394 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/techport.md +743 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/threads.md +259 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/tree-control.md +250 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/verify.md +196 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/wiki.md +314 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/workspace-detail.md +317 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/workspaces.md +261 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/worktree.md +215 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/SKILL.md +333 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/adapt.md +53 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/agents/monodesign-asset-producer.md +100 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/animate.md +65 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/audit.md +89 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/bolder.md +50 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/clarify.md +64 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/colorize.md +68 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/craft.md +51 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/critique.md +66 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/delight.md +47 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/distill.md +56 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/document.md +80 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/extract.md +74 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/harden.md +65 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/live.md +59 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/onboard.md +50 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/optimize.md +64 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/overdrive.md +56 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/polish.md +68 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/quieter.md +57 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/adapt.md +190 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/animate.md +175 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/antipatterns-catalog.md +359 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/audit.md +133 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/bolder.md +113 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/brand-workflow.md +180 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/brand.md +114 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/clarify.md +174 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/codex.md +107 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/cognitive-load.md +106 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/color-and-contrast.md +105 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/colorize.md +154 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/component-specs.md +260 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/component-states.md +274 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/component-system.md +358 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/copy-formulas.md +160 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/craft.md +196 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/critique.md +213 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/delight.md +302 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/design-principles.md +246 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/distill.md +111 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/document.md +427 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/extract.md +69 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/harden.md +347 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/heuristics-scoring.md +234 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/hooks.md +99 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/image-prompts.md +130 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/interaction-design.md +195 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/layout.md +141 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/live.md +622 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/motion-design.md +109 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/onboard.md +234 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/optimize.md +258 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/overdrive.md +130 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/personas.md +179 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/polish.md +233 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/pre-delivery-checklist.md +108 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/product.md +62 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/quieter.md +99 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/responsive-design.md +114 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/shape.md +151 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/spatial-design.md +100 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/teach.md +156 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/token-architecture.md +222 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/typeset.md +124 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/typography.md +159 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/ux-research.md +143 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/ux-rules.md +211 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/ux-writing.md +107 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/shape.md +71 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/teach.md +69 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/typeset.md +59 -0
- package/packages/@monomind/cli/.claude/skills/monolean/SKILL.md +118 -0
- package/packages/@monomind/cli/.claude/skills/monolean-audit/SKILL.md +41 -0
- package/packages/@monomind/cli/.claude/skills/monolean-debt/SKILL.md +46 -0
- package/packages/@monomind/cli/.claude/skills/monolean-help/SKILL.md +60 -0
- package/packages/@monomind/cli/.claude/skills/monolean-review/SKILL.md +57 -0
- package/packages/@monomind/cli/.claude/skills/monomind/browse-agentcore.md +115 -0
- package/packages/@monomind/cli/.claude/skills/monomind/browse-electron.md +188 -0
- package/packages/@monomind/cli/.claude/skills/monomind/browse-qa.md +228 -0
- package/packages/@monomind/cli/.claude/skills/monomind/browse-references/authentication.md +161 -0
- package/packages/@monomind/cli/.claude/skills/monomind/browse-references/trust-boundaries.md +40 -0
- package/packages/@monomind/cli/.claude/skills/monomind/browse-references/video-recording.md +83 -0
- package/packages/@monomind/cli/.claude/skills/monomind/browse-slack.md +188 -0
- package/packages/@monomind/cli/.claude/skills/monomind/browse-vercel.md +239 -0
- package/packages/@monomind/cli/.claude/skills/monomind/browse.md +724 -0
- package/packages/@monomind/cli/.claude/skills/monomotion/SKILL.md +145 -0
- package/packages/@monomind/cli/.claude/skills/monomotion/rules/api-control.md +139 -0
- package/packages/@monomind/cli/.claude/skills/monomotion/rules/effects.md +109 -0
- package/packages/@monomind/cli/.claude/skills/monomotion/rules/integration.md +140 -0
- package/packages/@monomind/cli/.claude/skills/monomotion/rules/scroll.md +131 -0
- package/packages/@monomind/cli/.claude/skills/monomotion/rules/sequencing.md +105 -0
- package/packages/@monomind/cli/.claude/skills/monomotion/rules/svg.md +101 -0
- package/packages/@monomind/cli/.claude/skills/monomotion/rules/text.md +119 -0
- package/packages/@monomind/cli/.claude/skills/pair-programming/SKILL.md +1202 -0
- package/packages/@monomind/cli/.claude/skills/performance-analysis/SKILL.md +560 -0
- package/packages/@monomind/cli/.claude/skills/skill-builder/SKILL.md +910 -0
- package/packages/@monomind/cli/.claude/skills/sparc-methodology/SKILL.md +950 -0
- package/packages/@monomind/cli/.claude/skills/specialagent/SKILL.md +208 -0
- package/packages/@monomind/cli/.claude/skills/stop-slop/SKILL.md +67 -0
- package/packages/@monomind/cli/.claude/skills/stop-slop/references/examples.md +61 -0
- package/packages/@monomind/cli/.claude/skills/stop-slop/references/phrases.md +130 -0
- package/packages/@monomind/cli/.claude/skills/stop-slop/references/structures.md +136 -0
- package/packages/@monomind/cli/.claude/skills/swarm-advanced/SKILL.md +937 -0
- package/packages/@monomind/cli/.claude/skills/swarm-orchestration/SKILL.md +179 -0
- package/packages/@monomind/cli/.claude/skills/verification-quality/SKILL.md +674 -0
- package/packages/@monomind/cli/dist/src/browser/action-builder/analyzer.js +6 -13
- package/packages/@monomind/cli/dist/src/commands/browse-action.js +3 -2
- package/packages/@monomind/cli/dist/src/commands/doctor.js +17 -2
- package/packages/@monomind/cli/dist/src/commands/index.js +2 -0
- package/packages/@monomind/cli/dist/src/commands/sync.d.ts +10 -0
- package/packages/@monomind/cli/dist/src/commands/sync.js +100 -0
- package/packages/@monomind/cli/dist/src/init/executor.js +22 -0
- package/packages/@monomind/cli/dist/src/init/statusline-generator.js +45 -0
- package/packages/@monomind/cli/dist/src/sync/checker.d.ts +12 -0
- package/packages/@monomind/cli/dist/src/sync/checker.js +26 -0
- package/packages/@monomind/cli/package.json +2 -2
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mastermind-memory
|
|
3
|
+
description: LanceDB 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 LanceDB with pure-JS HNSW vector indexing for semantic search (O(log n) approximate nearest neighbor). Supports cross-session and cross-agent collaboration.
|
|
9
|
+
|
|
10
|
+
## Subcommands
|
|
11
|
+
|
|
12
|
+
| Subcommand | Alias | Description |
|
|
13
|
+
|---|---|---|
|
|
14
|
+
| `init` | — | Initialize memory database (sql.js + LanceDB) |
|
|
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 lancedb --verbose --verify
|
|
34
|
+
npx monomind memory init --force # Overwrite existing
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
**Flags:** `--backend hybrid|sqlite|lancedb` (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 lancedb
|
|
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-ops
|
|
3
|
+
description: Mastermind ops domain — workflow automation, reporting, process optimization. Default mode: auto.
|
|
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 = prompt
|
|
13
|
+
|
|
14
|
+
If prompt is empty: ask "What operations task would you like to automate or optimize?"
|
|
15
|
+
|
|
16
|
+
Load brain context for the `ops` domain (follow _protocol.md Brain Load Procedure).
|
|
17
|
+
|
|
18
|
+
Run intake if prompt is vague (follow _intake.md — stop at Q3, domain is already known as `ops`).
|
|
19
|
+
|
|
20
|
+
Default mode for this command: **auto** (unless `--confirm` flag present or intake Q4 says confirm).
|
|
21
|
+
|
|
22
|
+
Invoke `Skill("mastermind:ops")` passing: brain_context, prompt, project_name, board_id (create if needed), mode.
|
|
23
|
+
|
|
24
|
+
After skill returns: follow _protocol.md Brain Write Procedure for domain `ops`.
|
|
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,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mastermind-orgs
|
|
3
|
+
description: List all saved orgs with their status, schedule interval, and last/next run times. Shows stopped/active/paused state for scheduled orgs.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
**If $ARGUMENTS is empty:** Execute the listing below directly.
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
**MASTERMIND: ORGS**
|
|
11
|
+
|
|
12
|
+
Lists all saved orgs.
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
Parse `$ARGUMENTS` for:
|
|
17
|
+
- No flags expected — this command takes no arguments.
|
|
18
|
+
|
|
19
|
+
Execute `Skill("mastermind:orgs")` passing: caller: "command".
|
|
20
|
+
|
|
21
|
+
Invoke `Skill("mastermind:_repeat")` now to execute the REPEAT POSTAMBLE. This is a required tool call — do not skip it.
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mastermind-orgstatus
|
|
3
|
+
description: Show detailed status for a single org — lifecycle state, schedule, last/next run, recent activity, and roles. For scheduled orgs shows loop health.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
**If $ARGUMENTS is empty:** Output the following and wait.
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
**MASTERMIND: ORG STATUS**
|
|
11
|
+
|
|
12
|
+
Shows detailed status for a saved org.
|
|
13
|
+
|
|
14
|
+
**Usage:**
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
/mastermind:orgstatus --org <name>
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
**Examples:**
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
/mastermind:orgstatus --org livarto-issue-resolver
|
|
24
|
+
/mastermind:orgstatus --org newsroom
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Your saved orgs:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
ls .monomind/orgs/*.json 2>/dev/null | grep -v -- '-approvals\|-state\|-activity' | \
|
|
31
|
+
xargs -I{} basename {} .json 2>/dev/null || echo "(none — run /mastermind:createorg to define one)"
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
**If $ARGUMENTS is non-empty:** Execute the flow below.
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
Parse `$ARGUMENTS` for:
|
|
41
|
+
- `--org <name>` → org_name = <name>
|
|
42
|
+
|
|
43
|
+
If `--org` is not provided, list orgs and ask which to inspect.
|
|
44
|
+
|
|
45
|
+
Verify the org file exists:
|
|
46
|
+
```bash
|
|
47
|
+
[ -f ".monomind/orgs/${org_name}.json" ] || { echo "Org '${org_name}' not found."; exit 1; }
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Generate a session ID:
|
|
51
|
+
```bash
|
|
52
|
+
REPO_ROOT=$(git rev-parse --show-toplevel 2>/dev/null || pwd)
|
|
53
|
+
session_id="mm-$(date -u +%Y%m%dT%H%M%S)"
|
|
54
|
+
CTRL_URL=$(jq -r '.url // "http://localhost:4242"' "$REPO_ROOT/.monomind/control.json" 2>/dev/null || echo "http://localhost:4242")
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Invoke `Skill("mastermind:orgstatus")` passing: org_name: `$org_name`, caller: "command".
|
|
58
|
+
|
|
59
|
+
Invoke `Skill("mastermind:_repeat")` now to execute the REPEAT POSTAMBLE. This is a required tool call — do not skip it.
|
|
@@ -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.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mastermind-release
|
|
3
|
+
description: Mastermind release domain — versioning, changelog, deployment. Default mode: auto.
|
|
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 = prompt
|
|
13
|
+
|
|
14
|
+
If prompt is empty: ask "What would you like to release or deploy?"
|
|
15
|
+
|
|
16
|
+
Load brain context for the `release` domain (follow _protocol.md Brain Load Procedure).
|
|
17
|
+
|
|
18
|
+
Run intake if prompt is vague (follow _intake.md — stop at Q3, domain is already known as `release`).
|
|
19
|
+
|
|
20
|
+
Default mode for this command: **auto** (unless `--confirm` flag present or intake Q4 says confirm).
|
|
21
|
+
|
|
22
|
+
Invoke `Skill("mastermind:release")` passing: brain_context, prompt, project_name, board_id (create if needed), mode.
|
|
23
|
+
|
|
24
|
+
After skill returns: follow _protocol.md Brain Write Procedure for domain `release`.
|
|
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,257 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mastermind:repeat
|
|
3
|
+
description: "Monomind — Repeat any prompt or slash command on a schedule — default 15 min interval, 10 repetitions. This is the universal loop wrapper for all commands."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
## Argument Parsing
|
|
7
|
+
|
|
8
|
+
Parse `$ARGUMENTS` for the following flags. **Everything after the first `--` (double dash) is the prompt — no further flag parsing, even if subsequent `--` tokens appear.** If no `--` is present, extract known flags in any order and treat the remainder as the prompt:
|
|
9
|
+
|
|
10
|
+
- `--every <minutes>` — interval between repetitions in minutes (default: `15`). Minimum 1.
|
|
11
|
+
- `--times <count>` — total number of repetitions (default: `10`). Ignored when `--tillend` is present.
|
|
12
|
+
- `--tillend` — run until a complete round produces no findings and no actions. Overrides `--times`.
|
|
13
|
+
- `--maxruns <N>` — safety cap for `--tillend` (default: `50`). Stops the loop even if the AI hasn't signaled done.
|
|
14
|
+
- `--rep <N>` — (internal continuation flag injected by ScheduleWakeup; do not expose to user). Must be a positive integer ≤ MAX_REPS+1; reject otherwise.
|
|
15
|
+
- `--loop <id>` — (internal continuation flag; preserves loop identity across runs). Must match format `repeat-[digits]-[digits]-[digits]`; reject otherwise.
|
|
16
|
+
- `--` — end of flags; everything after this is the prompt verbatim
|
|
17
|
+
- Everything else (after flag extraction) is the **prompt** to repeat
|
|
18
|
+
|
|
19
|
+
If `INTERVAL` is less than 1, set it to 1 and output: `[mastermind:repeat] Interval clamped to 1 minute (minimum).`
|
|
20
|
+
|
|
21
|
+
If `MAX_REPS` is less than 1, set it to 1 and output: `[mastermind:repeat] Repetitions clamped to 1 (minimum).`
|
|
22
|
+
|
|
23
|
+
If `MAX_REPS` is greater than 1000, set it to 1000 and output: `[mastermind:repeat] Repetitions clamped to 1000 (maximum).`
|
|
24
|
+
|
|
25
|
+
If `--every` is present but its value is missing or not a number, use the default (15).
|
|
26
|
+
|
|
27
|
+
If `--loop` is present but does not match the pattern `repeat-<digits>-<digits>-<digits>`, output `[mastermind:repeat] ERROR: invalid loop ID` and STOP.
|
|
28
|
+
|
|
29
|
+
**Examples:**
|
|
30
|
+
```
|
|
31
|
+
/mastermind:repeat --every 5 --times 9 /mastermind:architect --iterate 2 review this project
|
|
32
|
+
/mastermind:repeat --every 1 --times 20 /mastermind:review check for security issues
|
|
33
|
+
/mastermind:repeat --every 30 /mastermind:do --space abc --board def
|
|
34
|
+
/mastermind:repeat check deployment status
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
If `$ARGUMENTS` is empty or contains only flags with no prompt, output this and STOP:
|
|
38
|
+
> **Usage:** `/mastermind:repeat [--every <minutes>] [--times <count>] [--tillend [--maxruns <N>]] <prompt>`
|
|
39
|
+
>
|
|
40
|
+
> Defaults: every 15 minutes, 10 times.
|
|
41
|
+
>
|
|
42
|
+
> **Fixed-count mode** (default): runs the prompt N times, then stops.
|
|
43
|
+
> **Tillend mode** (`--tillend`): runs until a complete round produces no findings and no actions. Safety cap: `--maxruns N` (default 50).
|
|
44
|
+
>
|
|
45
|
+
> This is the universal loop wrapper. Wrap any slash command to repeat it:
|
|
46
|
+
> - `/mastermind:repeat --every 5 --times 9 /mastermind:architect review this project`
|
|
47
|
+
> - `/mastermind:repeat --every 1 --times 20 /mastermind:review check for security issues`
|
|
48
|
+
> - `/mastermind:repeat --tillend /mastermind:review 1` ← runs until clean pass
|
|
49
|
+
> - `/mastermind:repeat --every 30 /mastermind:do --space abc --board def`
|
|
50
|
+
> - `/mastermind:repeat check deployment status`
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
## Internal Flag: `--rep` and `--loop`
|
|
55
|
+
|
|
56
|
+
When `--rep <N>` is present in arguments, this is a continuation from a previous wake-up:
|
|
57
|
+
- `INTERVAL`, `MAX_REPS`, and `PROMPT` are already set by argument parsing above (they arrive via the ScheduleWakeup prompt)
|
|
58
|
+
- Set `CURRENT_REP` to `N` instead of `1`
|
|
59
|
+
- Set `LOOP_ID` from `--loop <id>`
|
|
60
|
+
- Skip Step 1 initialization entirely
|
|
61
|
+
- Go directly to Step 2 (execute) with output:
|
|
62
|
+
- **If `--tillend` active:** `[mastermind:repeat] Tillend run N (cap: MAXRUNS) starting...`
|
|
63
|
+
- **Otherwise:** `[mastermind:repeat] Run N/MAX_REPS starting...`
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
## Step 1: Initialize
|
|
68
|
+
|
|
69
|
+
Extract:
|
|
70
|
+
- `INTERVAL` — from `--every` flag, default `15` (minutes), minimum 1
|
|
71
|
+
- `MAX_REPS` — from `--times` flag, default `10`
|
|
72
|
+
- `PROMPT` — everything remaining after flags are removed
|
|
73
|
+
- `CURRENT_REP` — starts at `1`
|
|
74
|
+
|
|
75
|
+
Write the initial loop state file so the dashboard can track this run. **You MUST run this bash block now via the Bash tool.** Before running, substitute `<INTERVAL>` and `<MAX_REPS>` with the parsed integer values, `<TILLEND_ACTIVE>` with `true` or `false` based on whether `--tillend` was provided, and `<MAXRUNS>` with the safety cap value. For `<PROMPT>`, substitute the raw prompt text inside the heredoc below — the single-quoted delimiter (`'MONOMIND_PROMPT_7x9k2m'`) prevents all bash expansion, and python3 handles JSON encoding. **If the prompt text contains the literal string `MONOMIND_PROMPT_7x9k2m`, replace that string in the prompt with `MONOMIND_PROMPT` before substitution** (this prevents heredoc delimiter collision):
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
mkdir -p .monomind/loops
|
|
79
|
+
NOW_MS=$(python3 -c 'import time;print(int(time.time()*1000))' 2>/dev/null || echo "$(date +%s)000")
|
|
80
|
+
LOOP_ID="repeat-${NOW_MS}-${RANDOM}-$$"
|
|
81
|
+
PROMPT_JSON=$(python3 -c "import sys,json; sys.stdout.write(json.dumps(sys.stdin.read().rstrip(chr(10))))" << 'MONOMIND_PROMPT_7x9k2m'
|
|
82
|
+
<PROMPT>
|
|
83
|
+
MONOMIND_PROMPT_7x9k2m
|
|
84
|
+
)
|
|
85
|
+
if [ -z "$PROMPT_JSON" ]; then PROMPT_JSON='"(prompt unavailable)"'; fi
|
|
86
|
+
LOOP_TYPE=$( [ '<TILLEND_ACTIVE>' = 'true' ] && echo 'tillend' || echo 'repeat' )
|
|
87
|
+
LOOP_MAXREPS=$( [ '<TILLEND_ACTIVE>' = 'true' ] && echo '<MAXRUNS>' || echo '<MAX_REPS>' )
|
|
88
|
+
cat > ".monomind/loops/${LOOP_ID}.json" << EOF
|
|
89
|
+
{
|
|
90
|
+
"id": "${LOOP_ID}",
|
|
91
|
+
"sessionId": "${LOOP_ID}",
|
|
92
|
+
"type": "${LOOP_TYPE}",
|
|
93
|
+
"command": "/mastermind:repeat",
|
|
94
|
+
"prompt": ${PROMPT_JSON},
|
|
95
|
+
"interval": <INTERVAL>,
|
|
96
|
+
"currentRep": 1,
|
|
97
|
+
"maxReps": ${LOOP_MAXREPS},
|
|
98
|
+
"startedAt": ${NOW_MS},
|
|
99
|
+
"lastRunAt": ${NOW_MS},
|
|
100
|
+
"nextRunAt": ${NOW_MS},
|
|
101
|
+
"status": "running"
|
|
102
|
+
}
|
|
103
|
+
EOF
|
|
104
|
+
echo "LOOP_ID=${LOOP_ID}"
|
|
105
|
+
REPO_ROOT=$(git rev-parse --show-toplevel 2>/dev/null || pwd)
|
|
106
|
+
CTRL_URL=$(jq -r '.url // "http://localhost:4242"' "$REPO_ROOT/.monomind/control.json" 2>/dev/null || echo "http://localhost:4242")
|
|
107
|
+
curl -s -X POST "${CTRL_URL}/api/mastermind/event" \
|
|
108
|
+
-H "Content-Type: application/json" \
|
|
109
|
+
-d "{\"type\":\"loop:start\",\"loopId\":\"${LOOP_ID}\",\"command\":\"/mastermind:repeat\",\"mode\":\"${LOOP_TYPE}\",\"maxReps\":${LOOP_MAXREPS},\"interval\":<INTERVAL>,\"ts\":$(date +%s)000}" || true
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
Capture the `LOOP_ID` value echoed by the script — you will need it for all subsequent bash blocks.
|
|
113
|
+
|
|
114
|
+
Output:
|
|
115
|
+
- **If `--tillend` active:**
|
|
116
|
+
```
|
|
117
|
+
[mastermind:repeat] Starting tillend loop: "<PROMPT>"
|
|
118
|
+
Interval: every INTERVAL minutes
|
|
119
|
+
Safety cap: MAXRUNS runs
|
|
120
|
+
Run 1 starting now...
|
|
121
|
+
```
|
|
122
|
+
- **Otherwise:**
|
|
123
|
+
```
|
|
124
|
+
[mastermind:repeat] Starting: "<PROMPT>"
|
|
125
|
+
Interval: every INTERVAL minutes
|
|
126
|
+
Repetitions: MAX_REPS total
|
|
127
|
+
Run 1/MAX_REPS starting now...
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
---
|
|
131
|
+
|
|
132
|
+
## Step 2: Execute the Prompt
|
|
133
|
+
|
|
134
|
+
Run the `PROMPT` as if the user typed it directly. This means:
|
|
135
|
+
- If the prompt starts with `/`, invoke it as a slash command via the Skill tool
|
|
136
|
+
- Otherwise, treat it as a normal user message and respond accordingly
|
|
137
|
+
|
|
138
|
+
---
|
|
139
|
+
|
|
140
|
+
## Step 3: Report and Schedule Next
|
|
141
|
+
|
|
142
|
+
**IMPORTANT:** In every bash block below, `<LOOP_ID>` must be substituted with the literal LOOP_ID value you captured from Step 1 (or from `--loop` on continuation runs). Shell variables do NOT persist between bash blocks.
|
|
143
|
+
|
|
144
|
+
Before scheduling the next run, check if a stop was requested:
|
|
145
|
+
```bash
|
|
146
|
+
[ -f ".monomind/loops/<LOOP_ID>.stop" ] && echo "STOP_REQUESTED=true" || echo "STOP_REQUESTED=false"
|
|
147
|
+
```
|
|
148
|
+
If `STOP_REQUESTED=true`, output `[mastermind:repeat] Stop requested via dashboard. Halting.` and remove the state files:
|
|
149
|
+
```bash
|
|
150
|
+
rm -f ".monomind/loops/<LOOP_ID>.json" ".monomind/loops/<LOOP_ID>.stop"
|
|
151
|
+
```
|
|
152
|
+
Then STOP.
|
|
153
|
+
|
|
154
|
+
After execution completes, save the current rep as `PREV_REP`, then increment `CURRENT_REP`. Output:
|
|
155
|
+
- **If `--tillend` active:** `[mastermind:repeat] Tillend run PREV_REP complete.`
|
|
156
|
+
- **Otherwise:** `[mastermind:repeat] Run PREV_REP/MAX_REPS complete.`
|
|
157
|
+
|
|
158
|
+
**If `--tillend` was active:** evaluate whether this round produced **zero findings AND zero actions**. Answer these two questions:
|
|
159
|
+
1. Were any findings produced? (issues, problems, errors, tasks, items flagged, anything detected)
|
|
160
|
+
2. Were any actions taken? (files edited, tasks created, commits made, content written, anything changed)
|
|
161
|
+
|
|
162
|
+
Set `TILLEND_EMPTY=true` only if both answers are "no". **If the round found things and fixed them, `TILLEND_EMPTY=false` — run again to verify.** Only an actually empty round (nothing found, nothing done) stops the loop.
|
|
163
|
+
|
|
164
|
+
If `TILLEND_EMPTY=true`:
|
|
165
|
+
- Output: `[mastermind:repeat] Empty round — nothing found and nothing changed. Tillend loop complete after PREV_REP run(s).`
|
|
166
|
+
- Remove state file and emit loop:complete:
|
|
167
|
+
```bash
|
|
168
|
+
rm -f ".monomind/loops/<LOOP_ID>.json" ".monomind/loops/<LOOP_ID>.stop"
|
|
169
|
+
REPO_ROOT=$(git rev-parse --show-toplevel 2>/dev/null || pwd)
|
|
170
|
+
CTRL_URL=$(jq -r '.url // "http://localhost:4242"' "$REPO_ROOT/.monomind/control.json" 2>/dev/null || echo "http://localhost:4242")
|
|
171
|
+
curl -s -X POST "${CTRL_URL}/api/mastermind/event" \
|
|
172
|
+
-H "Content-Type: application/json" \
|
|
173
|
+
-d "{\"type\":\"loop:complete\",\"loopId\":\"<LOOP_ID>\",\"command\":\"/mastermind:repeat\",\"mode\":\"tillend\",\"ranReps\":<PREV_REP>,\"reason\":\"empty-round\",\"ts\":$(date +%s)000}" || true
|
|
174
|
+
```
|
|
175
|
+
- STOP. Do NOT schedule another wake-up.
|
|
176
|
+
|
|
177
|
+
If `--tillend` is active AND `CURRENT_REP > MAXRUNS` (safety cap reached):
|
|
178
|
+
- Output: `[mastermind:repeat] Safety cap reached (MAXRUNS runs). Stopping tillend loop. If work remains, re-run with a higher --maxruns.`
|
|
179
|
+
- Remove state file and emit loop:complete:
|
|
180
|
+
```bash
|
|
181
|
+
rm -f ".monomind/loops/<LOOP_ID>.json" ".monomind/loops/<LOOP_ID>.stop"
|
|
182
|
+
REPO_ROOT=$(git rev-parse --show-toplevel 2>/dev/null || pwd)
|
|
183
|
+
CTRL_URL=$(jq -r '.url // "http://localhost:4242"' "$REPO_ROOT/.monomind/control.json" 2>/dev/null || echo "http://localhost:4242")
|
|
184
|
+
curl -s -X POST "${CTRL_URL}/api/mastermind/event" \
|
|
185
|
+
-H "Content-Type: application/json" \
|
|
186
|
+
-d "{\"type\":\"loop:complete\",\"loopId\":\"<LOOP_ID>\",\"command\":\"/mastermind:repeat\",\"mode\":\"tillend\",\"ranReps\":<PREV_REP>,\"reason\":\"safety-cap\",\"ts\":$(date +%s)000}" || true
|
|
187
|
+
```
|
|
188
|
+
- STOP.
|
|
189
|
+
|
|
190
|
+
If `CURRENT_REP > MAX_REPS` (fixed-count: all runs done), output:
|
|
191
|
+
```
|
|
192
|
+
[mastermind:repeat] All MAX_REPS repetitions complete.
|
|
193
|
+
```
|
|
194
|
+
Remove the state file and emit loop:complete:
|
|
195
|
+
```bash
|
|
196
|
+
rm -f ".monomind/loops/<LOOP_ID>.json" ".monomind/loops/<LOOP_ID>.stop"
|
|
197
|
+
REPO_ROOT=$(git rev-parse --show-toplevel 2>/dev/null || pwd)
|
|
198
|
+
CTRL_URL=$(jq -r '.url // "http://localhost:4242"' "$REPO_ROOT/.monomind/control.json" 2>/dev/null || echo "http://localhost:4242")
|
|
199
|
+
curl -s -X POST "${CTRL_URL}/api/mastermind/event" \
|
|
200
|
+
-H "Content-Type: application/json" \
|
|
201
|
+
-d "{\"type\":\"loop:complete\",\"loopId\":\"<LOOP_ID>\",\"command\":\"/mastermind:repeat\",\"ranReps\":<MAX_REPS>,\"ts\":$(date +%s)000}" || true
|
|
202
|
+
```
|
|
203
|
+
STOP. Do NOT schedule another wake-up.
|
|
204
|
+
|
|
205
|
+
Otherwise, update the loop state before scheduling. **Run this bash block** (substitute `<LOOP_ID>`, `<INTERVAL>`, `<CURRENT_REP>`, `<MAX_REPS>`, `<PREV_REP>`, `<TILLEND_ACTIVE>`, and `<MAXRUNS>` with their literal values):
|
|
206
|
+
```bash
|
|
207
|
+
NOW_MS=$(python3 -c 'import time;print(int(time.time()*1000))' 2>/dev/null || echo "$(date +%s)000")
|
|
208
|
+
NEXT_AT=$(( NOW_MS + <INTERVAL> * 60 * 1000 ))
|
|
209
|
+
PROMPT_JSON=$(jq '.prompt' ".monomind/loops/<LOOP_ID>.json" 2>/dev/null \
|
|
210
|
+
|| python3 -c "import json,sys; json.dump(json.load(open('.monomind/loops/<LOOP_ID>.json'))['prompt'], sys.stdout)" 2>/dev/null \
|
|
211
|
+
|| echo '"(prompt unavailable)"')
|
|
212
|
+
STARTED_AT=$(jq '.startedAt' ".monomind/loops/<LOOP_ID>.json" 2>/dev/null \
|
|
213
|
+
|| python3 -c "import json; print(json.load(open('.monomind/loops/<LOOP_ID>.json'))['startedAt'])" 2>/dev/null \
|
|
214
|
+
|| echo "${NOW_MS}")
|
|
215
|
+
LOOP_TYPE=$( [ '<TILLEND_ACTIVE>' = 'true' ] && echo 'tillend' || echo 'repeat' )
|
|
216
|
+
LOOP_MAXREPS=$( [ '<TILLEND_ACTIVE>' = 'true' ] && echo '<MAXRUNS>' || echo '<MAX_REPS>' )
|
|
217
|
+
cat > ".monomind/loops/<LOOP_ID>.json" << EOF
|
|
218
|
+
{
|
|
219
|
+
"id": "<LOOP_ID>",
|
|
220
|
+
"sessionId": "<LOOP_ID>",
|
|
221
|
+
"type": "${LOOP_TYPE}",
|
|
222
|
+
"command": "/mastermind:repeat",
|
|
223
|
+
"prompt": ${PROMPT_JSON},
|
|
224
|
+
"interval": <INTERVAL>,
|
|
225
|
+
"currentRep": <CURRENT_REP>,
|
|
226
|
+
"maxReps": ${LOOP_MAXREPS},
|
|
227
|
+
"startedAt": ${STARTED_AT},
|
|
228
|
+
"lastRunAt": ${NOW_MS},
|
|
229
|
+
"nextRunAt": ${NEXT_AT},
|
|
230
|
+
"status": "running"
|
|
231
|
+
}
|
|
232
|
+
EOF
|
|
233
|
+
REPO_ROOT=$(git rev-parse --show-toplevel 2>/dev/null || pwd)
|
|
234
|
+
CTRL_URL=$(jq -r '.url // "http://localhost:4242"' "$REPO_ROOT/.monomind/control.json" 2>/dev/null || echo "http://localhost:4242")
|
|
235
|
+
curl -s -X POST "${CTRL_URL}/api/mastermind/event" \
|
|
236
|
+
-H "Content-Type: application/json" \
|
|
237
|
+
-d "{\"type\":\"loop:tick\",\"loopId\":\"<LOOP_ID>\",\"command\":\"/mastermind:repeat\",\"mode\":\"${LOOP_TYPE}\",\"completedRep\":<PREV_REP>,\"nextRep\":<CURRENT_REP>,\"nextAt\":${NEXT_AT},\"ts\":$(date +%s)000}" || true
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
Output:
|
|
241
|
+
- **If `--tillend` active:** `[mastermind:repeat] Next tillend run in INTERVAL minutes (run CURRENT_REP, cap: MAXRUNS)...`
|
|
242
|
+
- **Otherwise:** `[mastermind:repeat] Next run in INTERVAL minutes (run CURRENT_REP/MAX_REPS)...`
|
|
243
|
+
|
|
244
|
+
Use `ScheduleWakeup` with:
|
|
245
|
+
- `delaySeconds`: `INTERVAL * 60`
|
|
246
|
+
- **If `--tillend` active:** `prompt`: `/mastermind:repeat --tillend --maxruns <MAXRUNS> --every <INTERVAL> --rep <CURRENT_REP> --loop <LOOP_ID> -- <PROMPT>`; `reason`: `"tillend run <CURRENT_REP> (cap: <MAXRUNS>) of /mastermind:repeat"`
|
|
247
|
+
- **Otherwise:** `prompt`: `/mastermind:repeat --every <INTERVAL> --times <MAX_REPS> --rep <CURRENT_REP> --loop <LOOP_ID> -- <PROMPT>`; `reason`: `"repeat run <CURRENT_REP>/<MAX_REPS> of /mastermind:repeat"`
|
|
248
|
+
|
|
249
|
+
The `--` before `<PROMPT>` ensures the prompt text is never parsed as flags, even if it contains `--every` or `--times`. Substitute all angle-bracket values with their literals.
|
|
250
|
+
|
|
251
|
+
---
|
|
252
|
+
|
|
253
|
+
## Interruption
|
|
254
|
+
|
|
255
|
+
The user can stop the loop at any time by:
|
|
256
|
+
- Interrupting the session (the next scheduled wake-up simply won't fire)
|
|
257
|
+
- Creating `.monomind/loops/<LOOP_ID>.stop` (or clicking Stop in the dashboard)
|