@monoes/monomindcli 1.8.0 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/agents/design/design-monodesign.md +121 -0
- package/.claude/agents/github/issue-tracker.md +12 -12
- package/.claude/agents/github/pr-manager.md +10 -10
- package/.claude/agents/github/release-manager.md +49 -105
- package/.claude/agents/github/repo-architect.md +73 -92
- package/.claude/agents/github/sync-coordinator.md +55 -123
- package/.claude/agents/marketing/marketing-competitive-content.md +155 -0
- package/.claude/agents/marketing/marketing-content-creator.md +13 -0
- package/.claude/agents/marketing/marketing-cro-specialist.md +147 -0
- package/.claude/agents/marketing/marketing-email-specialist.md +90 -0
- package/.claude/agents/marketing/marketing-launch-strategist.md +129 -0
- package/.claude/agents/marketing/marketing-pricing-strategist.md +127 -0
- package/.claude/agents/specialists/integration-architect.md +94 -0
- package/.claude/commands/agents/README.md +4 -0
- package/.claude/commands/agents/agent-capabilities.md +6 -2
- package/.claude/commands/agents/agent-coordination.md +4 -0
- package/.claude/commands/agents/agent-spawning.md +4 -0
- package/.claude/commands/agents/agent-types.md +6 -2
- package/.claude/commands/analysis/README.md +14 -5
- package/.claude/commands/analysis/bottleneck-detect.md +30 -123
- package/.claude/commands/analysis/performance-bottlenecks.md +14 -14
- package/.claude/commands/analysis/performance-report.md +38 -11
- package/.claude/commands/analysis/token-efficiency.md +13 -16
- package/.claude/commands/analysis/token-usage.md +34 -12
- package/.claude/commands/automation/README.md +15 -5
- package/.claude/commands/automation/auto-agent.md +49 -85
- package/.claude/commands/automation/self-healing.md +20 -18
- package/.claude/commands/automation/session-memory.md +28 -29
- package/.claude/commands/automation/smart-agents.md +17 -9
- package/.claude/commands/automation/smart-spawn.md +52 -11
- package/.claude/commands/automation/workflow-select.md +46 -11
- package/.claude/commands/browse.md +5 -0
- package/.claude/commands/coordination/README.md +9 -5
- package/.claude/commands/coordination/agent-spawn.md +53 -9
- package/.claude/commands/coordination/swarm-init.md +39 -42
- package/.claude/commands/coordination/task-orchestrate.md +65 -11
- package/.claude/commands/github/README.md +21 -8
- package/.claude/commands/github/github-modes.md +9 -5
- package/.claude/commands/github/issue-tracker.md +34 -33
- package/.claude/commands/github/pr-manager.md +20 -17
- package/.claude/commands/github/release-manager.md +37 -49
- package/.claude/commands/github/repo-architect.md +39 -41
- package/.claude/commands/github/sync-coordinator.md +45 -49
- package/.claude/commands/hive-mind/README.md +42 -17
- package/.claude/commands/hive-mind/hive-mind-consensus.md +68 -4
- package/.claude/commands/hive-mind/hive-mind-init.md +55 -5
- package/.claude/commands/hive-mind/hive-mind-memory.md +69 -4
- package/.claude/commands/hive-mind/hive-mind-spawn.md +71 -10
- package/.claude/commands/hive-mind/hive-mind-status.md +52 -4
- package/.claude/commands/hive-mind/hive-mind-stop.md +51 -4
- package/.claude/commands/hive-mind/hive-mind.md +74 -14
- package/.claude/commands/hooks/README.md +62 -7
- package/.claude/commands/hooks/overview.md +94 -35
- package/.claude/commands/hooks/post-edit.md +48 -87
- package/.claude/commands/hooks/post-task.md +37 -87
- package/.claude/commands/hooks/pre-edit.md +52 -84
- package/.claude/commands/hooks/pre-task.md +46 -81
- package/.claude/commands/hooks/session-end.md +49 -85
- package/.claude/commands/hooks/setup.md +87 -58
- package/.claude/commands/mastermind/_repeat.md +308 -0
- package/.claude/commands/mastermind/architect.md +49 -0
- package/.claude/commands/mastermind/brain.md +98 -0
- package/.claude/commands/mastermind/build.md +22 -0
- package/.claude/commands/mastermind/content.md +22 -0
- package/.claude/commands/mastermind/createorg.md +94 -0
- package/.claude/commands/mastermind/finance.md +22 -0
- package/.claude/commands/mastermind/idea.md +22 -0
- package/.claude/commands/mastermind/marketing.md +22 -0
- package/.claude/commands/mastermind/master.md +379 -0
- package/.claude/commands/mastermind/ops.md +22 -0
- package/.claude/commands/mastermind/release.md +22 -0
- package/.claude/commands/mastermind/research.md +22 -0
- package/.claude/commands/mastermind/review.md +22 -0
- package/.claude/commands/mastermind/runorg.md +106 -0
- package/.claude/commands/mastermind/sales.md +22 -0
- package/.claude/commands/mastermind/techport.md +17 -0
- package/.claude/commands/memory/README.md +75 -5
- package/.claude/commands/memory/memory-search.md +63 -11
- package/.claude/commands/monitoring/README.md +64 -4
- package/.claude/commands/monitoring/agent-metrics.md +50 -10
- package/.claude/commands/monitoring/agents.md +59 -32
- package/.claude/commands/monitoring/status.md +96 -34
- package/.claude/commands/monograph/README.md +102 -0
- package/.claude/commands/monograph/monograph-build.md +79 -0
- package/.claude/commands/monograph/monograph-search.md +96 -0
- package/.claude/commands/monograph/monograph-stats.md +53 -0
- package/.claude/commands/monograph/monograph-watch.md +63 -0
- package/.claude/commands/monograph/monograph-wiki.md +91 -0
- package/.claude/commands/monomind/createtask.md +277 -0
- package/.claude/commands/{monomind-do.md → monomind/do.md} +21 -8
- package/.claude/commands/monomind/help.md +118 -0
- package/.claude/commands/{monomind-idea.md → monomind/idea.md} +22 -28
- package/.claude/commands/{monomind-improve.md → monomind/improve.md} +21 -27
- package/.claude/commands/monomind/memory.md +230 -0
- package/.claude/commands/monomind/repeat.md +201 -0
- package/.claude/commands/monomind/review.md +313 -0
- package/.claude/commands/monomind/specialagents.md +125 -0
- package/.claude/commands/monomind/swarm.md +161 -0
- package/.claude/commands/monomind/understand.md +148 -0
- package/.claude/commands/optimization/README.md +69 -5
- package/.claude/commands/optimization/auto-topology.md +66 -43
- package/.claude/commands/optimization/parallel-execution.md +65 -39
- package/.claude/commands/optimization/performance-optimize.md +79 -0
- package/.claude/commands/pair/README.md +48 -230
- package/.claude/commands/pair/examples.md +85 -441
- package/.claude/commands/pair/modes.md +77 -303
- package/.claude/commands/pair/session.md +76 -359
- package/.claude/commands/sparc/analyzer.md +9 -26
- package/.claude/commands/sparc/architect.md +8 -25
- package/.claude/commands/sparc/ask.md +27 -68
- package/.claude/commands/sparc/batch-executor.md +8 -25
- package/.claude/commands/sparc/code.md +12 -53
- package/.claude/commands/sparc/coder.md +8 -25
- package/.claude/commands/sparc/debug.md +12 -53
- package/.claude/commands/sparc/debugger.md +8 -25
- package/.claude/commands/sparc/designer.md +8 -25
- package/.claude/commands/sparc/devops.md +16 -57
- package/.claude/commands/sparc/docs-writer.md +12 -53
- package/.claude/commands/sparc/documenter.md +8 -25
- package/.claude/commands/sparc/innovator.md +8 -25
- package/.claude/commands/sparc/integration.md +12 -53
- package/.claude/commands/sparc/mcp.md +12 -53
- package/.claude/commands/sparc/memory-manager.md +28 -25
- package/.claude/commands/sparc/optimizer.md +8 -25
- package/.claude/commands/sparc/orchestrator.md +35 -97
- package/.claude/commands/sparc/post-deployment-monitoring-mode.md +13 -54
- package/.claude/commands/sparc/refinement-optimization-mode.md +13 -54
- package/.claude/commands/sparc/researcher.md +8 -25
- package/.claude/commands/sparc/reviewer.md +8 -25
- package/.claude/commands/sparc/security-review.md +13 -54
- package/.claude/commands/sparc/sparc-modes.md +97 -151
- package/.claude/commands/sparc/sparc.md +16 -56
- package/.claude/commands/sparc/spec-pseudocode.md +13 -54
- package/.claude/commands/sparc/supabase-admin.md +19 -66
- package/.claude/commands/sparc/swarm-coordinator.md +21 -25
- package/.claude/commands/sparc/tdd.md +8 -25
- package/.claude/commands/sparc/tester.md +8 -25
- package/.claude/commands/sparc/tutorial.md +12 -53
- package/.claude/commands/sparc/workflow-manager.md +8 -25
- package/.claude/commands/sparc.md +76 -130
- package/.claude/commands/stream-chain/pipeline.md +72 -77
- package/.claude/commands/stream-chain/run.md +133 -47
- package/.claude/commands/swarm/README.md +37 -12
- package/.claude/commands/swarm/analysis.md +47 -69
- package/.claude/commands/swarm/development.md +45 -69
- package/.claude/commands/swarm/examples.md +77 -142
- package/.claude/commands/swarm/maintenance.md +47 -74
- package/.claude/commands/swarm/optimization.md +54 -87
- package/.claude/commands/swarm/research.md +47 -107
- package/.claude/commands/swarm/swarm-analysis.md +58 -4
- package/.claude/commands/swarm/swarm-background.md +61 -4
- package/.claude/commands/swarm/swarm-modes.md +63 -4
- package/.claude/commands/swarm/swarm-monitor.md +50 -4
- package/.claude/commands/swarm/swarm-status.md +40 -4
- package/.claude/commands/swarm/swarm-strategies.md +73 -5
- package/.claude/commands/swarm/swarm.md +70 -18
- package/.claude/commands/swarm/testing.md +51 -102
- package/.claude/commands/tokens.md +6 -1
- package/.claude/commands/training/README.md +36 -6
- package/.claude/commands/training/model-update.md +68 -15
- package/.claude/commands/training/neural-patterns.md +54 -55
- package/.claude/commands/training/neural-train.md +70 -16
- package/.claude/commands/training/pattern-learn.md +60 -16
- package/.claude/commands/training/specialization.md +78 -49
- package/.claude/commands/truth/start.md +87 -109
- package/.claude/commands/ts.md +7 -2
- package/.claude/commands/verify/check.md +90 -34
- package/.claude/commands/verify/start.md +71 -94
- package/.claude/commands/workflows/README.md +62 -6
- package/.claude/commands/workflows/development.md +69 -61
- package/.claude/commands/workflows/research.md +73 -47
- package/.claude/commands/workflows/workflow-create.md +75 -16
- package/.claude/commands/workflows/workflow-execute.md +94 -16
- package/.claude/commands/workflows/workflow-export.md +81 -16
- package/.claude/helpers/control-start.cjs +91 -0
- package/.claude/helpers/extras-registry.json +4104 -1991
- package/.claude/helpers/graphify-freshen.cjs +44 -13
- package/.claude/helpers/hook-handler.cjs +256 -1
- package/.claude/helpers/learning-service.mjs +0 -0
- package/.claude/helpers/loop-tracker.cjs +107 -0
- package/.claude/helpers/metrics-db.mjs +0 -0
- package/.claude/helpers/router.cjs +48 -68
- package/.claude/helpers/skill-registry.json +89 -104
- package/.claude/helpers/statusline.cjs +33 -2
- package/.claude/helpers/swarm-hooks.sh +0 -0
- package/.claude/skills/.monomind/data/ranked-context.json +5 -0
- package/.claude/skills/.monomind/sessions/current.json +13 -0
- package/.claude/skills/.monomind/sessions/session-1777829336455.json +15 -0
- package/.claude/skills/.monomind/sessions/session-1777831614725.json +15 -0
- package/.claude/skills/.monomind/sessions/session-1777832095857.json +15 -0
- package/.claude/skills/.monomind/sessions/session-1777839814183.json +15 -0
- package/.claude/skills/.monomind/sessions/session-1777841847131.json +15 -0
- package/.claude/skills/.monomind/sessions/session-1777843309463.json +15 -0
- package/.claude/skills/.monomind/sessions/session-1777880867159.json +15 -0
- package/.claude/skills/.monomind/sessions/session-1777881884593.json +15 -0
- package/.claude/skills/.monomind/sessions/session-1777884090471.json +15 -0
- package/.claude/skills/.monomind/sessions/session-1777884808221.json +15 -0
- package/.claude/skills/.monomind/sessions/session-1777885672155.json +15 -0
- package/.claude/skills/.monomind/sessions/session-1777886852818.json +15 -0
- package/.claude/skills/.monomind/sessions/session-1777896532690.json +15 -0
- package/.claude/skills/agentdb-advanced/SKILL.md +11 -12
- package/.claude/skills/agentdb-learning/SKILL.md +20 -21
- package/.claude/skills/agentdb-memory-patterns/SKILL.md +28 -30
- package/.claude/skills/agentdb-optimization/SKILL.md +11 -12
- package/.claude/skills/agentdb-vector-search/SKILL.md +37 -41
- package/.claude/skills/{v3-integration-deep → agentic-integration}/SKILL.md +20 -13
- package/.claude/skills/agentic-jujutsu/SKILL.md +22 -22
- package/.claude/skills/{v3-cli-modernization → cli-modernization}/SKILL.md +17 -8
- package/.claude/skills/{v3-core-implementation → core-implementation}/SKILL.md +33 -8
- package/.claude/skills/{v3-ddd-architecture → ddd-architecture}/SKILL.md +18 -25
- package/.claude/skills/github-code-review/SKILL.md +82 -83
- package/.claude/skills/github-multi-repo/SKILL.md +42 -46
- package/.claude/skills/github-project-management/SKILL.md +83 -88
- package/.claude/skills/github-release-management/SKILL.md +12 -18
- package/.claude/skills/github-workflow-automation/SKILL.md +70 -74
- package/.claude/skills/hooks-automation/SKILL.md +9 -13
- package/.claude/skills/mastermind/_intake.md +83 -0
- package/.claude/skills/mastermind/_protocol.md +275 -0
- package/.claude/skills/mastermind/architect.md +847 -0
- package/.claude/skills/mastermind/build.md +158 -0
- package/.claude/skills/mastermind/content.md +185 -0
- package/.claude/skills/mastermind/createorg.md +318 -0
- package/.claude/skills/mastermind/finance.md +154 -0
- package/.claude/skills/mastermind/idea.md +158 -0
- package/.claude/skills/mastermind/marketing.md +216 -0
- package/.claude/skills/mastermind/monotask.md +350 -0
- package/.claude/skills/mastermind/ops.md +156 -0
- package/.claude/skills/mastermind/references/copywriting-frameworks.md +181 -0
- package/.claude/skills/mastermind/references/persuasion-psychology.md +158 -0
- package/.claude/skills/mastermind/release.md +156 -0
- package/.claude/skills/mastermind/research.md +156 -0
- package/.claude/skills/mastermind/review.md +157 -0
- package/.claude/skills/mastermind/runorg.md +308 -0
- package/.claude/skills/mastermind/sales.md +158 -0
- package/.claude/skills/mastermind/techport.md +743 -0
- package/.claude/skills/{v3-mcp-optimization → mcp-optimization}/SKILL.md +35 -14
- package/.claude/skills/{v3-memory-unification → memory-unification}/SKILL.md +20 -4
- package/.claude/skills/monodesign/SKILL.md +302 -0
- package/.claude/skills/monodesign/reference/adapt.md +190 -0
- package/.claude/skills/monodesign/reference/animate.md +175 -0
- package/.claude/skills/monodesign/reference/antipatterns-catalog.md +187 -0
- package/.claude/skills/monodesign/reference/audit.md +133 -0
- package/.claude/skills/monodesign/reference/bolder.md +113 -0
- package/.claude/skills/monodesign/reference/brand-workflow.md +180 -0
- package/.claude/skills/monodesign/reference/brand.md +114 -0
- package/.claude/skills/monodesign/reference/clarify.md +174 -0
- package/.claude/skills/monodesign/reference/cognitive-load.md +106 -0
- package/.claude/skills/monodesign/reference/color-and-contrast.md +105 -0
- package/.claude/skills/monodesign/reference/colorize.md +154 -0
- package/.claude/skills/monodesign/reference/component-specs.md +260 -0
- package/.claude/skills/monodesign/reference/component-states.md +274 -0
- package/.claude/skills/monodesign/reference/component-system.md +358 -0
- package/.claude/skills/monodesign/reference/copy-formulas.md +160 -0
- package/.claude/skills/monodesign/reference/craft.md +193 -0
- package/.claude/skills/monodesign/reference/critique.md +213 -0
- package/.claude/skills/monodesign/reference/delight.md +302 -0
- package/.claude/skills/monodesign/reference/design-principles.md +246 -0
- package/.claude/skills/monodesign/reference/distill.md +111 -0
- package/.claude/skills/monodesign/reference/document.md +427 -0
- package/.claude/skills/monodesign/reference/extract.md +69 -0
- package/.claude/skills/monodesign/reference/harden.md +347 -0
- package/.claude/skills/monodesign/reference/heuristics-scoring.md +234 -0
- package/.claude/skills/monodesign/reference/image-prompts.md +118 -0
- package/.claude/skills/monodesign/reference/interaction-design.md +195 -0
- package/.claude/skills/monodesign/reference/layout.md +141 -0
- package/.claude/skills/monodesign/reference/live.md +622 -0
- package/.claude/skills/monodesign/reference/motion-design.md +109 -0
- package/.claude/skills/monodesign/reference/onboard.md +234 -0
- package/.claude/skills/monodesign/reference/optimize.md +258 -0
- package/.claude/skills/monodesign/reference/overdrive.md +130 -0
- package/.claude/skills/monodesign/reference/personas.md +179 -0
- package/.claude/skills/monodesign/reference/polish.md +233 -0
- package/.claude/skills/monodesign/reference/pre-delivery-checklist.md +108 -0
- package/.claude/skills/monodesign/reference/product.md +62 -0
- package/.claude/skills/monodesign/reference/quieter.md +99 -0
- package/.claude/skills/monodesign/reference/responsive-design.md +114 -0
- package/.claude/skills/monodesign/reference/shape.md +151 -0
- package/.claude/skills/monodesign/reference/spatial-design.md +100 -0
- package/.claude/skills/monodesign/reference/teach.md +156 -0
- package/.claude/skills/monodesign/reference/token-architecture.md +222 -0
- package/.claude/skills/monodesign/reference/typeset.md +124 -0
- package/.claude/skills/monodesign/reference/typography.md +159 -0
- package/.claude/skills/monodesign/reference/ux-research.md +143 -0
- package/.claude/skills/monodesign/reference/ux-rules.md +211 -0
- package/.claude/skills/monodesign/reference/ux-writing.md +107 -0
- package/.claude/skills/monomotion/SKILL.md +145 -0
- package/.claude/skills/monomotion/rules/api-control.md +139 -0
- package/.claude/skills/monomotion/rules/effects.md +109 -0
- package/.claude/skills/monomotion/rules/integration.md +140 -0
- package/.claude/skills/monomotion/rules/scroll.md +131 -0
- package/.claude/skills/monomotion/rules/sequencing.md +105 -0
- package/.claude/skills/monomotion/rules/svg.md +101 -0
- package/.claude/skills/monomotion/rules/text.md +119 -0
- package/.claude/skills/pair-programming/SKILL.md +1 -1
- package/.claude/skills/performance-analysis/SKILL.md +3 -3
- package/.claude/skills/{v3-performance-optimization → performance-optimization}/SKILL.md +16 -8
- package/.claude/skills/reasoningbank-agentdb/SKILL.md +17 -19
- package/.claude/skills/reasoningbank-intelligence/SKILL.md +4 -6
- package/.claude/skills/{v3-security-overhaul → security-hardening}/SKILL.md +13 -3
- package/.claude/skills/skill-builder/SKILL.md +19 -19
- package/.claude/skills/sparc-methodology/SKILL.md +55 -211
- package/.claude/skills/stop-slop/SKILL.md +67 -0
- package/.claude/skills/stop-slop/references/examples.md +61 -0
- package/.claude/skills/stop-slop/references/phrases.md +130 -0
- package/.claude/skills/stop-slop/references/structures.md +136 -0
- package/.claude/skills/swarm-advanced/SKILL.md +13 -43
- package/.claude/skills/{v3-swarm-coordination → swarm-coordination}/SKILL.md +39 -21
- package/.claude/skills/swarm-orchestration/SKILL.md +12 -12
- package/.claude/skills/verification-quality/SKILL.md +5 -5
- package/README.md +5 -5
- package/bin/cli.js +78 -13
- package/dist/src/agents/halt-signal.d.ts.map +1 -1
- package/dist/src/agents/halt-signal.js +33 -7
- package/dist/src/agents/halt-signal.js.map +1 -1
- package/dist/src/agents/managed-agent.d.ts.map +1 -1
- package/dist/src/agents/managed-agent.js +5 -2
- package/dist/src/agents/managed-agent.js.map +1 -1
- package/dist/src/agents/prompt-experiment.d.ts +3 -2
- package/dist/src/agents/prompt-experiment.d.ts.map +1 -1
- package/dist/src/agents/prompt-experiment.js +1 -1
- package/dist/src/agents/prompt-experiment.js.map +1 -1
- package/dist/src/agents/prompt-version-manager.d.ts +5 -2
- package/dist/src/agents/prompt-version-manager.d.ts.map +1 -1
- package/dist/src/agents/prompt-version-manager.js +26 -4
- package/dist/src/agents/prompt-version-manager.js.map +1 -1
- package/dist/src/agents/specialization-scorer.d.ts.map +1 -1
- package/dist/src/agents/specialization-scorer.js +17 -9
- package/dist/src/agents/specialization-scorer.js.map +1 -1
- package/dist/src/agents/trigger-scanner.d.ts +5 -3
- package/dist/src/agents/trigger-scanner.d.ts.map +1 -1
- package/dist/src/agents/trigger-scanner.js +58 -10
- package/dist/src/agents/trigger-scanner.js.map +1 -1
- package/dist/src/agents/version-store.d.ts +0 -1
- package/dist/src/agents/version-store.d.ts.map +1 -1
- package/dist/src/agents/version-store.js +44 -21
- package/dist/src/agents/version-store.js.map +1 -1
- package/dist/src/autopilot-state.d.ts.map +1 -1
- package/dist/src/autopilot-state.js +79 -28
- package/dist/src/autopilot-state.js.map +1 -1
- package/dist/src/benchmarks/benchmark-runner.d.ts +7 -2
- package/dist/src/benchmarks/benchmark-runner.d.ts.map +1 -1
- package/dist/src/benchmarks/benchmark-runner.js +20 -8
- package/dist/src/benchmarks/benchmark-runner.js.map +1 -1
- package/dist/src/benchmarks/metric-evaluators.d.ts +2 -1
- package/dist/src/benchmarks/metric-evaluators.d.ts.map +1 -1
- package/dist/src/benchmarks/metric-evaluators.js +25 -2
- package/dist/src/benchmarks/metric-evaluators.js.map +1 -1
- package/dist/src/commands/agent.d.ts.map +1 -1
- package/dist/src/commands/agent.js +6 -4
- package/dist/src/commands/agent.js.map +1 -1
- package/dist/src/commands/appliance-advanced.d.ts.map +1 -1
- package/dist/src/commands/appliance-advanced.js +23 -0
- package/dist/src/commands/appliance-advanced.js.map +1 -1
- package/dist/src/commands/autopilot.d.ts.map +1 -1
- package/dist/src/commands/autopilot.js +3 -3
- package/dist/src/commands/autopilot.js.map +1 -1
- package/dist/src/commands/benchmark.d.ts.map +1 -1
- package/dist/src/commands/benchmark.js +119 -8
- package/dist/src/commands/benchmark.js.map +1 -1
- package/dist/src/commands/claims.d.ts.map +1 -1
- package/dist/src/commands/claims.js +22 -14
- package/dist/src/commands/claims.js.map +1 -1
- package/dist/src/commands/config.d.ts.map +1 -1
- package/dist/src/commands/config.js +32 -0
- package/dist/src/commands/config.js.map +1 -1
- package/dist/src/commands/daemon.d.ts.map +1 -1
- package/dist/src/commands/daemon.js +13 -11
- package/dist/src/commands/daemon.js.map +1 -1
- package/dist/src/commands/deployment.d.ts.map +1 -1
- package/dist/src/commands/deployment.js +21 -2
- package/dist/src/commands/deployment.js.map +1 -1
- package/dist/src/commands/doctor.d.ts.map +1 -1
- package/dist/src/commands/doctor.js +5 -4
- package/dist/src/commands/doctor.js.map +1 -1
- package/dist/src/commands/embeddings.d.ts.map +1 -1
- package/dist/src/commands/embeddings.js +124 -48
- package/dist/src/commands/embeddings.js.map +1 -1
- package/dist/src/commands/hive-mind.d.ts.map +1 -1
- package/dist/src/commands/hive-mind.js +15 -14
- package/dist/src/commands/hive-mind.js.map +1 -1
- package/dist/src/commands/hooks.d.ts.map +1 -1
- package/dist/src/commands/hooks.js +45 -41
- package/dist/src/commands/hooks.js.map +1 -1
- package/dist/src/commands/index.d.ts +2 -0
- package/dist/src/commands/index.d.ts.map +1 -1
- package/dist/src/commands/index.js +20 -7
- 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 +53 -19
- package/dist/src/commands/init.js.map +1 -1
- package/dist/src/commands/mcp.d.ts.map +1 -1
- package/dist/src/commands/mcp.js +31 -44
- package/dist/src/commands/mcp.js.map +1 -1
- package/dist/src/commands/memory.d.ts.map +1 -1
- package/dist/src/commands/memory.js +47 -15
- package/dist/src/commands/memory.js.map +1 -1
- package/dist/src/commands/migrate.d.ts.map +1 -1
- package/dist/src/commands/migrate.js +156 -108
- package/dist/src/commands/migrate.js.map +1 -1
- package/dist/src/commands/monograph.d.ts +8 -0
- package/dist/src/commands/monograph.d.ts.map +1 -0
- package/dist/src/commands/monograph.js +526 -0
- package/dist/src/commands/monograph.js.map +1 -0
- package/dist/src/commands/neural.d.ts.map +1 -1
- package/dist/src/commands/neural.js +96 -56
- package/dist/src/commands/neural.js.map +1 -1
- package/dist/src/commands/performance.d.ts.map +1 -1
- package/dist/src/commands/performance.js +30 -8
- package/dist/src/commands/performance.js.map +1 -1
- package/dist/src/commands/plugins.d.ts.map +1 -1
- package/dist/src/commands/plugins.js +13 -37
- package/dist/src/commands/plugins.js.map +1 -1
- package/dist/src/commands/process.d.ts.map +1 -1
- package/dist/src/commands/process.js +25 -2
- package/dist/src/commands/process.js.map +1 -1
- package/dist/src/commands/providers.d.ts.map +1 -1
- package/dist/src/commands/providers.js +37 -5
- package/dist/src/commands/providers.js.map +1 -1
- package/dist/src/commands/replay.js +4 -4
- package/dist/src/commands/replay.js.map +1 -1
- package/dist/src/commands/route.d.ts.map +1 -1
- package/dist/src/commands/route.js +37 -5
- package/dist/src/commands/route.js.map +1 -1
- package/dist/src/commands/ruvector/import.d.ts.map +1 -1
- package/dist/src/commands/ruvector/import.js +12 -2
- package/dist/src/commands/ruvector/import.js.map +1 -1
- package/dist/src/commands/ruvector/init.d.ts.map +1 -1
- package/dist/src/commands/ruvector/init.js +15 -0
- package/dist/src/commands/ruvector/init.js.map +1 -1
- package/dist/src/commands/ruvector/status.d.ts.map +1 -1
- package/dist/src/commands/ruvector/status.js +16 -3
- package/dist/src/commands/ruvector/status.js.map +1 -1
- package/dist/src/commands/security.d.ts.map +1 -1
- package/dist/src/commands/security.js +342 -193
- package/dist/src/commands/security.js.map +1 -1
- package/dist/src/commands/session.d.ts.map +1 -1
- package/dist/src/commands/session.js +51 -8
- package/dist/src/commands/session.js.map +1 -1
- package/dist/src/commands/start.d.ts.map +1 -1
- package/dist/src/commands/start.js +18 -4
- package/dist/src/commands/start.js.map +1 -1
- package/dist/src/commands/swarm.d.ts.map +1 -1
- package/dist/src/commands/swarm.js +47 -36
- package/dist/src/commands/swarm.js.map +1 -1
- package/dist/src/commands/tokens.js +11 -11
- package/dist/src/commands/tokens.js.map +1 -1
- package/dist/src/commands/transfer-store.js +1 -1
- package/dist/src/commands/transfer-store.js.map +1 -1
- package/dist/src/commands/workflow.d.ts.map +1 -1
- package/dist/src/commands/workflow.js +31 -4
- package/dist/src/commands/workflow.js.map +1 -1
- package/dist/src/config-adapter.d.ts +2 -1
- package/dist/src/config-adapter.d.ts.map +1 -1
- package/dist/src/config-adapter.js.map +1 -1
- package/dist/src/consensus/audit-writer.d.ts.map +1 -1
- package/dist/src/consensus/audit-writer.js +46 -13
- package/dist/src/consensus/audit-writer.js.map +1 -1
- package/dist/src/consensus/vote-signer.d.ts +0 -3
- package/dist/src/consensus/vote-signer.d.ts.map +1 -1
- package/dist/src/consensus/vote-signer.js +9 -1
- package/dist/src/consensus/vote-signer.js.map +1 -1
- package/dist/src/dlq/dlq-reader.d.ts +4 -2
- package/dist/src/dlq/dlq-reader.d.ts.map +1 -1
- package/dist/src/dlq/dlq-reader.js +25 -8
- package/dist/src/dlq/dlq-reader.js.map +1 -1
- package/dist/src/dlq/dlq-replayer.d.ts +10 -3
- package/dist/src/dlq/dlq-replayer.d.ts.map +1 -1
- package/dist/src/dlq/dlq-replayer.js +50 -16
- package/dist/src/dlq/dlq-replayer.js.map +1 -1
- package/dist/src/dlq/dlq-writer.d.ts.map +1 -1
- package/dist/src/dlq/dlq-writer.js +27 -5
- package/dist/src/dlq/dlq-writer.js.map +1 -1
- package/dist/src/eval/dataset-manager.d.ts +2 -2
- package/dist/src/eval/dataset-manager.d.ts.map +1 -1
- package/dist/src/eval/dataset-manager.js +26 -16
- package/dist/src/eval/dataset-manager.js.map +1 -1
- package/dist/src/eval/trace-collector.d.ts.map +1 -1
- package/dist/src/eval/trace-collector.js +23 -3
- package/dist/src/eval/trace-collector.js.map +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +12 -10
- package/dist/src/index.js.map +1 -1
- package/dist/src/init/claudemd-generator.js +8 -8
- package/dist/src/init/claudemd-generator.js.map +1 -1
- package/dist/src/init/executor.d.ts.map +1 -1
- package/dist/src/init/executor.js +153 -70
- package/dist/src/init/executor.js.map +1 -1
- package/dist/src/init/helpers-generator.d.ts.map +1 -1
- package/dist/src/init/helpers-generator.js +35 -22
- package/dist/src/init/helpers-generator.js.map +1 -1
- package/dist/src/init/mcp-generator.js +3 -3
- package/dist/src/init/mcp-generator.js.map +1 -1
- package/dist/src/init/settings-generator.d.ts.map +1 -1
- package/dist/src/init/settings-generator.js +10 -3
- package/dist/src/init/settings-generator.js.map +1 -1
- package/dist/src/init/shared-instructions-generator.d.ts.map +1 -1
- package/dist/src/init/shared-instructions-generator.js +18 -3
- package/dist/src/init/shared-instructions-generator.js.map +1 -1
- package/dist/src/init/statusline-generator.d.ts.map +1 -1
- package/dist/src/init/statusline-generator.js +3 -1
- package/dist/src/init/statusline-generator.js.map +1 -1
- package/dist/src/init/types.d.ts +35 -11
- package/dist/src/init/types.d.ts.map +1 -1
- package/dist/src/init/types.js +5 -9
- package/dist/src/init/types.js.map +1 -1
- package/dist/src/interactive/interrupt.d.ts.map +1 -1
- package/dist/src/interactive/interrupt.js +8 -3
- package/dist/src/interactive/interrupt.js.map +1 -1
- package/dist/src/mcp/tool-registry.d.ts.map +1 -1
- package/dist/src/mcp/tool-registry.js +38 -4
- package/dist/src/mcp/tool-registry.js.map +1 -1
- package/dist/src/mcp-client.d.ts.map +1 -1
- package/dist/src/mcp-client.js +10 -4
- package/dist/src/mcp-client.js.map +1 -1
- package/dist/src/mcp-server.d.ts +9 -2
- package/dist/src/mcp-server.d.ts.map +1 -1
- package/dist/src/mcp-server.js +182 -35
- package/dist/src/mcp-server.js.map +1 -1
- package/dist/src/mcp-tools/agent-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/agent-tools.js +66 -34
- package/dist/src/mcp-tools/agent-tools.js.map +1 -1
- package/dist/src/mcp-tools/agentdb-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/agentdb-tools.js +34 -7
- package/dist/src/mcp-tools/agentdb-tools.js.map +1 -1
- package/dist/src/mcp-tools/analyze-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/analyze-tools.js +25 -16
- package/dist/src/mcp-tools/analyze-tools.js.map +1 -1
- package/dist/src/mcp-tools/auto-install.d.ts.map +1 -1
- package/dist/src/mcp-tools/auto-install.js +4 -6
- package/dist/src/mcp-tools/auto-install.js.map +1 -1
- package/dist/src/mcp-tools/autopilot-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/autopilot-tools.js +12 -2
- package/dist/src/mcp-tools/autopilot-tools.js.map +1 -1
- package/dist/src/mcp-tools/browser-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/browser-tools.js +199 -20
- package/dist/src/mcp-tools/browser-tools.js.map +1 -1
- package/dist/src/mcp-tools/claims-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/claims-tools.js +68 -18
- package/dist/src/mcp-tools/claims-tools.js.map +1 -1
- package/dist/src/mcp-tools/config-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/config-tools.js +33 -5
- package/dist/src/mcp-tools/config-tools.js.map +1 -1
- package/dist/src/mcp-tools/coordination-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/coordination-tools.js +59 -4
- package/dist/src/mcp-tools/coordination-tools.js.map +1 -1
- package/dist/src/mcp-tools/daa-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/daa-tools.js +46 -10
- package/dist/src/mcp-tools/daa-tools.js.map +1 -1
- package/dist/src/mcp-tools/embeddings-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/embeddings-tools.js +46 -5
- package/dist/src/mcp-tools/embeddings-tools.js.map +1 -1
- package/dist/src/mcp-tools/github-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/github-tools.js +29 -16
- package/dist/src/mcp-tools/github-tools.js.map +1 -1
- package/dist/src/mcp-tools/guidance-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/guidance-tools.js +38 -10
- package/dist/src/mcp-tools/guidance-tools.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 +96 -33
- 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 +70 -37
- package/dist/src/mcp-tools/hooks-tools.js.map +1 -1
- package/dist/src/mcp-tools/memory-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/memory-tools.js +29 -13
- package/dist/src/mcp-tools/memory-tools.js.map +1 -1
- package/dist/src/mcp-tools/monograph-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/monograph-tools.js +5867 -56
- 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 +121 -37
- package/dist/src/mcp-tools/neural-tools.js.map +1 -1
- package/dist/src/mcp-tools/performance-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/performance-tools.js +21 -8
- package/dist/src/mcp-tools/performance-tools.js.map +1 -1
- package/dist/src/mcp-tools/progress-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/progress-tools.js +10 -8
- package/dist/src/mcp-tools/progress-tools.js.map +1 -1
- package/dist/src/mcp-tools/request-tracker.d.ts.map +1 -1
- package/dist/src/mcp-tools/request-tracker.js +4 -1
- package/dist/src/mcp-tools/request-tracker.js.map +1 -1
- package/dist/src/mcp-tools/ruvllm-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/ruvllm-tools.js +19 -8
- package/dist/src/mcp-tools/ruvllm-tools.js.map +1 -1
- package/dist/src/mcp-tools/session-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/session-tools.js +57 -17
- package/dist/src/mcp-tools/session-tools.js.map +1 -1
- package/dist/src/mcp-tools/swarm-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/swarm-tools.js +35 -17
- package/dist/src/mcp-tools/swarm-tools.js.map +1 -1
- package/dist/src/mcp-tools/system-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/system-tools.js +4 -3
- package/dist/src/mcp-tools/system-tools.js.map +1 -1
- package/dist/src/mcp-tools/task-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/task-tools.js +53 -13
- package/dist/src/mcp-tools/task-tools.js.map +1 -1
- package/dist/src/mcp-tools/terminal-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/terminal-tools.js +63 -14
- package/dist/src/mcp-tools/terminal-tools.js.map +1 -1
- package/dist/src/mcp-tools/transfer-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/transfer-tools.js +21 -16
- package/dist/src/mcp-tools/transfer-tools.js.map +1 -1
- package/dist/src/mcp-tools/workflow-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/workflow-tools.js +92 -23
- package/dist/src/mcp-tools/workflow-tools.js.map +1 -1
- package/dist/src/memory/ewc-consolidation.d.ts.map +1 -1
- package/dist/src/memory/ewc-consolidation.js +41 -10
- package/dist/src/memory/ewc-consolidation.js.map +1 -1
- 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 +39 -13
- package/dist/src/memory/intelligence.js.map +1 -1
- package/dist/src/memory/memory-bridge.d.ts +1 -0
- package/dist/src/memory/memory-bridge.d.ts.map +1 -1
- package/dist/src/memory/memory-bridge.js +149 -56
- package/dist/src/memory/memory-bridge.js.map +1 -1
- package/dist/src/memory/memory-initializer.d.ts.map +1 -1
- package/dist/src/memory/memory-initializer.js +107 -45
- package/dist/src/memory/memory-initializer.js.map +1 -1
- package/dist/src/memory/sona-optimizer.d.ts +8 -1
- package/dist/src/memory/sona-optimizer.d.ts.map +1 -1
- package/dist/src/memory/sona-optimizer.js +25 -8
- package/dist/src/memory/sona-optimizer.js.map +1 -1
- package/dist/src/observability/replay-reader.d.ts +40 -0
- package/dist/src/observability/replay-reader.d.ts.map +1 -0
- package/dist/src/observability/replay-reader.js +138 -0
- package/dist/src/observability/replay-reader.js.map +1 -0
- package/dist/src/orchestration/routing-modes.d.ts.map +1 -1
- package/dist/src/orchestration/routing-modes.js +35 -5
- package/dist/src/orchestration/routing-modes.js.map +1 -1
- package/dist/src/parser.d.ts +8 -0
- package/dist/src/parser.d.ts.map +1 -1
- package/dist/src/parser.js +48 -14
- package/dist/src/parser.js.map +1 -1
- package/dist/src/plugins/manager.d.ts.map +1 -1
- package/dist/src/plugins/manager.js +112 -19
- package/dist/src/plugins/manager.js.map +1 -1
- package/dist/src/plugins/store/discovery.d.ts +1 -1
- package/dist/src/plugins/store/discovery.d.ts.map +1 -1
- package/dist/src/plugins/store/discovery.js +80 -62
- package/dist/src/plugins/store/discovery.js.map +1 -1
- package/dist/src/production/circuit-breaker.d.ts.map +1 -1
- package/dist/src/production/circuit-breaker.js +8 -1
- package/dist/src/production/circuit-breaker.js.map +1 -1
- package/dist/src/production/error-handler.d.ts +4 -2
- package/dist/src/production/error-handler.d.ts.map +1 -1
- package/dist/src/production/error-handler.js +27 -5
- package/dist/src/production/error-handler.js.map +1 -1
- package/dist/src/production/monitoring.d.ts.map +1 -1
- package/dist/src/production/monitoring.js +8 -4
- package/dist/src/production/monitoring.js.map +1 -1
- package/dist/src/production/rate-limiter.d.ts.map +1 -1
- package/dist/src/production/rate-limiter.js +30 -22
- package/dist/src/production/rate-limiter.js.map +1 -1
- package/dist/src/ruvector/agent-wasm.js +2 -2
- package/dist/src/ruvector/agent-wasm.js.map +1 -1
- package/dist/src/ruvector/coverage-router.d.ts.map +1 -1
- package/dist/src/ruvector/coverage-router.js +19 -9
- package/dist/src/ruvector/coverage-router.js.map +1 -1
- package/dist/src/ruvector/diff-classifier.d.ts +1 -0
- package/dist/src/ruvector/diff-classifier.d.ts.map +1 -1
- package/dist/src/ruvector/diff-classifier.js +26 -6
- package/dist/src/ruvector/diff-classifier.js.map +1 -1
- package/dist/src/ruvector/enhanced-model-router.d.ts.map +1 -1
- package/dist/src/ruvector/enhanced-model-router.js +24 -2
- package/dist/src/ruvector/enhanced-model-router.js.map +1 -1
- package/dist/src/ruvector/index.d.ts +1 -2
- package/dist/src/ruvector/index.d.ts.map +1 -1
- package/dist/src/ruvector/index.js +2 -2
- package/dist/src/ruvector/index.js.map +1 -1
- package/dist/src/ruvector/model-router.d.ts +4 -2
- package/dist/src/ruvector/model-router.d.ts.map +1 -1
- package/dist/src/ruvector/model-router.js +30 -6
- package/dist/src/ruvector/model-router.js.map +1 -1
- package/dist/src/ruvector/moe-router.d.ts +7 -0
- package/dist/src/ruvector/moe-router.d.ts.map +1 -1
- package/dist/src/ruvector/moe-router.js +35 -12
- package/dist/src/ruvector/moe-router.js.map +1 -1
- package/dist/src/ruvector/q-learning-router.d.ts +7 -1
- package/dist/src/ruvector/q-learning-router.d.ts.map +1 -1
- package/dist/src/ruvector/q-learning-router.js +40 -9
- package/dist/src/ruvector/q-learning-router.js.map +1 -1
- package/dist/src/services/claim-service.d.ts +3 -1
- package/dist/src/services/claim-service.d.ts.map +1 -1
- package/dist/src/services/claim-service.js +33 -2
- package/dist/src/services/claim-service.js.map +1 -1
- package/dist/src/services/config-file-manager.d.ts +16 -2
- package/dist/src/services/config-file-manager.d.ts.map +1 -1
- package/dist/src/services/config-file-manager.js +105 -17
- package/dist/src/services/config-file-manager.js.map +1 -1
- package/dist/src/services/container-worker-pool.d.ts.map +1 -1
- package/dist/src/services/container-worker-pool.js +51 -11
- package/dist/src/services/container-worker-pool.js.map +1 -1
- package/dist/src/services/headless-worker-executor.d.ts +7 -0
- package/dist/src/services/headless-worker-executor.d.ts.map +1 -1
- package/dist/src/services/headless-worker-executor.js +188 -45
- package/dist/src/services/headless-worker-executor.js.map +1 -1
- package/dist/src/services/registry-api.d.ts.map +1 -1
- package/dist/src/services/registry-api.js +62 -9
- package/dist/src/services/registry-api.js.map +1 -1
- package/dist/src/services/ruvector-training.d.ts.map +1 -1
- package/dist/src/services/ruvector-training.js +8 -0
- package/dist/src/services/ruvector-training.js.map +1 -1
- package/dist/src/services/worker-daemon.d.ts +4 -1
- package/dist/src/services/worker-daemon.d.ts.map +1 -1
- package/dist/src/services/worker-daemon.js +112 -28
- package/dist/src/services/worker-daemon.js.map +1 -1
- package/dist/src/services/worker-queue.d.ts +9 -2
- package/dist/src/services/worker-queue.d.ts.map +1 -1
- package/dist/src/services/worker-queue.js +86 -5
- package/dist/src/services/worker-queue.js.map +1 -1
- package/dist/src/suggest.d.ts.map +1 -1
- package/dist/src/suggest.js +9 -0
- package/dist/src/suggest.js.map +1 -1
- package/dist/src/swarm/flow-enforcer.d.ts +5 -3
- package/dist/src/swarm/flow-enforcer.d.ts.map +1 -1
- package/dist/src/swarm/flow-enforcer.js +17 -5
- package/dist/src/swarm/flow-enforcer.js.map +1 -1
- package/dist/src/swarm/flow-visualizer.d.ts +3 -0
- package/dist/src/swarm/flow-visualizer.d.ts.map +1 -1
- package/dist/src/swarm/flow-visualizer.js +30 -6
- package/dist/src/swarm/flow-visualizer.js.map +1 -1
- package/dist/src/transfer/anonymization/index.d.ts.map +1 -1
- package/dist/src/transfer/anonymization/index.js +5 -3
- package/dist/src/transfer/anonymization/index.js.map +1 -1
- package/dist/src/transfer/export.d.ts.map +1 -1
- package/dist/src/transfer/export.js +5 -3
- package/dist/src/transfer/export.js.map +1 -1
- package/dist/src/transfer/ipfs/client.d.ts.map +1 -1
- package/dist/src/transfer/ipfs/client.js +84 -7
- package/dist/src/transfer/ipfs/client.js.map +1 -1
- package/dist/src/transfer/ipfs/upload.d.ts.map +1 -1
- package/dist/src/transfer/ipfs/upload.js +13 -4
- package/dist/src/transfer/ipfs/upload.js.map +1 -1
- package/dist/src/transfer/storage/gcs.d.ts.map +1 -1
- package/dist/src/transfer/storage/gcs.js +19 -10
- package/dist/src/transfer/storage/gcs.js.map +1 -1
- package/dist/src/transfer/store/discovery.d.ts +9 -2
- package/dist/src/transfer/store/discovery.d.ts.map +1 -1
- package/dist/src/transfer/store/discovery.js +68 -13
- package/dist/src/transfer/store/discovery.js.map +1 -1
- package/dist/src/transfer/store/download.d.ts +15 -6
- package/dist/src/transfer/store/download.d.ts.map +1 -1
- package/dist/src/transfer/store/download.js +113 -24
- package/dist/src/transfer/store/download.js.map +1 -1
- package/dist/src/transfer/store/publish.d.ts +1 -1
- package/dist/src/transfer/store/publish.d.ts.map +1 -1
- package/dist/src/transfer/store/publish.js +13 -14
- package/dist/src/transfer/store/publish.js.map +1 -1
- package/dist/src/transfer/store/registry.d.ts +3 -3
- package/dist/src/transfer/store/registry.d.ts.map +1 -1
- package/dist/src/transfer/store/registry.js +32 -16
- package/dist/src/transfer/store/registry.js.map +1 -1
- package/dist/src/ui/.monomind/sessions/current.json +2 -2
- package/dist/src/ui/dashboard.html +2507 -187
- package/dist/src/ui/server.mjs +1338 -149
- package/dist/src/update/checker.d.ts.map +1 -1
- package/dist/src/update/checker.js +17 -4
- package/dist/src/update/checker.js.map +1 -1
- package/dist/src/update/executor.d.ts.map +1 -1
- package/dist/src/update/executor.js +25 -20
- package/dist/src/update/executor.js.map +1 -1
- package/dist/src/update/rate-limiter.d.ts +11 -0
- package/dist/src/update/rate-limiter.d.ts.map +1 -1
- package/dist/src/update/rate-limiter.js +23 -3
- package/dist/src/update/rate-limiter.js.map +1 -1
- package/dist/src/utils/parse-jsonl.d.ts +6 -0
- package/dist/src/utils/parse-jsonl.d.ts.map +1 -0
- package/dist/src/utils/parse-jsonl.js +22 -0
- package/dist/src/utils/parse-jsonl.js.map +1 -0
- package/dist/src/workflow/condition-evaluator.d.ts.map +1 -1
- package/dist/src/workflow/condition-evaluator.js +37 -3
- package/dist/src/workflow/condition-evaluator.js.map +1 -1
- package/dist/src/workflow/dag-builder.d.ts.map +1 -1
- package/dist/src/workflow/dag-builder.js +27 -11
- package/dist/src/workflow/dag-builder.js.map +1 -1
- package/dist/src/workflow/dag-executor.d.ts.map +1 -1
- package/dist/src/workflow/dag-executor.js +51 -13
- package/dist/src/workflow/dag-executor.js.map +1 -1
- package/dist/src/workflow/dsl-schema.d.ts +3 -0
- package/dist/src/workflow/dsl-schema.d.ts.map +1 -1
- package/dist/src/workflow/dsl-schema.js +6 -2
- package/dist/src/workflow/dsl-schema.js.map +1 -1
- package/dist/src/workflow/template-engine.js +7 -0
- package/dist/src/workflow/template-engine.js.map +1 -1
- package/dist/src/workflow/workflow-executor.d.ts.map +1 -1
- package/dist/src/workflow/workflow-executor.js +95 -14
- package/dist/src/workflow/workflow-executor.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +15 -12
- package/.claude/agents/design/design-brand-guardian.md +0 -323
- package/.claude/agents/design/design-image-prompt-engineer.md +0 -237
- package/.claude/agents/design/design-inclusive-visuals-specialist.md +0 -72
- package/.claude/agents/design/design-ui-designer.md +0 -384
- package/.claude/agents/design/design-ux-architect.md +0 -470
- package/.claude/agents/design/design-ux-researcher.md +0 -330
- package/.claude/agents/design/design-visual-storyteller.md +0 -150
- package/.claude/agents/design/design-whimsy-injector.md +0 -439
- package/.claude/agents/v3/integration-architect.md +0 -338
- package/.claude/commands/analysis/COMMAND_COMPLIANCE_REPORT.md +0 -54
- package/.claude/commands/coordination/init.md +0 -44
- package/.claude/commands/coordination/orchestrate.md +0 -43
- package/.claude/commands/coordination/spawn.md +0 -45
- package/.claude/commands/github/code-review-swarm.md +0 -550
- package/.claude/commands/github/code-review.md +0 -25
- package/.claude/commands/github/github-swarm.md +0 -121
- package/.claude/commands/github/issue-triage.md +0 -25
- package/.claude/commands/github/multi-repo-swarm.md +0 -519
- package/.claude/commands/github/pr-enhance.md +0 -26
- package/.claude/commands/github/project-board-sync.md +0 -471
- package/.claude/commands/github/release-swarm.md +0 -590
- package/.claude/commands/github/repo-analyze.md +0 -25
- package/.claude/commands/github/swarm-issue.md +0 -482
- package/.claude/commands/github/swarm-pr.md +0 -310
- package/.claude/commands/github/workflow-automation.md +0 -468
- package/.claude/commands/hive-mind/hive-mind-metrics.md +0 -8
- package/.claude/commands/hive-mind/hive-mind-resume.md +0 -8
- package/.claude/commands/hive-mind/hive-mind-sessions.md +0 -8
- package/.claude/commands/hive-mind/hive-mind-wizard.md +0 -8
- package/.claude/commands/list-agents.md +0 -17
- package/.claude/commands/memory/memory-persist.md +0 -25
- package/.claude/commands/memory/memory-usage.md +0 -25
- package/.claude/commands/memory/neural.md +0 -47
- package/.claude/commands/metrics.md +0 -11
- package/.claude/commands/monitoring/real-time-view.md +0 -25
- package/.claude/commands/monitoring/swarm-monitor.md +0 -25
- package/.claude/commands/monomind-createtask.md +0 -302
- package/.claude/commands/monomind-help.md +0 -103
- package/.claude/commands/monomind-memory.md +0 -107
- package/.claude/commands/monomind-repeat.md +0 -149
- package/.claude/commands/monomind-swarm.md +0 -205
- package/.claude/commands/optimization/cache-manage.md +0 -25
- package/.claude/commands/optimization/topology-optimize.md +0 -25
- package/.claude/commands/pair/commands.md +0 -546
- package/.claude/commands/pair/config.md +0 -510
- package/.claude/commands/pair/start.md +0 -209
- package/.claude/commands/use-agent.md +0 -67
- package/.claude/skills/monomind-createtask/SKILL.md +0 -269
- package/.claude/skills/monomind-task-engine/SKILL.md +0 -358
- package/LICENSE +0 -21
- /package/.claude/agents/{v3 → specialists}/memory-specialist.md +0 -0
- /package/.claude/agents/{v3 → specialists}/performance-engineer.md +0 -0
- /package/.claude/agents/{v3 → specialists}/queen-coordinator.md +0 -0
- /package/.claude/agents/{v3 → specialists}/security-architect.md +0 -0
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: monomind: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`)
|
|
12
|
+
- `--rep <N>` — (internal continuation flag injected by ScheduleWakeup; do not expose to user). Must be a positive integer ≤ MAX_REPS+1; reject otherwise.
|
|
13
|
+
- `--loop <id>` — (internal continuation flag; preserves loop identity across runs). Must match format `repeat-[digits]-[digits]-[digits]`; reject otherwise.
|
|
14
|
+
- `--` — end of flags; everything after this is the prompt verbatim
|
|
15
|
+
- Everything else (after flag extraction) is the **prompt** to repeat
|
|
16
|
+
|
|
17
|
+
If `INTERVAL` is less than 1, set it to 1 and output: `[monomind:repeat] Interval clamped to 1 minute (minimum).`
|
|
18
|
+
|
|
19
|
+
If `MAX_REPS` is less than 1, set it to 1 and output: `[monomind:repeat] Repetitions clamped to 1 (minimum).`
|
|
20
|
+
|
|
21
|
+
If `MAX_REPS` is greater than 1000, set it to 1000 and output: `[monomind:repeat] Repetitions clamped to 1000 (maximum).`
|
|
22
|
+
|
|
23
|
+
If `--every` is present but its value is missing or not a number, use the default (15).
|
|
24
|
+
|
|
25
|
+
If `--loop` is present but does not match the pattern `repeat-<digits>-<digits>-<digits>`, output `[monomind:repeat] ERROR: invalid loop ID` and STOP.
|
|
26
|
+
|
|
27
|
+
**Examples:**
|
|
28
|
+
```
|
|
29
|
+
/monomind:repeat --every 5 --times 9 /mastermind:architect --iterate 2 review this project
|
|
30
|
+
/monomind:repeat --every 1 --times 20 /mastermind:review check for security issues
|
|
31
|
+
/monomind:repeat --every 30 /monomind:do --space abc --board def
|
|
32
|
+
/monomind:repeat check deployment status
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
If `$ARGUMENTS` is empty or contains only flags with no prompt, output this and STOP:
|
|
36
|
+
> **Usage:** `/monomind:repeat [--every <minutes>] [--times <count>] <prompt>`
|
|
37
|
+
>
|
|
38
|
+
> Defaults: every 15 minutes, 10 times.
|
|
39
|
+
>
|
|
40
|
+
> This is the universal loop wrapper. Wrap any slash command to repeat it:
|
|
41
|
+
> - `/monomind:repeat --every 5 --times 9 /mastermind:architect review this project`
|
|
42
|
+
> - `/monomind:repeat --every 1 --times 20 /mastermind:review check for security issues`
|
|
43
|
+
> - `/monomind:repeat --every 30 /monomind:do --space abc --board def`
|
|
44
|
+
> - `/monomind:repeat check deployment status`
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## Internal Flag: `--rep` and `--loop`
|
|
49
|
+
|
|
50
|
+
When `--rep <N>` is present in arguments, this is a continuation from a previous wake-up:
|
|
51
|
+
- `INTERVAL`, `MAX_REPS`, and `PROMPT` are already set by argument parsing above (they arrive via the ScheduleWakeup prompt)
|
|
52
|
+
- Set `CURRENT_REP` to `N` instead of `1`
|
|
53
|
+
- Set `LOOP_ID` from `--loop <id>`
|
|
54
|
+
- Skip Step 1 initialization entirely
|
|
55
|
+
- Go directly to Step 2 (execute) with output:
|
|
56
|
+
```
|
|
57
|
+
[monomind:repeat] Run N/MAX_REPS starting...
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## Step 1: Initialize
|
|
63
|
+
|
|
64
|
+
Extract:
|
|
65
|
+
- `INTERVAL` — from `--every` flag, default `15` (minutes), minimum 1
|
|
66
|
+
- `MAX_REPS` — from `--times` flag, default `10`
|
|
67
|
+
- `PROMPT` — everything remaining after flags are removed
|
|
68
|
+
- `CURRENT_REP` — starts at `1`
|
|
69
|
+
|
|
70
|
+
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. 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):
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
mkdir -p .monomind/loops
|
|
74
|
+
NOW_MS=$(python3 -c 'import time;print(int(time.time()*1000))' 2>/dev/null || echo "$(date +%s)000")
|
|
75
|
+
LOOP_ID="repeat-${NOW_MS}-${RANDOM}-$$"
|
|
76
|
+
PROMPT_JSON=$(python3 -c "import sys,json; sys.stdout.write(json.dumps(sys.stdin.read().rstrip(chr(10))))" << 'MONOMIND_PROMPT_7x9k2m'
|
|
77
|
+
<PROMPT>
|
|
78
|
+
MONOMIND_PROMPT_7x9k2m
|
|
79
|
+
)
|
|
80
|
+
if [ -z "$PROMPT_JSON" ]; then PROMPT_JSON='"(prompt unavailable)"'; fi
|
|
81
|
+
cat > ".monomind/loops/${LOOP_ID}.json" << EOF
|
|
82
|
+
{
|
|
83
|
+
"id": "${LOOP_ID}",
|
|
84
|
+
"sessionId": "${LOOP_ID}",
|
|
85
|
+
"type": "repeat",
|
|
86
|
+
"command": "/monomind:repeat",
|
|
87
|
+
"prompt": ${PROMPT_JSON},
|
|
88
|
+
"interval": <INTERVAL>,
|
|
89
|
+
"currentRep": 1,
|
|
90
|
+
"maxReps": <MAX_REPS>,
|
|
91
|
+
"startedAt": ${NOW_MS},
|
|
92
|
+
"lastRunAt": ${NOW_MS},
|
|
93
|
+
"nextRunAt": ${NOW_MS},
|
|
94
|
+
"status": "running"
|
|
95
|
+
}
|
|
96
|
+
EOF
|
|
97
|
+
echo "LOOP_ID=${LOOP_ID}"
|
|
98
|
+
curl -s -X POST "http://localhost:4242/api/mastermind/event" \
|
|
99
|
+
-H "Content-Type: application/json" \
|
|
100
|
+
-d "{\"type\":\"loop:start\",\"loopId\":\"${LOOP_ID}\",\"command\":\"/monomind:repeat\",\"maxReps\":<MAX_REPS>,\"interval\":<INTERVAL>,\"ts\":$(date +%s)000}" || true
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
Capture the `LOOP_ID` value echoed by the script — you will need it for all subsequent bash blocks.
|
|
104
|
+
|
|
105
|
+
Output:
|
|
106
|
+
```
|
|
107
|
+
[monomind:repeat] Starting: "<PROMPT>"
|
|
108
|
+
Interval: every INTERVAL minutes
|
|
109
|
+
Repetitions: MAX_REPS total
|
|
110
|
+
Run 1/MAX_REPS starting now...
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
---
|
|
114
|
+
|
|
115
|
+
## Step 2: Execute the Prompt
|
|
116
|
+
|
|
117
|
+
Run the `PROMPT` as if the user typed it directly. This means:
|
|
118
|
+
- If the prompt starts with `/`, invoke it as a slash command via the Skill tool
|
|
119
|
+
- Otherwise, treat it as a normal user message and respond accordingly
|
|
120
|
+
|
|
121
|
+
---
|
|
122
|
+
|
|
123
|
+
## Step 3: Report and Schedule Next
|
|
124
|
+
|
|
125
|
+
**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.
|
|
126
|
+
|
|
127
|
+
Before scheduling the next run, check if a stop was requested:
|
|
128
|
+
```bash
|
|
129
|
+
[ -f ".monomind/loops/<LOOP_ID>.stop" ] && echo "STOP_REQUESTED=true" || echo "STOP_REQUESTED=false"
|
|
130
|
+
```
|
|
131
|
+
If `STOP_REQUESTED=true`, output `[monomind:repeat] Stop requested via dashboard. Halting.` and remove the state files:
|
|
132
|
+
```bash
|
|
133
|
+
rm -f ".monomind/loops/<LOOP_ID>.json" ".monomind/loops/<LOOP_ID>.stop"
|
|
134
|
+
```
|
|
135
|
+
Then STOP.
|
|
136
|
+
|
|
137
|
+
After execution completes, save the current rep as `PREV_REP`, then increment `CURRENT_REP`. Output:
|
|
138
|
+
```
|
|
139
|
+
[monomind:repeat] Run PREV_REP/MAX_REPS complete.
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
If `CURRENT_REP > MAX_REPS` (all runs done), output:
|
|
143
|
+
```
|
|
144
|
+
[monomind:repeat] All MAX_REPS repetitions complete.
|
|
145
|
+
```
|
|
146
|
+
Remove the state file and emit loop:complete:
|
|
147
|
+
```bash
|
|
148
|
+
rm -f ".monomind/loops/<LOOP_ID>.json" ".monomind/loops/<LOOP_ID>.stop"
|
|
149
|
+
curl -s -X POST "http://localhost:4242/api/mastermind/event" \
|
|
150
|
+
-H "Content-Type: application/json" \
|
|
151
|
+
-d "{\"type\":\"loop:complete\",\"loopId\":\"<LOOP_ID>\",\"command\":\"/monomind:repeat\",\"ranReps\":<MAX_REPS>,\"ts\":$(date +%s)000}" || true
|
|
152
|
+
```
|
|
153
|
+
STOP. Do NOT schedule another wake-up.
|
|
154
|
+
|
|
155
|
+
Otherwise, update the loop state before scheduling. **Run this bash block** (substitute `<LOOP_ID>`, `<INTERVAL>`, `<CURRENT_REP>`, `<MAX_REPS>`, and `<PREV_REP>` with their literal values):
|
|
156
|
+
```bash
|
|
157
|
+
NOW_MS=$(python3 -c 'import time;print(int(time.time()*1000))' 2>/dev/null || echo "$(date +%s)000")
|
|
158
|
+
NEXT_AT=$(( NOW_MS + <INTERVAL> * 60 * 1000 ))
|
|
159
|
+
PROMPT_JSON=$(jq '.prompt' ".monomind/loops/<LOOP_ID>.json" 2>/dev/null \
|
|
160
|
+
|| python3 -c "import json,sys; json.dump(json.load(open('.monomind/loops/<LOOP_ID>.json'))['prompt'], sys.stdout)" 2>/dev/null \
|
|
161
|
+
|| echo '"(prompt unavailable)"')
|
|
162
|
+
STARTED_AT=$(jq '.startedAt' ".monomind/loops/<LOOP_ID>.json" 2>/dev/null \
|
|
163
|
+
|| python3 -c "import json; print(json.load(open('.monomind/loops/<LOOP_ID>.json'))['startedAt'])" 2>/dev/null \
|
|
164
|
+
|| echo "${NOW_MS}")
|
|
165
|
+
cat > ".monomind/loops/<LOOP_ID>.json" << EOF
|
|
166
|
+
{
|
|
167
|
+
"id": "<LOOP_ID>",
|
|
168
|
+
"sessionId": "<LOOP_ID>",
|
|
169
|
+
"type": "repeat",
|
|
170
|
+
"command": "/monomind:repeat",
|
|
171
|
+
"prompt": ${PROMPT_JSON},
|
|
172
|
+
"interval": <INTERVAL>,
|
|
173
|
+
"currentRep": <CURRENT_REP>,
|
|
174
|
+
"maxReps": <MAX_REPS>,
|
|
175
|
+
"startedAt": ${STARTED_AT},
|
|
176
|
+
"lastRunAt": ${NOW_MS},
|
|
177
|
+
"nextRunAt": ${NEXT_AT},
|
|
178
|
+
"status": "running"
|
|
179
|
+
}
|
|
180
|
+
EOF
|
|
181
|
+
curl -s -X POST "http://localhost:4242/api/mastermind/event" \
|
|
182
|
+
-H "Content-Type: application/json" \
|
|
183
|
+
-d "{\"type\":\"loop:tick\",\"loopId\":\"<LOOP_ID>\",\"command\":\"/monomind:repeat\",\"completedRep\":<PREV_REP>,\"nextRep\":<CURRENT_REP>,\"nextAt\":${NEXT_AT},\"ts\":$(date +%s)000}" || true
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
Output: `[monomind:repeat] Next run in INTERVAL minutes (run CURRENT_REP/MAX_REPS)...`
|
|
187
|
+
|
|
188
|
+
Use `ScheduleWakeup` with:
|
|
189
|
+
- `delaySeconds`: `INTERVAL * 60`
|
|
190
|
+
- `prompt`: `/monomind:repeat --every <INTERVAL> --times <MAX_REPS> --rep <CURRENT_REP> --loop <LOOP_ID> -- <PROMPT>`
|
|
191
|
+
- `reason`: `"repeat run <CURRENT_REP>/<MAX_REPS> of /monomind:repeat"`
|
|
192
|
+
|
|
193
|
+
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.
|
|
194
|
+
|
|
195
|
+
---
|
|
196
|
+
|
|
197
|
+
## Interruption
|
|
198
|
+
|
|
199
|
+
The user can stop the loop at any time by:
|
|
200
|
+
- Interrupting the session (the next scheduled wake-up simply won't fire)
|
|
201
|
+
- Creating `.monomind/loops/<LOOP_ID>.stop` (or clicking Stop in the dashboard)
|
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: monomind:review
|
|
3
|
+
description: "Monomind — Multi-agent iterative review loop: runs Code Reviewer, Security Engineer, and domain specialists in parallel, auto-fixes findings each iteration, and captures human-in-loop items to a dated file."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Parse `$ARGUMENTS` as `TOTAL_ITERATIONS` (integer, min 1, max 10).
|
|
7
|
+
|
|
8
|
+
If `$ARGUMENTS` is empty, not a positive integer, or greater than 10, output this and STOP:
|
|
9
|
+
|
|
10
|
+
> **Usage:** `/monomind:review <iterations>`
|
|
11
|
+
>
|
|
12
|
+
> Examples:
|
|
13
|
+
> - `/monomind:review 1` — single review pass
|
|
14
|
+
> - `/monomind:review 3` — three fix-and-re-review cycles
|
|
15
|
+
>
|
|
16
|
+
> Runs parallel review agents each iteration, auto-fixes what can be fixed, and saves items requiring human judgment to `humaninloopreview-YYYY-MM-DD.md`.
|
|
17
|
+
|
|
18
|
+
Do NOT proceed further if no valid number was provided.
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## Terminology
|
|
23
|
+
|
|
24
|
+
- **Finding**: An issue reported by any review agent.
|
|
25
|
+
- **Auto-fixable**: Claude can apply the fix without ambiguity and without changing intended behavior.
|
|
26
|
+
- **Human-in-loop (HIL)**: Requires a product/design/architecture decision, a credential, a policy choice, or something Claude cannot safely assume. These are written to the HIL file and skipped.
|
|
27
|
+
- **HIL file**: `humaninloopreview-<YYYY-MM-DD>.md` in the project root. Appended each loop; never overwritten.
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## Step 0: Setup
|
|
32
|
+
|
|
33
|
+
Parse `$ARGUMENTS` as `TOTAL_ITERATIONS` (integer, min 1, max 10).
|
|
34
|
+
|
|
35
|
+
Collect the following in parallel:
|
|
36
|
+
|
|
37
|
+
1. **Git context**: Run the following to get recently changed files. Store result as `CHANGED_FILES`.
|
|
38
|
+
```bash
|
|
39
|
+
CHANGED_FILES=$(git diff --name-only HEAD~1 HEAD 2>/dev/null)
|
|
40
|
+
[ -z "$CHANGED_FILES" ] && CHANGED_FILES=$(git ls-files -m 2>/dev/null)
|
|
41
|
+
[ -z "$CHANGED_FILES" ] && CHANGED_FILES=$(git diff --name-only HEAD~5 HEAD 2>/dev/null)
|
|
42
|
+
```
|
|
43
|
+
2. **Repo structure**: Run `git ls-files | head -80` to get a representative file list. Store as `FILE_LIST`.
|
|
44
|
+
3. **Branch info**: Run `git log --oneline -5` to get recent commit context. Store as `RECENT_COMMITS`.
|
|
45
|
+
4. **Stack detection**: Run `ls package.json pyproject.toml go.mod Cargo.toml 2>/dev/null; find . -maxdepth 3 \( -name "*.swift" -o -name "*.kt" \) | head -3` to detect language/framework. Store detected stacks as `STACK`.
|
|
46
|
+
5. **HIL file path**: Compute `HIL_FILE=humaninloopreview-$(date +%Y-%m-%d).md` in the project root.
|
|
47
|
+
|
|
48
|
+
Initialize tracking state:
|
|
49
|
+
```
|
|
50
|
+
ITERATION = 1
|
|
51
|
+
ITERATIONS_RUN = 0 # how many iterations actually executed (for final report)
|
|
52
|
+
ALL_FIXED = [] # auto-fixed items (across all iterations)
|
|
53
|
+
ALL_HIL = [] # human-in-loop items (across all iterations)
|
|
54
|
+
HIL_COUNT = 0 # global counter for HIL-N labels
|
|
55
|
+
PENDING_FIXED = [] # staging: auto-fixed this batch, not yet verified
|
|
56
|
+
ITERATION_FIXED_FILES = [] # file paths edited this iteration
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
## Step 1: Select Review Agents for This Stack
|
|
62
|
+
|
|
63
|
+
Based on `STACK`, determine which specialist agents to run beyond the always-on core set.
|
|
64
|
+
|
|
65
|
+
**Always run (every stack):**
|
|
66
|
+
- `Code Reviewer` — correctness, maintainability, performance, naming, dead code
|
|
67
|
+
- `Security Engineer` — injection, auth gaps, secrets exposure, CVE-prone patterns, OWASP Top 10
|
|
68
|
+
- `Reality Checker` — evidence-based assessment: does the code actually do what it claims?
|
|
69
|
+
|
|
70
|
+
**Run conditionally** — detect by running these checks and adding the agent if exit 0:
|
|
71
|
+
- `Accessibility Auditor` — `find . -maxdepth 5 \( -name "*.html" -o -name "*.jsx" -o -name "*.tsx" \) -not -path "*/node_modules/*" | head -1 | grep -q .`
|
|
72
|
+
- `API Tester` — `find . -maxdepth 5 \( -name "*.route.*" -o -name "openapi.yml" -o -name "openapi.json" -o -name "swagger.*" \) -not -path "*/node_modules/*" | head -1 | grep -q . || grep -rqEl "express\(|fastify|hono|koa|router\." --include="*.ts" --include="*.js" . 2>/dev/null`
|
|
73
|
+
- `Database Optimizer` — `find . -maxdepth 5 \( -name "*.sql" -o -name "*migration*" -o -name "*schema*" \) -not -path "*/node_modules/*" | head -1 | grep -q . || grep -rqEl "prisma|typeorm|sequelize|drizzle|knex" --include="*.ts" --include="*.js" . 2>/dev/null`
|
|
74
|
+
- `SRE` — `find . -maxdepth 3 \( -name "Dockerfile" -o -name "docker-compose*" -o -name "*.yml" -path "*/.github/workflows/*" \) | head -1 | grep -q .`
|
|
75
|
+
- `Mobile App Builder` — `find . -maxdepth 3 \( -name "*.swift" -o -name "*.kt" \) | head -1 | grep -q . || grep -q "react-native" package.json 2>/dev/null`
|
|
76
|
+
|
|
77
|
+
Store the selected set as `ACTIVE_REVIEWERS`.
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
## Loop: Run `TOTAL_ITERATIONS` times
|
|
82
|
+
|
|
83
|
+
For each iteration, first reset per-iteration state:
|
|
84
|
+
```
|
|
85
|
+
PENDING_FIXED = []
|
|
86
|
+
ITERATION_FIXED_FILES = []
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
91
|
+
### Step 2: Run All Reviewers in Parallel
|
|
92
|
+
|
|
93
|
+
Spawn one agent per reviewer in `ACTIVE_REVIEWERS` using the `Task` tool — all in a **single message** so they run concurrently.
|
|
94
|
+
|
|
95
|
+
Each agent receives:
|
|
96
|
+
- `CHANGED_FILES`, `FILE_LIST`, `RECENT_COMMITS`, `STACK`
|
|
97
|
+
- The list of findings already auto-fixed in prior iterations (so they don't re-report them)
|
|
98
|
+
- The list of HIL items already deferred (same reason)
|
|
99
|
+
- Their specific review focus (below)
|
|
100
|
+
|
|
101
|
+
#### Agent Instructions by Role
|
|
102
|
+
|
|
103
|
+
All agent prompts share this finding schema. `hil_reason` and `context` are only required when `auto_fixable: false`:
|
|
104
|
+
```
|
|
105
|
+
{
|
|
106
|
+
file, line,
|
|
107
|
+
severity: critical|high|medium|low,
|
|
108
|
+
category: "...",
|
|
109
|
+
description,
|
|
110
|
+
suggested_fix,
|
|
111
|
+
auto_fixable: true|false,
|
|
112
|
+
hil_reason?: "only if auto_fixable=false — why Claude cannot safely apply this",
|
|
113
|
+
context?: "only if auto_fixable=false — 2-4 sentences: what the code does, why this is a problem, what the risk is"
|
|
114
|
+
}
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
**Code Reviewer prompt:**
|
|
118
|
+
> Review the codebase for: logic errors, off-by-one bugs, null/undefined handling, dead code, overly complex functions (>50 lines or >3 nesting levels), naming inconsistencies, missing error propagation, and performance anti-patterns (N+1, blocking I/O, unnecessary allocations). Focus on `CHANGED_FILES` first, then related files. Return findings using the shared schema above.
|
|
119
|
+
|
|
120
|
+
**Security Engineer prompt:**
|
|
121
|
+
> Audit for: hardcoded secrets or API keys, SQL/command/path injection, missing input validation at system boundaries, insecure deserialization, broken auth/authz, sensitive data in logs, unpatched dependency versions with known CVEs, missing rate limiting on public endpoints, and CORS misconfigurations. Categories: injection|secrets|auth|deps|logging|config. Return findings using the shared schema above.
|
|
122
|
+
|
|
123
|
+
**Reality Checker prompt:**
|
|
124
|
+
> Check: does each function do what its name/docs claim? Are there missing test assertions? Are there commented-out code blocks, TODO/FIXME/HACK markers, or debug statements left in? Are there import cycles? Are env vars assumed to exist without validation? Categories: correctness|tests|debt|env. Return findings using the shared schema above.
|
|
125
|
+
|
|
126
|
+
**Accessibility Auditor prompt (if applicable):**
|
|
127
|
+
> Check: missing alt text, non-semantic HTML, keyboard-inaccessible interactive elements, insufficient color contrast (< 4.5:1 for text), missing ARIA labels, focus trap issues, and missing skip navigation. Category: a11y. Return findings using the shared schema above.
|
|
128
|
+
|
|
129
|
+
**API Tester prompt (if applicable):**
|
|
130
|
+
> Check: endpoints missing auth middleware, routes with no input validation, missing HTTP status codes on error paths, inconsistent response shapes, pagination not implemented where expected, and missing rate-limit headers. Category: api. Return findings using the shared schema above.
|
|
131
|
+
|
|
132
|
+
**Database Optimizer prompt (if applicable):**
|
|
133
|
+
> Check: missing indexes on foreign keys and frequently-queried columns, N+1 query patterns in ORM code, unparameterized queries, missing transactions around multi-step writes, and schema column type mismatches. Category: database. Return findings using the shared schema above.
|
|
134
|
+
|
|
135
|
+
**SRE prompt (if applicable):**
|
|
136
|
+
> Check: Docker images without pinned versions, CI jobs with no timeout, missing health check endpoints, hardcoded environment assumptions (localhost, fixed ports), missing retry logic on external calls, and secrets in CI config files. Categories: reliability|infra. Return findings using the shared schema above.
|
|
137
|
+
|
|
138
|
+
**Mobile App Builder prompt (if applicable):**
|
|
139
|
+
> Check: missing permission explanations, sensitive data stored in plain UserDefaults/SharedPreferences, missing loading/error states, hard-coded URLs, deprecated API usage, and missing offline/degraded-mode handling. Category: mobile. Return findings using the shared schema above.
|
|
140
|
+
|
|
141
|
+
---
|
|
142
|
+
|
|
143
|
+
### Step 3: Merge and Deduplicate Findings
|
|
144
|
+
|
|
145
|
+
Collect all agent outputs. As you collect each agent's findings, annotate each finding with `reporter: <agent role name>` (e.g., `"Code Reviewer"`, `"Security Engineer"`, `"Reality Checker"`). Merge into a single `ITERATION_FINDINGS` list. Deduplicate by `(file, category, description[:60])` — keep highest severity when duplicates exist. Do NOT deduplicate by line number, as applied fixes shift line numbers across iterations. Exclude anything already in `ALL_FIXED` or `ALL_HIL` by matching on `(file, description[:60])`.
|
|
146
|
+
|
|
147
|
+
Sort by severity: critical → high → medium → low.
|
|
148
|
+
|
|
149
|
+
---
|
|
150
|
+
|
|
151
|
+
### Step 4: Classify and Act
|
|
152
|
+
|
|
153
|
+
For each finding in `ITERATION_FINDINGS`:
|
|
154
|
+
|
|
155
|
+
**If `auto_fixable: true`:**
|
|
156
|
+
- Apply the fix using `Edit` (or `Write` for new files). Add the file path to `ITERATION_FIXED_FILES` list. Add the finding to a staging list `PENDING_FIXED`.
|
|
157
|
+
|
|
158
|
+
**If `auto_fixable: false` (HIL):**
|
|
159
|
+
- Add to `ALL_HIL`. Do NOT attempt to fix.
|
|
160
|
+
|
|
161
|
+
After processing all findings, if `PENDING_FIXED` is empty, skip verification and proceed to Step 5. Otherwise, run verification **once** for the whole batch. Run only commands appropriate for `STACK`:
|
|
162
|
+
|
|
163
|
+
**Node.js / TypeScript:**
|
|
164
|
+
```bash
|
|
165
|
+
npm run --if-present lint 2>&1 | tail -5
|
|
166
|
+
npm run --if-present typecheck 2>&1 | tail -5
|
|
167
|
+
npm run --if-present test 2>&1 | tail -10
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
**Python** (if `pyproject.toml` or `*.py` detected):
|
|
171
|
+
```bash
|
|
172
|
+
ruff check . 2>&1 | tail -5
|
|
173
|
+
python -m pytest --tb=short -q 2>&1 | tail -10
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
**Go** (if `go.mod` detected):
|
|
177
|
+
```bash
|
|
178
|
+
go vet ./... 2>&1 | tail -5
|
|
179
|
+
go test ./... 2>&1 | tail -10
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
**Rust** (if `Cargo.toml` detected):
|
|
183
|
+
```bash
|
|
184
|
+
cargo check 2>&1 | tail -5
|
|
185
|
+
cargo test 2>&1 | tail -10
|
|
186
|
+
```
|
|
187
|
+
- If all checks pass: move all `PENDING_FIXED` entries into `ALL_FIXED`.
|
|
188
|
+
- If any check fails: run `git restore` on each file in `ITERATION_FIXED_FILES` to undo all changes, move all `PENDING_FIXED` entries to `ALL_HIL` with `hil_reason: "batch auto-fix caused verification failure — apply individually"`. Print the error output.
|
|
189
|
+
|
|
190
|
+
---
|
|
191
|
+
|
|
192
|
+
### Step 5: Commit Fixes for This Iteration
|
|
193
|
+
|
|
194
|
+
If `ALL_FIXED` gained any new entries this iteration:
|
|
195
|
+
|
|
196
|
+
Stage only the files that were actually edited (tracked from `ITERATION_FIXED_FILES` collected in Step 4):
|
|
197
|
+
```bash
|
|
198
|
+
git add <space-separated list of ITERATION_FIXED_FILES paths>
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
Then commit with each fixed item on its own line in the body:
|
|
202
|
+
```bash
|
|
203
|
+
git commit -m "fix(review): iteration <ITERATION> — <count> findings fixed by monomind:review
|
|
204
|
+
|
|
205
|
+
<file>:<line> — <description>
|
|
206
|
+
<file>:<line> — <description>
|
|
207
|
+
|
|
208
|
+
Co-Authored-By: nokhodian <nokhodian@gmail.com>"
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
---
|
|
212
|
+
|
|
213
|
+
### Step 6: Write HIL Items to File
|
|
214
|
+
|
|
215
|
+
If any new HIL items were added this iteration, **append** to `HIL_FILE`. For each new HIL item, increment `HIL_COUNT` by 1 and use it as the label number:
|
|
216
|
+
|
|
217
|
+
```markdown
|
|
218
|
+
## Review Iteration <ITERATION> — <YYYY-MM-DD HH:MM>
|
|
219
|
+
|
|
220
|
+
<!-- One block per HIL finding; HIL_COUNT increments globally across all iterations -->
|
|
221
|
+
### HIL-<HIL_COUNT>: <description> [`<severity>`]
|
|
222
|
+
|
|
223
|
+
**File:** `<file>:<line>`
|
|
224
|
+
**Category:** <category>
|
|
225
|
+
**Reported by:** <agent name>
|
|
226
|
+
|
|
227
|
+
**Context:**
|
|
228
|
+
<context from agent finding, or derive from description if context field absent>
|
|
229
|
+
|
|
230
|
+
**Suggested fix:**
|
|
231
|
+
<suggested_fix from agent, verbatim>
|
|
232
|
+
|
|
233
|
+
**Why human decision needed:**
|
|
234
|
+
<hil_reason>
|
|
235
|
+
|
|
236
|
+
**Your options:**
|
|
237
|
+
- [ ] Apply the suggested fix as-is
|
|
238
|
+
- [ ] Apply a modified fix (describe below)
|
|
239
|
+
- [ ] Defer — not a priority right now
|
|
240
|
+
- [ ] Reject — not applicable for this project
|
|
241
|
+
|
|
242
|
+
**Your response (fill in and save):**
|
|
243
|
+
>
|
|
244
|
+
|
|
245
|
+
---
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
After writing, print:
|
|
249
|
+
> `HIL_FILE` updated with <count> new items requiring human judgment.
|
|
250
|
+
|
|
251
|
+
---
|
|
252
|
+
|
|
253
|
+
### Step 7: Iteration Summary
|
|
254
|
+
|
|
255
|
+
Increment `ITERATIONS_RUN` by 1. Then print a table:
|
|
256
|
+
|
|
257
|
+
```
|
|
258
|
+
### Iteration <ITERATION> / <TOTAL_ITERATIONS>
|
|
259
|
+
|
|
260
|
+
| Reviewer | Findings | Auto-Fixed | HIL |
|
|
261
|
+
|---------------------|----------|------------|-----|
|
|
262
|
+
| Code Reviewer | N | N | N |
|
|
263
|
+
| Security Engineer | N | N | N |
|
|
264
|
+
| Reality Checker | N | N | N |
|
|
265
|
+
| ... | ... | ... | ... |
|
|
266
|
+
| **Total** | **N** | **N** | **N**|
|
|
267
|
+
|
|
268
|
+
Severity breakdown: X critical, Y high, Z medium, W low
|
|
269
|
+
```
|
|
270
|
+
|
|
271
|
+
If zero findings remain after dedup and exclusions, print:
|
|
272
|
+
> No new findings. Review complete.
|
|
273
|
+
> Break out of the loop early.
|
|
274
|
+
|
|
275
|
+
Increment `ITERATION`. Continue to next iteration.
|
|
276
|
+
|
|
277
|
+
---
|
|
278
|
+
|
|
279
|
+
## Step 8: Final Report
|
|
280
|
+
|
|
281
|
+
After all iterations complete (or early exit), output:
|
|
282
|
+
|
|
283
|
+
```markdown
|
|
284
|
+
## monomind:review — Complete
|
|
285
|
+
|
|
286
|
+
**Iterations run:** <ITERATIONS_RUN> / <TOTAL_ITERATIONS>
|
|
287
|
+
**Reviewers active:** <list>
|
|
288
|
+
|
|
289
|
+
### Auto-Fixed (<N> total)
|
|
290
|
+
| File | Line | Severity | Category | Description |
|
|
291
|
+
|------|------|----------|----------|-------------|
|
|
292
|
+
| ... | ... | ... | ... | ... |
|
|
293
|
+
|
|
294
|
+
### Human-in-Loop (<N> items)
|
|
295
|
+
Saved to: `humaninloopreview-<date>.md`
|
|
296
|
+
|
|
297
|
+
| # | File | Severity | Category | Why HIL |
|
|
298
|
+
|---|------|----------|----------|---------|
|
|
299
|
+
| 1 | ... | ... | ... | ... |
|
|
300
|
+
|
|
301
|
+
### How to resolve HIL items
|
|
302
|
+
1. Open `humaninloopreview-<date>.md`
|
|
303
|
+
2. For each item, fill in **Your response** and check the option box
|
|
304
|
+
3. Apply your chosen fixes manually, or run `/monomind:review 1` again after fixing to re-verify
|
|
305
|
+
|
|
306
|
+
### Commits created
|
|
307
|
+
<list of commit SHAs and messages from this session>
|
|
308
|
+
```
|
|
309
|
+
|
|
310
|
+
If `ALL_HIL` is empty, omit the HIL section and congratulate:
|
|
311
|
+
> All findings were auto-fixed. No human decisions required.
|
|
312
|
+
|
|
313
|
+
To repeat this command on a schedule, wrap it with `/monomind:repeat`.
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: monomind-specialagents
|
|
3
|
+
description: Activate a specialist agent persona — browse by category, activate by slug, or auto-select based on conversation context
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Activate a specialist agent persona. Three modes:
|
|
7
|
+
|
|
8
|
+
**Direct:** `/monomind:specialagents <slug>` — skip selection, activate immediately.
|
|
9
|
+
|
|
10
|
+
**Interactive:** `/monomind:specialagents` — guided category → agent selection.
|
|
11
|
+
|
|
12
|
+
**Auto:** `/monomind:specialagents auto` — LLM picks the best match from conversation context.
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Step 0 — Detect mode
|
|
17
|
+
|
|
18
|
+
- If `$ARGUMENTS` is a non-empty string that is **not** `auto`:
|
|
19
|
+
- Treat it as a slug/name → jump to **Step 4: Activate**.
|
|
20
|
+
- If `$ARGUMENTS` is `auto` or the user's message contains words like "auto", "automatically", "pick for me", "best agent", "suggest an agent":
|
|
21
|
+
- Jump to **Auto flow**.
|
|
22
|
+
- Otherwise → **Interactive flow**.
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## Interactive flow
|
|
27
|
+
|
|
28
|
+
### Step 1 — List categories
|
|
29
|
+
|
|
30
|
+
Run:
|
|
31
|
+
```bash
|
|
32
|
+
node "${CLAUDE_PROJECT_DIR:-$(pwd)}/.claude/helpers/hook-handler.cjs" list-extras 2>/dev/null
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Parse the output. Extract the category names (lines like `=== ACADEMIC ===` → `academic`). Display them as a numbered list:
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
Available agent categories:
|
|
39
|
+
1. academic
|
|
40
|
+
2. design
|
|
41
|
+
3. marketing
|
|
42
|
+
4. paid-media
|
|
43
|
+
5. product
|
|
44
|
+
6. project-management
|
|
45
|
+
7. sales
|
|
46
|
+
8. specialized
|
|
47
|
+
9. support
|
|
48
|
+
|
|
49
|
+
Enter a number or category name:
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Wait for the user to reply with their choice.
|
|
53
|
+
|
|
54
|
+
### Step 2 — List agents in chosen category
|
|
55
|
+
|
|
56
|
+
Map the user's reply to the lowercase category slug (e.g. "1" → `academic`, "Project Management" → `project-management`).
|
|
57
|
+
|
|
58
|
+
Run:
|
|
59
|
+
```bash
|
|
60
|
+
node "${CLAUDE_PROJECT_DIR:-$(pwd)}/.claude/helpers/hook-handler.cjs" list-extras <category> 2>/dev/null
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Parse the agents listed. Display them numbered:
|
|
64
|
+
|
|
65
|
+
```
|
|
66
|
+
Agents in <category>:
|
|
67
|
+
1. slug-name — Short description
|
|
68
|
+
2. ...
|
|
69
|
+
|
|
70
|
+
Enter a number or agent slug:
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
Wait for the user to reply.
|
|
74
|
+
|
|
75
|
+
### Step 3 — Confirm selection
|
|
76
|
+
|
|
77
|
+
Echo back: `Activating agent: <slug>`
|
|
78
|
+
|
|
79
|
+
Jump to **Step 4: Activate**.
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
|
|
83
|
+
## Auto flow
|
|
84
|
+
|
|
85
|
+
### Auto Step 1 — Fetch all categories
|
|
86
|
+
|
|
87
|
+
Run:
|
|
88
|
+
```bash
|
|
89
|
+
node "${CLAUDE_PROJECT_DIR:-$(pwd)}/.claude/helpers/hook-handler.cjs" list-extras 2>/dev/null
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
Read the full output. Based on the current conversation context (the user's request, task description, or recent messages), decide which **category** is the best fit. Do not ask the user — choose silently.
|
|
93
|
+
|
|
94
|
+
### Auto Step 2 — Fetch agents in chosen category
|
|
95
|
+
|
|
96
|
+
Run:
|
|
97
|
+
```bash
|
|
98
|
+
node "${CLAUDE_PROJECT_DIR:-$(pwd)}/.claude/helpers/hook-handler.cjs" list-extras <chosen-category> 2>/dev/null
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
Read the agent list. Based on the same conversation context, decide which **agent** is the best fit. Do not ask the user — choose silently.
|
|
102
|
+
|
|
103
|
+
Announce your reasoning in one sentence:
|
|
104
|
+
> "Auto-selected **<slug>** from **<category>** because <brief reason>."
|
|
105
|
+
|
|
106
|
+
Jump to **Step 4: Activate**.
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
## Step 4 — Activate
|
|
111
|
+
|
|
112
|
+
Run:
|
|
113
|
+
```bash
|
|
114
|
+
node "${CLAUDE_PROJECT_DIR:-$(pwd)}/.claude/helpers/router.cjs" --load-agent "<slug>" 2>/dev/null
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
Read the output. It will contain the agent's persona definition, capabilities, and behavioral rules.
|
|
118
|
+
|
|
119
|
+
**Adopt the agent identity fully:**
|
|
120
|
+
- Introduce yourself in the agent's voice: name, specialty, how you can help.
|
|
121
|
+
- Apply all behavioral rules from the loaded persona for the rest of this conversation.
|
|
122
|
+
- If the agent definition includes example openers or greetings, use one.
|
|
123
|
+
- Remain in character unless the user explicitly asks to switch agents or end the session.
|
|
124
|
+
|
|
125
|
+
If `router.cjs` returns an error or empty output, say: "Could not load agent `<slug>`. Run `/monomind:specialagents` to browse available agents."
|