monomind 2.5.1 → 2.5.2

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 (289) hide show
  1. package/package.json +2 -1
  2. package/packages/@monomind/cli/.claude/agents/design/design-monodesign.md +6 -6
  3. package/packages/@monomind/cli/.claude/commands/mastermind/_repeat.md +4 -4
  4. package/packages/@monomind/cli/.claude/commands/mastermind/approvev1.md +4 -4
  5. package/packages/@monomind/cli/.claude/commands/mastermind/architect.md +6 -6
  6. package/packages/@monomind/cli/.claude/commands/mastermind/autodev.md +5 -5
  7. package/packages/@monomind/cli/.claude/commands/mastermind/brain.md +2 -2
  8. package/packages/@monomind/cli/.claude/commands/mastermind/build.md +6 -6
  9. package/packages/@monomind/cli/.claude/commands/mastermind/code-review.md +2 -2
  10. package/packages/@monomind/cli/.claude/commands/mastermind/content.md +6 -6
  11. package/packages/@monomind/cli/.claude/commands/mastermind/createorg.md +4 -4
  12. package/packages/@monomind/cli/.claude/commands/mastermind/createtask.md +3 -3
  13. package/packages/@monomind/cli/.claude/commands/mastermind/debug.md +5 -5
  14. package/packages/@monomind/cli/.claude/commands/mastermind/design.md +5 -5
  15. package/packages/@monomind/cli/.claude/commands/mastermind/do.md +2 -2
  16. package/packages/@monomind/cli/.claude/commands/mastermind/execute.md +5 -5
  17. package/packages/@monomind/cli/.claude/commands/mastermind/finance.md +6 -6
  18. package/packages/@monomind/cli/.claude/commands/mastermind/finish.md +5 -5
  19. package/packages/@monomind/cli/.claude/commands/mastermind/idea.md +6 -6
  20. package/packages/@monomind/cli/.claude/commands/mastermind/ideate.md +5 -5
  21. package/packages/@monomind/cli/.claude/commands/mastermind/improve.md +6 -6
  22. package/packages/@monomind/cli/.claude/commands/mastermind/marketing.md +6 -6
  23. package/packages/@monomind/cli/.claude/commands/mastermind/master.md +54 -54
  24. package/packages/@monomind/cli/.claude/commands/mastermind/ops.md +6 -6
  25. package/packages/@monomind/cli/.claude/commands/mastermind/orgs.md +2 -2
  26. package/packages/@monomind/cli/.claude/commands/mastermind/orgstatus.md +2 -2
  27. package/packages/@monomind/cli/.claude/commands/mastermind/plan.md +5 -5
  28. package/packages/@monomind/cli/.claude/commands/mastermind/receive-review.md +5 -5
  29. package/packages/@monomind/cli/.claude/commands/mastermind/release.md +6 -6
  30. package/packages/@monomind/cli/.claude/commands/mastermind/research.md +6 -6
  31. package/packages/@monomind/cli/.claude/commands/mastermind/review.md +6 -6
  32. package/packages/@monomind/cli/.claude/commands/mastermind/runorg.md +4 -4
  33. package/packages/@monomind/cli/.claude/commands/mastermind/runorgv1.md +5 -5
  34. package/packages/@monomind/cli/.claude/commands/mastermind/sales.md +6 -6
  35. package/packages/@monomind/cli/.claude/commands/mastermind/skill-builder.md +5 -5
  36. package/packages/@monomind/cli/.claude/commands/mastermind/stoporg.md +3 -3
  37. package/packages/@monomind/cli/.claude/commands/mastermind/taskdev.md +5 -5
  38. package/packages/@monomind/cli/.claude/commands/mastermind/tdd.md +5 -5
  39. package/packages/@monomind/cli/.claude/commands/mastermind/techport.md +5 -5
  40. package/packages/@monomind/cli/.claude/commands/mastermind/verify.md +5 -5
  41. package/packages/@monomind/cli/.claude/commands/mastermind/worktree.md +5 -5
  42. package/packages/@monomind/cli/.claude/helpers/control-start.cjs +30 -0
  43. package/packages/@monomind/cli/.claude/helpers/utils/monograph.cjs +44 -12
  44. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/access.md → mastermind-access/SKILL.md} +2 -2
  45. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/activity.md → mastermind-activity/SKILL.md} +2 -2
  46. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/adapter-manager.md → mastermind-adapter-manager/SKILL.md} +2 -2
  47. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/adapters.md → mastermind-adapters/SKILL.md} +2 -2
  48. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/agent-detail.md → mastermind-agent-detail/SKILL.md} +2 -2
  49. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/agents.md → mastermind-agents/SKILL.md} +2 -2
  50. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/approval-detail.md → mastermind-approval-detail/SKILL.md} +2 -2
  51. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/approvev1.md → mastermind-approvev1/SKILL.md} +2 -2
  52. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/architect.md → mastermind-architect/SKILL.md} +7 -7
  53. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/autodev.md → mastermind-autodev/SKILL.md} +10 -10
  54. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/backup.md → mastermind-backup/SKILL.md} +2 -2
  55. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/bootstrap.md → mastermind-bootstrap/SKILL.md} +2 -2
  56. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/budgets.md → mastermind-budgets/SKILL.md} +2 -2
  57. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/build.md → mastermind-build/SKILL.md} +5 -5
  58. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/companies.md → mastermind-companies/SKILL.md} +2 -2
  59. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/content.md → mastermind-content/SKILL.md} +5 -5
  60. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/costs.md → mastermind-costs/SKILL.md} +2 -2
  61. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/createorg.md → mastermind-createorg/SKILL.md} +3 -3
  62. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/debug.md → mastermind-debug/SKILL.md} +4 -4
  63. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/_delegation.md → mastermind-delegation/SKILL.md} +1 -1
  64. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/design.md → mastermind-design/SKILL.md} +9 -9
  65. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/diagnose.md → mastermind-diagnose/SKILL.md} +2 -2
  66. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/env.md → mastermind-env/SKILL.md} +2 -2
  67. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/environments.md → mastermind-environments/SKILL.md} +2 -2
  68. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/execute.md → mastermind-execute/SKILL.md} +10 -10
  69. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/export.md → mastermind-export/SKILL.md} +2 -2
  70. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/finance.md → mastermind-finance/SKILL.md} +5 -5
  71. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/goal-detail.md → mastermind-goal-detail/SKILL.md} +2 -2
  72. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/goals.md → mastermind-goals/SKILL.md} +2 -2
  73. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/heartbeatv1.md → mastermind-heartbeatv1/SKILL.md} +2 -2
  74. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/idea.md → mastermind-idea/SKILL.md} +7 -7
  75. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/import.md → mastermind-import/SKILL.md} +2 -2
  76. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/inbox.md → mastermind-inbox/SKILL.md} +2 -2
  77. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/instance.md → mastermind-instance/SKILL.md} +2 -2
  78. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/instance-settings.md → mastermind-instance-settings/SKILL.md} +2 -2
  79. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/invite-landing.md → mastermind-invite-landing/SKILL.md} +2 -2
  80. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/invites.md → mastermind-invites/SKILL.md} +2 -2
  81. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/issue-detail.md → mastermind-issue-detail/SKILL.md} +2 -2
  82. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/issues.md → mastermind-issues/SKILL.md} +2 -2
  83. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/join-queue.md → mastermind-join-queue/SKILL.md} +2 -2
  84. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/liveness.md → mastermind-liveness/SKILL.md} +2 -2
  85. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/marketing.md → mastermind-marketing/SKILL.md} +8 -8
  86. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/memory.md → mastermind-memory/SKILL.md} +2 -2
  87. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/monitor.md → mastermind-monitor/SKILL.md} +2 -2
  88. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/my-issues.md → mastermind-my-issues/SKILL.md} +2 -2
  89. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/new-agent.md → mastermind-new-agent/SKILL.md} +2 -2
  90. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/ops.md → mastermind-ops/SKILL.md} +5 -5
  91. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/org-chart.md → mastermind-org-chart/SKILL.md} +2 -2
  92. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/org-settings.md → mastermind-org-settings/SKILL.md} +2 -2
  93. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/orgs.md → mastermind-orgs/SKILL.md} +1 -1
  94. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/orgstatus.md → mastermind-orgstatus/SKILL.md} +2 -2
  95. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/plan.md → mastermind-plan/SKILL.md} +7 -7
  96. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/plan-to-tasks.md → mastermind-plan-to-tasks/SKILL.md} +2 -2
  97. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/plugin-manager.md → mastermind-plugin-manager/SKILL.md} +2 -2
  98. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/plugin-settings.md → mastermind-plugin-settings/SKILL.md} +2 -2
  99. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/plugins.md → mastermind-plugins/SKILL.md} +2 -2
  100. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/profile.md → mastermind-profile/SKILL.md} +2 -2
  101. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/project-detail.md → mastermind-project-detail/SKILL.md} +2 -2
  102. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/project-workspace.md → mastermind-project-workspace/SKILL.md} +2 -2
  103. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/projects.md → mastermind-projects/SKILL.md} +2 -2
  104. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/_protocol.md → mastermind-protocol/SKILL.md} +3 -3
  105. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/release.md → mastermind-release/SKILL.md} +5 -5
  106. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/_repeat.md → mastermind-repeat/SKILL.md} +2 -2
  107. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/research.md → mastermind-research/SKILL.md} +5 -5
  108. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/review.md → mastermind-review/SKILL.md} +5 -5
  109. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/routine-detail.md → mastermind-routine-detail/SKILL.md} +2 -2
  110. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/routines.md → mastermind-routines/SKILL.md} +2 -2
  111. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/runorgv1.md → mastermind-runorgv1/SKILL.md} +2 -2
  112. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/sales.md → mastermind-sales/SKILL.md} +5 -5
  113. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/search.md → mastermind-search/SKILL.md} +2 -2
  114. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/secrets.md → mastermind-secrets/SKILL.md} +2 -2
  115. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/skill-builder.md → mastermind-skill-builder/SKILL.md} +16 -14
  116. package/packages/@monomind/cli/.claude/skills/mastermind-skills/{skills.md → SKILL.md} +2 -2
  117. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/stoporg.md → mastermind-stoporg/SKILL.md} +2 -2
  118. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/taskdev.md → mastermind-taskdev/SKILL.md} +6 -6
  119. package/packages/@monomind/cli/.claude/skills/{mastermind-skills → mastermind-taskdev}/implementer-prompt.md +1 -1
  120. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/tasks.md → mastermind-tasks/SKILL.md} +2 -2
  121. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/tdd.md → mastermind-tdd/SKILL.md} +4 -4
  122. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/techport.md → mastermind-techport/SKILL.md} +5 -5
  123. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/threads.md → mastermind-threads/SKILL.md} +2 -2
  124. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/tree-control.md → mastermind-tree-control/SKILL.md} +2 -2
  125. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/verify.md → mastermind-verify/SKILL.md} +1 -1
  126. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/wiki.md → mastermind-wiki/SKILL.md} +2 -2
  127. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/workspace-detail.md → mastermind-workspace-detail/SKILL.md} +2 -2
  128. package/packages/@monomind/cli/.claude/skills/{mastermind-skills/workspaces.md → mastermind-workspaces/SKILL.md} +2 -2
  129. package/packages/@monomind/cli/.claude/skills/monodesign/SKILL.md +114 -190
  130. package/packages/@monomind/cli/.claude/skills/monodesign/adapt.md +1 -1
  131. package/packages/@monomind/cli/.claude/skills/monodesign/agents/monodesign-asset-producer.md +4 -4
  132. package/packages/@monomind/cli/.claude/skills/monodesign/agents/monodesign-manual-edit-applier.md +103 -0
  133. package/packages/@monomind/cli/.claude/skills/monodesign/audit.md +1 -1
  134. package/packages/@monomind/cli/.claude/skills/monodesign/craft.md +2 -2
  135. package/packages/@monomind/cli/.claude/skills/monodesign/critique.md +1 -1
  136. package/packages/@monomind/cli/.claude/skills/monodesign/init.md +30 -0
  137. package/packages/@monomind/cli/.claude/skills/monodesign/layout.md +36 -0
  138. package/packages/@monomind/cli/.claude/skills/monodesign/live.md +19 -44
  139. package/packages/@monomind/cli/.claude/skills/monodesign/reference/adapt.md +122 -0
  140. package/packages/@monomind/cli/.claude/skills/monodesign/reference/adapt.native.md +58 -0
  141. package/packages/@monomind/cli/.claude/skills/monodesign/reference/android.md +40 -0
  142. package/packages/@monomind/cli/.claude/skills/monodesign/reference/animate.md +39 -11
  143. package/packages/@monomind/cli/.claude/skills/monodesign/reference/antipatterns-catalog.md +22 -16
  144. package/packages/@monomind/cli/.claude/skills/monodesign/reference/audit.md +5 -3
  145. package/packages/@monomind/cli/.claude/skills/monodesign/reference/audit.native.md +139 -0
  146. package/packages/@monomind/cli/.claude/skills/monodesign/reference/bolder.md +71 -64
  147. package/packages/@monomind/cli/.claude/skills/monodesign/reference/brand.md +12 -18
  148. package/packages/@monomind/cli/.claude/skills/monodesign/reference/clarify.md +114 -0
  149. package/packages/@monomind/cli/.claude/skills/monodesign/reference/codex.md +4 -6
  150. package/packages/@monomind/cli/.claude/skills/monodesign/reference/colorize.md +108 -5
  151. package/packages/@monomind/cli/.claude/skills/monodesign/reference/craft.md +70 -143
  152. package/packages/@monomind/cli/.claude/skills/monodesign/reference/critique.md +635 -68
  153. package/packages/@monomind/cli/.claude/skills/monodesign/reference/delight.md +1 -1
  154. package/packages/@monomind/cli/.claude/skills/monodesign/reference/distill.md +1 -1
  155. package/packages/@monomind/cli/.claude/skills/monodesign/reference/document.md +24 -22
  156. package/packages/@monomind/cli/.claude/skills/monodesign/reference/extract.md +1 -1
  157. package/packages/@monomind/cli/.claude/skills/monodesign/reference/hooks.md +22 -29
  158. package/packages/@monomind/cli/.claude/skills/monodesign/reference/init.md +221 -0
  159. package/packages/@monomind/cli/.claude/skills/monodesign/reference/interaction-design.md +0 -6
  160. package/packages/@monomind/cli/.claude/skills/monodesign/reference/ios.md +45 -0
  161. package/packages/@monomind/cli/.claude/skills/monodesign/reference/layout.md +57 -13
  162. package/packages/@monomind/cli/.claude/skills/monodesign/reference/live.md +159 -63
  163. package/packages/@monomind/cli/.claude/skills/monodesign/reference/overdrive.md +1 -1
  164. package/packages/@monomind/cli/.claude/skills/monodesign/reference/personas.md +1 -1
  165. package/packages/@monomind/cli/.claude/skills/monodesign/reference/polish.md +16 -8
  166. package/packages/@monomind/cli/.claude/skills/monodesign/reference/pre-delivery-checklist.md +1 -1
  167. package/packages/@monomind/cli/.claude/skills/monodesign/reference/product.md +1 -3
  168. package/packages/@monomind/cli/.claude/skills/monodesign/reference/quieter.md +1 -1
  169. package/packages/@monomind/cli/.claude/skills/monodesign/reference/shape.md +27 -13
  170. package/packages/@monomind/cli/.claude/skills/monodesign/reference/teach.md +6 -152
  171. package/packages/@monomind/cli/.claude/skills/monodesign/reference/typeset.md +180 -3
  172. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/command-metadata.json +94 -0
  173. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/context-signals.mjs +227 -0
  174. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/context.mjs +1062 -0
  175. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/critique-storage.mjs +243 -0
  176. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detect-csp.mjs +199 -0
  177. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detect.mjs +34 -0
  178. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/browser/injected/index.mjs +1938 -0
  179. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/cli/main.mjs +322 -0
  180. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/design-system.mjs +815 -0
  181. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/detect-antipatterns-browser.js +5246 -0
  182. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/detect-antipatterns.mjs +51 -0
  183. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/engines/browser/detect-url.mjs +260 -0
  184. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/engines/browser/drivers.mjs +259 -0
  185. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/engines/regex/detect-text.mjs +574 -0
  186. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/engines/static-html/css-cascade.mjs +1016 -0
  187. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/engines/static-html/detect-html.mjs +235 -0
  188. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/engines/visual/screenshot-contrast.mjs +199 -0
  189. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/findings.mjs +13 -0
  190. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/node/file-system.mjs +199 -0
  191. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/profile/profiler.mjs +167 -0
  192. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/registry/antipatterns.mjs +515 -0
  193. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/rules/checks.mjs +2704 -0
  194. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/shared/color.mjs +125 -0
  195. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/shared/constants.mjs +102 -0
  196. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/shared/fonts.mjs +31 -0
  197. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/shared/inline-ignores.mjs +149 -0
  198. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/shared/page.mjs +8 -0
  199. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/hook-admin.mjs +662 -0
  200. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/hook-before-edit.mjs +517 -0
  201. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/hook-lib.mjs +1777 -0
  202. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/hook.mjs +62 -0
  203. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/lib/design-parser.mjs +843 -0
  204. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/lib/is-generated.mjs +70 -0
  205. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/lib/monodesign-config.mjs +641 -0
  206. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/lib/monodesign-paths.mjs +130 -0
  207. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/lib/provider.mjs +5 -0
  208. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/lib/target-args.mjs +43 -0
  209. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/browser-script-parts.mjs +51 -0
  210. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/completion.mjs +20 -0
  211. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/event-validation.mjs +138 -0
  212. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/insert-ui.mjs +459 -0
  213. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/manual-apply.mjs +940 -0
  214. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/manual-edit-routes.mjs +358 -0
  215. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/manual-edits-buffer.mjs +153 -0
  216. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/session-store.mjs +290 -0
  217. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/svelte-component.mjs +827 -0
  218. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/sveltekit-adapter.mjs +275 -0
  219. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/ui-core.mjs +181 -0
  220. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/vocabulary.mjs +37 -0
  221. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-accept.mjs +813 -0
  222. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-browser-dom.js +147 -0
  223. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-browser-session.js +124 -0
  224. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-browser.js +11241 -0
  225. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-commit-manual-edits.mjs +1242 -0
  226. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-complete.mjs +76 -0
  227. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-copy-edit-agent.mjs +684 -0
  228. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-discard-manual-edits.mjs +52 -0
  229. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-inject.mjs +584 -0
  230. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-insert.mjs +273 -0
  231. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-manual-edit-evidence.mjs +364 -0
  232. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-poll.mjs +385 -0
  233. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-resume.mjs +95 -0
  234. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-server.mjs +1138 -0
  235. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-status.mjs +62 -0
  236. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-target.mjs +31 -0
  237. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-wrap.mjs +895 -0
  238. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live.mjs +298 -0
  239. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/modern-screenshot.umd.js +15 -0
  240. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/palette.mjs +634 -0
  241. package/packages/@monomind/cli/.claude/skills/monodesign/scripts/pin.mjs +222 -0
  242. package/packages/@monomind/cli/.claude/skills/monodesign/teach.md +7 -58
  243. package/packages/@monomind/cli/dist/src/commands/design-detect.d.ts +7 -1
  244. package/packages/@monomind/cli/dist/src/commands/design-detect.js +70 -38
  245. package/packages/@monomind/cli/dist/src/commands/design-palette.d.ts +1 -1
  246. package/packages/@monomind/cli/dist/src/commands/design-palette.js +3 -3
  247. package/packages/@monomind/cli/dist/src/commands/doc.js +72 -15
  248. package/packages/@monomind/cli/dist/src/commands/doctor-project-checks.d.ts +4 -0
  249. package/packages/@monomind/cli/dist/src/commands/doctor-project-checks.js +23 -0
  250. package/packages/@monomind/cli/dist/src/commands/doctor.js +3 -3
  251. package/packages/@monomind/cli/dist/src/commands/org.js +109 -9
  252. package/packages/@monomind/cli/dist/src/init/executor.js +14 -3
  253. package/packages/@monomind/cli/dist/src/knowledge/document-pipeline.d.ts +2 -0
  254. package/packages/@monomind/cli/dist/src/knowledge/document-pipeline.js +1 -0
  255. package/packages/@monomind/cli/dist/src/mcp-tools/knowledge-tools.js +38 -7
  256. package/packages/@monomind/cli/dist/src/mcp-tools/memory-tools.d.ts +8 -3
  257. package/packages/@monomind/cli/dist/src/mcp-tools/memory-tools.js +193 -31
  258. package/packages/@monomind/cli/dist/src/memory/memory-bridge.d.ts +33 -0
  259. package/packages/@monomind/cli/dist/src/memory/memory-bridge.js +166 -17
  260. package/packages/@monomind/cli/dist/src/memory/memory-kg.d.ts +185 -0
  261. package/packages/@monomind/cli/dist/src/memory/memory-kg.js +449 -0
  262. package/packages/@monomind/cli/dist/src/memory/query-router.d.ts +44 -0
  263. package/packages/@monomind/cli/dist/src/memory/query-router.js +113 -0
  264. package/packages/@monomind/cli/dist/src/orgrt/daemon.d.ts +18 -0
  265. package/packages/@monomind/cli/dist/src/orgrt/daemon.js +249 -12
  266. package/packages/@monomind/cli/dist/src/orgrt/migrate.js +7 -0
  267. package/packages/@monomind/cli/dist/src/orgrt/policy.js +7 -0
  268. package/packages/@monomind/cli/dist/src/orgrt/session.d.ts +24 -1
  269. package/packages/@monomind/cli/dist/src/orgrt/session.js +18 -3
  270. package/packages/@monomind/cli/dist/src/orgrt/templates.d.ts +1 -0
  271. package/packages/@monomind/cli/dist/src/orgrt/templates.js +9 -4
  272. package/packages/@monomind/cli/dist/src/orgrt/types.d.ts +15 -0
  273. package/packages/@monomind/cli/dist/src/orgrt/types.js +2 -0
  274. package/packages/@monomind/cli/dist/src/ui/dashboard.html +154 -6
  275. package/packages/@monomind/cli/dist/src/ui/orgs.html +24 -0
  276. package/packages/@monomind/cli/dist/src/ui/server.mjs +162 -12
  277. package/packages/@monomind/cli/package.json +5 -3
  278. /package/packages/@monomind/cli/.claude/skills/{mastermind-skills/_agent-select.md → mastermind-agent-select/SKILL.md} +0 -0
  279. /package/packages/@monomind/cli/.claude/skills/{mastermind-skills/finish.md → mastermind-finish/SKILL.md} +0 -0
  280. /package/packages/@monomind/cli/.claude/skills/{mastermind-skills/_intake.md → mastermind-intake/SKILL.md} +0 -0
  281. /package/packages/@monomind/cli/.claude/skills/{mastermind-skills → mastermind-marketing}/references/copywriting-frameworks.md +0 -0
  282. /package/packages/@monomind/cli/.claude/skills/{mastermind-skills → mastermind-marketing}/references/persuasion-psychology.md +0 -0
  283. /package/packages/@monomind/cli/.claude/skills/{mastermind-skills/monotask.md → mastermind-monotask/SKILL.md} +0 -0
  284. /package/packages/@monomind/cli/.claude/skills/{mastermind-skills/receive-review.md → mastermind-receive-review/SKILL.md} +0 -0
  285. /package/packages/@monomind/cli/.claude/skills/{mastermind-skills/runorg.md → mastermind-runorg/SKILL.md} +0 -0
  286. /package/packages/@monomind/cli/.claude/skills/{mastermind-skills → mastermind-taskdev}/code-quality-reviewer-prompt.md +0 -0
  287. /package/packages/@monomind/cli/.claude/skills/{mastermind-skills → mastermind-taskdev}/final-reviewer-prompt.md +0 -0
  288. /package/packages/@monomind/cli/.claude/skills/{mastermind-skills → mastermind-taskdev}/spec-reviewer-prompt.md +0 -0
  289. /package/packages/@monomind/cli/.claude/skills/{mastermind-skills/worktree.md → mastermind-worktree/SKILL.md} +0 -0
@@ -1,10 +1,10 @@
1
1
  <!-- Implement a feature or bugfix using Test-Driven Development — Red-Green-Refactor with the Iron Law enforced. -->
2
2
 
3
- **First — extract repeat flags:** Follow the REPEAT PREAMBLE from `_repeat.md`.
3
+ **First — extract repeat flags:** Follow the REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`.
4
4
 
5
5
  Parse `$ARGUMENTS` for `--auto`, `--confirm`, `--project <name>`, and remaining text = feature_or_bug.
6
6
 
7
- Load brain context for the `tdd` domain (follow `_protocol.md` Brain Load Procedure).
7
+ Load brain context for the `tdd` domain (follow `mastermind-protocol/SKILL.md` Brain Load Procedure).
8
8
 
9
9
  If feature_or_bug is empty: ask "What feature or bug should be implemented with TDD?"
10
10
 
@@ -12,8 +12,8 @@ Default mode: **auto**.
12
12
 
13
13
  ---
14
14
 
15
- Invoke `Skill("mastermind-skills:tdd")` passing: brain_context, feature_or_bug, project_name, mode.
15
+ Invoke `Skill("mastermind-tdd")` passing: brain_context, feature_or_bug, project_name, mode.
16
16
 
17
- After skill returns: follow `_protocol.md` Brain Write Procedure for domain `tdd`.
17
+ After skill returns: follow `mastermind-protocol/SKILL.md` Brain Write Procedure for domain `tdd`.
18
18
 
19
- **MANDATORY — invoke `Skill("mastermind-skills:_repeat")` now.** This is required regardless of how the skill above completed, regardless of whether you think the work is done, regardless of whether you plan to end your response. For `--repeat N`: the count is non-negotiable — all N runs must happen. For `--tillend`: only a verified empty round (confirmed by git diff) stops the loop. Do not end your response without invoking this skill.
19
+ **MANDATORY — invoke `Skill("mastermind-repeat")` now.** This is required regardless of how the skill above completed, regardless of whether you think the work is done, regardless of whether you plan to end your response. For `--repeat N`: the count is non-negotiable — all N runs must happen. For `--tillend`: only a verified empty round (confirmed by git diff) stops the loop. Do not end your response without invoking this skill.
@@ -1,6 +1,6 @@
1
1
  <!-- Tech Port — deep-analyzes a foreign project folder and recommends porting valuable features, patterns, or infrastructure into the current monomind base project. -->
2
2
 
3
- **First — extract repeat flags:** Follow the REPEAT PREAMBLE from `_repeat.md`. Extracts `--repeat`, `--tillend`, `--maxruns`, `--wait`, `--rep`, `--loop` from `$ARGUMENTS` before all other parsing. If `is_continuation = true`, skip the empty-prompt check below.
3
+ **First — extract repeat flags:** Follow the REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`. Extracts `--repeat`, `--tillend`, `--maxruns`, `--wait`, `--rep`, `--loop` from `$ARGUMENTS` before all other parsing. If `is_continuation = true`, skip the empty-prompt check below.
4
4
 
5
5
  Parse `$ARGUMENTS` for:
6
6
  - First path-like token (starts with `/`, `./`, `../`, or `~`) → source_path
@@ -11,7 +11,7 @@ Parse `$ARGUMENTS` for:
11
11
 
12
12
  If source_path is empty: ask "What is the path to the project you want to analyze?"
13
13
 
14
- Load brain context for the `techport` domain (follow `_protocol.md` Brain Load Procedure).
14
+ Load brain context for the `techport` domain (follow `mastermind-protocol/SKILL.md` Brain Load Procedure).
15
15
 
16
16
  Default mode: **confirm** (show analysis + port plan, wait before executing anything).
17
17
 
@@ -20,8 +20,8 @@ Default mode: **confirm** (show analysis + port plan, wait before executing anyt
20
20
  > /mastermind:techport --tillend --auto /path/to/project
21
21
  > ```
22
22
 
23
- Invoke `Skill("mastermind-skills:techport")` passing: source_path, focus_hint, mode.
23
+ Invoke `Skill("mastermind-techport")` passing: source_path, focus_hint, mode.
24
24
 
25
- After skill returns: follow `_protocol.md` Brain Write Procedure for domain `techport`.
25
+ After skill returns: follow `mastermind-protocol/SKILL.md` Brain Write Procedure for domain `techport`.
26
26
 
27
- Invoke `Skill("mastermind-skills:_repeat")` now to execute the REPEAT POSTAMBLE. This is a required tool call — do not skip it.
27
+ Invoke `Skill("mastermind-repeat")` now to execute the REPEAT POSTAMBLE. This is a required tool call — do not skip it.
@@ -1,10 +1,10 @@
1
1
  <!-- Run the verification gate before claiming any work is complete, fixed, or passing — evidence before assertions always. -->
2
2
 
3
- **First — extract repeat flags:** Follow the REPEAT PREAMBLE from `_repeat.md`.
3
+ **First — extract repeat flags:** Follow the REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`.
4
4
 
5
5
  Parse `$ARGUMENTS` for `--auto`, `--confirm`, `--project <name>`, and remaining text = claim_or_task.
6
6
 
7
- Load brain context for the `verify` domain (follow `_protocol.md` Brain Load Procedure).
7
+ Load brain context for the `verify` domain (follow `mastermind-protocol/SKILL.md` Brain Load Procedure).
8
8
 
9
9
  If claim_or_task is empty: ask "What claim or task needs verification?"
10
10
 
@@ -12,8 +12,8 @@ Default mode: **auto**.
12
12
 
13
13
  ---
14
14
 
15
- Invoke `Skill("mastermind-skills:verify")` passing: brain_context, claim_or_task, project_name, mode.
15
+ Invoke `Skill("mastermind-verify")` passing: brain_context, claim_or_task, project_name, mode.
16
16
 
17
- After skill returns: follow `_protocol.md` Brain Write Procedure for domain `verify`.
17
+ After skill returns: follow `mastermind-protocol/SKILL.md` Brain Write Procedure for domain `verify`.
18
18
 
19
- **MANDATORY — invoke `Skill("mastermind-skills:_repeat")` now.** This is required regardless of how the skill above completed, regardless of whether you think the work is done, regardless of whether you plan to end your response. For `--repeat N`: the count is non-negotiable — all N runs must happen. For `--tillend`: only a verified empty round (confirmed by git diff) stops the loop. Do not end your response without invoking this skill.
19
+ **MANDATORY — invoke `Skill("mastermind-repeat")` now.** This is required regardless of how the skill above completed, regardless of whether you think the work is done, regardless of whether you plan to end your response. For `--repeat N`: the count is non-negotiable — all N runs must happen. For `--tillend`: only a verified empty round (confirmed by git diff) stops the loop. Do not end your response without invoking this skill.
@@ -1,17 +1,17 @@
1
1
  <!-- Use when starting feature work that needs isolation from the current workspace or before executing implementation plans — sets up an isolated git worktree -->
2
2
 
3
- **First — extract repeat flags:** Follow REPEAT PREAMBLE from `_repeat.md`.
3
+ **First — extract repeat flags:** Follow REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`.
4
4
 
5
5
  Parse `$ARGUMENTS` for `--auto`, `--confirm`, `--project <name>`, and remaining text.
6
6
 
7
- Load brain context (follow `_protocol.md` Brain Load Procedure).
7
+ Load brain context (follow `mastermind-protocol/SKILL.md` Brain Load Procedure).
8
8
 
9
9
  Default mode: **auto**.
10
10
 
11
11
  ---
12
12
 
13
- Invoke `Skill("mastermind-skills:worktree")` passing: brain_context, params, mode.
13
+ Invoke `Skill("mastermind-worktree")` passing: brain_context, params, mode.
14
14
 
15
- After skill returns: follow `_protocol.md` Brain Write Procedure.
15
+ After skill returns: follow `mastermind-protocol/SKILL.md` Brain Write Procedure.
16
16
 
17
- Invoke `Skill("mastermind-skills:_repeat")` now. Required — do not skip.
17
+ Invoke `Skill("mastermind-repeat")` now. Required — do not skip.
@@ -261,6 +261,36 @@ async function main() {
261
261
  process.stdout.write(`[control] port ${DEFAULT_PORT} is served by another project's control server — reusing it (killed redundant child)\n`);
262
262
  const foreignPid = await probePort(DEFAULT_PORT);
263
263
  writeStatus(typeof foreignPid === 'number' ? foreignPid : 0, DEFAULT_PORT);
264
+ // Pair with the foreign server: resolve its project dir from its pid,
265
+ // copy its dashboard-token beside OUR control.json (ingest is
266
+ // default-deny — without this every event from this project 401s
267
+ // silently), and self-register in its known-projects so future token
268
+ // rotations propagate back here on server restart.
269
+ try {
270
+ if (typeof foreignPid === 'number' && foreignPid > 0) {
271
+ const { execFileSync } = require('child_process');
272
+ const out = execFileSync('lsof', ['-a', '-p', String(foreignPid), '-d', 'cwd', '-Fn'], { encoding: 'utf8', timeout: 3000 });
273
+ const nLine = out.split('\n').find((l) => l.startsWith('n'));
274
+ const serverHome = nLine ? nLine.slice(1) : null;
275
+ if (serverHome) {
276
+ const srcTok = path.join(serverHome, '.monomind', 'dashboard-token');
277
+ const dstTok = path.join(CWD, '.monomind', 'dashboard-token');
278
+ if (fs.existsSync(srcTok)) {
279
+ fs.copyFileSync(srcTok, dstTok);
280
+ fs.chmodSync(dstTok, 0o600);
281
+ }
282
+ const kpFile = path.join(serverHome, 'data', 'known-projects.json');
283
+ try {
284
+ const kp = fs.existsSync(kpFile) ? JSON.parse(fs.readFileSync(kpFile, 'utf8')) : [];
285
+ if (Array.isArray(kp) && !kp.includes(CWD)) {
286
+ kp.push(CWD);
287
+ fs.writeFileSync(kpFile, JSON.stringify(kp));
288
+ }
289
+ } catch { /* registry unreadable — token copy alone still unblocks events */ }
290
+ process.stdout.write('[control] paired dashboard token and registered this project with the shared server\n');
291
+ }
292
+ }
293
+ } catch { /* pairing is best-effort; propagation-on-restart is the fallback */ }
264
294
  return;
265
295
  }
266
296
  // Server never became reachable on any expected port — kill the child
@@ -301,27 +301,59 @@ function _graphGateStateFile() {
301
301
  return path.join(CWD, '.monomind', 'graph-gate-state.json');
302
302
  }
303
303
 
304
+ // State is a per-session MAP ({ sessions: { [id]: {queried, blockedOnce, ts} } }).
305
+ // It used to be a single {sessionId,...} record — with two Claude sessions open
306
+ // on the same project, each session's grep clobbered the other's latch, so the
307
+ // "once per session" cap ping-ponged into blocking every call in both sessions.
308
+ // Legacy single-record files are migrated on read; entries are pruned to the
309
+ // 20 most recent so the file can't grow unbounded.
310
+ function _graphGateReadSessions() {
311
+ var d = {};
312
+ try { d = JSON.parse(fs.readFileSync(_graphGateStateFile(), 'utf-8')); } catch (e) {}
313
+ if (typeof d !== 'object' || d === null) d = {};
314
+ var sessions = (typeof d.sessions === 'object' && d.sessions !== null) ? d.sessions : {};
315
+ if (d.sessionId) { // legacy single-record shape — fold it in
316
+ sessions[d.sessionId] = { queried: !!d.queried, blockedOnce: !!d.blockedOnce, ts: Date.now() };
317
+ }
318
+ return sessions;
319
+ }
320
+
321
+ function _graphGateWriteSessions(sessions) {
322
+ var ids = Object.keys(sessions);
323
+ if (ids.length > 20) {
324
+ ids.sort(function (a, b) { return (sessions[a].ts || 0) - (sessions[b].ts || 0); });
325
+ for (var i = 0; i < ids.length - 20; i++) delete sessions[ids[i]];
326
+ }
327
+ fs.mkdirSync(path.join(CWD, '.monomind'), { recursive: true });
328
+ fs.writeFileSync(_graphGateStateFile(), JSON.stringify({ sessions: sessions }));
329
+ }
330
+
304
331
  function _graphGateMarkQueried(sessionId) {
305
332
  if (!sessionId) return;
306
333
  try {
307
- fs.mkdirSync(path.join(CWD, '.monomind'), { recursive: true });
308
- fs.writeFileSync(_graphGateStateFile(), JSON.stringify({ sessionId: sessionId, queried: true }));
334
+ var sessions = _graphGateReadSessions();
335
+ var s = sessions[sessionId] || { blockedOnce: false };
336
+ s.queried = true;
337
+ s.ts = Date.now();
338
+ sessions[sessionId] = s;
339
+ _graphGateWriteSessions(sessions);
309
340
  } catch (e) { /* non-fatal */ }
310
341
  }
311
342
 
312
343
  function _graphGateShouldBlock(sessionId) {
344
+ // MONOMIND_GRAPH_GATE=off disables the gate entirely — for headless/CI runs
345
+ // (claude -p, org agents, scripted probes) where each run is a fresh session
346
+ // that would otherwise eat one deliberate block on its first grep/find.
347
+ if (String(process.env.MONOMIND_GRAPH_GATE || '').toLowerCase() === 'off') return false;
313
348
  if (!sessionId || !_isGraphFresh()) return false;
314
- var f = _graphGateStateFile();
315
- var d = {};
316
- try { d = JSON.parse(fs.readFileSync(f, 'utf-8')); } catch (e) {}
317
- if (typeof d !== 'object' || d === null || d.sessionId !== sessionId) {
318
- d = { sessionId: sessionId, queried: false, blockedOnce: false };
319
- }
320
- if (d.queried || d.blockedOnce) return false;
321
- d.blockedOnce = true;
349
+ var sessions = _graphGateReadSessions();
350
+ var s = sessions[sessionId] || { queried: false, blockedOnce: false };
351
+ if (s.queried || s.blockedOnce) return false;
352
+ s.blockedOnce = true;
353
+ s.ts = Date.now();
354
+ sessions[sessionId] = s;
322
355
  try {
323
- fs.mkdirSync(path.join(CWD, '.monomind'), { recursive: true });
324
- fs.writeFileSync(f, JSON.stringify(d));
356
+ _graphGateWriteSessions(sessions);
325
357
  } catch (e) { return false; }
326
358
  return true;
327
359
  }
@@ -47,7 +47,7 @@ This skill is invoked by `mastermind:access` or directly via `/mastermind:access
47
47
 
48
48
  ## Step 0 — Brain Load (standalone only)
49
49
 
50
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
50
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
51
51
 
52
52
  ---
53
53
 
@@ -233,4 +233,4 @@ pending_requests: <N>
233
233
 
234
234
  ## Step 4 — Brain Write (standalone only)
235
235
 
236
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
236
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -41,7 +41,7 @@ This skill is invoked by `mastermind:activity` or directly via `/mastermind:acti
41
41
 
42
42
  ## Step 0 — Brain Load (standalone only)
43
43
 
44
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
44
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
45
45
 
46
46
  ---
47
47
 
@@ -188,4 +188,4 @@ events_shown: <N>
188
188
 
189
189
  ## Step 4 — Brain Write (standalone only)
190
190
 
191
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
191
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -58,7 +58,7 @@ This skill is invoked by `mastermind:adapter-manager` or directly via `/mastermi
58
58
 
59
59
  ## Step 0 — Brain Load (standalone only)
60
60
 
61
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
61
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
62
62
 
63
63
  ---
64
64
 
@@ -256,4 +256,4 @@ adapter_type: <type>
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`.
@@ -24,7 +24,7 @@ This skill is invoked by `mastermind:adapters` or directly via `/mastermind:adap
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
 
@@ -201,4 +201,4 @@ adapter_type: <adapter_type if applicable>
201
201
 
202
202
  ## Step 4 — Brain Write (standalone only)
203
203
 
204
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
204
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -24,7 +24,7 @@ This skill is invoked by `mastermind:agent-detail` or directly via `/mastermind:
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
 
@@ -239,4 +239,4 @@ agent_status: <status>
239
239
 
240
240
  ## Step 4 — Brain Write (standalone only)
241
241
 
242
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
242
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -23,7 +23,7 @@ This skill is invoked by `mastermind:agents` or directly via `/mastermind:agents
23
23
 
24
24
  ## Step 0 — Brain Load (standalone only)
25
25
 
26
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
26
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
27
27
 
28
28
  ---
29
29
 
@@ -179,4 +179,4 @@ Print summary and any suggested next actions (e.g. "Run /mastermind:heartbeatv1
179
179
 
180
180
  ## Step 4 — Brain Write (standalone only)
181
181
 
182
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
182
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -48,7 +48,7 @@ This skill is invoked by `mastermind:approval-detail` or directly via `/mastermi
48
48
 
49
49
  ## Step 0 — Brain Load (standalone only)
50
50
 
51
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
51
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
52
52
 
53
53
  ---
54
54
 
@@ -256,4 +256,4 @@ approval_status: <status>
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`.
@@ -27,7 +27,7 @@ This skill is invoked by `mastermind:approvev1` or directly via `/mastermind:app
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
 
@@ -188,4 +188,4 @@ pending_count: <N>
188
188
 
189
189
  ## Step 4 — Brain Write (standalone only)
190
190
 
191
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
191
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -13,7 +13,7 @@ This skill is invoked by `mastermind:master` or directly via `/mastermind:archit
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 architect, review, or redesign
18
18
  - `project_name`: monotask space name
19
19
  - `board_id`: monotask board ID (set by master, or created standalone)
@@ -71,8 +71,8 @@ If this skill is invoked directly (not by master):
71
71
  -H "Content-Type: application/json" \
72
72
  -d '{"type":"session:start","session":"<sessionId>","domain":"architect","ts":'"$(date +%s)"'000}' || true
73
73
  ```
74
- 2. Load brain context following _protocol.md Brain Load Procedure (namespace: `architect`)
75
- 3. Run intake from _intake.md if prompt is vague
74
+ 2. Load brain context following mastermind-protocol/SKILL.md Brain Load Procedure (namespace: `architect`)
75
+ 3. Run intake from mastermind-intake/SKILL.md if prompt is vague
76
76
  4. Detect stack from current directory:
77
77
  ```bash
78
78
  # Detect tech stack
@@ -108,7 +108,7 @@ If this skill is invoked directly (not by master):
108
108
  -H "Content-Type: application/json" \
109
109
  -d '{"type":"session:complete","session":"<sessionId>","domain":"architect","ts":'"$(date +%s)"'000}' || true
110
110
  ```
111
- Then: if `caller` is `standalone` (default), follow _protocol.md Brain Write Procedure (namespace: `architect`). If `caller` is `command` or `master`, skip — the caller handles the brain write.
111
+ Then: if `caller` is `standalone` (default), follow mastermind-protocol/SKILL.md Brain Write Procedure (namespace: `architect`). If `caller` is `command` or `master`, skip — the caller handles the brain write.
112
112
 
113
113
  ---
114
114
 
@@ -663,7 +663,7 @@ mcp__monomind__memory_store(namespace: "architect:<sessionId>", key: "humaninloo
663
663
  ```
664
664
  (Use the same `<YYYYMMDD-HHmmss>` value used when writing the file above.)
665
665
 
666
- Spawn `Skill("mastermind-skills:build")` with:
666
+ Spawn `Skill("mastermind-build")` with:
667
667
  - `prompt`: "Implement the following architecture fixes:\n" followed by the CRITICAL and HIGH `recommendation` fields extracted from `last_findings`, one bullet per line (format: `- [severity] [dimension]: [recommendation]`)
668
668
  - `project_name`: same project_name
669
669
  - `board_id`: same board_id
@@ -685,7 +685,7 @@ mcp__monomind__memory_store(namespace: "architect:<sessionId>", key: "cycle_<i>_
685
685
 
686
686
  **If activity = review:**
687
687
 
688
- Re-invoke `Skill("mastermind-skills:architect")` with:
688
+ Re-invoke `Skill("mastermind-architect")` with:
689
689
  - `prompt`: if `i == 1` (clean initial pass — second independent review): "Second independent review to confirm initial clean result. Perform a fresh pass with no prior context bias." Otherwise: "Re-review after fixes applied in cycle \<i-1>. Focus on dimensions that had CRITICAL or HIGH findings: \<list dimension names from last_findings>"
690
690
  - `project_name`, `board_id`, `brain_context`, `stack`: same as initial pass
691
691
  - `scope`: if initial scope was `all`, use `review+deduplicate` (running both review and deduplicate catches structural regressions introduced by fixes without the full cost of design and migrate phases); otherwise use the same scope as the initial pass
@@ -815,7 +815,7 @@ Suggested next: <what to do next, e.g. "run mastermind:release" or "all architec
815
815
  Human-in-the-loop files: <retrieve humaninloop_files from memory (namespace: "architect:<sessionId>"); list each filename, or "none" if key absent>
816
816
  ```
817
817
 
818
- Then, if `caller` is `standalone`, follow _protocol.md Brain Write Procedure (namespace: `architect`) — the iteration results count as additional decisions scored from this run. If `caller` is `command` or `master`, skip — the caller handles the brain write.
818
+ Then, if `caller` is `standalone`, follow mastermind-protocol/SKILL.md Brain Write Procedure (namespace: `architect`) — the iteration results count as additional decisions scored from this run. If `caller` is `command` or `master`, skip — the caller handles the brain write.
819
819
 
820
820
  ---
821
821
 
@@ -17,12 +17,12 @@ Two modes:
17
17
 
18
18
  ## Inputs
19
19
 
20
- - `brain_context`: BRAIN CONTEXT block (loaded via _protocol.md Brain Load Procedure)
20
+ - `brain_context`: BRAIN CONTEXT block (loaded via mastermind-protocol/SKILL.md Brain Load Procedure)
21
21
  - `count`: number of improvements to build (default: 1; set by leading integer in arguments)
22
22
  - `newfeature_count`: set by `--newfeature N` — number of brand-new features to discover and fully deliver
23
23
  - `focus`: optional topic hint (e.g. "performance", "security", "dx") — narrows research
24
24
  - `mode`: auto | confirm (default: auto)
25
- - `current_rep` / `loop_id`: injected by _repeat.md on continuation runs
25
+ - `current_rep` / `loop_id`: injected by mastermind-repeat/SKILL.md on continuation runs
26
26
 
27
27
  ---
28
28
 
@@ -35,7 +35,7 @@ When invoked via the `/mastermind:autodev` command these arrive pre-parsed; pars
35
35
  3. `--newfeature <N>` → feature mode. Missing or invalid N → default 3. N > 10 → emit `[autodev] Warning: --newfeature capped at 10 (requested: N)` and cap.
36
36
  4. `--focus <topic>` → focus.
37
37
  5. `--auto` / `--confirm` → mode.
38
- 6. `--tillend`, `--repeat`, `--maxruns`, `--wait`, `--rep`, `--loop` → handled by the _repeat.md PREAMBLE before this skill runs. If `--tillend` and `--newfeature` are both present: emit `[autodev] Warning: --tillend is not supported with --newfeature and will be ignored.` and strip `--tillend` (the pipeline delivers a fixed shortlist, not an open-ended loop).
38
+ 6. `--tillend`, `--repeat`, `--maxruns`, `--wait`, `--rep`, `--loop` → handled by the mastermind-repeat/SKILL.md PREAMBLE before this skill runs. If `--tillend` and `--newfeature` are both present: emit `[autodev] Warning: --tillend is not supported with --newfeature and will be ignored.` and strip `--tillend` (the pipeline delivers a fixed shortlist, not an open-ended loop).
39
39
  7. Remaining text → `focus` hint if none was given.
40
40
 
41
41
  Default `count = 1`.
@@ -82,7 +82,7 @@ LOOP:
82
82
  review_iter += 1
83
83
  If review_iter > 5: EXIT LOOP (capped — log a warning, continue to the next phase; don't block)
84
84
 
85
- Invoke Skill("mastermind-skills:review") with:
85
+ Invoke Skill("mastermind-review") with:
86
86
  prompt: "Review the changes just made for: <title>. Verify: correctness, edge cases,
87
87
  tests present and passing, no regressions, security, API consistency."
88
88
  brain_context: brain_context
@@ -92,7 +92,7 @@ LOOP:
92
92
  Else: auto-fix findings; continue loop
93
93
  ```
94
94
 
95
- **Critical:** never pass `--tillend` to review and never invoke it as `/mastermind:review --tillend`. That schedules a ScheduleWakeup continuation and terminates the autodev session. Always invoke inline via `Skill("mastermind-skills:review")`. If the review skill is unavailable or throws: log a warning, treat as capped, continue.
95
+ **Critical:** never pass `--tillend` to review and never invoke it as `/mastermind:review --tillend`. That schedules a ScheduleWakeup continuation and terminates the autodev session. Always invoke inline via `Skill("mastermind-review")`. If the review skill is unavailable or throws: log a warning, treat as capped, continue.
96
96
 
97
97
  ---
98
98
 
@@ -133,7 +133,7 @@ mcp__monomind__memory_store(
133
133
 
134
134
  ### Phase 3 — Build
135
135
 
136
- Invoke `Skill("mastermind-skills:build")` with:
136
+ Invoke `Skill("mastermind-build")` with:
137
137
  - `prompt`: detailed implementation brief (MUST include: concrete spec, which files to touch, 2–4 testable acceptance criteria, what NOT to change)
138
138
  - `brain_context`, `mode: auto`, `project_name: $(basename "$PWD")`
139
139
  - `board_id`: only if non-empty; omit if monotask was unavailable
@@ -214,7 +214,7 @@ mcp__monomind__memory_store(
214
214
  )
215
215
  ```
216
216
 
217
- Invoke `Skill("mastermind-skills:build")` with a brief that includes:
217
+ Invoke `Skill("mastermind-build")` with a brief that includes:
218
218
  - Feature title and user_value
219
219
  - Concrete spec: inputs, outputs, API surface, CLI flags, UI, etc.
220
220
  - Entry point file(s) to create or modify — list every path explicitly
@@ -230,7 +230,7 @@ Run R2 with the prompt scoped to the new feature `<title>`.
230
230
 
231
231
  #### Phase C — Documentation
232
232
 
233
- Invoke `Skill("mastermind-skills:content")` with:
233
+ Invoke `Skill("mastermind-content")` with:
234
234
  ```
235
235
  prompt: "Document the new feature '<title>' that was just built.
236
236
  Generate:
@@ -328,7 +328,7 @@ Staged: <staged_count>/<newfeature_count> features. Run `git commit` to finalize
328
328
  ## Standalone Execution
329
329
 
330
330
  1. Extract flags (see Flag Parsing)
331
- 2. Load brain context via _protocol.md Brain Load Procedure (namespace: `autodev`)
331
+ 2. Load brain context via mastermind-protocol/SKILL.md Brain Load Procedure (namespace: `autodev`)
332
332
  3. Create monotask board (optional — skip gracefully if monotask is not installed):
333
333
  ```bash
334
334
  project_name="${project_name:-$(basename "$PWD")}"
@@ -336,7 +336,7 @@ Staged: <staged_count>/<newfeature_count> features. Run `git commit` to finalize
336
336
  [ -z "$board_id" ] && echo "[autodev] monotask board unavailable — board tracking skipped."
337
337
  ```
338
338
  4. `--newfeature` parsed → run the Feature Pipeline; otherwise run the Improvement Loop
339
- 5. At end: follow _protocol.md Brain Write Procedure (namespace: `autodev`)
339
+ 5. At end: follow mastermind-protocol/SKILL.md Brain Write Procedure (namespace: `autodev`)
340
340
 
341
341
  ---
342
342
 
@@ -25,7 +25,7 @@ This skill is invoked by `mastermind:backup` or directly via `/mastermind:backup
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
 
@@ -194,4 +194,4 @@ backup_file: <path if created>
194
194
 
195
195
  ## Step 4 — Brain Write (standalone only)
196
196
 
197
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
197
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -23,7 +23,7 @@ This skill is invoked by `mastermind:bootstrap` or directly via `/mastermind:boo
23
23
 
24
24
  ## Step 0 — Brain Load (standalone only)
25
25
 
26
- If `caller` is not "command", load brain context following _protocol.md Brain Load Procedure with namespace: `ops`.
26
+ If `caller` is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: `ops`.
27
27
 
28
28
  ---
29
29
 
@@ -187,4 +187,4 @@ state: initialized | token | reset
187
187
 
188
188
  ## Step 4 — Brain Write (standalone only)
189
189
 
190
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
190
+ 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:budgets` or directly via `/mastermind:budge
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
 
@@ -234,4 +234,4 @@ org_name: <org_name>
234
234
 
235
235
  ## Step 4 — Brain Write (standalone only)
236
236
 
237
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
237
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -13,7 +13,7 @@ This skill is invoked by `mastermind:master` or directly via `/mastermind:build`
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 goal for this build run
18
18
  - `project_name`: monotask space name
19
19
  - `board_id`: monotask board ID (set by master, or created standalone)
@@ -44,9 +44,9 @@ Assess the prompt to determine execution mode:
44
44
 
45
45
  If this skill is invoked directly (not by master):
46
46
 
47
- 1. Load brain context following _protocol.md Brain Load Procedure (namespace: `build`)
48
- 2. Run intake from _intake.md if prompt is vague
49
- 3. Follow _protocol.md Monotask Space+Board Setup Procedure:
47
+ 1. Load brain context following mastermind-protocol/SKILL.md Brain Load Procedure (namespace: `build`)
48
+ 2. Run intake from mastermind-intake/SKILL.md if prompt is vague
49
+ 3. Follow mastermind-protocol/SKILL.md Monotask Space+Board Setup Procedure:
50
50
  ```bash
51
51
  project_name="${project_name:-$(basename "$PWD")}"
52
52
  space_id=$(monotask space list 2>/dev/null | awk -F' \| ' -v n="$project_name" '$2==n{print $1}' | head -1)
@@ -60,7 +60,7 @@ If this skill is invoked directly (not by master):
60
60
  done_col=$(monotask column create "$board_id" "Done" --json | jq -r '.id')
61
61
  ```
62
62
  4. Proceed with complexity assessment below
63
- 5. At end: follow _protocol.md Brain Write Procedure (namespace: `build`)
63
+ 5. At end: follow mastermind-protocol/SKILL.md Brain Write Procedure (namespace: `build`)
64
64
 
65
65
  ---
66
66
 
@@ -24,7 +24,7 @@ This skill is invoked by `mastermind:companies` or directly via `/mastermind:com
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
 
@@ -253,4 +253,4 @@ active_org: <active_org>
253
253
 
254
254
  ## Step 4 — Brain Write (standalone only)
255
255
 
256
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
256
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
@@ -13,7 +13,7 @@ This skill is invoked by `mastermind:master` or directly via `/mastermind:conten
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 content goal for this run
18
18
  - `project_name`: monotask space name
19
19
  - `board_id`: monotask board ID (set by master, or created standalone)
@@ -65,9 +65,9 @@ Assess the prompt to determine execution mode:
65
65
 
66
66
  If this skill is invoked directly (not by master):
67
67
 
68
- 1. Load brain context following _protocol.md Brain Load Procedure (namespace: `content`)
69
- 2. Run intake from _intake.md if prompt is vague
70
- 3. Follow _protocol.md Monotask Space+Board Setup Procedure:
68
+ 1. Load brain context following mastermind-protocol/SKILL.md Brain Load Procedure (namespace: `content`)
69
+ 2. Run intake from mastermind-intake/SKILL.md if prompt is vague
70
+ 3. Follow mastermind-protocol/SKILL.md Monotask Space+Board Setup Procedure:
71
71
  ```bash
72
72
  project_name="${project_name:-$(basename "$PWD")}"
73
73
  space_id=$(monotask space list 2>/dev/null | awk -F' \| ' -v n="$project_name" '$2==n{print $1}' | head -1)
@@ -81,7 +81,7 @@ If this skill is invoked directly (not by master):
81
81
  done_col=$(monotask column create "$board_id" "Done" --json | jq -r '.id')
82
82
  ```
83
83
  4. Proceed with complexity assessment below
84
- 5. At end: follow _protocol.md Brain Write Procedure (namespace: `content`)
84
+ 5. At end: follow mastermind-protocol/SKILL.md Brain Write Procedure (namespace: `content`)
85
85
 
86
86
  ---
87
87
 
@@ -24,7 +24,7 @@ This skill is invoked by `mastermind:costs` or directly via `/mastermind:costs`.
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
 
@@ -148,4 +148,4 @@ usage_pct: <N>%
148
148
 
149
149
  ## Step 4 — Brain Write (standalone only)
150
150
 
151
- If `caller` is not "command", follow _protocol.md Brain Write Procedure for domain `ops`.
151
+ If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.