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.
Files changed (560) hide show
  1. package/package.json +3 -1
  2. package/packages/@monomind/cli/.claude/agents/architecture/system-design/arch-system-design.md +54 -0
  3. package/packages/@monomind/cli/.claude/agents/consensus/crdt-synchronizer.md +977 -0
  4. package/packages/@monomind/cli/.claude/agents/consensus/quorum-manager.md +803 -0
  5. package/packages/@monomind/cli/.claude/agents/consensus/security-manager.md +602 -0
  6. package/packages/@monomind/cli/.claude/agents/core/coder.md +262 -0
  7. package/packages/@monomind/cli/.claude/agents/core/coordinator.md +71 -0
  8. package/packages/@monomind/cli/.claude/agents/core/planner.md +170 -0
  9. package/packages/@monomind/cli/.claude/agents/core/researcher.md +192 -0
  10. package/packages/@monomind/cli/.claude/agents/core/reviewer.md +327 -0
  11. package/packages/@monomind/cli/.claude/agents/core/tester.md +318 -0
  12. package/packages/@monomind/cli/.claude/agents/design/design-monodesign.md +121 -0
  13. package/packages/@monomind/cli/.claude/agents/engineering/engineering-ai-data-remediation-engineer.md +212 -0
  14. package/packages/@monomind/cli/.claude/agents/engineering/engineering-ai-engineer.md +165 -0
  15. package/packages/@monomind/cli/.claude/agents/engineering/engineering-autonomous-optimization-architect.md +108 -0
  16. package/packages/@monomind/cli/.claude/agents/engineering/engineering-backend-architect.md +254 -0
  17. package/packages/@monomind/cli/.claude/agents/engineering/engineering-code-reviewer.md +95 -0
  18. package/packages/@monomind/cli/.claude/agents/engineering/engineering-data-engineer.md +307 -0
  19. package/packages/@monomind/cli/.claude/agents/engineering/engineering-database-optimizer.md +200 -0
  20. package/packages/@monomind/cli/.claude/agents/engineering/engineering-devops-automator.md +430 -0
  21. package/packages/@monomind/cli/.claude/agents/engineering/engineering-embedded-firmware-engineer.md +174 -0
  22. package/packages/@monomind/cli/.claude/agents/engineering/engineering-feishu-integration-developer.md +607 -0
  23. package/packages/@monomind/cli/.claude/agents/engineering/engineering-frontend-developer.md +249 -0
  24. package/packages/@monomind/cli/.claude/agents/engineering/engineering-git-workflow-master.md +108 -0
  25. package/packages/@monomind/cli/.claude/agents/engineering/engineering-incident-response-commander.md +482 -0
  26. package/packages/@monomind/cli/.claude/agents/engineering/engineering-mobile-app-builder.md +499 -0
  27. package/packages/@monomind/cli/.claude/agents/engineering/engineering-rapid-prototyper.md +463 -0
  28. package/packages/@monomind/cli/.claude/agents/engineering/engineering-security-engineer.md +303 -0
  29. package/packages/@monomind/cli/.claude/agents/engineering/engineering-senior-developer.md +195 -0
  30. package/packages/@monomind/cli/.claude/agents/engineering/engineering-software-architect.md +100 -0
  31. package/packages/@monomind/cli/.claude/agents/engineering/engineering-solidity-smart-contract-engineer.md +528 -0
  32. package/packages/@monomind/cli/.claude/agents/engineering/engineering-sre.md +114 -0
  33. package/packages/@monomind/cli/.claude/agents/engineering/engineering-technical-writer.md +412 -0
  34. package/packages/@monomind/cli/.claude/agents/engineering/engineering-threat-detection-engineer.md +540 -0
  35. package/packages/@monomind/cli/.claude/agents/engineering/engineering-wechat-mini-program-developer.md +351 -0
  36. package/packages/@monomind/cli/.claude/agents/generated/case-analyst.md +50 -0
  37. package/packages/@monomind/cli/.claude/agents/generated/channel-intelligence-director.md +87 -0
  38. package/packages/@monomind/cli/.claude/agents/generated/chief-growth-officer.md +88 -0
  39. package/packages/@monomind/cli/.claude/agents/generated/churn-analyst.md +53 -0
  40. package/packages/@monomind/cli/.claude/agents/generated/code-reviewer.md +55 -0
  41. package/packages/@monomind/cli/.claude/agents/generated/code-validator.md +57 -0
  42. package/packages/@monomind/cli/.claude/agents/generated/complexity-scanner.md +56 -0
  43. package/packages/@monomind/cli/.claude/agents/generated/content-seo-strategist.md +90 -0
  44. package/packages/@monomind/cli/.claude/agents/generated/copy-editor.md +45 -0
  45. package/packages/@monomind/cli/.claude/agents/generated/court-reporter.md +50 -0
  46. package/packages/@monomind/cli/.claude/agents/generated/defender.md +51 -0
  47. package/packages/@monomind/cli/.claude/agents/generated/devbot-orchestrator.md +58 -0
  48. package/packages/@monomind/cli/.claude/agents/generated/devbot-planner.md +63 -0
  49. package/packages/@monomind/cli/.claude/agents/generated/developer-community-strategist.md +91 -0
  50. package/packages/@monomind/cli/.claude/agents/generated/editor-in-chief.md +45 -0
  51. package/packages/@monomind/cli/.claude/agents/generated/fact-checker.md +45 -0
  52. package/packages/@monomind/cli/.claude/agents/generated/impact-assessor.md +54 -0
  53. package/packages/@monomind/cli/.claude/agents/generated/judge.md +51 -0
  54. package/packages/@monomind/cli/.claude/agents/generated/outreach-partnership-strategist.md +90 -0
  55. package/packages/@monomind/cli/.claude/agents/generated/prosecutor.md +51 -0
  56. package/packages/@monomind/cli/.claude/agents/generated/reporter.md +45 -0
  57. package/packages/@monomind/cli/.claude/agents/generated/social-media-strategist.md +91 -0
  58. package/packages/@monomind/cli/.claude/agents/generated/video-visual-strategist.md +90 -0
  59. package/packages/@monomind/cli/.claude/agents/github/code-review-swarm.md +557 -0
  60. package/packages/@monomind/cli/.claude/agents/github/github-modes.md +154 -0
  61. package/packages/@monomind/cli/.claude/agents/github/issue-tracker.md +299 -0
  62. package/packages/@monomind/cli/.claude/agents/github/multi-repo-swarm.md +525 -0
  63. package/packages/@monomind/cli/.claude/agents/github/pr-manager.md +163 -0
  64. package/packages/@monomind/cli/.claude/agents/github/project-board-sync.md +478 -0
  65. package/packages/@monomind/cli/.claude/agents/github/release-manager.md +296 -0
  66. package/packages/@monomind/cli/.claude/agents/github/repo-architect.md +359 -0
  67. package/packages/@monomind/cli/.claude/agents/github/swarm-issue.md +548 -0
  68. package/packages/@monomind/cli/.claude/agents/github/swarm-pr.md +427 -0
  69. package/packages/@monomind/cli/.claude/agents/github/sync-coordinator.md +355 -0
  70. package/packages/@monomind/cli/.claude/agents/github/workflow-automation.md +640 -0
  71. package/packages/@monomind/cli/.claude/agents/goal/goal-planner.md +168 -0
  72. package/packages/@monomind/cli/.claude/agents/hive-mind/collective-intelligence-coordinator.md +129 -0
  73. package/packages/@monomind/cli/.claude/agents/hive-mind/queen-coordinator.md +202 -0
  74. package/packages/@monomind/cli/.claude/agents/hive-mind/scout-explorer.md +241 -0
  75. package/packages/@monomind/cli/.claude/agents/hive-mind/swarm-memory-manager.md +192 -0
  76. package/packages/@monomind/cli/.claude/agents/hive-mind/worker-specialist.md +216 -0
  77. package/packages/@monomind/cli/.claude/agents/marketing/marketing-competitive-content.md +155 -0
  78. package/packages/@monomind/cli/.claude/agents/marketing/marketing-cro-specialist.md +147 -0
  79. package/packages/@monomind/cli/.claude/agents/marketing/marketing-email-specialist.md +90 -0
  80. package/packages/@monomind/cli/.claude/agents/marketing/marketing-launch-strategist.md +129 -0
  81. package/packages/@monomind/cli/.claude/agents/marketing/marketing-pricing-strategist.md +127 -0
  82. package/packages/@monomind/cli/.claude/agents/optimization/benchmark-suite.md +665 -0
  83. package/packages/@monomind/cli/.claude/agents/optimization/load-balancer.md +431 -0
  84. package/packages/@monomind/cli/.claude/agents/optimization/performance-monitor.md +672 -0
  85. package/packages/@monomind/cli/.claude/agents/optimization/resource-allocator.md +674 -0
  86. package/packages/@monomind/cli/.claude/agents/optimization/topology-optimizer.md +808 -0
  87. package/packages/@monomind/cli/.claude/agents/reengineer-squad/boss.md +113 -0
  88. package/packages/@monomind/cli/.claude/agents/reengineer-squad/critic-architect.md +132 -0
  89. package/packages/@monomind/cli/.claude/agents/reengineer-squad/git-manager.md +145 -0
  90. package/packages/@monomind/cli/.claude/agents/reengineer-squad/idea-generator.md +95 -0
  91. package/packages/@monomind/cli/.claude/agents/reengineer-squad/implementer.md +112 -0
  92. package/packages/@monomind/cli/.claude/agents/reengineer-squad/integration-planner.md +112 -0
  93. package/packages/@monomind/cli/.claude/agents/reengineer-squad/source-analyst.md +103 -0
  94. package/packages/@monomind/cli/.claude/agents/reengineer-squad/target-analyst.md +118 -0
  95. package/packages/@monomind/cli/.claude/agents/reengineer-squad/tester.md +105 -0
  96. package/packages/@monomind/cli/.claude/agents/schemas/architecture-output.json +43 -0
  97. package/packages/@monomind/cli/.claude/agents/schemas/code-review-output.json +28 -0
  98. package/packages/@monomind/cli/.claude/agents/schemas/generic-task-input.json +12 -0
  99. package/packages/@monomind/cli/.claude/agents/schemas/implementation-output.json +18 -0
  100. package/packages/@monomind/cli/.claude/agents/schemas/research-output.json +31 -0
  101. package/packages/@monomind/cli/.claude/agents/schemas/security-audit-output.json +29 -0
  102. package/packages/@monomind/cli/.claude/agents/schemas/test-report-output.json +29 -0
  103. package/packages/@monomind/cli/.claude/agents/sparc/architecture.md +453 -0
  104. package/packages/@monomind/cli/.claude/agents/sparc/pseudocode.md +299 -0
  105. package/packages/@monomind/cli/.claude/agents/sparc/refinement.md +504 -0
  106. package/packages/@monomind/cli/.claude/agents/sparc/specification.md +258 -0
  107. package/packages/@monomind/cli/.claude/agents/specialists/integration-architect.md +94 -0
  108. package/packages/@monomind/cli/.claude/agents/specialized/agentic-identity-trust.md +388 -0
  109. package/packages/@monomind/cli/.claude/agents/specialized/agents-orchestrator.md +368 -0
  110. package/packages/@monomind/cli/.claude/agents/specialized/automation-governance-architect.md +217 -0
  111. package/packages/@monomind/cli/.claude/agents/specialized/blockchain-security-auditor.md +497 -0
  112. package/packages/@monomind/cli/.claude/agents/specialized/compliance-auditor.md +159 -0
  113. package/packages/@monomind/cli/.claude/agents/specialized/identity-graph-operator.md +261 -0
  114. package/packages/@monomind/cli/.claude/agents/specialized/lsp-index-engineer.md +315 -0
  115. package/packages/@monomind/cli/.claude/agents/specialized/mobile/spec-mobile-react-native.md +89 -0
  116. package/packages/@monomind/cli/.claude/agents/specialized/specialized-cultural-intelligence-strategist.md +89 -0
  117. package/packages/@monomind/cli/.claude/agents/specialized/specialized-developer-advocate.md +318 -0
  118. package/packages/@monomind/cli/.claude/agents/specialized/specialized-document-generator.md +56 -0
  119. package/packages/@monomind/cli/.claude/agents/specialized/specialized-mcp-builder.md +64 -0
  120. package/packages/@monomind/cli/.claude/agents/specialized/specialized-model-qa.md +489 -0
  121. package/packages/@monomind/cli/.claude/agents/specialized/specialized-workflow-architect.md +598 -0
  122. package/packages/@monomind/cli/.claude/agents/specialized/zk-steward.md +212 -0
  123. package/packages/@monomind/cli/.claude/agents/swarm/mesh-coordinator.md +363 -0
  124. package/packages/@monomind/cli/.claude/agents/templates/automation-smart-agent.md +185 -0
  125. package/packages/@monomind/cli/.claude/agents/templates/coordinator-swarm-init.md +83 -0
  126. package/packages/@monomind/cli/.claude/agents/templates/implementer-sparc-coder.md +231 -0
  127. package/packages/@monomind/cli/.claude/agents/testing/production-validator.md +374 -0
  128. package/packages/@monomind/cli/.claude/agents/testing/tdd-london-swarm.md +241 -0
  129. package/packages/@monomind/cli/.claude/agents/testing/testing-accessibility-auditor.md +322 -0
  130. package/packages/@monomind/cli/.claude/agents/testing/testing-api-tester.md +307 -0
  131. package/packages/@monomind/cli/.claude/agents/testing/testing-evidence-collector.md +211 -0
  132. package/packages/@monomind/cli/.claude/agents/testing/testing-performance-benchmarker.md +269 -0
  133. package/packages/@monomind/cli/.claude/agents/testing/testing-test-results-analyzer.md +306 -0
  134. package/packages/@monomind/cli/.claude/agents/testing/testing-tool-evaluator.md +395 -0
  135. package/packages/@monomind/cli/.claude/agents/testing/testing-workflow-optimizer.md +451 -0
  136. package/packages/@monomind/cli/.claude/commands/agents/README.md +14 -0
  137. package/packages/@monomind/cli/.claude/commands/agents/agent-capabilities.md +25 -0
  138. package/packages/@monomind/cli/.claude/commands/agents/agent-coordination.md +32 -0
  139. package/packages/@monomind/cli/.claude/commands/agents/agent-spawning.md +32 -0
  140. package/packages/@monomind/cli/.claude/commands/agents/agent-types.md +30 -0
  141. package/packages/@monomind/cli/.claude/commands/analysis/README.md +18 -0
  142. package/packages/@monomind/cli/.claude/commands/analysis/bottleneck-detect.md +69 -0
  143. package/packages/@monomind/cli/.claude/commands/analysis/performance-bottlenecks.md +59 -0
  144. package/packages/@monomind/cli/.claude/commands/analysis/performance-report.md +52 -0
  145. package/packages/@monomind/cli/.claude/commands/analysis/token-usage.md +47 -0
  146. package/packages/@monomind/cli/.claude/commands/automation/README.md +19 -0
  147. package/packages/@monomind/cli/.claude/commands/automation/auto-agent.md +86 -0
  148. package/packages/@monomind/cli/.claude/commands/automation/self-healing.md +108 -0
  149. package/packages/@monomind/cli/.claude/commands/automation/session-memory.md +89 -0
  150. package/packages/@monomind/cli/.claude/commands/automation/smart-agents.md +81 -0
  151. package/packages/@monomind/cli/.claude/commands/automation/smart-spawn.md +66 -0
  152. package/packages/@monomind/cli/.claude/commands/automation/workflow-select.md +60 -0
  153. package/packages/@monomind/cli/.claude/commands/coordination/README.md +13 -0
  154. package/packages/@monomind/cli/.claude/commands/coordination/agent-spawn.md +69 -0
  155. package/packages/@monomind/cli/.claude/commands/coordination/swarm-init.md +82 -0
  156. package/packages/@monomind/cli/.claude/commands/coordination/task-orchestrate.md +79 -0
  157. package/packages/@monomind/cli/.claude/commands/github/README.md +24 -0
  158. package/packages/@monomind/cli/.claude/commands/github/github-modes.md +151 -0
  159. package/packages/@monomind/cli/.claude/commands/github/issue-tracker.md +293 -0
  160. package/packages/@monomind/cli/.claude/commands/github/pr-manager.md +173 -0
  161. package/packages/@monomind/cli/.claude/commands/github/release-manager.md +343 -0
  162. package/packages/@monomind/cli/.claude/commands/github/repo-architect.md +379 -0
  163. package/packages/@monomind/cli/.claude/commands/github/sync-coordinator.md +297 -0
  164. package/packages/@monomind/cli/.claude/commands/hive-mind/README.md +42 -0
  165. package/packages/@monomind/cli/.claude/commands/hive-mind/hive-mind-consensus.md +72 -0
  166. package/packages/@monomind/cli/.claude/commands/hive-mind/hive-mind-init.md +68 -0
  167. package/packages/@monomind/cli/.claude/commands/hive-mind/hive-mind-memory.md +73 -0
  168. package/packages/@monomind/cli/.claude/commands/hive-mind/hive-mind-spawn.md +82 -0
  169. package/packages/@monomind/cli/.claude/commands/hive-mind/hive-mind-status.md +56 -0
  170. package/packages/@monomind/cli/.claude/commands/hive-mind/hive-mind-stop.md +55 -0
  171. package/packages/@monomind/cli/.claude/commands/hive-mind/hive-mind.md +87 -0
  172. package/packages/@monomind/cli/.claude/commands/hooks/README.md +66 -0
  173. package/packages/@monomind/cli/.claude/commands/hooks/overview.md +117 -0
  174. package/packages/@monomind/cli/.claude/commands/hooks/post-edit.md +78 -0
  175. package/packages/@monomind/cli/.claude/commands/hooks/post-task.md +62 -0
  176. package/packages/@monomind/cli/.claude/commands/hooks/pre-edit.md +81 -0
  177. package/packages/@monomind/cli/.claude/commands/hooks/pre-task.md +76 -0
  178. package/packages/@monomind/cli/.claude/commands/hooks/session-end.md +82 -0
  179. package/packages/@monomind/cli/.claude/commands/hooks/setup.md +132 -0
  180. package/packages/@monomind/cli/.claude/commands/mastermind/_repeat.md +472 -0
  181. package/packages/@monomind/cli/.claude/commands/mastermind/_taskfile.md +235 -0
  182. package/packages/@monomind/cli/.claude/commands/mastermind/adr.md +11 -0
  183. package/packages/@monomind/cli/.claude/commands/mastermind/approve.md +94 -0
  184. package/packages/@monomind/cli/.claude/commands/mastermind/architect.md +55 -0
  185. package/packages/@monomind/cli/.claude/commands/mastermind/autodev.md +32 -0
  186. package/packages/@monomind/cli/.claude/commands/mastermind/brain.md +102 -0
  187. package/packages/@monomind/cli/.claude/commands/mastermind/budget.md +7 -0
  188. package/packages/@monomind/cli/.claude/commands/mastermind/build.md +26 -0
  189. package/packages/@monomind/cli/.claude/commands/mastermind/code-review.md +317 -0
  190. package/packages/@monomind/cli/.claude/commands/mastermind/content.md +26 -0
  191. package/packages/@monomind/cli/.claude/commands/mastermind/createorg.md +139 -0
  192. package/packages/@monomind/cli/.claude/commands/mastermind/createtask.md +383 -0
  193. package/packages/@monomind/cli/.claude/commands/mastermind/debug.md +22 -0
  194. package/packages/@monomind/cli/.claude/commands/mastermind/design.md +20 -0
  195. package/packages/@monomind/cli/.claude/commands/mastermind/do.md +528 -0
  196. package/packages/@monomind/cli/.claude/commands/mastermind/execute.md +20 -0
  197. package/packages/@monomind/cli/.claude/commands/mastermind/finance.md +26 -0
  198. package/packages/@monomind/cli/.claude/commands/mastermind/finish.md +20 -0
  199. package/packages/@monomind/cli/.claude/commands/mastermind/graph-status.md +7 -0
  200. package/packages/@monomind/cli/.claude/commands/mastermind/help.md +118 -0
  201. package/packages/@monomind/cli/.claude/commands/mastermind/idea.md +26 -0
  202. package/packages/@monomind/cli/.claude/commands/mastermind/ideate.md +261 -0
  203. package/packages/@monomind/cli/.claude/commands/mastermind/improve.md +345 -0
  204. package/packages/@monomind/cli/.claude/commands/mastermind/loops.md +7 -0
  205. package/packages/@monomind/cli/.claude/commands/mastermind/marketing.md +26 -0
  206. package/packages/@monomind/cli/.claude/commands/mastermind/master.md +1070 -0
  207. package/packages/@monomind/cli/.claude/commands/mastermind/memory.md +230 -0
  208. package/packages/@monomind/cli/.claude/commands/mastermind/ops.md +26 -0
  209. package/packages/@monomind/cli/.claude/commands/mastermind/orgs.md +21 -0
  210. package/packages/@monomind/cli/.claude/commands/mastermind/orgstatus.md +59 -0
  211. package/packages/@monomind/cli/.claude/commands/mastermind/plan.md +26 -0
  212. package/packages/@monomind/cli/.claude/commands/mastermind/receive-review.md +20 -0
  213. package/packages/@monomind/cli/.claude/commands/mastermind/release.md +26 -0
  214. package/packages/@monomind/cli/.claude/commands/mastermind/repeat.md +257 -0
  215. package/packages/@monomind/cli/.claude/commands/mastermind/research.md +26 -0
  216. package/packages/@monomind/cli/.claude/commands/mastermind/review.md +26 -0
  217. package/packages/@monomind/cli/.claude/commands/mastermind/runorg.md +156 -0
  218. package/packages/@monomind/cli/.claude/commands/mastermind/sales.md +26 -0
  219. package/packages/@monomind/cli/.claude/commands/mastermind/skill-builder.md +20 -0
  220. package/packages/@monomind/cli/.claude/commands/mastermind/specialagents.md +125 -0
  221. package/packages/@monomind/cli/.claude/commands/mastermind/stoporg.md +78 -0
  222. package/packages/@monomind/cli/.claude/commands/mastermind/swarm.md +161 -0
  223. package/packages/@monomind/cli/.claude/commands/mastermind/taskdev.md +26 -0
  224. package/packages/@monomind/cli/.claude/commands/mastermind/tdd.md +22 -0
  225. package/packages/@monomind/cli/.claude/commands/mastermind/techport.md +30 -0
  226. package/packages/@monomind/cli/.claude/commands/mastermind/understand.md +139 -0
  227. package/packages/@monomind/cli/.claude/commands/mastermind/verify.md +22 -0
  228. package/packages/@monomind/cli/.claude/commands/mastermind/worktree.md +20 -0
  229. package/packages/@monomind/cli/.claude/commands/mastermind.md +121 -0
  230. package/packages/@monomind/cli/.claude/commands/memory/README.md +79 -0
  231. package/packages/@monomind/cli/.claude/commands/memory/memory-search.md +77 -0
  232. package/packages/@monomind/cli/.claude/commands/monitoring/README.md +69 -0
  233. package/packages/@monomind/cli/.claude/commands/monitoring/agent-metrics.md +65 -0
  234. package/packages/@monomind/cli/.claude/commands/monitoring/agents.md +71 -0
  235. package/packages/@monomind/cli/.claude/commands/monitoring/status.md +108 -0
  236. package/packages/@monomind/cli/.claude/commands/monobrowse.md +21 -0
  237. package/packages/@monomind/cli/.claude/commands/monograph/README.md +102 -0
  238. package/packages/@monomind/cli/.claude/commands/monograph/monograph-build.md +79 -0
  239. package/packages/@monomind/cli/.claude/commands/monograph/monograph-search.md +96 -0
  240. package/packages/@monomind/cli/.claude/commands/monograph/monograph-stats.md +53 -0
  241. package/packages/@monomind/cli/.claude/commands/monograph/monograph-watch.md +63 -0
  242. package/packages/@monomind/cli/.claude/commands/monograph/monograph-wiki.md +91 -0
  243. package/packages/@monomind/cli/.claude/commands/optimization/auto-topology.md +85 -0
  244. package/packages/@monomind/cli/.claude/commands/optimization/performance-optimize.md +79 -0
  245. package/packages/@monomind/cli/.claude/commands/pair/README.md +79 -0
  246. package/packages/@monomind/cli/.claude/commands/pair/examples.md +156 -0
  247. package/packages/@monomind/cli/.claude/commands/pair/modes.md +122 -0
  248. package/packages/@monomind/cli/.claude/commands/pair/session.md +124 -0
  249. package/packages/@monomind/cli/.claude/commands/sparc/analyzer.md +35 -0
  250. package/packages/@monomind/cli/.claude/commands/sparc/architect.md +36 -0
  251. package/packages/@monomind/cli/.claude/commands/sparc/ask.md +56 -0
  252. package/packages/@monomind/cli/.claude/commands/sparc/batch-executor.md +37 -0
  253. package/packages/@monomind/cli/.claude/commands/sparc/code.md +48 -0
  254. package/packages/@monomind/cli/.claude/commands/sparc/coder.md +37 -0
  255. package/packages/@monomind/cli/.claude/commands/sparc/debug.md +42 -0
  256. package/packages/@monomind/cli/.claude/commands/sparc/debugger.md +37 -0
  257. package/packages/@monomind/cli/.claude/commands/sparc/designer.md +36 -0
  258. package/packages/@monomind/cli/.claude/commands/sparc/devops.md +68 -0
  259. package/packages/@monomind/cli/.claude/commands/sparc/docs-writer.md +39 -0
  260. package/packages/@monomind/cli/.claude/commands/sparc/documenter.md +37 -0
  261. package/packages/@monomind/cli/.claude/commands/sparc/innovator.md +37 -0
  262. package/packages/@monomind/cli/.claude/commands/sparc/integration.md +42 -0
  263. package/packages/@monomind/cli/.claude/commands/sparc/mcp.md +76 -0
  264. package/packages/@monomind/cli/.claude/commands/sparc/memory-manager.md +57 -0
  265. package/packages/@monomind/cli/.claude/commands/sparc/optimizer.md +37 -0
  266. package/packages/@monomind/cli/.claude/commands/sparc/orchestrator.md +70 -0
  267. package/packages/@monomind/cli/.claude/commands/sparc/post-deployment-monitoring-mode.md +42 -0
  268. package/packages/@monomind/cli/.claude/commands/sparc/refinement-optimization-mode.md +42 -0
  269. package/packages/@monomind/cli/.claude/commands/sparc/researcher.md +37 -0
  270. package/packages/@monomind/cli/.claude/commands/sparc/reviewer.md +37 -0
  271. package/packages/@monomind/cli/.claude/commands/sparc/security-review.md +39 -0
  272. package/packages/@monomind/cli/.claude/commands/sparc/sparc-modes.md +120 -0
  273. package/packages/@monomind/cli/.claude/commands/sparc/sparc.md +71 -0
  274. package/packages/@monomind/cli/.claude/commands/sparc/spec-pseudocode.md +39 -0
  275. package/packages/@monomind/cli/.claude/commands/sparc/supabase-admin.md +301 -0
  276. package/packages/@monomind/cli/.claude/commands/sparc/swarm-coordinator.md +50 -0
  277. package/packages/@monomind/cli/.claude/commands/sparc/tdd.md +37 -0
  278. package/packages/@monomind/cli/.claude/commands/sparc/tester.md +37 -0
  279. package/packages/@monomind/cli/.claude/commands/sparc/tutorial.md +38 -0
  280. package/packages/@monomind/cli/.claude/commands/sparc/workflow-manager.md +37 -0
  281. package/packages/@monomind/cli/.claude/commands/sparc.md +112 -0
  282. package/packages/@monomind/cli/.claude/commands/stream-chain/pipeline.md +116 -0
  283. package/packages/@monomind/cli/.claude/commands/stream-chain/run.md +156 -0
  284. package/packages/@monomind/cli/.claude/commands/swarm/README.md +40 -0
  285. package/packages/@monomind/cli/.claude/commands/swarm/analysis.md +73 -0
  286. package/packages/@monomind/cli/.claude/commands/swarm/development.md +72 -0
  287. package/packages/@monomind/cli/.claude/commands/swarm/examples.md +103 -0
  288. package/packages/@monomind/cli/.claude/commands/swarm/maintenance.md +75 -0
  289. package/packages/@monomind/cli/.claude/commands/swarm/optimization.md +84 -0
  290. package/packages/@monomind/cli/.claude/commands/swarm/research.md +76 -0
  291. package/packages/@monomind/cli/.claude/commands/swarm/swarm.md +79 -0
  292. package/packages/@monomind/cli/.claude/commands/swarm/testing.md +80 -0
  293. package/packages/@monomind/cli/.claude/commands/tokens.md +18 -0
  294. package/packages/@monomind/cli/.claude/commands/truth/start.md +121 -0
  295. package/packages/@monomind/cli/.claude/commands/ts.md +14 -0
  296. package/packages/@monomind/cli/.claude/commands/workflows/README.md +65 -0
  297. package/packages/@monomind/cli/.claude/commands/workflows/development.md +86 -0
  298. package/packages/@monomind/cli/.claude/commands/workflows/research.md +89 -0
  299. package/packages/@monomind/cli/.claude/commands/workflows/workflow-create.md +84 -0
  300. package/packages/@monomind/cli/.claude/commands/workflows/workflow-execute.md +103 -0
  301. package/packages/@monomind/cli/.claude/commands/workflows/workflow-export.md +90 -0
  302. package/packages/@monomind/cli/.claude/helpers/auto-memory-hook.mjs +413 -0
  303. package/packages/@monomind/cli/.claude/helpers/control-start.cjs +155 -0
  304. package/packages/@monomind/cli/.claude/helpers/event-logger.cjs +155 -0
  305. package/packages/@monomind/cli/.claude/helpers/extras-registry.json +5141 -0
  306. package/packages/@monomind/cli/.claude/helpers/graphify-freshen.cjs +115 -0
  307. package/packages/@monomind/cli/.claude/helpers/handlers/adr-draft-handler.cjs +78 -0
  308. package/packages/@monomind/cli/.claude/helpers/handlers/agent-start-handler.cjs +108 -0
  309. package/packages/@monomind/cli/.claude/helpers/handlers/budget-status-handler.cjs +14 -0
  310. package/packages/@monomind/cli/.claude/helpers/handlers/capture-handler.cjs +473 -0
  311. package/packages/@monomind/cli/.claude/helpers/handlers/compact-handler.cjs +35 -0
  312. package/packages/@monomind/cli/.claude/helpers/handlers/edit-handler.cjs +145 -0
  313. package/packages/@monomind/cli/.claude/helpers/handlers/gates-handler.cjs +138 -0
  314. package/packages/@monomind/cli/.claude/helpers/handlers/graph-status-handler.cjs +45 -0
  315. package/packages/@monomind/cli/.claude/helpers/handlers/loops-status-handler.cjs +48 -0
  316. package/packages/@monomind/cli/.claude/helpers/handlers/route-handler.cjs +457 -0
  317. package/packages/@monomind/cli/.claude/helpers/handlers/session-handler.cjs +174 -0
  318. package/packages/@monomind/cli/.claude/helpers/handlers/session-restore-handler.cjs +370 -0
  319. package/packages/@monomind/cli/.claude/helpers/handlers/stats-handler.cjs +14 -0
  320. package/packages/@monomind/cli/.claude/helpers/handlers/task-handler.cjs +341 -0
  321. package/packages/@monomind/cli/.claude/helpers/hook-handler.cjs +400 -0
  322. package/packages/@monomind/cli/.claude/helpers/intelligence.cjs +164 -0
  323. package/packages/@monomind/cli/.claude/helpers/learning-service.mjs +60 -0
  324. package/packages/@monomind/cli/.claude/helpers/loop-tracker.cjs +119 -0
  325. package/packages/@monomind/cli/.claude/helpers/memory-palace.cjs +461 -0
  326. package/packages/@monomind/cli/.claude/helpers/memory.cjs +193 -0
  327. package/packages/@monomind/cli/.claude/helpers/metrics-db.mjs +87 -0
  328. package/packages/@monomind/cli/.claude/helpers/monolean-activate.cjs +20 -0
  329. package/packages/@monomind/cli/.claude/helpers/monolean-config.cjs +76 -0
  330. package/packages/@monomind/cli/.claude/helpers/monolean-instructions.cjs +109 -0
  331. package/packages/@monomind/cli/.claude/helpers/monolean-propagate.cjs +9 -0
  332. package/packages/@monomind/cli/.claude/helpers/monolean-tracker.cjs +18 -0
  333. package/packages/@monomind/cli/.claude/helpers/router.cjs +326 -0
  334. package/packages/@monomind/cli/.claude/helpers/session.cjs +140 -0
  335. package/packages/@monomind/cli/.claude/helpers/skill-registry.json +1043 -0
  336. package/packages/@monomind/cli/.claude/helpers/statusline.cjs +1350 -0
  337. package/packages/@monomind/cli/.claude/helpers/toggle-statusline.cjs +73 -0
  338. package/packages/@monomind/cli/.claude/helpers/token-tracker.cjs +934 -0
  339. package/packages/@monomind/cli/.claude/helpers/utils/micro-agents.cjs +354 -0
  340. package/packages/@monomind/cli/.claude/helpers/utils/monograph.cjs +386 -0
  341. package/packages/@monomind/cli/.claude/helpers/utils/telemetry.cjs +146 -0
  342. package/packages/@monomind/cli/.claude/skills/agent-browser-testing/SKILL.md +964 -0
  343. package/packages/@monomind/cli/.claude/skills/agentic-jujutsu/SKILL.md +645 -0
  344. package/packages/@monomind/cli/.claude/skills/github-issue-triage/SKILL.md +354 -0
  345. package/packages/@monomind/cli/.claude/skills/github-repo-recap/SKILL.md +207 -0
  346. package/packages/@monomind/cli/.claude/skills/hive-mind-advanced/SKILL.md +709 -0
  347. package/packages/@monomind/cli/.claude/skills/hooks-automation/SKILL.md +1193 -0
  348. package/packages/@monomind/cli/.claude/skills/mastermind/_agent-select.md +132 -0
  349. package/packages/@monomind/cli/.claude/skills/mastermind/_delegation.md +83 -0
  350. package/packages/@monomind/cli/.claude/skills/mastermind/_intake.md +83 -0
  351. package/packages/@monomind/cli/.claude/skills/mastermind/_protocol.md +404 -0
  352. package/packages/@monomind/cli/.claude/skills/mastermind/_repeat.md +144 -0
  353. package/packages/@monomind/cli/.claude/skills/mastermind/access.md +236 -0
  354. package/packages/@monomind/cli/.claude/skills/mastermind/activity.md +191 -0
  355. package/packages/@monomind/cli/.claude/skills/mastermind/adapter-manager.md +259 -0
  356. package/packages/@monomind/cli/.claude/skills/mastermind/adapters.md +204 -0
  357. package/packages/@monomind/cli/.claude/skills/mastermind/agent-detail.md +242 -0
  358. package/packages/@monomind/cli/.claude/skills/mastermind/agents.md +178 -0
  359. package/packages/@monomind/cli/.claude/skills/mastermind/approval-detail.md +259 -0
  360. package/packages/@monomind/cli/.claude/skills/mastermind/approve.md +188 -0
  361. package/packages/@monomind/cli/.claude/skills/mastermind/architect.md +863 -0
  362. package/packages/@monomind/cli/.claude/skills/mastermind/autodev.md +536 -0
  363. package/packages/@monomind/cli/.claude/skills/mastermind/backup.md +197 -0
  364. package/packages/@monomind/cli/.claude/skills/mastermind/bootstrap.md +190 -0
  365. package/packages/@monomind/cli/.claude/skills/mastermind/budgets.md +237 -0
  366. package/packages/@monomind/cli/.claude/skills/mastermind/build.md +170 -0
  367. package/packages/@monomind/cli/.claude/skills/mastermind/code-quality-reviewer-prompt.md +60 -0
  368. package/packages/@monomind/cli/.claude/skills/mastermind/companies.md +256 -0
  369. package/packages/@monomind/cli/.claude/skills/mastermind/content.md +197 -0
  370. package/packages/@monomind/cli/.claude/skills/mastermind/costs.md +151 -0
  371. package/packages/@monomind/cli/.claude/skills/mastermind/createorg.md +853 -0
  372. package/packages/@monomind/cli/.claude/skills/mastermind/debug.md +232 -0
  373. package/packages/@monomind/cli/.claude/skills/mastermind/design.md +189 -0
  374. package/packages/@monomind/cli/.claude/skills/mastermind/diagnose.md +249 -0
  375. package/packages/@monomind/cli/.claude/skills/mastermind/env.md +198 -0
  376. package/packages/@monomind/cli/.claude/skills/mastermind/environments.md +250 -0
  377. package/packages/@monomind/cli/.claude/skills/mastermind/execute.md +104 -0
  378. package/packages/@monomind/cli/.claude/skills/mastermind/export.md +333 -0
  379. package/packages/@monomind/cli/.claude/skills/mastermind/finance.md +166 -0
  380. package/packages/@monomind/cli/.claude/skills/mastermind/finish.md +251 -0
  381. package/packages/@monomind/cli/.claude/skills/mastermind/goal-detail.md +255 -0
  382. package/packages/@monomind/cli/.claude/skills/mastermind/goals.md +149 -0
  383. package/packages/@monomind/cli/.claude/skills/mastermind/heartbeat.md +164 -0
  384. package/packages/@monomind/cli/.claude/skills/mastermind/idea.md +1142 -0
  385. package/packages/@monomind/cli/.claude/skills/mastermind/implementer-prompt.md +109 -0
  386. package/packages/@monomind/cli/.claude/skills/mastermind/import.md +281 -0
  387. package/packages/@monomind/cli/.claude/skills/mastermind/inbox.md +214 -0
  388. package/packages/@monomind/cli/.claude/skills/mastermind/instance-settings.md +315 -0
  389. package/packages/@monomind/cli/.claude/skills/mastermind/instance.md +233 -0
  390. package/packages/@monomind/cli/.claude/skills/mastermind/invite-landing.md +227 -0
  391. package/packages/@monomind/cli/.claude/skills/mastermind/invites.md +254 -0
  392. package/packages/@monomind/cli/.claude/skills/mastermind/issue-detail.md +291 -0
  393. package/packages/@monomind/cli/.claude/skills/mastermind/issues.md +235 -0
  394. package/packages/@monomind/cli/.claude/skills/mastermind/join-queue.md +170 -0
  395. package/packages/@monomind/cli/.claude/skills/mastermind/liveness.md +392 -0
  396. package/packages/@monomind/cli/.claude/skills/mastermind/marketing.md +228 -0
  397. package/packages/@monomind/cli/.claude/skills/mastermind/memory.md +321 -0
  398. package/packages/@monomind/cli/.claude/skills/mastermind/monitor.md +1284 -0
  399. package/packages/@monomind/cli/.claude/skills/mastermind/monotask.md +350 -0
  400. package/packages/@monomind/cli/.claude/skills/mastermind/my-issues.md +146 -0
  401. package/packages/@monomind/cli/.claude/skills/mastermind/new-agent.md +241 -0
  402. package/packages/@monomind/cli/.claude/skills/mastermind/ops.md +168 -0
  403. package/packages/@monomind/cli/.claude/skills/mastermind/org-chart.md +209 -0
  404. package/packages/@monomind/cli/.claude/skills/mastermind/org-settings.md +254 -0
  405. package/packages/@monomind/cli/.claude/skills/mastermind/orgs.md +98 -0
  406. package/packages/@monomind/cli/.claude/skills/mastermind/orgstatus.md +194 -0
  407. package/packages/@monomind/cli/.claude/skills/mastermind/plan-to-tasks.md +136 -0
  408. package/packages/@monomind/cli/.claude/skills/mastermind/plan.md +198 -0
  409. package/packages/@monomind/cli/.claude/skills/mastermind/plugin-manager.md +241 -0
  410. package/packages/@monomind/cli/.claude/skills/mastermind/plugin-settings.md +273 -0
  411. package/packages/@monomind/cli/.claude/skills/mastermind/plugins.md +190 -0
  412. package/packages/@monomind/cli/.claude/skills/mastermind/profile.md +187 -0
  413. package/packages/@monomind/cli/.claude/skills/mastermind/project-detail.md +249 -0
  414. package/packages/@monomind/cli/.claude/skills/mastermind/project-workspace.md +244 -0
  415. package/packages/@monomind/cli/.claude/skills/mastermind/projects.md +164 -0
  416. package/packages/@monomind/cli/.claude/skills/mastermind/receive-review.md +213 -0
  417. package/packages/@monomind/cli/.claude/skills/mastermind/references/copywriting-frameworks.md +181 -0
  418. package/packages/@monomind/cli/.claude/skills/mastermind/references/persuasion-psychology.md +158 -0
  419. package/packages/@monomind/cli/.claude/skills/mastermind/release.md +168 -0
  420. package/packages/@monomind/cli/.claude/skills/mastermind/research.md +168 -0
  421. package/packages/@monomind/cli/.claude/skills/mastermind/review.md +219 -0
  422. package/packages/@monomind/cli/.claude/skills/mastermind/routine-detail.md +253 -0
  423. package/packages/@monomind/cli/.claude/skills/mastermind/routines.md +203 -0
  424. package/packages/@monomind/cli/.claude/skills/mastermind/runorg.md +684 -0
  425. package/packages/@monomind/cli/.claude/skills/mastermind/sales.md +170 -0
  426. package/packages/@monomind/cli/.claude/skills/mastermind/search.md +186 -0
  427. package/packages/@monomind/cli/.claude/skills/mastermind/secrets.md +199 -0
  428. package/packages/@monomind/cli/.claude/skills/mastermind/skill-builder.md +274 -0
  429. package/packages/@monomind/cli/.claude/skills/mastermind/skills.md +156 -0
  430. package/packages/@monomind/cli/.claude/skills/mastermind/spec-reviewer-prompt.md +63 -0
  431. package/packages/@monomind/cli/.claude/skills/mastermind/stoporg.md +138 -0
  432. package/packages/@monomind/cli/.claude/skills/mastermind/taskdev.md +307 -0
  433. package/packages/@monomind/cli/.claude/skills/mastermind/tasks.md +149 -0
  434. package/packages/@monomind/cli/.claude/skills/mastermind/tdd.md +394 -0
  435. package/packages/@monomind/cli/.claude/skills/mastermind/techport.md +743 -0
  436. package/packages/@monomind/cli/.claude/skills/mastermind/threads.md +259 -0
  437. package/packages/@monomind/cli/.claude/skills/mastermind/tree-control.md +250 -0
  438. package/packages/@monomind/cli/.claude/skills/mastermind/verify.md +196 -0
  439. package/packages/@monomind/cli/.claude/skills/mastermind/wiki.md +314 -0
  440. package/packages/@monomind/cli/.claude/skills/mastermind/workspace-detail.md +317 -0
  441. package/packages/@monomind/cli/.claude/skills/mastermind/workspaces.md +261 -0
  442. package/packages/@monomind/cli/.claude/skills/mastermind/worktree.md +215 -0
  443. package/packages/@monomind/cli/.claude/skills/monodesign/SKILL.md +333 -0
  444. package/packages/@monomind/cli/.claude/skills/monodesign/adapt.md +53 -0
  445. package/packages/@monomind/cli/.claude/skills/monodesign/agents/monodesign-asset-producer.md +100 -0
  446. package/packages/@monomind/cli/.claude/skills/monodesign/animate.md +65 -0
  447. package/packages/@monomind/cli/.claude/skills/monodesign/audit.md +89 -0
  448. package/packages/@monomind/cli/.claude/skills/monodesign/bolder.md +50 -0
  449. package/packages/@monomind/cli/.claude/skills/monodesign/clarify.md +64 -0
  450. package/packages/@monomind/cli/.claude/skills/monodesign/colorize.md +68 -0
  451. package/packages/@monomind/cli/.claude/skills/monodesign/craft.md +51 -0
  452. package/packages/@monomind/cli/.claude/skills/monodesign/critique.md +66 -0
  453. package/packages/@monomind/cli/.claude/skills/monodesign/delight.md +47 -0
  454. package/packages/@monomind/cli/.claude/skills/monodesign/distill.md +56 -0
  455. package/packages/@monomind/cli/.claude/skills/monodesign/document.md +80 -0
  456. package/packages/@monomind/cli/.claude/skills/monodesign/extract.md +74 -0
  457. package/packages/@monomind/cli/.claude/skills/monodesign/harden.md +65 -0
  458. package/packages/@monomind/cli/.claude/skills/monodesign/live.md +59 -0
  459. package/packages/@monomind/cli/.claude/skills/monodesign/onboard.md +50 -0
  460. package/packages/@monomind/cli/.claude/skills/monodesign/optimize.md +64 -0
  461. package/packages/@monomind/cli/.claude/skills/monodesign/overdrive.md +56 -0
  462. package/packages/@monomind/cli/.claude/skills/monodesign/polish.md +68 -0
  463. package/packages/@monomind/cli/.claude/skills/monodesign/quieter.md +57 -0
  464. package/packages/@monomind/cli/.claude/skills/monodesign/reference/adapt.md +190 -0
  465. package/packages/@monomind/cli/.claude/skills/monodesign/reference/animate.md +175 -0
  466. package/packages/@monomind/cli/.claude/skills/monodesign/reference/antipatterns-catalog.md +359 -0
  467. package/packages/@monomind/cli/.claude/skills/monodesign/reference/audit.md +133 -0
  468. package/packages/@monomind/cli/.claude/skills/monodesign/reference/bolder.md +113 -0
  469. package/packages/@monomind/cli/.claude/skills/monodesign/reference/brand-workflow.md +180 -0
  470. package/packages/@monomind/cli/.claude/skills/monodesign/reference/brand.md +114 -0
  471. package/packages/@monomind/cli/.claude/skills/monodesign/reference/clarify.md +174 -0
  472. package/packages/@monomind/cli/.claude/skills/monodesign/reference/codex.md +107 -0
  473. package/packages/@monomind/cli/.claude/skills/monodesign/reference/cognitive-load.md +106 -0
  474. package/packages/@monomind/cli/.claude/skills/monodesign/reference/color-and-contrast.md +105 -0
  475. package/packages/@monomind/cli/.claude/skills/monodesign/reference/colorize.md +154 -0
  476. package/packages/@monomind/cli/.claude/skills/monodesign/reference/component-specs.md +260 -0
  477. package/packages/@monomind/cli/.claude/skills/monodesign/reference/component-states.md +274 -0
  478. package/packages/@monomind/cli/.claude/skills/monodesign/reference/component-system.md +358 -0
  479. package/packages/@monomind/cli/.claude/skills/monodesign/reference/copy-formulas.md +160 -0
  480. package/packages/@monomind/cli/.claude/skills/monodesign/reference/craft.md +196 -0
  481. package/packages/@monomind/cli/.claude/skills/monodesign/reference/critique.md +213 -0
  482. package/packages/@monomind/cli/.claude/skills/monodesign/reference/delight.md +302 -0
  483. package/packages/@monomind/cli/.claude/skills/monodesign/reference/design-principles.md +246 -0
  484. package/packages/@monomind/cli/.claude/skills/monodesign/reference/distill.md +111 -0
  485. package/packages/@monomind/cli/.claude/skills/monodesign/reference/document.md +427 -0
  486. package/packages/@monomind/cli/.claude/skills/monodesign/reference/extract.md +69 -0
  487. package/packages/@monomind/cli/.claude/skills/monodesign/reference/harden.md +347 -0
  488. package/packages/@monomind/cli/.claude/skills/monodesign/reference/heuristics-scoring.md +234 -0
  489. package/packages/@monomind/cli/.claude/skills/monodesign/reference/hooks.md +99 -0
  490. package/packages/@monomind/cli/.claude/skills/monodesign/reference/image-prompts.md +130 -0
  491. package/packages/@monomind/cli/.claude/skills/monodesign/reference/interaction-design.md +195 -0
  492. package/packages/@monomind/cli/.claude/skills/monodesign/reference/layout.md +141 -0
  493. package/packages/@monomind/cli/.claude/skills/monodesign/reference/live.md +622 -0
  494. package/packages/@monomind/cli/.claude/skills/monodesign/reference/motion-design.md +109 -0
  495. package/packages/@monomind/cli/.claude/skills/monodesign/reference/onboard.md +234 -0
  496. package/packages/@monomind/cli/.claude/skills/monodesign/reference/optimize.md +258 -0
  497. package/packages/@monomind/cli/.claude/skills/monodesign/reference/overdrive.md +130 -0
  498. package/packages/@monomind/cli/.claude/skills/monodesign/reference/personas.md +179 -0
  499. package/packages/@monomind/cli/.claude/skills/monodesign/reference/polish.md +233 -0
  500. package/packages/@monomind/cli/.claude/skills/monodesign/reference/pre-delivery-checklist.md +108 -0
  501. package/packages/@monomind/cli/.claude/skills/monodesign/reference/product.md +62 -0
  502. package/packages/@monomind/cli/.claude/skills/monodesign/reference/quieter.md +99 -0
  503. package/packages/@monomind/cli/.claude/skills/monodesign/reference/responsive-design.md +114 -0
  504. package/packages/@monomind/cli/.claude/skills/monodesign/reference/shape.md +151 -0
  505. package/packages/@monomind/cli/.claude/skills/monodesign/reference/spatial-design.md +100 -0
  506. package/packages/@monomind/cli/.claude/skills/monodesign/reference/teach.md +156 -0
  507. package/packages/@monomind/cli/.claude/skills/monodesign/reference/token-architecture.md +222 -0
  508. package/packages/@monomind/cli/.claude/skills/monodesign/reference/typeset.md +124 -0
  509. package/packages/@monomind/cli/.claude/skills/monodesign/reference/typography.md +159 -0
  510. package/packages/@monomind/cli/.claude/skills/monodesign/reference/ux-research.md +143 -0
  511. package/packages/@monomind/cli/.claude/skills/monodesign/reference/ux-rules.md +211 -0
  512. package/packages/@monomind/cli/.claude/skills/monodesign/reference/ux-writing.md +107 -0
  513. package/packages/@monomind/cli/.claude/skills/monodesign/shape.md +71 -0
  514. package/packages/@monomind/cli/.claude/skills/monodesign/teach.md +69 -0
  515. package/packages/@monomind/cli/.claude/skills/monodesign/typeset.md +59 -0
  516. package/packages/@monomind/cli/.claude/skills/monolean/SKILL.md +118 -0
  517. package/packages/@monomind/cli/.claude/skills/monolean-audit/SKILL.md +41 -0
  518. package/packages/@monomind/cli/.claude/skills/monolean-debt/SKILL.md +46 -0
  519. package/packages/@monomind/cli/.claude/skills/monolean-help/SKILL.md +60 -0
  520. package/packages/@monomind/cli/.claude/skills/monolean-review/SKILL.md +57 -0
  521. package/packages/@monomind/cli/.claude/skills/monomind/browse-agentcore.md +115 -0
  522. package/packages/@monomind/cli/.claude/skills/monomind/browse-electron.md +188 -0
  523. package/packages/@monomind/cli/.claude/skills/monomind/browse-qa.md +228 -0
  524. package/packages/@monomind/cli/.claude/skills/monomind/browse-references/authentication.md +161 -0
  525. package/packages/@monomind/cli/.claude/skills/monomind/browse-references/trust-boundaries.md +40 -0
  526. package/packages/@monomind/cli/.claude/skills/monomind/browse-references/video-recording.md +83 -0
  527. package/packages/@monomind/cli/.claude/skills/monomind/browse-slack.md +188 -0
  528. package/packages/@monomind/cli/.claude/skills/monomind/browse-vercel.md +239 -0
  529. package/packages/@monomind/cli/.claude/skills/monomind/browse.md +724 -0
  530. package/packages/@monomind/cli/.claude/skills/monomotion/SKILL.md +145 -0
  531. package/packages/@monomind/cli/.claude/skills/monomotion/rules/api-control.md +139 -0
  532. package/packages/@monomind/cli/.claude/skills/monomotion/rules/effects.md +109 -0
  533. package/packages/@monomind/cli/.claude/skills/monomotion/rules/integration.md +140 -0
  534. package/packages/@monomind/cli/.claude/skills/monomotion/rules/scroll.md +131 -0
  535. package/packages/@monomind/cli/.claude/skills/monomotion/rules/sequencing.md +105 -0
  536. package/packages/@monomind/cli/.claude/skills/monomotion/rules/svg.md +101 -0
  537. package/packages/@monomind/cli/.claude/skills/monomotion/rules/text.md +119 -0
  538. package/packages/@monomind/cli/.claude/skills/pair-programming/SKILL.md +1202 -0
  539. package/packages/@monomind/cli/.claude/skills/performance-analysis/SKILL.md +560 -0
  540. package/packages/@monomind/cli/.claude/skills/skill-builder/SKILL.md +910 -0
  541. package/packages/@monomind/cli/.claude/skills/sparc-methodology/SKILL.md +950 -0
  542. package/packages/@monomind/cli/.claude/skills/specialagent/SKILL.md +208 -0
  543. package/packages/@monomind/cli/.claude/skills/stop-slop/SKILL.md +67 -0
  544. package/packages/@monomind/cli/.claude/skills/stop-slop/references/examples.md +61 -0
  545. package/packages/@monomind/cli/.claude/skills/stop-slop/references/phrases.md +130 -0
  546. package/packages/@monomind/cli/.claude/skills/stop-slop/references/structures.md +136 -0
  547. package/packages/@monomind/cli/.claude/skills/swarm-advanced/SKILL.md +937 -0
  548. package/packages/@monomind/cli/.claude/skills/swarm-orchestration/SKILL.md +179 -0
  549. package/packages/@monomind/cli/.claude/skills/verification-quality/SKILL.md +674 -0
  550. package/packages/@monomind/cli/dist/src/browser/action-builder/analyzer.js +6 -13
  551. package/packages/@monomind/cli/dist/src/commands/browse-action.js +3 -2
  552. package/packages/@monomind/cli/dist/src/commands/doctor.js +17 -2
  553. package/packages/@monomind/cli/dist/src/commands/index.js +2 -0
  554. package/packages/@monomind/cli/dist/src/commands/sync.d.ts +10 -0
  555. package/packages/@monomind/cli/dist/src/commands/sync.js +100 -0
  556. package/packages/@monomind/cli/dist/src/init/executor.js +22 -0
  557. package/packages/@monomind/cli/dist/src/init/statusline-generator.js +45 -0
  558. package/packages/@monomind/cli/dist/src/sync/checker.d.ts +12 -0
  559. package/packages/@monomind/cli/dist/src/sync/checker.js +26 -0
  560. package/packages/@monomind/cli/package.json +2 -2
@@ -0,0 +1,536 @@
1
+ ---
2
+ name: mastermind-autodev
3
+ description: Mastermind autodev — autonomous research → build → review loop. Researches the project, picks the best improvement idea, builds it, then reviews with mastermind:review --tillend until clean. Repeats N times when given a count. Supports --newfeature N for full feature pipeline (research → build → review → document → deliver).
4
+ type: domain-skill
5
+ default_mode: auto
6
+ ---
7
+
8
+ # Mastermind Autodev Domain
9
+
10
+ This skill is invoked directly via `/mastermind:autodev`.
11
+
12
+ Autodev is a fully autonomous loop: it researches the project, selects the highest-value improvement, builds it, and reviews it until clean — then repeats.
13
+
14
+ When `--newfeature N` is passed, it switches to **feature mode**: discovers the N best genuinely-new features the project is missing, then for each one runs the complete pipeline — Build → Review → Documentation → Delivery.
15
+
16
+ ---
17
+
18
+ ## Inputs
19
+
20
+ - `brain_context`: BRAIN CONTEXT block (loaded via _protocol.md Brain Load Procedure)
21
+ - `count`: number of improvements to build (default: 1; set by leading integer in arguments, e.g. `9 --tillend`)
22
+ - `newfeature_count`: when `--newfeature N` is set, number of brand-new features to discover and fully deliver (overrides normal improvement loop)
23
+ - `focus`: optional topic hint (e.g. "performance", "security", "dx") — narrows research phase
24
+ - `mode`: auto | confirm (default: auto)
25
+ - `current_rep` / `loop_id`: injected by _repeat.md on continuation runs
26
+
27
+ ---
28
+
29
+ ## Flag Parsing
30
+
31
+ Before anything else, extract from `$ARGUMENTS`:
32
+
33
+ 1. **Leading integer** — if the first token is a bare integer (e.g. `9`), set `count = 9`. Remove it from the remaining args.
34
+ 2. **`--count <N>`** — alternate way to set count.
35
+ 3. **`--newfeature <N>`** — activate feature mode; set `newfeature_count = N`. When present, the normal improvement loop is **replaced** by the Feature Pipeline below. N is how many new features to discover and deliver end-to-end (must be ≥ 1).
36
+ 4. **`--focus <topic>`** — set focus topic.
37
+ 5. **`--auto` / `--confirm`** — mode.
38
+ 6. **`--tillend`, `--repeat`, `--maxruns`, `--wait`, `--rep`, `--loop`** — handled by _repeat.md PREAMBLE before this skill runs.
39
+ 7. Remaining text → `focus` hint (if no `--focus` was given).
40
+
41
+ If `count` is not set, default to `1`.
42
+ If `--newfeature` is present but N is missing or not a positive integer, default `newfeature_count = 3`.
43
+ If `newfeature_count > 10`: emit `[autodev] Warning: --newfeature capped at 10 (requested: N)` and set `newfeature_count = 10` before proceeding.
44
+ If `--newfeature` and `--tillend` are both present: emit `[autodev] Warning: --tillend is not supported with --newfeature and will be ignored.` and strip the tillend flag before proceeding.
45
+
46
+ ---
47
+
48
+ ## Feature Pipeline (--newfeature mode)
49
+
50
+ When `--newfeature N` is parsed, skip the normal improvement loop entirely and run this pipeline instead.
51
+
52
+ ### FP-0 — Feature Discovery
53
+
54
+ **Goal:** Find the N best brand-new features the project is missing — not improvements to existing code, not bugfixes, not refactors. Things that would be genuinely new capability.
55
+
56
+ Run all research in parallel:
57
+
58
+ ```bash
59
+ git log --oneline -30
60
+ find . -maxdepth 3 -type f \( -name "*.ts" -o -name "*.js" -o -name "*.py" -o -name "*.go" -o -name "*.md" \) \
61
+ ! -path "*/node_modules/*" ! -path "*/.git/*" ! -path "*/dist/*" | head -80
62
+ cat package.json 2>/dev/null || cat pyproject.toml 2>/dev/null || cat go.mod 2>/dev/null || true
63
+ cat README.md 2>/dev/null | head -120 || true
64
+ # Scan for capability gaps / user-facing TODOs
65
+ grep -rn "TODO\|could add\|future\|roadmap\|planned\|wish\|missing\|not yet\|coming soon" \
66
+ --include="*.ts" --include="*.js" --include="*.py" --include="*.md" \
67
+ . 2>/dev/null | grep -v node_modules | grep -v dist | head -40
68
+ ```
69
+
70
+ Also call (parallel):
71
+ - `mcp__monomind__monograph_god_nodes` — find the most-connected modules (surfaces where new features plug in best)
72
+ - `mcp__monomind__monograph_suggest` with query `"missing feature new capability gap"` — graph-guided gaps
73
+ - `mcp__monomind__memory_search` with query `"autodev newfeature built"`, namespace `"mastermind:autodev"`, limit 30 — exclude already-delivered features
74
+
75
+ **Produce a ranked shortlist of up to `newfeature_count` features.** Aim for exactly `newfeature_count`, but stop at fewer only if the project genuinely has no more viable new features. After producing the shortlist — regardless of mode — **set `newfeature_count = len(shortlist)`** so the loop counter and FP-End summary are accurate. For each:
76
+
77
+ ```
78
+ Feature <K>:
79
+ title: <short imperative name, e.g. "Add batch export command">
80
+ user_value: <one sentence — what a user gains>
81
+ entry_point: <where in the codebase it plugs in (file/module)>
82
+ feasibility: high | medium
83
+ effort_estimate: small (< 100 LOC) | medium (100-400 LOC) | large (400+ LOC)
84
+ type: feature
85
+ ```
86
+
87
+ Priority ranking:
88
+ 1. High feasibility first
89
+ 2. High user_value for the effort
90
+ 3. Not in recent git history
91
+ 4. Not in autodev memory (already built)
92
+ 5. Aligns with `focus` hint if given
93
+
94
+ If `mode = confirm`: display the full ranked shortlist and ask the user to approve before continuing. The user may strike features, reorder, or add constraints. After the user responds, update `approved_shortlist` to contain only the features the user kept, then **set `newfeature_count = len(approved_shortlist)`** before starting the FP-1..N loop. The FP-End summary denominator uses this updated count.
95
+
96
+ If `mode = auto`: `approved_shortlist = shortlist` (all features). `newfeature_count` was already aligned to `len(shortlist)` above — it does not revert to the originally parsed value.
97
+
98
+ Store the shortlist in memory:
99
+ ```
100
+ mcp__monomind__memory_store(
101
+ content: "autodev newfeature shortlist: [<title1>, <title2>, ...]. Session: <date>.",
102
+ namespace: "mastermind:autodev",
103
+ tags: ["autodev", "newfeature", "shortlist"]
104
+ )
105
+ ```
106
+
107
+ ---
108
+
109
+ ### FP-1 through FP-N — Full Delivery Loop (one per feature)
110
+
111
+ Initialize the loop counter before starting:
112
+ ```bash
113
+ K=0
114
+ ```
115
+
116
+ For **each feature** in the ranked shortlist (1 through `newfeature_count`), run these phases in order. At the start of each iteration, increment K:
117
+ ```bash
118
+ K=$((K + 1))
119
+ ```
120
+
121
+ #### Phase A — Build
122
+
123
+ (`K` is the current loop index integer — e.g. `1`, `2`, `3`. Treat `$K` and `$FEATURE_FILE_LIST` as template values: re-emit them with the concrete value substituted at the top of each phase's bash block, since each shell invocation is independent. E.g. at the top of Phase B's block: `K=1; FEATURE_FILE_LIST="/tmp/autodev_feature_files_${K}.txt"`. The same rule applies to FP-End: assign `K=<final_newfeature_count>` at the top of the FP-End bash block before the cleanup loop.)
124
+
125
+ Before invoking build, snapshot untracked files so the post-build delta can be computed:
126
+ ```bash
127
+ FEATURE_FILE_LIST="/tmp/autodev_feature_files_${K}.txt"
128
+ git ls-files --others --exclude-standard | sort > /tmp/autodev_untracked_before_${K}.txt
129
+ ```
130
+
131
+ Invoke `Skill("mastermind:build")` with a detailed brief:
132
+
133
+ ```
134
+ Brief must include:
135
+ - Feature title and user_value
136
+ - Concrete spec: inputs, outputs, API surface, CLI flags, UI, etc.
137
+ - Entry point file(s) to create or modify — list every path explicitly
138
+ - Acceptance criteria (3–5 testable outcomes)
139
+ - What NOT to touch (blast radius guard)
140
+ - Test requirements: at minimum one unit test and one integration test
141
+ ```
142
+
143
+ Wait for build to complete before Phase B.
144
+
145
+ After build returns, determine which files this feature owns for staging in Phase D. The **build brief's declared file list** is the primary source of truth — it names every path the build was allowed to touch. Supplement it with only the files the build created that were not untracked before:
146
+
147
+ ```bash
148
+ # 1. Write declared paths from the build brief (one per line)
149
+ printf '%s\n' \
150
+ "path/to/file1.ts" \
151
+ "path/to/file2.ts" \
152
+ "tests/path/to/test1.ts" \
153
+ > "$FEATURE_FILE_LIST"
154
+
155
+ # 2. Append any newly untracked files the build produced beyond the brief
156
+ # (comm -13: lines only in file2 — i.e., new since the before-snapshot)
157
+ comm -13 \
158
+ /tmp/autodev_untracked_before_${K}.txt \
159
+ <(git ls-files --others --exclude-standard | sort) \
160
+ >> "$FEATURE_FILE_LIST"
161
+ ```
162
+
163
+ Store build start in memory:
164
+ ```
165
+ mcp__monomind__memory_store(
166
+ content: "autodev newfeature building: <title>",
167
+ namespace: "mastermind:autodev",
168
+ tags: ["autodev", "newfeature", "building"]
169
+ )
170
+ ```
171
+
172
+ #### Phase B — Review Until Clean
173
+
174
+ Before starting the review loop, snapshot current working tree state (both unstaged and untracked) so the post-review delta is scoped only to this phase:
175
+ ```bash
176
+ git diff --name-only | sort > /tmp/autodev_unstaged_before_B_${K}.txt
177
+ git ls-files --others --exclude-standard | sort > /tmp/autodev_untracked_before_B_${K}.txt
178
+ ```
179
+
180
+ Inline review loop (same cap as improvement mode: max 5 iterations):
181
+
182
+ ```
183
+ review_iter = 0
184
+ LOOP:
185
+ review_iter += 1
186
+ If review_iter > 5: EXIT LOOP (cap reached — log warning, continue)
187
+
188
+ Invoke Skill("mastermind:review") with:
189
+ prompt: "Review the new feature just built: <title>. Verify: correctness, edge cases,
190
+ tests present and passing, no regressions, security, API consistency."
191
+ brain_context: brain_context
192
+ mode: auto
193
+ (do NOT pass --tillend)
194
+
195
+ If review returns zero findings: EXIT LOOP (clean)
196
+ Else: auto-fix findings; continue loop
197
+ ```
198
+
199
+ After the review loop exits, append only files this phase introduced (delta from before-snapshot), covering both modified tracked files and newly created untracked files:
200
+ ```bash
201
+ # Tracked files modified by review (delta only — excludes files modified by prior features)
202
+ comm -13 \
203
+ /tmp/autodev_unstaged_before_B_${K}.txt \
204
+ <(git diff --name-only | sort) \
205
+ >> "$FEATURE_FILE_LIST"
206
+ # Untracked files created by review (e.g. new test files)
207
+ comm -13 \
208
+ /tmp/autodev_untracked_before_B_${K}.txt \
209
+ <(git ls-files --others --exclude-standard | sort) \
210
+ >> "$FEATURE_FILE_LIST"
211
+ sort -u "$FEATURE_FILE_LIST" -o "$FEATURE_FILE_LIST"
212
+ ```
213
+
214
+ #### Phase C — Documentation
215
+
216
+ Before generating documentation, snapshot current working tree state:
217
+ ```bash
218
+ git diff --name-only | sort > /tmp/autodev_unstaged_before_C_${K}.txt
219
+ git ls-files --others --exclude-standard | sort > /tmp/autodev_untracked_before_C_${K}.txt
220
+ ```
221
+
222
+ After review is clean (or capped), generate documentation for the feature.
223
+
224
+ Invoke `Skill("mastermind:content")` with:
225
+ ```
226
+ prompt: "Document the new feature '<title>' that was just built.
227
+ Generate:
228
+ 1. A concise user-facing description (2-3 sentences) for README or CHANGELOG
229
+ 2. API/CLI/function-level docstrings for every new public symbol
230
+ 3. A usage example (runnable snippet or command)
231
+ 4. Any caveats or known limitations
232
+ Write documentation inline into the relevant files — do not create standalone doc files
233
+ unless the project already has a /docs directory pattern."
234
+ brain_context: brain_context
235
+ mode: auto
236
+ ```
237
+
238
+ If `Skill("mastermind:content")` raises a "skill not found" or "skill unavailable" error, write the documentation directly:
239
+ - Add docstrings to all new public functions/classes/commands
240
+ - Update README.md (Features section or equivalent) with one bullet describing the feature
241
+ - Add a CHANGELOG entry under `[Unreleased]` only if `CHANGELOG.md` already exists in the project (check with `git ls-files CHANGELOG.md`); do NOT create it from scratch
242
+
243
+ After Phase C completes, append only files this phase introduced (delta from before-snapshot):
244
+ ```bash
245
+ comm -13 \
246
+ /tmp/autodev_unstaged_before_C_${K}.txt \
247
+ <(git diff --name-only | sort) \
248
+ >> "$FEATURE_FILE_LIST"
249
+ comm -13 \
250
+ /tmp/autodev_untracked_before_C_${K}.txt \
251
+ <(git ls-files --others --exclude-standard | sort) \
252
+ >> "$FEATURE_FILE_LIST"
253
+ sort -u "$FEATURE_FILE_LIST" -o "$FEATURE_FILE_LIST"
254
+ ```
255
+
256
+ #### Phase D — Delivery
257
+
258
+ (`$FEATURE_FILE_LIST` is the variable set at the top of Phase A: `/tmp/autodev_feature_files_${K}.txt`.)
259
+
260
+ Stage only the files declared for this feature. Do NOT commit — leave that to the user.
261
+
262
+ ```bash
263
+ # Load file list, filtering blank lines, into an array (bash 4+)
264
+ mapfile -t _feat_files < <(grep -v '^[[:space:]]*$' "$FEATURE_FILE_LIST" 2>/dev/null)
265
+
266
+ # Guard: skip if file list is missing or contains only blank lines
267
+ if [ ${#_feat_files[@]} -eq 0 ]; then
268
+ echo "[autodev:newfeature] Warning: Feature ${K} file list is empty — build may be a no-op. Skipping stage."
269
+ else
270
+ # Stage only this feature's declared files. Exclude secrets/env.
271
+ for f in "${_feat_files[@]}"; do
272
+ case "$f" in
273
+ .env|*.env|secrets*|credentials*) echo "Skipping sensitive file: $f" ;;
274
+ *) git add -- "$f" 2>/dev/null || echo "Warning: could not stage $f" ;;
275
+ esac
276
+ done
277
+
278
+ # Guard: detect no-op build (files listed but nothing actually changed)
279
+ # Quoted array expansion handles filenames with spaces correctly
280
+ if git diff --cached --quiet -- "${_feat_files[@]}"; then
281
+ echo "[autodev:newfeature] Warning: Feature ${K} staged no changes — build produced no diff."
282
+ else
283
+ # Show what this feature contributed to the staged set (scoped to feature files only)
284
+ git diff --cached --stat -- "${_feat_files[@]}"
285
+ fi
286
+ fi
287
+ ```
288
+
289
+ Log delivery:
290
+ ```
291
+ [autodev:newfeature] Feature <K>/<newfeature_count> staged: <title>
292
+ Status: <staged|no-op|skipped> # staged=changes in index, no-op=built but no diff, skipped=build failed/empty list
293
+ Review: <clean|capped>
294
+ Files changed: <git diff --cached --stat output scoped to this feature's files>
295
+ ```
296
+
297
+ Track the outcome for FP-End: `feature_status[K] = staged|no-op|skipped`, `feature_review[K] = clean|capped|n/a`.
298
+
299
+ Suggest a commit message (print it, do not run it):
300
+ ```
301
+ feat(<entry_point_module>): <title>
302
+
303
+ <user_value>
304
+
305
+ Delivered by mastermind:autodev --newfeature
306
+ ```
307
+
308
+ Store completion in memory:
309
+ ```
310
+ mcp__monomind__memory_store(
311
+ content: "autodev newfeature built: <title> — <user_value>. Status: <status>.",
312
+ namespace: "mastermind:autodev",
313
+ tags: ["autodev", "newfeature", "built", status]
314
+ )
315
+ ```
316
+
317
+ ---
318
+
319
+ ### FP-End — Summary
320
+
321
+ After all `newfeature_count` features complete, clean up tmp files and print a summary table:
322
+
323
+ ```bash
324
+ # Re-assign K to the final feature count (each shell block is independent per Phase A rule)
325
+ K=<final_newfeature_count> # substitute the actual integer, e.g. K=3
326
+ # Clean up per-feature tmp files
327
+ for k in $(seq 1 $K); do
328
+ rm -f /tmp/autodev_feature_files_${k}.txt \
329
+ /tmp/autodev_untracked_before_${k}.txt \
330
+ /tmp/autodev_unstaged_before_B_${k}.txt \
331
+ /tmp/autodev_untracked_before_B_${k}.txt \
332
+ /tmp/autodev_unstaged_before_C_${k}.txt \
333
+ /tmp/autodev_untracked_before_C_${k}.txt
334
+ done
335
+ ```
336
+
337
+ Count staged features: `staged_count = count of features where feature_status[K] == "staged"`.
338
+
339
+ Print summary table (Status: `staged|no-op|skipped`; Review: `clean|capped|n/a`):
340
+
341
+ ```
342
+ ╔══════════════════════════════════════════════════════════════╗
343
+ ║ autodev --newfeature | Session Summary ║
344
+ ╠══════════════════════════════════════════════════════════════╣
345
+ ║ Feature │ Title │ Status │ Review ║
346
+ ╠═══════════╪═════════════════════════╪═══════════╪════════════╣
347
+ ║ 1/<newfeature_count> │ <title> │ staged │ clean ║
348
+ ║ 2/<newfeature_count> │ <title> │ skipped │ n/a ║
349
+ ║ ... ║
350
+ ╚══════════════════════════════════════════════════════════════╝
351
+ Staged: <staged_count>/<newfeature_count> features. Run `git commit` to finalize.
352
+ ```
353
+
354
+ ---
355
+
356
+ ## Loop: For Each Improvement (1 through `count`)
357
+
358
+ Run this sequence `count` times. After each completed improvement, increment the counter and continue — do not stop between improvements unless `mode = confirm` and the user declines.
359
+
360
+ ### Phase 1 — Research
361
+
362
+ **Goal:** Understand the project deeply enough to pick the single best improvement to build right now.
363
+
364
+ Gather context from at minimum these sources — run all in parallel:
365
+
366
+ ```bash
367
+ # Git log: what has been worked on recently
368
+ git log --oneline -20
369
+
370
+ # Project structure
371
+ find . -maxdepth 3 -type f \( -name "*.ts" -o -name "*.js" -o -name "*.py" -o -name "*.go" -o -name "*.md" \) \
372
+ ! -path "*/node_modules/*" ! -path "*/.git/*" ! -path "*/dist/*" | head -60
373
+
374
+ # Package/project metadata
375
+ cat package.json 2>/dev/null || cat pyproject.toml 2>/dev/null || cat go.mod 2>/dev/null || true
376
+
377
+ # README
378
+ cat README.md 2>/dev/null | head -80 || true
379
+
380
+ # Existing issues/todos (common patterns)
381
+ grep -rn "TODO\|FIXME\|HACK\|XXX\|BUG\|PERF\|DEBT" --include="*.ts" --include="*.js" --include="*.py" \
382
+ --include="*.go" --include="*.md" . 2>/dev/null | grep -v node_modules | grep -v dist | head -30
383
+ ```
384
+
385
+ Also call (parallel):
386
+ - `mcp__monomind__monograph_god_nodes` — find high-centrality files (architectural hotspots)
387
+ - `mcp__monomind__monograph_suggest` with query `"most impactful improvement"` — graph-guided suggestions
388
+ - `mcp__monomind__memory_search` with query `"autodev built"`, namespace `"mastermind:autodev"`, limit 20 — to exclude already-built improvements from candidates
389
+
390
+ If a `focus` hint was provided, bias all research toward that topic.
391
+
392
+ **Output of research phase:**
393
+ Produce a ranked list of 3–5 candidate improvements. For each candidate:
394
+ - `title`: one-line name
395
+ - `type`: feature | bugfix | refactor | performance | dx | security | test
396
+ - `why`: one sentence — why this helps the project most
397
+ - `feasibility`: high | medium (skip low — don't pick things that need days)
398
+ - `blast_radius`: files/modules affected (estimate)
399
+
400
+ ### Phase 2 — Selection
401
+
402
+ Pick the **single best** candidate using this priority order:
403
+ 1. Highest feasibility
404
+ 2. Lowest blast radius for the value delivered
405
+ 3. Aligns with `focus` hint (if given)
406
+ 4. Not something already in git log from the last 20 commits
407
+
408
+ If `mode = confirm`: show the ranked list and selection, wait for user approval before proceeding.
409
+
410
+ If `mode = auto`: proceed immediately with the top pick.
411
+
412
+ Log the selection:
413
+ ```
414
+ [autodev] Improvement <N>/<count>: <title> (<type>)
415
+ Rationale: <why>
416
+ Files affected: <blast_radius>
417
+ ```
418
+
419
+ Store selection in memory so it's not re-picked next iteration:
420
+ ```
421
+ mcp__monomind__memory_store(
422
+ content: "autodev built: <title> — <why>",
423
+ namespace: "mastermind:autodev",
424
+ tags: ["autodev", "built", type]
425
+ )
426
+ ```
427
+
428
+ ### Phase 3 — Build
429
+
430
+ Invoke `Skill("mastermind:build")` with:
431
+ - `prompt`: detailed implementation brief for the selected improvement
432
+ - `brain_context`: the loaded brain context
433
+ - `project_name`: `$(basename "$PWD")`
434
+ - `mode`: `auto`
435
+ - `board_id`: the autodev board (only if non-empty; omit if monotask was unavailable)
436
+
437
+ The brief passed to build MUST include:
438
+ - What to build (concrete spec, not vague)
439
+ - Which files to touch
440
+ - Acceptance criteria (2–4 testable outcomes)
441
+ - What NOT to change (blast radius guard)
442
+
443
+ Wait for `mastermind:build` to complete before proceeding to Phase 4.
444
+
445
+ ### Phase 4 — Review Until Clean
446
+
447
+ After build completes, enter an **inline** review loop (no ScheduleWakeup — must stay within this session):
448
+
449
+ ```
450
+ review_iter = 0
451
+ LOOP:
452
+ review_iter += 1
453
+ If review_iter > 5: EXIT LOOP (cap reached)
454
+
455
+ Invoke Skill("mastermind:review") with:
456
+ prompt: "Review the changes just made for: <title>. Check correctness, tests, edge cases, security."
457
+ brain_context: brain_context
458
+ mode: auto
459
+ (do NOT pass --tillend — that would schedule a ScheduleWakeup and break out of autodev)
460
+
461
+ If review returns zero findings: EXIT LOOP (clean)
462
+ Else: findings are auto-fixed by the reviewer; continue loop
463
+ ```
464
+
465
+ **Critical:** Do not invoke the review command via `/mastermind:review --tillend ...`. That syntax schedules ScheduleWakeup continuations which would terminate the current autodev session. Always invoke inline with `Skill("mastermind:review")` only.
466
+
467
+ If the cap (5 iterations) is reached without a clean pass, log a warning and continue to Phase 5 — don't block the outer loop.
468
+
469
+ ### Phase 5 — Log Completion
470
+
471
+ ```
472
+ [autodev] Improvement <N>/<count> complete: <title>
473
+ Status: clean | capped (review issues remain)
474
+ ```
475
+
476
+ Update brain with what was built:
477
+ ```
478
+ mcp__monomind__memory_store(
479
+ content: "autodev completed improvement <N>: <title>. Type: <type>. Status: <status>.",
480
+ namespace: "mastermind:autodev",
481
+ tags: ["autodev", "completed", type, status]
482
+ )
483
+ ```
484
+
485
+ If `N < count`: log `[autodev] Moving to improvement <N+1>/<count>...` and repeat from Phase 1.
486
+
487
+ ---
488
+
489
+ ## Standalone Execution
490
+
491
+ 1. Extract flags (leading integer for count, --newfeature N, --focus, --auto/--confirm)
492
+ 2. Load brain context via _protocol.md Brain Load Procedure (namespace: `autodev`)
493
+ 3. Create monotask board (optional — skip gracefully if monotask is not installed):
494
+ ```bash
495
+ project_name="${project_name:-$(basename "$PWD")}"
496
+ board_id=$(monotask board create "autodev" --json 2>/dev/null | jq -r '.id // empty')
497
+ [ -z "$board_id" ] && echo "[autodev] monotask board unavailable — board tracking skipped."
498
+ ```
499
+ Pass `board_id` to `mastermind:build` only if non-empty; omit the parameter otherwise.
500
+ 4. **If `--newfeature` was parsed:** run the Feature Pipeline (FP-0 through FP-End) and skip the improvement loop entirely.
501
+ **Otherwise:** run the Loop section above for each improvement.
502
+ 5. At end: follow _protocol.md Brain Write Procedure (namespace: `autodev`)
503
+
504
+ ---
505
+
506
+ ## Tillend Integration
507
+
508
+ **`--newfeature` is incompatible with `--tillend`.** Both the command and skill strip `--tillend` and emit a warning when both are present. This is because the Feature Pipeline has a fundamentally different termination model (a fixed shortlist of N features, not an open-ended "until exhausted" loop), and the FP-0 discovery + FP-End staging structure does not map onto the per-wakeup session model that `--tillend` assumes.
509
+
510
+ For the standard improvement loop: when `--tillend` wraps autodev, each ScheduleWakeup wakeup runs a **full autodev session** (all `count` improvements). Memory deduplication (Phase 1 searches `"autodev built"`) prevents already-built improvements from being re-picked in subsequent wakeups.
511
+
512
+ - `count` controls improvements **per session** (default: 1)
513
+ - `--tillend` keeps scheduling new sessions until an empty round
514
+ - An empty round occurs when Phase 1 research finds no viable new candidates (all feasible work is already in memory)
515
+
516
+ The loop terminates naturally when the project has no more improvements worth building — not based on hitting a fixed count across wakeups.
517
+
518
+ ---
519
+
520
+ ## Safety Guards
521
+
522
+ - Never delete files unless the improvement or feature explicitly requires it
523
+ - Never modify `.env`, secrets, credentials
524
+ - Never commit (only stage) — leave commit to the user
525
+ - If Phase A (build) fails or produces no output: skip this feature, log the skip, continue to next feature
526
+ - If Phase B (review) skill is unavailable or throws: log a warning, treat as capped (review issues may remain), continue to Phase C
527
+ - If Phase C (documentation) skill is unavailable: fall back to inline documentation; if that also fails, log and continue to Phase D
528
+ - If Phase D (delivery) `git add` fails on multiple files: log each failure, stage what succeeded, continue
529
+ - If all research candidates are infeasible: ask the user for a focus direction instead of guessing
530
+ - **`--newfeature` specific:**
531
+ - Features must be genuinely new — reject any candidate that is just a refactor or bugfix of existing code
532
+ - Do not create standalone `.md` doc files unless the project already has a `/docs` directory
533
+ - Stage only the files declared in the build brief for each feature (written to `$FEATURE_FILE_LIST` in Phase A), supplemented only by newly untracked files the build produced (detected via before/after `git ls-files` delta) — never use `git add --all` in feature mode
534
+ - Each feature's staged set is driven by its build brief's declared file list, making it deterministic and cross-feature safe
535
+ - `newfeature_count > 10` is caught at parse time and capped to 10 before any pipeline runs
536
+ - `--tillend` combined with `--newfeature` is rejected at parse time with a clear warning