monomind 2.5.1 → 2.5.3

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 (324) hide show
  1. package/README.md +1 -1
  2. package/package.json +2 -1
  3. package/packages/@monomind/cli/.claude/agents/design/design-monodesign.md +6 -6
  4. package/packages/@monomind/cli/.claude/agents/github/repo-architect.md +3 -3
  5. package/packages/@monomind/cli/.claude/agents/github/sync-coordinator.md +2 -2
  6. package/packages/@monomind/cli/.claude/agents/specialists/integration-architect.md +4 -4
  7. package/packages/@monomind/cli/.claude/commands/github/repo-architect.md +4 -4
  8. package/packages/@monomind/cli/.claude/commands/github/sync-coordinator.md +2 -2
  9. package/packages/@monomind/cli/.claude/commands/mastermind/_repeat.md +4 -4
  10. package/packages/@monomind/cli/.claude/commands/mastermind/approvev1.md +4 -4
  11. package/packages/@monomind/cli/.claude/commands/mastermind/architect.md +6 -6
  12. package/packages/@monomind/cli/.claude/commands/mastermind/autodev.md +5 -5
  13. package/packages/@monomind/cli/.claude/commands/mastermind/brain.md +2 -2
  14. package/packages/@monomind/cli/.claude/commands/mastermind/build.md +6 -6
  15. package/packages/@monomind/cli/.claude/commands/mastermind/code-review.md +2 -2
  16. package/packages/@monomind/cli/.claude/commands/mastermind/content.md +6 -6
  17. package/packages/@monomind/cli/.claude/commands/mastermind/createorg.md +4 -4
  18. package/packages/@monomind/cli/.claude/commands/mastermind/createtask.md +3 -3
  19. package/packages/@monomind/cli/.claude/commands/mastermind/debug.md +5 -5
  20. package/packages/@monomind/cli/.claude/commands/mastermind/design.md +5 -5
  21. package/packages/@monomind/cli/.claude/commands/mastermind/do.md +2 -2
  22. package/packages/@monomind/cli/.claude/commands/mastermind/execute.md +5 -5
  23. package/packages/@monomind/cli/.claude/commands/mastermind/finance.md +6 -6
  24. package/packages/@monomind/cli/.claude/commands/mastermind/finish.md +5 -5
  25. package/packages/@monomind/cli/.claude/commands/mastermind/idea.md +6 -6
  26. package/packages/@monomind/cli/.claude/commands/mastermind/ideate.md +5 -5
  27. package/packages/@monomind/cli/.claude/commands/mastermind/improve.md +6 -6
  28. package/packages/@monomind/cli/.claude/commands/mastermind/marketing.md +6 -6
  29. package/packages/@monomind/cli/.claude/commands/mastermind/master.md +54 -54
  30. package/packages/@monomind/cli/.claude/commands/mastermind/ops.md +6 -6
  31. package/packages/@monomind/cli/.claude/commands/mastermind/orgs.md +2 -2
  32. package/packages/@monomind/cli/.claude/commands/mastermind/orgstatus.md +2 -2
  33. package/packages/@monomind/cli/.claude/commands/mastermind/plan.md +5 -5
  34. package/packages/@monomind/cli/.claude/commands/mastermind/receive-review.md +5 -5
  35. package/packages/@monomind/cli/.claude/commands/mastermind/release.md +6 -6
  36. package/packages/@monomind/cli/.claude/commands/mastermind/research.md +6 -6
  37. package/packages/@monomind/cli/.claude/commands/mastermind/review.md +6 -6
  38. package/packages/@monomind/cli/.claude/commands/mastermind/runorg.md +4 -4
  39. package/packages/@monomind/cli/.claude/commands/mastermind/runorgv1.md +5 -5
  40. package/packages/@monomind/cli/.claude/commands/mastermind/sales.md +6 -6
  41. package/packages/@monomind/cli/.claude/commands/mastermind/skill-builder.md +5 -5
  42. package/packages/@monomind/cli/.claude/commands/mastermind/stoporg.md +3 -3
  43. package/packages/@monomind/cli/.claude/commands/mastermind/taskdev.md +5 -5
  44. package/packages/@monomind/cli/.claude/commands/mastermind/tdd.md +5 -5
  45. package/packages/@monomind/cli/.claude/commands/mastermind/techport.md +5 -5
  46. package/packages/@monomind/cli/.claude/commands/mastermind/verify.md +5 -5
  47. package/packages/@monomind/cli/.claude/commands/mastermind/worktree.md +5 -5
  48. package/packages/@monomind/cli/.claude/helpers/control-start.cjs +30 -0
  49. package/packages/@monomind/cli/.claude/helpers/event-logger.cjs +2 -2
  50. package/packages/@monomind/cli/.claude/helpers/extras-registry.json +1 -1
  51. package/packages/@monomind/cli/.claude/helpers/handlers/agent-start-handler.cjs +2 -2
  52. package/packages/@monomind/cli/.claude/helpers/handlers/edit-handler.cjs +2 -2
  53. package/packages/@monomind/cli/.claude/helpers/handlers/gates-handler.cjs +1 -1
  54. package/packages/@monomind/cli/.claude/helpers/handlers/route-handler.cjs +1 -1
  55. package/packages/@monomind/cli/.claude/helpers/handlers/session-handler.cjs +1 -1
  56. package/packages/@monomind/cli/.claude/helpers/handlers/session-restore-handler.cjs +11 -11
  57. package/packages/@monomind/cli/.claude/helpers/handlers/task-handler.cjs +2 -2
  58. package/packages/@monomind/cli/.claude/helpers/hook-handler.cjs +8 -8
  59. package/packages/@monomind/cli/.claude/helpers/utils/monograph.cjs +44 -12
  60. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/access.md → mastermind-access/SKILL.md} +2 -2
  61. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/activity.md → mastermind-activity/SKILL.md} +2 -2
  62. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/adapter-manager.md → mastermind-adapter-manager/SKILL.md} +2 -2
  63. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/adapters.md → mastermind-adapters/SKILL.md} +2 -2
  64. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/agent-detail.md → mastermind-agent-detail/SKILL.md} +2 -2
  65. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/agents.md → mastermind-agents/SKILL.md} +2 -2
  66. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/approval-detail.md → mastermind-approval-detail/SKILL.md} +2 -2
  67. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/approvev1.md → mastermind-approvev1/SKILL.md} +2 -2
  68. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/architect.md → mastermind-architect/SKILL.md} +7 -7
  69. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/autodev.md → mastermind-autodev/SKILL.md} +10 -10
  70. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/backup.md → mastermind-backup/SKILL.md} +2 -2
  71. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/bootstrap.md → mastermind-bootstrap/SKILL.md} +2 -2
  72. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/budgets.md → mastermind-budgets/SKILL.md} +2 -2
  73. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/build.md → mastermind-build/SKILL.md} +5 -5
  74. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/companies.md → mastermind-companies/SKILL.md} +2 -2
  75. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/content.md → mastermind-content/SKILL.md} +5 -5
  76. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/costs.md → mastermind-costs/SKILL.md} +2 -2
  77. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/createorg.md → mastermind-createorg/SKILL.md} +3 -3
  78. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/debug.md → mastermind-debug/SKILL.md} +4 -4
  79. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/_delegation.md → mastermind-delegation/SKILL.md} +1 -1
  80. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/design.md → mastermind-design/SKILL.md} +9 -9
  81. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/diagnose.md → mastermind-diagnose/SKILL.md} +2 -2
  82. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/env.md → mastermind-env/SKILL.md} +2 -2
  83. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/environments.md → mastermind-environments/SKILL.md} +2 -2
  84. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/execute.md → mastermind-execute/SKILL.md} +10 -10
  85. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/export.md → mastermind-export/SKILL.md} +2 -2
  86. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/finance.md → mastermind-finance/SKILL.md} +5 -5
  87. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/goal-detail.md → mastermind-goal-detail/SKILL.md} +2 -2
  88. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/goals.md → mastermind-goals/SKILL.md} +2 -2
  89. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/heartbeatv1.md → mastermind-heartbeatv1/SKILL.md} +2 -2
  90. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/idea.md → mastermind-idea/SKILL.md} +7 -7
  91. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/import.md → mastermind-import/SKILL.md} +2 -2
  92. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/inbox.md → mastermind-inbox/SKILL.md} +2 -2
  93. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/instance.md → mastermind-instance/SKILL.md} +2 -2
  94. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/instance-settings.md → mastermind-instance-settings/SKILL.md} +2 -2
  95. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/invite-landing.md → mastermind-invite-landing/SKILL.md} +2 -2
  96. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/invites.md → mastermind-invites/SKILL.md} +2 -2
  97. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/issue-detail.md → mastermind-issue-detail/SKILL.md} +2 -2
  98. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/issues.md → mastermind-issues/SKILL.md} +2 -2
  99. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/join-queue.md → mastermind-join-queue/SKILL.md} +2 -2
  100. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/liveness.md → mastermind-liveness/SKILL.md} +2 -2
  101. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/marketing.md → mastermind-marketing/SKILL.md} +8 -8
  102. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/memory.md → mastermind-memory/SKILL.md} +2 -2
  103. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/monitor.md → mastermind-monitor/SKILL.md} +2 -2
  104. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/my-issues.md → mastermind-my-issues/SKILL.md} +2 -2
  105. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/new-agent.md → mastermind-new-agent/SKILL.md} +2 -2
  106. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/ops.md → mastermind-ops/SKILL.md} +5 -5
  107. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/org-chart.md → mastermind-org-chart/SKILL.md} +2 -2
  108. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/org-settings.md → mastermind-org-settings/SKILL.md} +2 -2
  109. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/orgs.md → mastermind-orgs/SKILL.md} +1 -1
  110. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/orgstatus.md → mastermind-orgstatus/SKILL.md} +2 -2
  111. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/plan.md → mastermind-plan/SKILL.md} +7 -7
  112. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/plan-to-tasks.md → mastermind-plan-to-tasks/SKILL.md} +2 -2
  113. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/plugin-manager.md → mastermind-plugin-manager/SKILL.md} +2 -2
  114. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/plugin-settings.md → mastermind-plugin-settings/SKILL.md} +2 -2
  115. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/plugins.md → mastermind-plugins/SKILL.md} +2 -2
  116. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/profile.md → mastermind-profile/SKILL.md} +2 -2
  117. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/project-detail.md → mastermind-project-detail/SKILL.md} +2 -2
  118. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/project-workspace.md → mastermind-project-workspace/SKILL.md} +2 -2
  119. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/projects.md → mastermind-projects/SKILL.md} +2 -2
  120. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/_protocol.md → mastermind-protocol/SKILL.md} +3 -3
  121. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/release.md → mastermind-release/SKILL.md} +5 -5
  122. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/_repeat.md → mastermind-repeat/SKILL.md} +2 -2
  123. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/research.md → mastermind-research/SKILL.md} +5 -5
  124. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/review.md → mastermind-review/SKILL.md} +5 -5
  125. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/routine-detail.md → mastermind-routine-detail/SKILL.md} +2 -2
  126. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/routines.md → mastermind-routines/SKILL.md} +2 -2
  127. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/runorgv1.md → mastermind-runorgv1/SKILL.md} +2 -2
  128. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/sales.md → mastermind-sales/SKILL.md} +5 -5
  129. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/search.md → mastermind-search/SKILL.md} +2 -2
  130. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/secrets.md → mastermind-secrets/SKILL.md} +2 -2
  131. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/skill-builder.md → mastermind-skill-builder/SKILL.md} +16 -14
  132. package/packages/@monomind/cli/.claude/skills/mastermind-skills/{skills.md → SKILL.md} +2 -2
  133. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/stoporg.md → mastermind-stoporg/SKILL.md} +2 -2
  134. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/taskdev.md → mastermind-taskdev/SKILL.md} +6 -6
  135. package/packages/@monomind/cli/.claude/skills/{mastermind-skills → mastermind-taskdev}/implementer-prompt.md +1 -1
  136. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/tasks.md → mastermind-tasks/SKILL.md} +2 -2
  137. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/tdd.md → mastermind-tdd/SKILL.md} +4 -4
  138. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/techport.md → mastermind-techport/SKILL.md} +6 -6
  139. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/threads.md → mastermind-threads/SKILL.md} +2 -2
  140. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/tree-control.md → mastermind-tree-control/SKILL.md} +2 -2
  141. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/verify.md → mastermind-verify/SKILL.md} +1 -1
  142. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/wiki.md → mastermind-wiki/SKILL.md} +2 -2
  143. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/workspace-detail.md → mastermind-workspace-detail/SKILL.md} +2 -2
  144. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/workspaces.md → mastermind-workspaces/SKILL.md} +2 -2
  145. package/packages/@monomind/cli/.claude/skills/monodesign/SKILL.md +114 -190
  146. package/packages/@monomind/cli/.claude/skills/monodesign/adapt.md +1 -1
  147. package/packages/@monomind/cli/.claude/skills/monodesign/agents/monodesign-asset-producer.md +4 -4
  148. package/packages/@monomind/cli/.claude/skills/monodesign/agents/monodesign-manual-edit-applier.md +103 -0
  149. package/packages/@monomind/cli/.claude/skills/monodesign/audit.md +1 -1
  150. package/packages/@monomind/cli/.claude/skills/monodesign/craft.md +2 -2
  151. package/packages/@monomind/cli/.claude/skills/monodesign/critique.md +1 -1
  152. package/packages/@monomind/cli/.claude/skills/monodesign/init.md +30 -0
  153. package/packages/@monomind/cli/.claude/skills/monodesign/layout.md +36 -0
  154. package/packages/@monomind/cli/.claude/skills/monodesign/live.md +19 -44
  155. package/packages/@monomind/cli/.claude/skills/monodesign/reference/adapt.md +122 -0
  156. package/packages/@monomind/cli/.claude/skills/monodesign/reference/adapt.native.md +58 -0
  157. package/packages/@monomind/cli/.claude/skills/monodesign/reference/android.md +40 -0
  158. package/packages/@monomind/cli/.claude/skills/monodesign/reference/animate.md +39 -11
  159. package/packages/@monomind/cli/.claude/skills/monodesign/reference/antipatterns-catalog.md +67 -16
  160. package/packages/@monomind/cli/.claude/skills/monodesign/reference/audit.md +5 -3
  161. package/packages/@monomind/cli/.claude/skills/monodesign/reference/audit.native.md +139 -0
  162. package/packages/@monomind/cli/.claude/skills/monodesign/reference/bolder.md +71 -64
  163. package/packages/@monomind/cli/.claude/skills/monodesign/reference/brand.md +12 -18
  164. package/packages/@monomind/cli/.claude/skills/monodesign/reference/clarify.md +114 -0
  165. package/packages/@monomind/cli/.claude/skills/monodesign/reference/codex.md +4 -6
  166. package/packages/@monomind/cli/.claude/skills/monodesign/reference/colorize.md +108 -5
  167. package/packages/@monomind/cli/.claude/skills/monodesign/reference/craft.md +70 -143
  168. package/packages/@monomind/cli/.claude/skills/monodesign/reference/critique.md +635 -68
  169. package/packages/@monomind/cli/.claude/skills/monodesign/reference/delight.md +1 -1
  170. package/packages/@monomind/cli/.claude/skills/monodesign/reference/distill.md +1 -1
  171. package/packages/@monomind/cli/.claude/skills/monodesign/reference/document.md +24 -22
  172. package/packages/@monomind/cli/.claude/skills/monodesign/reference/extract.md +1 -1
  173. package/packages/@monomind/cli/.claude/skills/monodesign/reference/hooks.md +22 -29
  174. package/packages/@monomind/cli/.claude/skills/monodesign/reference/init.md +221 -0
  175. package/packages/@monomind/cli/.claude/skills/monodesign/reference/interaction-design.md +0 -6
  176. package/packages/@monomind/cli/.claude/skills/monodesign/reference/ios.md +45 -0
  177. package/packages/@monomind/cli/.claude/skills/monodesign/reference/layout.md +57 -13
  178. package/packages/@monomind/cli/.claude/skills/monodesign/reference/live.md +159 -71
  179. package/packages/@monomind/cli/.claude/skills/monodesign/reference/overdrive.md +1 -1
  180. package/packages/@monomind/cli/.claude/skills/monodesign/reference/personas.md +1 -1
  181. package/packages/@monomind/cli/.claude/skills/monodesign/reference/polish.md +16 -8
  182. package/packages/@monomind/cli/.claude/skills/monodesign/reference/pre-delivery-checklist.md +1 -1
  183. package/packages/@monomind/cli/.claude/skills/monodesign/reference/product.md +1 -3
  184. package/packages/@monomind/cli/.claude/skills/monodesign/reference/quieter.md +1 -1
  185. package/packages/@monomind/cli/.claude/skills/monodesign/reference/shape.md +27 -13
  186. package/packages/@monomind/cli/.claude/skills/monodesign/reference/teach.md +6 -152
  187. package/packages/@monomind/cli/.claude/skills/monodesign/reference/typeset.md +180 -3
  188. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/command-metadata.json +94 -0
  189. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/context-signals.mjs +260 -0
  190. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/context.mjs +1061 -0
  191. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/critique-storage.mjs +416 -0
  192. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detect-csp.mjs +198 -0
  193. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detect.mjs +33 -0
  194. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/browser/injected/index.mjs +1962 -0
  195. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/cli/main.mjs +321 -0
  196. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/design-system.mjs +814 -0
  197. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/detect-antipatterns-browser.js +5601 -0
  198. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/detect-antipatterns.mjs +50 -0
  199. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/engines/browser/detect-url.mjs +259 -0
  200. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/engines/browser/drivers.mjs +258 -0
  201. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/engines/regex/detect-text.mjs +636 -0
  202. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/engines/static-html/css-cascade.mjs +1015 -0
  203. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/engines/static-html/detect-html.mjs +253 -0
  204. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/engines/visual/screenshot-contrast.mjs +198 -0
  205. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/findings.mjs +12 -0
  206. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/fix/css-regions.mjs +181 -0
  207. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/fix/fixers.mjs +373 -0
  208. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/fix/index.mjs +426 -0
  209. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/node/file-system.mjs +198 -0
  210. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/profile/profiler.mjs +166 -0
  211. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/registry/antipatterns.mjs +563 -0
  212. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/rules/checks.mjs +2995 -0
  213. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/shared/color.mjs +124 -0
  214. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/shared/constants.mjs +101 -0
  215. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/shared/fonts.mjs +30 -0
  216. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/shared/inline-ignores.mjs +148 -0
  217. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/shared/page.mjs +7 -0
  218. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/hook-admin.mjs +661 -0
  219. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/hook-before-edit.mjs +516 -0
  220. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/hook-lib.mjs +1776 -0
  221. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/hook.mjs +61 -0
  222. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/lib/design-parser.mjs +842 -0
  223. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/lib/is-generated.mjs +69 -0
  224. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/lib/monodesign-config.mjs +640 -0
  225. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/lib/monodesign-paths.mjs +129 -0
  226. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/lib/provider.mjs +4 -0
  227. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/lib/target-args.mjs +42 -0
  228. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/browser-script-parts.mjs +50 -0
  229. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/completion.mjs +19 -0
  230. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/event-validation.mjs +137 -0
  231. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/insert-ui.mjs +458 -0
  232. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/manual-apply.mjs +939 -0
  233. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/manual-edit-routes.mjs +357 -0
  234. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/manual-edits-buffer.mjs +152 -0
  235. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/session-store.mjs +293 -0
  236. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/svelte-component.mjs +826 -0
  237. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/sveltekit-adapter.mjs +274 -0
  238. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/ui-core.mjs +180 -0
  239. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/vocabulary.mjs +36 -0
  240. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-accept.mjs +812 -0
  241. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-browser-dom.js +146 -0
  242. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-browser-session.js +123 -0
  243. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-browser.js +11240 -0
  244. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-commit-manual-edits.mjs +1241 -0
  245. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-complete.mjs +75 -0
  246. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-copy-edit-agent.mjs +683 -0
  247. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-discard-manual-edits.mjs +51 -0
  248. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-inject.mjs +583 -0
  249. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-insert.mjs +272 -0
  250. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-manual-edit-evidence.mjs +363 -0
  251. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-poll.mjs +384 -0
  252. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-resume.mjs +94 -0
  253. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-server.mjs +1137 -0
  254. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-status.mjs +61 -0
  255. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-target.mjs +30 -0
  256. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-wrap.mjs +894 -0
  257. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live.mjs +297 -0
  258. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/modern-screenshot.umd.js +14 -0
  259. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/palette.mjs +633 -0
  260. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/pin.mjs +221 -0
  261. package/packages/@monomind/cli/.claude/skills/monodesign/teach.md +7 -58
  262. package/packages/@monomind/cli/README.md +1 -1
  263. package/packages/@monomind/cli/dist/src/commands/design-detect.d.ts +7 -1
  264. package/packages/@monomind/cli/dist/src/commands/design-detect.js +131 -38
  265. package/packages/@monomind/cli/dist/src/commands/design-palette.d.ts +0 -1
  266. package/packages/@monomind/cli/dist/src/commands/design-palette.js +2 -3
  267. package/packages/@monomind/cli/dist/src/commands/doc.js +72 -15
  268. package/packages/@monomind/cli/dist/src/commands/doctor-project-checks.d.ts +5 -1
  269. package/packages/@monomind/cli/dist/src/commands/doctor-project-checks.js +24 -1
  270. package/packages/@monomind/cli/dist/src/commands/doctor.js +3 -3
  271. package/packages/@monomind/cli/dist/src/commands/hooks-workers.d.ts +1 -1
  272. package/packages/@monomind/cli/dist/src/commands/hooks-workers.js +8 -8
  273. package/packages/@monomind/cli/dist/src/commands/init.js +2 -2
  274. package/packages/@monomind/cli/dist/src/commands/org.js +109 -9
  275. package/packages/@monomind/cli/dist/src/index.d.ts +1 -1
  276. package/packages/@monomind/cli/dist/src/index.js +3 -3
  277. package/packages/@monomind/cli/dist/src/init/claudemd-generator.js +5 -5
  278. package/packages/@monomind/cli/dist/src/init/executor.js +17 -6
  279. package/packages/@monomind/cli/dist/src/knowledge/document-pipeline.d.ts +2 -0
  280. package/packages/@monomind/cli/dist/src/knowledge/document-pipeline.js +4 -1
  281. package/packages/@monomind/cli/dist/src/mcp-server.js +2 -2
  282. package/packages/@monomind/cli/dist/src/mcp-tools/hooks-intelligence.d.ts +1 -1
  283. package/packages/@monomind/cli/dist/src/mcp-tools/hooks-intelligence.js +1 -1
  284. package/packages/@monomind/cli/dist/src/mcp-tools/hooks-routing.js +2 -2
  285. package/packages/@monomind/cli/dist/src/mcp-tools/hooks-tools.js +1 -1
  286. package/packages/@monomind/cli/dist/src/mcp-tools/knowledge-tools.js +38 -7
  287. package/packages/@monomind/cli/dist/src/mcp-tools/memory-tools.d.ts +8 -3
  288. package/packages/@monomind/cli/dist/src/mcp-tools/memory-tools.js +193 -31
  289. package/packages/@monomind/cli/dist/src/memory/memory-bridge.d.ts +33 -0
  290. package/packages/@monomind/cli/dist/src/memory/memory-bridge.js +166 -17
  291. package/packages/@monomind/cli/dist/src/memory/memory-kg.d.ts +186 -0
  292. package/packages/@monomind/cli/dist/src/memory/memory-kg.js +450 -0
  293. package/packages/@monomind/cli/dist/src/memory/query-router.d.ts +44 -0
  294. package/packages/@monomind/cli/dist/src/memory/query-router.js +113 -0
  295. package/packages/@monomind/cli/dist/src/orgrt/daemon.d.ts +18 -0
  296. package/packages/@monomind/cli/dist/src/orgrt/daemon.js +249 -12
  297. package/packages/@monomind/cli/dist/src/orgrt/migrate.js +7 -0
  298. package/packages/@monomind/cli/dist/src/orgrt/policy.js +7 -0
  299. package/packages/@monomind/cli/dist/src/orgrt/session.d.ts +24 -1
  300. package/packages/@monomind/cli/dist/src/orgrt/session.js +18 -3
  301. package/packages/@monomind/cli/dist/src/orgrt/templates.d.ts +1 -0
  302. package/packages/@monomind/cli/dist/src/orgrt/templates.js +9 -4
  303. package/packages/@monomind/cli/dist/src/orgrt/types.d.ts +15 -0
  304. package/packages/@monomind/cli/dist/src/orgrt/types.js +2 -0
  305. package/packages/@monomind/cli/dist/src/routing/embed-worker.js +1 -1
  306. package/packages/@monomind/cli/dist/src/routing/llm-caller.js +1 -1
  307. package/packages/@monomind/cli/dist/src/routing/route-layer-factory.js +1 -1
  308. package/packages/@monomind/cli/dist/src/ui/dashboard.html +176 -26
  309. package/packages/@monomind/cli/dist/src/ui/orgs.html +24 -0
  310. package/packages/@monomind/cli/dist/src/ui/server.mjs +162 -12
  311. package/packages/@monomind/cli/dist/src/update/checker.js +3 -3
  312. package/packages/@monomind/cli/package.json +8 -6
  313. /package/packages/@monomind/cli/.claude/skills/{mastermind-skills/_agent-select.md → mastermind-agent-select/SKILL.md} +0 -0
  314. /package/packages/@monomind/cli/.claude/skills/{mastermind-skills/finish.md → mastermind-finish/SKILL.md} +0 -0
  315. /package/packages/@monomind/cli/.claude/skills/{mastermind-skills/_intake.md → mastermind-intake/SKILL.md} +0 -0
  316. /package/packages/@monomind/cli/.claude/skills/{mastermind-skills → mastermind-marketing}/references/copywriting-frameworks.md +0 -0
  317. /package/packages/@monomind/cli/.claude/skills/{mastermind-skills → mastermind-marketing}/references/persuasion-psychology.md +0 -0
  318. /package/packages/@monomind/cli/.claude/skills/{mastermind-skills/monotask.md → mastermind-monotask/SKILL.md} +0 -0
  319. /package/packages/@monomind/cli/.claude/skills/{mastermind-skills/receive-review.md → mastermind-receive-review/SKILL.md} +0 -0
  320. /package/packages/@monomind/cli/.claude/skills/{mastermind-skills/runorg.md → mastermind-runorg/SKILL.md} +0 -0
  321. /package/packages/@monomind/cli/.claude/skills/{mastermind-skills → mastermind-taskdev}/code-quality-reviewer-prompt.md +0 -0
  322. /package/packages/@monomind/cli/.claude/skills/{mastermind-skills → mastermind-taskdev}/final-reviewer-prompt.md +0 -0
  323. /package/packages/@monomind/cli/.claude/skills/{mastermind-skills → mastermind-taskdev}/spec-reviewer-prompt.md +0 -0
  324. /package/packages/@monomind/cli/.claude/skills/{mastermind-skills/worktree.md → mastermind-worktree/SKILL.md} +0 -0
@@ -40,7 +40,7 @@ This skill is invoked by `mastermind:project-detail` or directly via `/mastermin
40
40
 
41
41
  ## Step 0 — Brain Load (standalone only)
42
42
 
43
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
43
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
44
44
 
45
45
  ---
46
46
 
@@ -246,4 +246,4 @@ project_status: <status>
246
246
 
247
247
  ## Step 4 — Brain Write (standalone only)
248
248
 
249
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
249
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -55,7 +55,7 @@ This skill is invoked by `mastermind:project-workspace` or directly via `/master
55
55
 
56
56
  ## Step 0 — Brain Load (standalone only)
57
57
 
58
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
58
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
59
59
 
60
60
  ---
61
61
 
@@ -241,4 +241,4 @@ workspace_id: <workspace_id>
241
241
 
242
242
  ## Step 4 — Brain Write (standalone only)
243
243
 
244
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
244
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -26,7 +26,7 @@ This skill is invoked by `mastermind:projects` or directly via `/mastermind:proj
26
26
 
27
27
  ## Step 0 — Brain Load (standalone only)
28
28
 
29
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
29
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
30
30
 
31
31
  ---
32
32
 
@@ -164,4 +164,4 @@ projects_file: .monomind/orgs/<org_name>-projects.json
164
164
 
165
165
  ## Step 4 — Brain Write (standalone only)
166
166
 
167
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
167
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -12,7 +12,7 @@ This file is a reference loaded by mastermind domain skills and master. It is NE
12
12
 
13
13
  ## Agent Delegation Protocol
14
14
 
15
- **Every Task/Agent spawn in mastermind and monomind MUST include the AGENT DELEGATION CAPABILITY block from `_delegation.md`.**
15
+ **Every Task/Agent spawn in mastermind and monomind MUST include the AGENT DELEGATION CAPABILITY block from `mastermind-delegation/SKILL.md`.**
16
16
 
17
17
  This makes delegation recursive: every spawned agent can itself spawn sub-agents, which can spawn their own sub-agents. The capability block tells each agent which agent categories exist and how to delegate.
18
18
 
@@ -20,7 +20,7 @@ This makes delegation recursive: every spawned agent can itself spawn sub-agents
20
20
 
21
21
  **Why this matters:** Agents read their prompts cold. Without the delegation block, a spawned Security Engineer won't know it can delegate codebase exploration to a Code Reviewer, or that it can spawn a backend-dev to fix the issues it finds. With the block, every agent in the chain can self-organize and pull in the right specialist.
22
22
 
23
- **Reference:** Full block text is in `_delegation.md`. Copy it verbatim — do not paraphrase.
23
+ **Reference:** Full block text is in `mastermind-delegation/SKILL.md`. Copy it verbatim — do not paraphrase.
24
24
 
25
25
  ---
26
26
 
@@ -400,5 +400,5 @@ AGENT: [agent slug, e.g. backend-dev | frontend-dev]
400
400
  SWARM: [topology agent-count consensus, e.g. \"hierarchical 4 raft\"]
401
401
 
402
402
  DEPENDENCIES: [task IDs, or \"none\"]
403
- OUTPUT FORMAT: Unified output schema (see mastermind _protocol.md)"
403
+ OUTPUT FORMAT: Unified output schema (see mastermind mastermind-protocol/SKILL.md)"
404
404
  ```
@@ -13,7 +13,7 @@ This skill is invoked by `mastermind:master` or directly via `/mastermind:releas
13
13
 
14
14
  ## Inputs
15
15
 
16
- - `brain_context`: BRAIN CONTEXT block (injected by master, or loaded standalone via _protocol.md brain load)
16
+ - `brain_context`: BRAIN CONTEXT block (injected by master, or loaded standalone via mastermind-protocol/SKILL.md brain load)
17
17
  - `prompt`: the release goal (version target, scope, environment)
18
18
  - `project_name`: monotask space name
19
19
  - `board_id`: monotask board ID (set by master, or created standalone)
@@ -43,9 +43,9 @@ Assess the prompt to determine execution mode:
43
43
 
44
44
  If this skill is invoked directly (not by master):
45
45
 
46
- 1. Load brain context following _protocol.md Brain Load Procedure (namespace: `release`)
47
- 2. Run intake from _intake.md if prompt is vague
48
- 3. Follow _protocol.md Monotask Space+Board Setup Procedure:
46
+ 1. Load brain context following mastermind-protocol/SKILL.md Brain Load Procedure (namespace: `release`)
47
+ 2. Run intake from mastermind-intake/SKILL.md if prompt is vague
48
+ 3. Follow mastermind-protocol/SKILL.md Monotask Space+Board Setup Procedure:
49
49
  ```bash
50
50
  project_name="${project_name:-$(basename "$PWD")}"
51
51
  space_id=$(monotask space list 2>/dev/null | awk -F' \| ' -v n="$project_name" '$2==n{print $1}' | head -1)
@@ -59,7 +59,7 @@ If this skill is invoked directly (not by master):
59
59
  done_col=$(monotask column create "$board_id" "Done" --json | jq -r '.id')
60
60
  ```
61
61
  4. Proceed with complexity assessment below
62
- 5. At end: follow _protocol.md Brain Write Procedure (namespace: `release`)
62
+ 5. At end: follow mastermind-protocol/SKILL.md Brain Write Procedure (namespace: `release`)
63
63
 
64
64
  ---
65
65
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: mastermind-repeat-postamble
2
+ name: mastermind-repeat
3
3
  description: REPEAT POSTAMBLE — executes inter-session repeat/tillend loop continuation after any mastermind or monomind command completes. Calls ScheduleWakeup when work remains.
4
4
  type: protocol-skill
5
5
  ---
@@ -142,7 +142,7 @@ cat > ".monomind/loops/${LOOP_ID}.json" << EOF
142
142
  "lastRunAt": ${NOW_MS},
143
143
  "nextRunAt": ${NEXT_AT},
144
144
  "status": "running",
145
- "source": "_repeat.md"
145
+ "source": "mastermind-repeat/SKILL.md"
146
146
  }
147
147
  EOF
148
148
  ```
@@ -13,7 +13,7 @@ This skill is invoked by `mastermind:master` or directly via `/mastermind:resear
13
13
 
14
14
  ## Inputs
15
15
 
16
- - `brain_context`: BRAIN CONTEXT block (injected by master, or loaded standalone via _protocol.md brain load)
16
+ - `brain_context`: BRAIN CONTEXT block (injected by master, or loaded standalone via mastermind-protocol/SKILL.md brain load)
17
17
  - `prompt`: the research question or intelligence goal
18
18
  - `project_name`: monotask space name
19
19
  - `board_id`: monotask board ID (set by master, or created standalone)
@@ -43,9 +43,9 @@ Assess the prompt to determine execution mode:
43
43
 
44
44
  If this skill is invoked directly (not by master):
45
45
 
46
- 1. Load brain context following _protocol.md Brain Load Procedure (namespace: `research`)
47
- 2. Run intake from _intake.md if prompt is vague
48
- 3. Follow _protocol.md Monotask Space+Board Setup Procedure:
46
+ 1. Load brain context following mastermind-protocol/SKILL.md Brain Load Procedure (namespace: `research`)
47
+ 2. Run intake from mastermind-intake/SKILL.md if prompt is vague
48
+ 3. Follow mastermind-protocol/SKILL.md Monotask Space+Board Setup Procedure:
49
49
  ```bash
50
50
  project_name="${project_name:-$(basename "$PWD")}"
51
51
  space_id=$(monotask space list 2>/dev/null | awk -F' \| ' -v n="$project_name" '$2==n{print $1}' | head -1)
@@ -59,7 +59,7 @@ If this skill is invoked directly (not by master):
59
59
  done_col=$(monotask column create "$board_id" "Done" --json | jq -r '.id')
60
60
  ```
61
61
  4. Proceed with complexity assessment below
62
- 5. At end: follow _protocol.md Brain Write Procedure (namespace: `research`)
62
+ 5. At end: follow mastermind-protocol/SKILL.md Brain Write Procedure (namespace: `research`)
63
63
 
64
64
  ---
65
65
 
@@ -13,7 +13,7 @@ This skill is invoked by `mastermind:master` or directly via `/mastermind:review
13
13
 
14
14
  ## Inputs
15
15
 
16
- - `brain_context`: BRAIN CONTEXT block (injected by master, or loaded standalone via _protocol.md brain load)
16
+ - `brain_context`: BRAIN CONTEXT block (injected by master, or loaded standalone via mastermind-protocol/SKILL.md brain load)
17
17
  - `prompt`: what to review and what to assess
18
18
  - `project_name`: monotask space name
19
19
  - `board_id`: monotask board ID (set by master, or created standalone)
@@ -54,9 +54,9 @@ Assess the prompt to determine execution mode:
54
54
 
55
55
  If this skill is invoked directly (not by master):
56
56
 
57
- 1. Load brain context following _protocol.md Brain Load Procedure (namespace: `review`)
58
- 2. Run intake from _intake.md if prompt is vague
59
- 3. Follow _protocol.md Monotask Space+Board Setup Procedure:
57
+ 1. Load brain context following mastermind-protocol/SKILL.md Brain Load Procedure (namespace: `review`)
58
+ 2. Run intake from mastermind-intake/SKILL.md if prompt is vague
59
+ 3. Follow mastermind-protocol/SKILL.md Monotask Space+Board Setup Procedure:
60
60
  ```bash
61
61
  project_name="${project_name:-$(basename "$PWD")}"
62
62
  space_id=$(monotask space list 2>/dev/null | awk -F' \| ' -v n="$project_name" '$2==n{print $1}' | head -1)
@@ -70,7 +70,7 @@ If this skill is invoked directly (not by master):
70
70
  done_col=$(monotask column create "$board_id" "Done" --json | jq -r '.id')
71
71
  ```
72
72
  4. Proceed with complexity assessment below
73
- 5. At end: follow _protocol.md Brain Write Procedure (namespace: `review`)
73
+ 5. At end: follow mastermind-protocol/SKILL.md Brain Write Procedure (namespace: `review`)
74
74
 
75
75
  ---
76
76
 
@@ -59,7 +59,7 @@ This skill is invoked by `mastermind:routine-detail` or directly via `/mastermin
59
59
 
60
60
  ## Step 0 — Brain Load (standalone only)
61
61
 
62
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
62
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
63
63
 
64
64
  ---
65
65
 
@@ -250,4 +250,4 @@ trigger_kind: <schedule|webhook>
250
250
 
251
251
  ## Step 4 — Brain Write (standalone only)
252
252
 
253
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
253
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -30,7 +30,7 @@ This skill is invoked by `mastermind:routines` or directly via `/mastermind:rout
30
30
 
31
31
  ## Step 0 — Brain Load (standalone only)
32
32
 
33
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
33
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
34
34
 
35
35
  ---
36
36
 
@@ -200,4 +200,4 @@ routines_file: .monomind/orgs/<org_name>-routines.json
200
200
 
201
201
  ## Step 4 — Brain Write (standalone only)
202
202
 
203
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
203
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -26,7 +26,7 @@ This skill is invoked by `mastermind:runorgv1` or directly via `/mastermind:runo
26
26
 
27
27
  ## Step 0 — Brain Load (standalone only)
28
28
 
29
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
29
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
30
30
 
31
31
  ---
32
32
 
@@ -702,7 +702,7 @@ run_id: "<runId>"
702
702
 
703
703
  ## Step 8 — Brain Write (standalone only)
704
704
 
705
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
705
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
706
706
 
707
707
  ---
708
708
 
@@ -13,7 +13,7 @@ This skill is invoked by `mastermind:master` or directly via `/mastermind:sales`
13
13
 
14
14
  ## Inputs
15
15
 
16
- - `brain_context`: BRAIN CONTEXT block (injected by master, or loaded standalone via _protocol.md brain load)
16
+ - `brain_context`: BRAIN CONTEXT block (injected by master, or loaded standalone via mastermind-protocol/SKILL.md brain load)
17
17
  - `prompt`: the sales goal for this run
18
18
  - `project_name`: monotask space name
19
19
  - `board_id`: monotask board ID (set by master, or created standalone)
@@ -43,9 +43,9 @@ Assess the prompt to determine execution mode:
43
43
 
44
44
  If this skill is invoked directly (not by master):
45
45
 
46
- 1. Load brain context following _protocol.md Brain Load Procedure (namespace: `sales`)
47
- 2. Run intake from _intake.md if prompt is vague
48
- 3. Follow _protocol.md Monotask Space+Board Setup Procedure:
46
+ 1. Load brain context following mastermind-protocol/SKILL.md Brain Load Procedure (namespace: `sales`)
47
+ 2. Run intake from mastermind-intake/SKILL.md if prompt is vague
48
+ 3. Follow mastermind-protocol/SKILL.md Monotask Space+Board Setup Procedure:
49
49
  ```bash
50
50
  project_name="${project_name:-$(basename "$PWD")}"
51
51
  space_id=$(monotask space list 2>/dev/null | awk -F' \| ' -v n="$project_name" '$2==n{print $1}' | head -1)
@@ -59,7 +59,7 @@ If this skill is invoked directly (not by master):
59
59
  done_col=$(monotask column create "$board_id" "Done" --json | jq -r '.id')
60
60
  ```
61
61
  4. Proceed with complexity assessment below
62
- 5. At end: follow _protocol.md Brain Write Procedure (namespace: `sales`)
62
+ 5. At end: follow mastermind-protocol/SKILL.md Brain Write Procedure (namespace: `sales`)
63
63
 
64
64
  ---
65
65
 
@@ -24,7 +24,7 @@ This skill is invoked by `mastermind:search` or directly via `/mastermind:search
24
24
 
25
25
  ## Step 0 — Brain Load (standalone only)
26
26
 
27
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
27
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
28
28
 
29
29
  ---
30
30
 
@@ -183,4 +183,4 @@ total_hits: <N>
183
183
 
184
184
  ## Step 4 — Brain Write (standalone only)
185
185
 
186
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
186
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -25,7 +25,7 @@ This skill is invoked by `mastermind:secrets` or directly via `/mastermind:secre
25
25
 
26
26
  ## Step 0 — Brain Load (standalone only)
27
27
 
28
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
28
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
29
29
 
30
30
  ---
31
31
 
@@ -196,4 +196,4 @@ secrets_count: <N>
196
196
 
197
197
  ## Step 4 — Brain Write (standalone only)
198
198
 
199
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
199
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -66,14 +66,16 @@ API docs, syntax guides, tool documentation
66
66
  ## Directory Structure
67
67
 
68
68
  ```
69
- .claude/skills/mastermind/
70
- skill-name.md # Main skill (required)
69
+ .claude/skills/
70
+ mastermind-<name>/
71
+ SKILL.md # Main skill (required — a bare <name>.md does NOT register)
72
+ *-prompt.md # Optional supporting files (prompt templates, references)
71
73
 
72
74
  .claude/commands/mastermind/
73
- skill-name.md # Command entry point (required)
75
+ <name>.md # Command entry point (required)
74
76
  ```
75
77
 
76
- **Flat namespace** — all mastermind skills in one searchable namespace.
78
+ **One top-level directory per skill** — Claude Code only registers `.claude/skills/<dir>/SKILL.md`, under the directory's own name. Grouping folders inside `.claude/skills/` do NOT register their children, so never nest. The `mastermind-` prefix on every skill directory is what prevents collisions with other skills, so never omit it — `monomind init` ships every `mastermind-*` directory automatically. Command wrappers invoke `Skill("mastermind-<name>")`.
77
79
 
78
80
  ## Skill File Structure
79
81
 
@@ -120,21 +122,21 @@ name: mastermind-[name]
120
122
  description: [one-line description of when to use]
121
123
  ---
122
124
 
123
- **First — extract repeat flags:** Follow REPEAT PREAMBLE from `_repeat.md`.
125
+ **First — extract repeat flags:** Follow REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`.
124
126
 
125
127
  Parse `$ARGUMENTS` for `--auto`, `--confirm`, `--project <name>`, and remaining text.
126
128
 
127
- Load brain context (follow `_protocol.md` Brain Load Procedure).
129
+ Load brain context (follow `mastermind-protocol/SKILL.md` Brain Load Procedure).
128
130
 
129
131
  Default mode: **confirm** (or **auto** for low-risk/fast skills).
130
132
 
131
133
  ---
132
134
 
133
- Invoke `Skill("mastermind-skills:[name]")` passing: brain_context, params, mode.
135
+ Invoke `Skill("mastermind-[name]")` passing: brain_context, params, mode.
134
136
 
135
- After skill returns: follow `_protocol.md` Brain Write Procedure.
137
+ After skill returns: follow `mastermind-protocol/SKILL.md` Brain Write Procedure.
136
138
 
137
- Invoke `Skill("mastermind-skills:_repeat")` now. Required — do not skip.
139
+ Invoke `Skill("mastermind-repeat")` now. Required — do not skip.
138
140
  ```
139
141
 
140
142
  ## Claude Search Optimization (CSO)
@@ -182,15 +184,15 @@ Use words Claude would search for:
182
184
 
183
185
  **Techniques:**
184
186
  - Reference other skills instead of repeating content
185
- - Use cross-references: `**REQUIRED BACKGROUND:** Use Skill("mastermind-skills:X")`
187
+ - Use cross-references: `**REQUIRED BACKGROUND:** Use Skill("mastermind-X")`
186
188
  - One excellent example beats many mediocre ones
187
189
 
188
190
  ### Cross-Referencing Other Skills
189
191
 
190
192
  ```markdown
191
193
  # GOOD: Explicit requirement marker
192
- **REQUIRED SUB-SKILL:** Use Skill("mastermind-skills:worktree")
193
- **REQUIRED BACKGROUND:** You MUST understand Skill("mastermind-skills:finish")
194
+ **REQUIRED SUB-SKILL:** Use Skill("mastermind-worktree")
195
+ **REQUIRED BACKGROUND:** You MUST understand Skill("mastermind-finish")
194
196
 
195
197
  # BAD: Unclear if required
196
198
  See mastermind/worktree.md
@@ -221,7 +223,7 @@ See mastermind/worktree.md
221
223
 
222
224
  ## File Organization
223
225
 
224
- Mastermind skills are single files in a flat namespace. Keep everything inline. If a skill genuinely needs heavy reference material (500+ lines of API docs), condense it to what agents actually retrieve — a skill nobody can afford to load teaches nothing. Reusable prompt templates (like taskdev's implementer/reviewer prompts) live as sibling `*-prompt.md` files in the skills directory.
226
+ Each mastermind skill is one directory holding a single `SKILL.md`. Keep everything inline in that file. If a skill genuinely needs heavy reference material (500+ lines of API docs), condense it to what agents actually retrieve — a skill nobody can afford to load teaches nothing. Reusable prompt templates (like taskdev's implementer/reviewer prompts) live as supporting `*-prompt.md` files inside the owning skill's directory, referenced as `./<name>-prompt.md`.
225
227
 
226
228
  ## The Iron Law (Same as TDD)
227
229
 
@@ -418,7 +420,7 @@ helper1, helper2, step3, pattern4
418
420
  - [ ] Re-test until bulletproof
419
421
 
420
422
  **Deployment:**
421
- - [ ] Skill file at `.claude/skills/mastermind/<name>.md`
423
+ - [ ] Skill file at `.claude/skills/mastermind-<name>/SKILL.md`
422
424
  - [ ] Command file at `.claude/commands/mastermind/<name>.md`
423
425
  - [ ] Commit both files to git
424
426
  - [ ] Mirror both files into `packages/@monomind/cli/.claude/` (the npm-shipped copy)
@@ -24,7 +24,7 @@ This skill is invoked by `mastermind:skills` or directly via `/mastermind:skills
24
24
 
25
25
  ## Step 0 — Brain Load (standalone only)
26
26
 
27
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
27
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
28
28
 
29
29
  ---
30
30
 
@@ -153,4 +153,4 @@ skills_found: <N>
153
153
 
154
154
  ## Step 4 — Brain Write (standalone only)
155
155
 
156
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
156
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -21,7 +21,7 @@ This skill is invoked by `mastermind:stoporg` or directly via `/mastermind:stopo
21
21
 
22
22
  ## Step 0 — Brain Load (standalone only)
23
23
 
24
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
24
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
25
25
 
26
26
  ---
27
27
 
@@ -144,4 +144,4 @@ next_actions:
144
144
 
145
145
  ## Step 7 — Brain Write (standalone only)
146
146
 
147
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
147
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -49,7 +49,7 @@ digraph when_to_use {
49
49
 
50
50
  ## Inputs
51
51
 
52
- - `brain_context`: BRAIN CONTEXT block (loaded via _protocol.md brain load)
52
+ - `brain_context`: BRAIN CONTEXT block (loaded via mastermind-protocol/SKILL.md brain load)
53
53
  - `plan_file`: absolute path to the plan `.md` file to execute
54
54
  - `params`: any additional flags or context
55
55
  - `mode`: auto | confirm
@@ -366,12 +366,12 @@ Done!
366
366
  ## Integration
367
367
 
368
368
  **Required workflow skills:**
369
- - `Skill("mastermind-skills:plan")` - Creates the plan this skill executes
370
- - `Skill("mastermind-skills:review")` - Code review template for reviewer subagents
371
- - `Skill("mastermind-skills:finish")` - Complete development after all tasks done
369
+ - `Skill("mastermind-plan")` - Creates the plan this skill executes
370
+ - `Skill("mastermind-review")` - Code review template for reviewer subagents
371
+ - `Skill("mastermind-finish")` - Complete development after all tasks done
372
372
 
373
373
  **Subagents should use:**
374
- - `Skill("mastermind-skills:tdd")` - Subagents follow TDD for each task
374
+ - `Skill("mastermind-tdd")` - Subagents follow TDD for each task
375
375
 
376
376
  **Alternative workflow:**
377
- - `Skill("mastermind-skills:execute")` - Use for parallel session instead of same-session execution
377
+ - `Skill("mastermind-execute")` - Use for parallel session instead of same-session execution
@@ -30,7 +30,7 @@ Task tool (general-purpose):
30
30
 
31
31
  Once you're clear on requirements:
32
32
  1. Implement exactly what the task specifies
33
- 2. Write tests following TDD (use Skill("mastermind-skills:tdd") if available)
33
+ 2. Write tests following TDD (use Skill("mastermind-tdd") if available)
34
34
  3. Verify implementation works
35
35
  4. Commit your work
36
36
  5. Self-review (see below)
@@ -28,7 +28,7 @@ This skill is invoked by `mastermind:tasks` or directly via `/mastermind:tasks`.
28
28
 
29
29
  ## Step 0 — Brain Load (standalone only)
30
30
 
31
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
31
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
32
32
 
33
33
  ---
34
34
 
@@ -149,4 +149,4 @@ task_id: <task_id if applicable>
149
149
 
150
150
  ## Step 4 — Brain Write (standalone only)
151
151
 
152
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
152
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -19,7 +19,7 @@ Write the test first. Watch it fail. Write minimal code to pass.
19
19
 
20
20
  ## Inputs
21
21
 
22
- - `brain_context`: BRAIN CONTEXT block (injected by master, or loaded standalone via _protocol.md brain load)
22
+ - `brain_context`: BRAIN CONTEXT block (injected by master, or loaded standalone via mastermind-protocol/SKILL.md brain load)
23
23
  - `prompt`: what feature or bug to implement with TDD
24
24
  - `project_name`: monotask space name
25
25
  - `board_id`: monotask board ID (set by master, or created standalone)
@@ -137,7 +137,7 @@ Confirm:
137
137
 
138
138
  **Test errors?** Fix error, re-run until it fails correctly.
139
139
 
140
- Invoke `Skill("mastermind-skills:verify")` to gate this step: the RED verification must confirm the test fails for the expected reason.
140
+ Invoke `Skill("mastermind-verify")` to gate this step: the RED verification must confirm the test fails for the expected reason.
141
141
 
142
142
  ### GREEN — Minimal Code
143
143
 
@@ -192,7 +192,7 @@ Confirm:
192
192
 
193
193
  **Other tests fail?** Fix now.
194
194
 
195
- Invoke `Skill("mastermind-skills:verify")` to gate this step.
195
+ Invoke `Skill("mastermind-verify")` to gate this step.
196
196
 
197
197
  ### REFACTOR — Clean Up
198
198
 
@@ -350,7 +350,7 @@ Extract validation for multiple fields if needed.
350
350
 
351
351
  ## Verification Checklist
352
352
 
353
- Before marking work complete — invoke `Skill("mastermind-skills:verify")` to run this gate:
353
+ Before marking work complete — invoke `Skill("mastermind-verify")` to run this gate:
354
354
 
355
355
  - [ ] Every new function/method has a test
356
356
  - [ ] Watched each test fail before implementing
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: mastermind:techport
2
+ name: mastermind-techport
3
3
  description: Tech Port — deep-analyzes a foreign project, reviews the current monomind target to avoid conflicts and duplication, produces a scored port plan with mono-branded naming, and executes approved ports with full brand normalization.
4
4
  type: domain-skill
5
5
  default_mode: confirm
@@ -14,10 +14,10 @@ Five-phase porting skill. Phases 0–1 run in parallel. Phase 2 builds the gap m
14
14
  ## Standalone Execution
15
15
 
16
16
  If invoked directly (not by `mastermind:master`):
17
- 1. Load brain context following `_protocol.md` Brain Load Procedure (namespace: `techport`)
17
+ 1. Load brain context following `mastermind-protocol/SKILL.md` Brain Load Procedure (namespace: `techport`)
18
18
  2. Parse `source_path`, `focus_hint`, `mode` from user input
19
19
  3. Proceed with Phase 0 below
20
- 4. At the end of every run — regardless of which phase concluded — execute `_protocol.md` Brain Write Procedure, writing output to namespace `mastermind:techport:raw`. This includes Phase 1A license-gate STOPs and secrets STOPs. Never skip Brain Write.
20
+ 4. At the end of every run — regardless of which phase concluded — execute `mastermind-protocol/SKILL.md` Brain Write Procedure, writing output to namespace `mastermind:techport:raw`. This includes Phase 1A license-gate STOPs and secrets STOPs. Never skip Brain Write.
21
21
 
22
22
  ---
23
23
 
@@ -590,7 +590,7 @@ For each approved item, in recommended order.
590
590
  | Exported functions | camelCase, no prefix | `buildGraph()`, `resolveAgent()` |
591
591
  | Config keys | camelCase | `projectRoot`, `maxAgents` |
592
592
  | Env vars | `MONOMIND_*` uppercase | `MONOMIND_PORT`, `MONOMIND_LOG_LEVEL` |
593
- | npm packages | `@monomind/<name>` | `@monomind/hooks` |
593
+ | npm packages | `@monomind/<name>` | `@monoes/hooks` |
594
594
  | CLI commands | `monomind <command>` | `monomind agent spawn` |
595
595
  | Error classes | extend monomind hierarchy | `class PortedError extends CLIError {}` |
596
596
  | Event names | `domain:action` kebab | `'hook:fired'`, `'agent:spawned'` |
@@ -726,10 +726,10 @@ NEXT STEPS
726
726
 
727
727
  ## Output Schema (Brain Write — mastermind:master compatible)
728
728
 
729
- After Phase 3 (analysis) or Phase 5 (execution), write brain output using `_protocol.md` Unified Output Schema — the required fields must be present exactly, with techport-specific data embedded in `artifacts` and `decisions`:
729
+ After Phase 3 (analysis) or Phase 5 (execution), write brain output using `mastermind-protocol/SKILL.md` Unified Output Schema — the required fields must be present exactly, with techport-specific data embedded in `artifacts` and `decisions`:
730
730
 
731
731
  ```yaml
732
- # _protocol.md Unified Output Schema — namespace: mastermind:techport:raw
732
+ # mastermind-protocol/SKILL.md Unified Output Schema — namespace: mastermind:techport:raw
733
733
  domain: techport
734
734
  status: analysis_complete | port_complete | blocked
735
735
  artifacts:
@@ -27,7 +27,7 @@ This skill is invoked by `mastermind:threads` or directly via `/mastermind:threa
27
27
 
28
28
  ## Step 0 — Brain Load (standalone only)
29
29
 
30
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
30
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
31
31
 
32
32
  ---
33
33
 
@@ -256,4 +256,4 @@ thread_id: <thread_id or new_id>
256
256
 
257
257
  ## Step 4 — Brain Write (standalone only)
258
258
 
259
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
259
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -34,7 +34,7 @@ All tree-control actions must respect these invariants:
34
34
 
35
35
  ## Step 0 — Brain Load (standalone only)
36
36
 
37
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
37
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
38
38
 
39
39
  ---
40
40
 
@@ -247,4 +247,4 @@ issue_id: <issue_id>
247
247
 
248
248
  ## Step 4 — Brain Write (standalone only)
249
249
 
250
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
250
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -19,7 +19,7 @@ Claiming work is complete without verification is dishonesty, not efficiency.
19
19
 
20
20
  ## Inputs
21
21
 
22
- - `brain_context`: BRAIN CONTEXT block (injected by master, or loaded standalone via _protocol.md brain load)
22
+ - `brain_context`: BRAIN CONTEXT block (injected by master, or loaded standalone via mastermind-protocol/SKILL.md brain load)
23
23
  - `prompt`: what to verify and what claim is being made
24
24
  - `project_name`: monotask space name
25
25
  - `board_id`: monotask board ID (set by master, or created standalone)
@@ -46,7 +46,7 @@ This skill is invoked by `mastermind:wiki` or directly via `/mastermind:wiki`.
46
46
 
47
47
  ## Step 0 — Brain Load (standalone only)
48
48
 
49
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
49
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
50
50
 
51
51
  ---
52
52
 
@@ -311,4 +311,4 @@ wiki_root: .monomind/orgs/<org_name>/wiki/
311
311
 
312
312
  ## Step 4 — Brain Write (standalone only)
313
313
 
314
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
314
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -43,7 +43,7 @@ This skill is invoked by `mastermind:workspace-detail` or directly via `/masterm
43
43
 
44
44
  ## Step 0 — Brain Load (standalone only)
45
45
 
46
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
46
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
47
47
 
48
48
  ---
49
49
 
@@ -314,4 +314,4 @@ workspace_status: <status>
314
314
 
315
315
  ## Step 4 — Brain Write (standalone only)
316
316
 
317
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
317
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -46,7 +46,7 @@ A workspace is a git worktree assigned to a project, optionally running services
46
46
 
47
47
  ## Step 0 — Brain Load (standalone only)
48
48
 
49
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
49
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
50
50
 
51
51
  ---
52
52
 
@@ -258,4 +258,4 @@ workspaces_total: <N>
258
258
 
259
259
  ## Step 4 — Brain Write (standalone only)
260
260
 
261
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
261
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.