mindforge-cc 11.2.1 → 11.3.1

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 (761) hide show
  1. package/.agent/forge/help.md +11 -0
  2. package/.agent/forge/init-project.md +36 -0
  3. package/.agent/forge/plan-phase.md +34 -0
  4. package/.agent/mindforge/add-backlog.md +32 -0
  5. package/.agent/mindforge/agent-deploy.md +34 -0
  6. package/.agent/mindforge/agent-design.md +31 -0
  7. package/.agent/mindforge/agent-eval.md +27 -0
  8. package/.agent/mindforge/agent-memory.md +27 -0
  9. package/.agent/mindforge/agent.md +31 -0
  10. package/.agent/mindforge/ai-cost.md +31 -0
  11. package/.agent/mindforge/ai-safety.md +37 -0
  12. package/.agent/mindforge/analytics.md +28 -0
  13. package/.agent/mindforge/approve.md +22 -0
  14. package/.agent/mindforge/audit.md +34 -0
  15. package/.agent/mindforge/auth-flow.md +76 -0
  16. package/.agent/mindforge/auto.md +26 -0
  17. package/.agent/mindforge/benchmark.md +37 -0
  18. package/.agent/mindforge/brd.md +90 -0
  19. package/.agent/mindforge/browse.md +30 -0
  20. package/.agent/mindforge/build-opt.md +31 -0
  21. package/.agent/mindforge/build-vs-buy.md +29 -0
  22. package/.agent/mindforge/cache.md +30 -0
  23. package/.agent/mindforge/causal.md +31 -0
  24. package/.agent/mindforge/cdn.md +34 -0
  25. package/.agent/mindforge/change.md +37 -0
  26. package/.agent/mindforge/cli.md +30 -0
  27. package/.agent/mindforge/cluster-instincts.md +35 -0
  28. package/.agent/mindforge/code-tour.md +85 -0
  29. package/.agent/mindforge/communicate.md +37 -0
  30. package/.agent/mindforge/complete-milestone.md +22 -0
  31. package/.agent/mindforge/compliance.md +31 -0
  32. package/.agent/mindforge/consult.md +37 -0
  33. package/.agent/mindforge/context-budget.md +70 -0
  34. package/.agent/mindforge/contract-test.md +30 -0
  35. package/.agent/mindforge/cost-report.md +44 -0
  36. package/.agent/mindforge/costs.md +15 -0
  37. package/.agent/mindforge/council.md +35 -0
  38. package/.agent/mindforge/create-skill.md +34 -0
  39. package/.agent/mindforge/cross-review.md +21 -0
  40. package/.agent/mindforge/dashboard.md +102 -0
  41. package/.agent/mindforge/data-mesh.md +31 -0
  42. package/.agent/mindforge/data-model.md +75 -0
  43. package/.agent/mindforge/data-pipeline.md +34 -0
  44. package/.agent/mindforge/de-slop.md +33 -0
  45. package/.agent/mindforge/debug.md +133 -0
  46. package/.agent/mindforge/degrade.md +31 -0
  47. package/.agent/mindforge/delegate.md +37 -0
  48. package/.agent/mindforge/deploy.md +32 -0
  49. package/.agent/mindforge/design-tokens.md +80 -0
  50. package/.agent/mindforge/discuss-phase.md +142 -0
  51. package/.agent/mindforge/dmux.md +32 -0
  52. package/.agent/mindforge/do.md +31 -0
  53. package/.agent/mindforge/ecommerce.md +31 -0
  54. package/.agent/mindforge/edge.md +34 -0
  55. package/.agent/mindforge/edtech.md +31 -0
  56. package/.agent/mindforge/embeddings.md +37 -0
  57. package/.agent/mindforge/environments.md +31 -0
  58. package/.agent/mindforge/eval.md +33 -0
  59. package/.agent/mindforge/events.md +30 -0
  60. package/.agent/mindforge/evolve-skills.md +49 -0
  61. package/.agent/mindforge/execute-phase.md +200 -0
  62. package/.agent/mindforge/experiment.md +28 -0
  63. package/.agent/mindforge/feature-flags.md +30 -0
  64. package/.agent/mindforge/feature-store.md +31 -0
  65. package/.agent/mindforge/finops.md +31 -0
  66. package/.agent/mindforge/fintech.md +31 -0
  67. package/.agent/mindforge/flutter.md +37 -0
  68. package/.agent/mindforge/gaming.md +31 -0
  69. package/.agent/mindforge/graphql.md +31 -0
  70. package/.agent/mindforge/health.md +31 -0
  71. package/.agent/mindforge/healthcare.md +31 -0
  72. package/.agent/mindforge/help.md +33 -0
  73. package/.agent/mindforge/hire.md +37 -0
  74. package/.agent/mindforge/hitl.md +27 -0
  75. package/.agent/mindforge/i18n.md +31 -0
  76. package/.agent/mindforge/idempotent.md +31 -0
  77. package/.agent/mindforge/init-org.md +135 -0
  78. package/.agent/mindforge/init-project.md +170 -0
  79. package/.agent/mindforge/install-skill.md +28 -0
  80. package/.agent/mindforge/introspect.md +46 -0
  81. package/.agent/mindforge/iot.md +31 -0
  82. package/.agent/mindforge/knowledge-graph.md +37 -0
  83. package/.agent/mindforge/lakehouse.md +31 -0
  84. package/.agent/mindforge/lead.md +31 -0
  85. package/.agent/mindforge/learn-instinct.md +58 -0
  86. package/.agent/mindforge/learn.md +147 -0
  87. package/.agent/mindforge/learning.md +20 -0
  88. package/.agent/mindforge/llm-route.md +37 -0
  89. package/.agent/mindforge/load-test.md +30 -0
  90. package/.agent/mindforge/logistics.md +31 -0
  91. package/.agent/mindforge/map-codebase.md +302 -0
  92. package/.agent/mindforge/market-research.md +94 -0
  93. package/.agent/mindforge/marketplace.md +124 -0
  94. package/.agent/mindforge/mcp-server.md +88 -0
  95. package/.agent/mindforge/meeting-design.md +37 -0
  96. package/.agent/mindforge/metrics.md +26 -0
  97. package/.agent/mindforge/microservices.md +64 -0
  98. package/.agent/mindforge/migrate.md +44 -0
  99. package/.agent/mindforge/migration-mgmt.md +31 -0
  100. package/.agent/mindforge/milestone.md +16 -0
  101. package/.agent/mindforge/mobile.md +37 -0
  102. package/.agent/mindforge/monorepo.md +30 -0
  103. package/.agent/mindforge/multi-tenant.md +31 -0
  104. package/.agent/mindforge/multimodal.md +37 -0
  105. package/.agent/mindforge/new-runtime.md +23 -0
  106. package/.agent/mindforge/next.md +109 -0
  107. package/.agent/mindforge/note.md +35 -0
  108. package/.agent/mindforge/observability-platform.md +31 -0
  109. package/.agent/mindforge/observability.md +75 -0
  110. package/.agent/mindforge/offline.md +37 -0
  111. package/.agent/mindforge/onboard.md +37 -0
  112. package/.agent/mindforge/orchestrate.md +74 -0
  113. package/.agent/mindforge/payments.md +28 -0
  114. package/.agent/mindforge/pipeline.md +84 -0
  115. package/.agent/mindforge/plan-phase.md +131 -0
  116. package/.agent/mindforge/plan-write.md +95 -0
  117. package/.agent/mindforge/plant-seed.md +31 -0
  118. package/.agent/mindforge/platform.md +31 -0
  119. package/.agent/mindforge/plugins.md +44 -0
  120. package/.agent/mindforge/pr-review.md +45 -0
  121. package/.agent/mindforge/privacy-eng.md +31 -0
  122. package/.agent/mindforge/product-spec.md +90 -0
  123. package/.agent/mindforge/profile-team.md +27 -0
  124. package/.agent/mindforge/prompt.md +78 -0
  125. package/.agent/mindforge/proofread.md +87 -0
  126. package/.agent/mindforge/publish-skill.md +23 -0
  127. package/.agent/mindforge/push-notify.md +37 -0
  128. package/.agent/mindforge/pwa.md +37 -0
  129. package/.agent/mindforge/qa.md +20 -0
  130. package/.agent/mindforge/quality-audit.md +34 -0
  131. package/.agent/mindforge/queue.md +31 -0
  132. package/.agent/mindforge/quick.md +139 -0
  133. package/.agent/mindforge/rag.md +30 -0
  134. package/.agent/mindforge/rate-limit.md +31 -0
  135. package/.agent/mindforge/react-native.md +37 -0
  136. package/.agent/mindforge/realtime-analytics.md +31 -0
  137. package/.agent/mindforge/record-learning.md +22 -0
  138. package/.agent/mindforge/release.md +14 -0
  139. package/.agent/mindforge/remember.md +30 -0
  140. package/.agent/mindforge/research.md +16 -0
  141. package/.agent/mindforge/retro.md +28 -0
  142. package/.agent/mindforge/retrospective.md +31 -0
  143. package/.agent/mindforge/review-backlog.md +34 -0
  144. package/.agent/mindforge/review-guide.md +63 -0
  145. package/.agent/mindforge/review.md +161 -0
  146. package/.agent/mindforge/rfc.md +34 -0
  147. package/.agent/mindforge/santa.md +33 -0
  148. package/.agent/mindforge/secrets-mgmt.md +31 -0
  149. package/.agent/mindforge/secrets.md +31 -0
  150. package/.agent/mindforge/security-scan.md +242 -0
  151. package/.agent/mindforge/serverless.md +34 -0
  152. package/.agent/mindforge/session-report.md +39 -0
  153. package/.agent/mindforge/ship.md +111 -0
  154. package/.agent/mindforge/skills.md +145 -0
  155. package/.agent/mindforge/status.md +113 -0
  156. package/.agent/mindforge/steer.md +17 -0
  157. package/.agent/mindforge/stream.md +31 -0
  158. package/.agent/mindforge/sync-confluence.md +15 -0
  159. package/.agent/mindforge/sync-jira.md +16 -0
  160. package/.agent/mindforge/system-design.md +87 -0
  161. package/.agent/mindforge/team-topology.md +27 -0
  162. package/.agent/mindforge/tech-debt.md +31 -0
  163. package/.agent/mindforge/tech-radar.md +28 -0
  164. package/.agent/mindforge/threat-model.md +48 -0
  165. package/.agent/mindforge/tokens.md +12 -0
  166. package/.agent/mindforge/ui-phase.md +34 -0
  167. package/.agent/mindforge/ui-review.md +36 -0
  168. package/.agent/mindforge/update.md +46 -0
  169. package/.agent/mindforge/validate-phase.md +31 -0
  170. package/.agent/mindforge/verify-loop.md +45 -0
  171. package/.agent/mindforge/verify-phase.md +66 -0
  172. package/.agent/mindforge/vibe-check.md +37 -0
  173. package/.agent/mindforge/workspace.md +33 -0
  174. package/.agent/mindforge/workstreams.md +35 -0
  175. package/.agent/mindforge/worktrees.md +86 -0
  176. package/.agent/mindforge/write-rfc.md +64 -0
  177. package/.agent/mindforge/zero-trust.md +34 -0
  178. package/.agent/skills/mindforge-add-backlog/SKILL.md +72 -0
  179. package/.agent/skills/mindforge-add-phase/SKILL.md +39 -0
  180. package/.agent/skills/mindforge-add-tests/SKILL.md +28 -0
  181. package/.agent/skills/mindforge-add-todo/SKILL.md +42 -0
  182. package/.agent/skills/mindforge-audit-milestone/SKILL.md +29 -0
  183. package/.agent/skills/mindforge-audit-uat/SKILL.md +20 -0
  184. package/.agent/skills/mindforge-autonomous/SKILL.md +33 -0
  185. package/.agent/skills/mindforge-brainstorming/SKILL.md +164 -0
  186. package/.agent/skills/mindforge-brainstorming/scripts/frame-template.html +214 -0
  187. package/.agent/skills/mindforge-brainstorming/scripts/helper.js +90 -0
  188. package/.agent/skills/mindforge-brainstorming/scripts/server.cjs +354 -0
  189. package/.agent/skills/mindforge-brainstorming/scripts/start-server.sh +148 -0
  190. package/.agent/skills/mindforge-brainstorming/scripts/stop-server.sh +56 -0
  191. package/.agent/skills/mindforge-brainstorming/spec-document-reviewer-prompt.md +49 -0
  192. package/.agent/skills/mindforge-brainstorming/visual-companion.md +287 -0
  193. package/.agent/skills/mindforge-check-todos/SKILL.md +40 -0
  194. package/.agent/skills/mindforge-cleanup/SKILL.md +19 -0
  195. package/.agent/skills/mindforge-complete-milestone/SKILL.md +131 -0
  196. package/.agent/skills/mindforge-debug/SKILL.md +163 -0
  197. package/.agent/skills/mindforge-debug_extended/CREATION-LOG.md +119 -0
  198. package/.agent/skills/mindforge-debug_extended/SKILL.md +296 -0
  199. package/.agent/skills/mindforge-debug_extended/condition-based-waiting-example.ts +158 -0
  200. package/.agent/skills/mindforge-debug_extended/condition-based-waiting.md +115 -0
  201. package/.agent/skills/mindforge-debug_extended/defense-in-depth.md +122 -0
  202. package/.agent/skills/mindforge-debug_extended/find-polluter.sh +63 -0
  203. package/.agent/skills/mindforge-debug_extended/root-cause-tracing.md +169 -0
  204. package/.agent/skills/mindforge-debug_extended/test-academic.md +14 -0
  205. package/.agent/skills/mindforge-debug_extended/test-pressure-1.md +58 -0
  206. package/.agent/skills/mindforge-debug_extended/test-pressure-2.md +68 -0
  207. package/.agent/skills/mindforge-debug_extended/test-pressure-3.md +69 -0
  208. package/.agent/skills/mindforge-discuss-phase/SKILL.md +54 -0
  209. package/.agent/skills/mindforge-do/SKILL.md +26 -0
  210. package/.agent/skills/mindforge-execute-phase/SKILL.md +49 -0
  211. package/.agent/skills/mindforge-execute-phase_extended/SKILL.md +70 -0
  212. package/.agent/skills/mindforge-fast/SKILL.md +23 -0
  213. package/.agent/skills/mindforge-forensics/SKILL.md +49 -0
  214. package/.agent/skills/mindforge-health/SKILL.md +17 -0
  215. package/.agent/skills/mindforge-help/SKILL.md +23 -0
  216. package/.agent/skills/mindforge-insert-phase/SKILL.md +28 -0
  217. package/.agent/skills/mindforge-join-discord/SKILL.md +19 -0
  218. package/.agent/skills/mindforge-list-phase-assumptions/SKILL.md +41 -0
  219. package/.agent/skills/mindforge-list-workspaces/SKILL.md +17 -0
  220. package/.agent/skills/mindforge-manager/SKILL.md +32 -0
  221. package/.agent/skills/mindforge-map-codebase/SKILL.md +64 -0
  222. package/.agent/skills/mindforge-milestone-summary/SKILL.md +44 -0
  223. package/.agent/skills/mindforge-neural-orchestrator/SKILL.md +115 -0
  224. package/.agent/skills/mindforge-neural-orchestrator/references/codex-tools.md +100 -0
  225. package/.agent/skills/mindforge-neural-orchestrator/references/gemini-tools.md +33 -0
  226. package/.agent/skills/mindforge-new-milestone/SKILL.md +38 -0
  227. package/.agent/skills/mindforge-new-project/SKILL.md +36 -0
  228. package/.agent/skills/mindforge-new-workspace/SKILL.md +39 -0
  229. package/.agent/skills/mindforge-next/SKILL.md +19 -0
  230. package/.agent/skills/mindforge-note/SKILL.md +29 -0
  231. package/.agent/skills/mindforge-parallel-mesh_extended/SKILL.md +182 -0
  232. package/.agent/skills/mindforge-pause-work/SKILL.md +35 -0
  233. package/.agent/skills/mindforge-plan-milestone-gaps/SKILL.md +28 -0
  234. package/.agent/skills/mindforge-plan-phase/SKILL.md +38 -0
  235. package/.agent/skills/mindforge-plan-phase_extended/SKILL.md +152 -0
  236. package/.agent/skills/mindforge-plan-phase_extended/plan-document-reviewer-prompt.md +49 -0
  237. package/.agent/skills/mindforge-plant-seed/SKILL.md +22 -0
  238. package/.agent/skills/mindforge-pr-branch/SKILL.md +21 -0
  239. package/.agent/skills/mindforge-profile-user/SKILL.md +38 -0
  240. package/.agent/skills/mindforge-progress/SKILL.md +19 -0
  241. package/.agent/skills/mindforge-quick/SKILL.md +38 -0
  242. package/.agent/skills/mindforge-reapply-patches/SKILL.md +124 -0
  243. package/.agent/skills/mindforge-remove-phase/SKILL.md +26 -0
  244. package/.agent/skills/mindforge-remove-workspace/SKILL.md +22 -0
  245. package/.agent/skills/mindforge-research-phase/SKILL.md +186 -0
  246. package/.agent/skills/mindforge-resume-work/SKILL.md +35 -0
  247. package/.agent/skills/mindforge-review/SKILL.md +31 -0
  248. package/.agent/skills/mindforge-review-backlog/SKILL.md +58 -0
  249. package/.agent/skills/mindforge-review-inbound/SKILL.md +213 -0
  250. package/.agent/skills/mindforge-review-request/SKILL.md +105 -0
  251. package/.agent/skills/mindforge-review-request/code-reviewer.md +146 -0
  252. package/.agent/skills/mindforge-session-report/SKILL.md +16 -0
  253. package/.agent/skills/mindforge-set-profile/SKILL.md +9 -0
  254. package/.agent/skills/mindforge-settings/SKILL.md +32 -0
  255. package/.agent/skills/mindforge-ship/SKILL.md +16 -0
  256. package/.agent/skills/mindforge-ship_extended/SKILL.md +200 -0
  257. package/.agent/skills/mindforge-skill-creation/SKILL.md +655 -0
  258. package/.agent/skills/mindforge-skill-creation/anthropic-best-practices.md +1150 -0
  259. package/.agent/skills/mindforge-skill-creation/examples/CLAUDE_MD_TESTING.md +189 -0
  260. package/.agent/skills/mindforge-skill-creation/graphviz-conventions.dot +172 -0
  261. package/.agent/skills/mindforge-skill-creation/persuasion-principles.md +187 -0
  262. package/.agent/skills/mindforge-skill-creation/render-graphs.js +168 -0
  263. package/.agent/skills/mindforge-skill-creation/testing-skills-with-subagents.md +384 -0
  264. package/.agent/skills/mindforge-stats/SKILL.md +16 -0
  265. package/.agent/skills/mindforge-swarm-execution/SKILL.md +277 -0
  266. package/.agent/skills/mindforge-swarm-execution/code-quality-reviewer-prompt.md +26 -0
  267. package/.agent/skills/mindforge-swarm-execution/implementer-prompt.md +113 -0
  268. package/.agent/skills/mindforge-swarm-execution/spec-reviewer-prompt.md +61 -0
  269. package/.agent/skills/mindforge-system-architecture/SKILL.md +136 -0
  270. package/.agent/skills/mindforge-system-architecture/examples.md +120 -0
  271. package/.agent/skills/mindforge-system-architecture/scaling-checklist.md +76 -0
  272. package/.agent/skills/mindforge-tdd/SKILL.md +112 -0
  273. package/.agent/skills/mindforge-tdd/deep-modules.md +21 -0
  274. package/.agent/skills/mindforge-tdd/interface-design.md +22 -0
  275. package/.agent/skills/mindforge-tdd/mocking.md +24 -0
  276. package/.agent/skills/mindforge-tdd/refactoring.md +21 -0
  277. package/.agent/skills/mindforge-tdd/tests.md +28 -0
  278. package/.agent/skills/mindforge-tdd_extended/SKILL.md +371 -0
  279. package/.agent/skills/mindforge-tdd_extended/testing-anti-patterns.md +299 -0
  280. package/.agent/skills/mindforge-thread/SKILL.md +123 -0
  281. package/.agent/skills/mindforge-ui-phase/SKILL.md +24 -0
  282. package/.agent/skills/mindforge-ui-review/SKILL.md +24 -0
  283. package/.agent/skills/mindforge-update/SKILL.md +35 -0
  284. package/.agent/skills/mindforge-validate-phase/SKILL.md +26 -0
  285. package/.agent/skills/mindforge-verify-work/SKILL.md +30 -0
  286. package/.agent/skills/mindforge-verify-work_extended/SKILL.md +139 -0
  287. package/.agent/skills/mindforge-workspace-isolated/SKILL.md +218 -0
  288. package/.agent/skills/mindforge-workstreams/SKILL.md +65 -0
  289. package/.claude/CLAUDE.md +102 -0
  290. package/.claude/commands/forge/help.md +7 -0
  291. package/.claude/commands/forge/init-project.md +32 -0
  292. package/.claude/commands/forge/plan-phase.md +30 -0
  293. package/.claude/commands/mindforge/add-backlog.md +32 -0
  294. package/.claude/commands/mindforge/agent-deploy.md +34 -0
  295. package/.claude/commands/mindforge/agent-design.md +31 -0
  296. package/.claude/commands/mindforge/agent-eval.md +27 -0
  297. package/.claude/commands/mindforge/agent-memory.md +27 -0
  298. package/.claude/commands/mindforge/agent.md +31 -0
  299. package/.claude/commands/mindforge/ai-cost.md +31 -0
  300. package/.claude/commands/mindforge/ai-safety.md +37 -0
  301. package/.claude/commands/mindforge/analytics.md +28 -0
  302. package/.claude/commands/mindforge/approve.md +22 -0
  303. package/.claude/commands/mindforge/audit.md +34 -0
  304. package/.claude/commands/mindforge/auth-flow.md +76 -0
  305. package/.claude/commands/mindforge/auto.md +26 -0
  306. package/.claude/commands/mindforge/benchmark.md +37 -0
  307. package/.claude/commands/mindforge/brd.md +90 -0
  308. package/.claude/commands/mindforge/browse.md +30 -0
  309. package/.claude/commands/mindforge/build-opt.md +31 -0
  310. package/.claude/commands/mindforge/build-vs-buy.md +29 -0
  311. package/.claude/commands/mindforge/cache.md +30 -0
  312. package/.claude/commands/mindforge/causal.md +31 -0
  313. package/.claude/commands/mindforge/cdn.md +34 -0
  314. package/.claude/commands/mindforge/change.md +37 -0
  315. package/.claude/commands/mindforge/cli.md +30 -0
  316. package/.claude/commands/mindforge/cluster-instincts.md +35 -0
  317. package/.claude/commands/mindforge/code-tour.md +85 -0
  318. package/.claude/commands/mindforge/communicate.md +37 -0
  319. package/.claude/commands/mindforge/complete-milestone.md +22 -0
  320. package/.claude/commands/mindforge/compliance.md +31 -0
  321. package/.claude/commands/mindforge/consult.md +37 -0
  322. package/.claude/commands/mindforge/context-budget.md +70 -0
  323. package/.claude/commands/mindforge/contract-test.md +30 -0
  324. package/.claude/commands/mindforge/cost-report.md +44 -0
  325. package/.claude/commands/mindforge/costs.md +15 -0
  326. package/.claude/commands/mindforge/council.md +83 -0
  327. package/.claude/commands/mindforge/create-skill.md +34 -0
  328. package/.claude/commands/mindforge/cross-review.md +21 -0
  329. package/.claude/commands/mindforge/dashboard.md +102 -0
  330. package/.claude/commands/mindforge/data-mesh.md +31 -0
  331. package/.claude/commands/mindforge/data-model.md +75 -0
  332. package/.claude/commands/mindforge/data-pipeline.md +34 -0
  333. package/.claude/commands/mindforge/de-slop.md +33 -0
  334. package/.claude/commands/mindforge/debug.md +133 -0
  335. package/.claude/commands/mindforge/degrade.md +31 -0
  336. package/.claude/commands/mindforge/delegate.md +37 -0
  337. package/.claude/commands/mindforge/deploy.md +32 -0
  338. package/.claude/commands/mindforge/design-tokens.md +80 -0
  339. package/.claude/commands/mindforge/discuss-phase.md +142 -0
  340. package/.claude/commands/mindforge/dmux.md +32 -0
  341. package/.claude/commands/mindforge/do.md +31 -0
  342. package/.claude/commands/mindforge/ecommerce.md +31 -0
  343. package/.claude/commands/mindforge/edge.md +34 -0
  344. package/.claude/commands/mindforge/edtech.md +31 -0
  345. package/.claude/commands/mindforge/embeddings.md +37 -0
  346. package/.claude/commands/mindforge/environments.md +31 -0
  347. package/.claude/commands/mindforge/eval.md +33 -0
  348. package/.claude/commands/mindforge/events.md +30 -0
  349. package/.claude/commands/mindforge/evolve-skills.md +49 -0
  350. package/.claude/commands/mindforge/execute-phase.md +200 -0
  351. package/.claude/commands/mindforge/experiment.md +28 -0
  352. package/.claude/commands/mindforge/feature-flags.md +30 -0
  353. package/.claude/commands/mindforge/feature-store.md +31 -0
  354. package/.claude/commands/mindforge/finops.md +31 -0
  355. package/.claude/commands/mindforge/fintech.md +31 -0
  356. package/.claude/commands/mindforge/flutter.md +37 -0
  357. package/.claude/commands/mindforge/gaming.md +31 -0
  358. package/.claude/commands/mindforge/graphql.md +31 -0
  359. package/.claude/commands/mindforge/health.md +31 -0
  360. package/.claude/commands/mindforge/healthcare.md +31 -0
  361. package/.claude/commands/mindforge/help.md +33 -0
  362. package/.claude/commands/mindforge/hire.md +37 -0
  363. package/.claude/commands/mindforge/hitl.md +27 -0
  364. package/.claude/commands/mindforge/i18n.md +31 -0
  365. package/.claude/commands/mindforge/idempotent.md +31 -0
  366. package/.claude/commands/mindforge/init-org.md +135 -0
  367. package/.claude/commands/mindforge/init-project.md +170 -0
  368. package/.claude/commands/mindforge/install-skill.md +28 -0
  369. package/.claude/commands/mindforge/introspect.md +46 -0
  370. package/.claude/commands/mindforge/iot.md +31 -0
  371. package/.claude/commands/mindforge/knowledge-graph.md +37 -0
  372. package/.claude/commands/mindforge/lakehouse.md +31 -0
  373. package/.claude/commands/mindforge/lead.md +31 -0
  374. package/.claude/commands/mindforge/learn-instinct.md +58 -0
  375. package/.claude/commands/mindforge/learn.md +147 -0
  376. package/.claude/commands/mindforge/learning.md +20 -0
  377. package/.claude/commands/mindforge/llm-route.md +37 -0
  378. package/.claude/commands/mindforge/load-test.md +30 -0
  379. package/.claude/commands/mindforge/logistics.md +31 -0
  380. package/.claude/commands/mindforge/map-codebase.md +302 -0
  381. package/.claude/commands/mindforge/market-research.md +94 -0
  382. package/.claude/commands/mindforge/marketplace.md +124 -0
  383. package/.claude/commands/mindforge/mcp-server.md +88 -0
  384. package/.claude/commands/mindforge/meeting-design.md +37 -0
  385. package/.claude/commands/mindforge/metrics.md +26 -0
  386. package/.claude/commands/mindforge/microservices.md +64 -0
  387. package/.claude/commands/mindforge/migrate.md +44 -0
  388. package/.claude/commands/mindforge/migration-mgmt.md +31 -0
  389. package/.claude/commands/mindforge/milestone.md +16 -0
  390. package/.claude/commands/mindforge/mobile.md +37 -0
  391. package/.claude/commands/mindforge/monorepo.md +30 -0
  392. package/.claude/commands/mindforge/multi-tenant.md +31 -0
  393. package/.claude/commands/mindforge/multimodal.md +37 -0
  394. package/.claude/commands/mindforge/new-runtime.md +23 -0
  395. package/.claude/commands/mindforge/next.md +109 -0
  396. package/.claude/commands/mindforge/note.md +35 -0
  397. package/.claude/commands/mindforge/observability-platform.md +31 -0
  398. package/.claude/commands/mindforge/observability.md +75 -0
  399. package/.claude/commands/mindforge/offline.md +37 -0
  400. package/.claude/commands/mindforge/onboard.md +37 -0
  401. package/.claude/commands/mindforge/orchestrate.md +74 -0
  402. package/.claude/commands/mindforge/payments.md +28 -0
  403. package/.claude/commands/mindforge/pipeline.md +84 -0
  404. package/.claude/commands/mindforge/plan-phase.md +131 -0
  405. package/.claude/commands/mindforge/plan-write.md +95 -0
  406. package/.claude/commands/mindforge/plant-seed.md +31 -0
  407. package/.claude/commands/mindforge/platform.md +31 -0
  408. package/.claude/commands/mindforge/plugins.md +44 -0
  409. package/.claude/commands/mindforge/pr-review.md +45 -0
  410. package/.claude/commands/mindforge/privacy-eng.md +31 -0
  411. package/.claude/commands/mindforge/product-spec.md +90 -0
  412. package/.claude/commands/mindforge/profile-team.md +27 -0
  413. package/.claude/commands/mindforge/prompt.md +78 -0
  414. package/.claude/commands/mindforge/proofread.md +87 -0
  415. package/.claude/commands/mindforge/publish-skill.md +23 -0
  416. package/.claude/commands/mindforge/push-notify.md +37 -0
  417. package/.claude/commands/mindforge/pwa.md +37 -0
  418. package/.claude/commands/mindforge/qa.md +20 -0
  419. package/.claude/commands/mindforge/quality-audit.md +34 -0
  420. package/.claude/commands/mindforge/queue.md +31 -0
  421. package/.claude/commands/mindforge/quick.md +139 -0
  422. package/.claude/commands/mindforge/rag.md +30 -0
  423. package/.claude/commands/mindforge/rate-limit.md +31 -0
  424. package/.claude/commands/mindforge/react-native.md +37 -0
  425. package/.claude/commands/mindforge/realtime-analytics.md +31 -0
  426. package/.claude/commands/mindforge/record-learning.md +22 -0
  427. package/.claude/commands/mindforge/release.md +14 -0
  428. package/.claude/commands/mindforge/remember.md +30 -0
  429. package/.claude/commands/mindforge/research.md +16 -0
  430. package/.claude/commands/mindforge/retro.md +28 -0
  431. package/.claude/commands/mindforge/retrospective.md +31 -0
  432. package/.claude/commands/mindforge/review-backlog.md +34 -0
  433. package/.claude/commands/mindforge/review-guide.md +63 -0
  434. package/.claude/commands/mindforge/review.md +161 -0
  435. package/.claude/commands/mindforge/rfc.md +34 -0
  436. package/.claude/commands/mindforge/santa.md +33 -0
  437. package/.claude/commands/mindforge/secrets-mgmt.md +31 -0
  438. package/.claude/commands/mindforge/secrets.md +31 -0
  439. package/.claude/commands/mindforge/security-scan.md +242 -0
  440. package/.claude/commands/mindforge/serverless.md +34 -0
  441. package/.claude/commands/mindforge/session-report.md +39 -0
  442. package/.claude/commands/mindforge/ship.md +111 -0
  443. package/.claude/commands/mindforge/skills.md +145 -0
  444. package/.claude/commands/mindforge/status.md +113 -0
  445. package/.claude/commands/mindforge/steer.md +17 -0
  446. package/.claude/commands/mindforge/stream.md +31 -0
  447. package/.claude/commands/mindforge/sync-confluence.md +15 -0
  448. package/.claude/commands/mindforge/sync-jira.md +16 -0
  449. package/.claude/commands/mindforge/system-design.md +87 -0
  450. package/.claude/commands/mindforge/team-topology.md +27 -0
  451. package/.claude/commands/mindforge/tech-debt.md +31 -0
  452. package/.claude/commands/mindforge/tech-radar.md +28 -0
  453. package/.claude/commands/mindforge/threat-model.md +48 -0
  454. package/.claude/commands/mindforge/tokens.md +12 -0
  455. package/.claude/commands/mindforge/ui-phase.md +34 -0
  456. package/.claude/commands/mindforge/ui-review.md +36 -0
  457. package/.claude/commands/mindforge/update.md +46 -0
  458. package/.claude/commands/mindforge/validate-phase.md +31 -0
  459. package/.claude/commands/mindforge/verify-loop.md +45 -0
  460. package/.claude/commands/mindforge/verify-phase.md +66 -0
  461. package/.claude/commands/mindforge/vibe-check.md +37 -0
  462. package/.claude/commands/mindforge/workspace.md +33 -0
  463. package/.claude/commands/mindforge/workstreams.md +35 -0
  464. package/.claude/commands/mindforge/worktrees.md +86 -0
  465. package/.claude/commands/mindforge/write-rfc.md +64 -0
  466. package/.claude/commands/mindforge/zero-trust.md +34 -0
  467. package/.mindforge/config.json +2 -2
  468. package/.mindforge/governance/GOVERNANCE-CONFIG.md +17 -0
  469. package/.mindforge/governance/approval-workflow.md +37 -0
  470. package/.mindforge/governance/change-classifier.md +63 -0
  471. package/.mindforge/governance/compliance-gates.md +31 -0
  472. package/.mindforge/governance/policies/sovereign-default.json +16 -0
  473. package/.mindforge/imported-agents.jsonl +154 -0
  474. package/.mindforge/integrations/confluence.md +27 -0
  475. package/.mindforge/integrations/connection-manager.md +163 -0
  476. package/.mindforge/integrations/github.md +25 -0
  477. package/.mindforge/integrations/gitlab.md +13 -0
  478. package/.mindforge/integrations/jira.md +102 -0
  479. package/.mindforge/integrations/slack.md +41 -0
  480. package/.mindforge/intelligence/antipattern-detector.md +75 -0
  481. package/.mindforge/intelligence/difficulty-scorer.md +55 -0
  482. package/.mindforge/intelligence/health-engine.md +208 -0
  483. package/.mindforge/intelligence/skill-gap-analyser.md +40 -0
  484. package/.mindforge/intelligence/smart-compaction.md +71 -0
  485. package/.mindforge/memory/MEMORY-SCHEMA.md +155 -0
  486. package/.mindforge/memory/engine/capture-protocol.md +36 -0
  487. package/.mindforge/memory/engine/global-sync-spec.md +42 -0
  488. package/.mindforge/memory/engine/retrieval-spec.md +44 -0
  489. package/.mindforge/memory/sync-manifest.json +6 -0
  490. package/.mindforge/metrics/METRICS-SCHEMA.md +42 -0
  491. package/.mindforge/metrics/quality-tracker.md +32 -0
  492. package/.mindforge/models/model-registry.md +48 -0
  493. package/.mindforge/models/model-router.md +30 -0
  494. package/.mindforge/org/CONVENTIONS.md +62 -0
  495. package/.mindforge/org/ORG.md +51 -0
  496. package/.mindforge/org/SECURITY.md +50 -0
  497. package/.mindforge/org/TOOLS.md +53 -0
  498. package/.mindforge/org/integrations/INTEGRATIONS-CONFIG.md +58 -0
  499. package/.mindforge/org/skills/MANIFEST.md +255 -0
  500. package/.mindforge/plugins/PLUGINS-MANIFEST.md +23 -0
  501. package/.mindforge/plugins/plugin-loader.md +93 -0
  502. package/.mindforge/plugins/plugin-registry.md +44 -0
  503. package/.mindforge/plugins/plugin-schema.md +68 -0
  504. package/.mindforge/team/TEAM-PROFILE.md +42 -0
  505. package/.mindforge/team/multi-handoff.md +23 -0
  506. package/.mindforge/team/profiles/README.md +13 -0
  507. package/.mindforge/team/session-merger.md +18 -0
  508. package/CHANGELOG.md +80 -0
  509. package/MINDFORGE.md +3 -3
  510. package/README.md +1 -1
  511. package/bin/installer-core.js +112 -12
  512. package/bin/spawn-agent.js +80 -1
  513. package/bin/wizard/theme.js +4 -3
  514. package/docs/References/audit-events.md +59 -0
  515. package/docs/References/checkpoints.md +778 -0
  516. package/docs/References/commands.md +107 -0
  517. package/docs/References/config-reference.md +122 -0
  518. package/docs/References/continuation-format.md +249 -0
  519. package/docs/References/decimal-phase-calculation.md +64 -0
  520. package/docs/References/git-integration.md +295 -0
  521. package/docs/References/git-planning-commit.md +38 -0
  522. package/docs/References/model-profile-resolution.md +36 -0
  523. package/docs/References/model-profiles.md +139 -0
  524. package/docs/References/phase-argument-parsing.md +61 -0
  525. package/docs/References/planning-config.md +202 -0
  526. package/docs/References/questioning.md +162 -0
  527. package/docs/References/sdk-api.md +53 -0
  528. package/docs/References/skills-api.md +57 -0
  529. package/docs/References/tdd.md +263 -0
  530. package/docs/References/ui-brand.md +160 -0
  531. package/docs/References/user-profiling.md +681 -0
  532. package/docs/References/verification-patterns.md +612 -0
  533. package/docs/References/workstream-flag.md +58 -0
  534. package/docs/Templates/Agents/CLAUDE-MD.md +122 -0
  535. package/docs/Templates/Agents/COPILOT-INSTRUCTIONS.md +7 -0
  536. package/docs/Templates/Agents/DEBUGGER-PROMPT.md +91 -0
  537. package/docs/Templates/Agents/PLANNER-PROMPT.md +117 -0
  538. package/docs/Templates/Codebase/architecture.md +255 -0
  539. package/docs/Templates/Codebase/concerns.md +310 -0
  540. package/docs/Templates/Codebase/conventions.md +307 -0
  541. package/docs/Templates/Codebase/integrations.md +280 -0
  542. package/docs/Templates/Codebase/stack.md +186 -0
  543. package/docs/Templates/Codebase/structure.md +285 -0
  544. package/docs/Templates/Codebase/testing.md +480 -0
  545. package/docs/Templates/Execution/CONTINUE-HERE.md +78 -0
  546. package/docs/Templates/Execution/DISCUSSION-LOG.md +63 -0
  547. package/docs/Templates/Execution/PHASE-PROMPT.md +610 -0
  548. package/docs/Templates/Execution/STATE.md +176 -0
  549. package/docs/Templates/Execution/SUMMARY-COMPLEX.md +59 -0
  550. package/docs/Templates/Execution/SUMMARY-MINIMAL.md +41 -0
  551. package/docs/Templates/Execution/SUMMARY-STANDARD.md +48 -0
  552. package/docs/Templates/Execution/SUMMARY.md +248 -0
  553. package/docs/Templates/Profile/DEV-PREFERENCES.md +21 -0
  554. package/docs/Templates/Profile/USER-PROFILE.md +146 -0
  555. package/docs/Templates/Profile/USER-SETUP.md +311 -0
  556. package/docs/Templates/Project/AGENTS_LEARNING.md +88 -0
  557. package/docs/Templates/Project/DISCOVERY.md +146 -0
  558. package/docs/Templates/Project/MILESTONE-ARCHIVE.md +123 -0
  559. package/docs/Templates/Project/MILESTONE.md +115 -0
  560. package/docs/Templates/Project/PROJECT.md +206 -0
  561. package/docs/Templates/Project/REQUIREMENTS.md +231 -0
  562. package/docs/Templates/Project/RETROSPECTIVE.md +54 -0
  563. package/docs/Templates/Project/ROADMAP.md +202 -0
  564. package/docs/Templates/Quality/DEBUG.md +164 -0
  565. package/docs/Templates/Quality/UAT.md +280 -0
  566. package/docs/Templates/Quality/UI-SPEC.md +100 -0
  567. package/docs/Templates/Quality/VALIDATION.md +76 -0
  568. package/docs/Templates/Quality/VERIFICATION-REPORT.md +322 -0
  569. package/docs/Templates/Research/ARCHITECTURE.md +204 -0
  570. package/docs/Templates/Research/FEATURES.md +147 -0
  571. package/docs/Templates/Research/PITFALLS.md +200 -0
  572. package/docs/Templates/Research/STACK.md +120 -0
  573. package/docs/Templates/Research/SUMMARY.md +170 -0
  574. package/docs/Templates/System/CONFIG.json +43 -0
  575. package/docs/Templates/System/CONTEXT.md +352 -0
  576. package/examples/starter-project/.planning/ARCHITECTURE.md +23 -0
  577. package/examples/starter-project/.planning/RELEASE-CHECKLIST.md +22 -0
  578. package/examples/starter-project/.planning/REQUIREMENTS.md +31 -0
  579. package/examples/starter-project/.planning/ROADMAP.md +28 -0
  580. package/package.json +23 -2
  581. package/subagents/.claude-plugin/marketplace.json +93 -0
  582. package/subagents/categories/01-core-development/.claude-plugin/plugin.json +24 -0
  583. package/subagents/categories/01-core-development/README.md +146 -0
  584. package/subagents/categories/01-core-development/api-designer-cc.md +237 -0
  585. package/subagents/categories/01-core-development/backend-developer.md +222 -0
  586. package/subagents/categories/01-core-development/design-bridge.md +129 -0
  587. package/subagents/categories/01-core-development/electron-pro.md +240 -0
  588. package/subagents/categories/01-core-development/frontend-developer.md +133 -0
  589. package/subagents/categories/01-core-development/fullstack-developer.md +235 -0
  590. package/subagents/categories/01-core-development/graphql-architect.md +238 -0
  591. package/subagents/categories/01-core-development/microservices-architect.md +239 -0
  592. package/subagents/categories/01-core-development/mobile-developer.md +283 -0
  593. package/subagents/categories/01-core-development/ui-designer.md +174 -0
  594. package/subagents/categories/01-core-development/websocket-engineer.md +150 -0
  595. package/subagents/categories/02-language-specialists/.claude-plugin/plugin.json +43 -0
  596. package/subagents/categories/02-language-specialists/README.md +245 -0
  597. package/subagents/categories/02-language-specialists/angular-architect.md +287 -0
  598. package/subagents/categories/02-language-specialists/cpp-pro.md +277 -0
  599. package/subagents/categories/02-language-specialists/csharp-developer.md +287 -0
  600. package/subagents/categories/02-language-specialists/django-developer.md +287 -0
  601. package/subagents/categories/02-language-specialists/dotnet-core-expert.md +287 -0
  602. package/subagents/categories/02-language-specialists/dotnet-framework-48-expert.md +306 -0
  603. package/subagents/categories/02-language-specialists/elixir-expert.md +311 -0
  604. package/subagents/categories/02-language-specialists/expo-react-native-expert.md +268 -0
  605. package/subagents/categories/02-language-specialists/fastapi-developer.md +287 -0
  606. package/subagents/categories/02-language-specialists/flutter-expert.md +287 -0
  607. package/subagents/categories/02-language-specialists/golang-pro.md +277 -0
  608. package/subagents/categories/02-language-specialists/java-architect.md +287 -0
  609. package/subagents/categories/02-language-specialists/javascript-pro.md +277 -0
  610. package/subagents/categories/02-language-specialists/kotlin-specialist.md +287 -0
  611. package/subagents/categories/02-language-specialists/laravel-specialist.md +287 -0
  612. package/subagents/categories/02-language-specialists/nextjs-developer.md +287 -0
  613. package/subagents/categories/02-language-specialists/node-specialist.md +124 -0
  614. package/subagents/categories/02-language-specialists/php-pro.md +287 -0
  615. package/subagents/categories/02-language-specialists/powershell-51-expert.md +59 -0
  616. package/subagents/categories/02-language-specialists/powershell-7-expert.md +57 -0
  617. package/subagents/categories/02-language-specialists/python-pro.md +277 -0
  618. package/subagents/categories/02-language-specialists/rails-expert.md +358 -0
  619. package/subagents/categories/02-language-specialists/react-specialist-cc.md +287 -0
  620. package/subagents/categories/02-language-specialists/rust-engineer.md +287 -0
  621. package/subagents/categories/02-language-specialists/spring-boot-engineer.md +287 -0
  622. package/subagents/categories/02-language-specialists/sql-pro.md +287 -0
  623. package/subagents/categories/02-language-specialists/swift-expert.md +287 -0
  624. package/subagents/categories/02-language-specialists/symfony-specialist.md +354 -0
  625. package/subagents/categories/02-language-specialists/typescript-pro.md +277 -0
  626. package/subagents/categories/02-language-specialists/vue-expert.md +287 -0
  627. package/subagents/categories/03-infrastructure/.claude-plugin/plugin.json +29 -0
  628. package/subagents/categories/03-infrastructure/README.md +170 -0
  629. package/subagents/categories/03-infrastructure/azure-infra-engineer.md +53 -0
  630. package/subagents/categories/03-infrastructure/cloud-architect-cc.md +277 -0
  631. package/subagents/categories/03-infrastructure/database-administrator.md +287 -0
  632. package/subagents/categories/03-infrastructure/deployment-engineer.md +287 -0
  633. package/subagents/categories/03-infrastructure/devops-engineer-cc.md +287 -0
  634. package/subagents/categories/03-infrastructure/devops-incident-responder.md +287 -0
  635. package/subagents/categories/03-infrastructure/docker-expert.md +278 -0
  636. package/subagents/categories/03-infrastructure/incident-responder.md +287 -0
  637. package/subagents/categories/03-infrastructure/kubernetes-specialist.md +287 -0
  638. package/subagents/categories/03-infrastructure/network-engineer.md +287 -0
  639. package/subagents/categories/03-infrastructure/platform-engineer-cc.md +287 -0
  640. package/subagents/categories/03-infrastructure/security-engineer.md +277 -0
  641. package/subagents/categories/03-infrastructure/sre-engineer.md +287 -0
  642. package/subagents/categories/03-infrastructure/terraform-engineer.md +287 -0
  643. package/subagents/categories/03-infrastructure/terragrunt-expert.md +307 -0
  644. package/subagents/categories/03-infrastructure/windows-infra-admin.md +52 -0
  645. package/subagents/categories/04-quality-security/.claude-plugin/plugin.json +30 -0
  646. package/subagents/categories/04-quality-security/README.md +175 -0
  647. package/subagents/categories/04-quality-security/accessibility-tester-cc.md +277 -0
  648. package/subagents/categories/04-quality-security/ad-security-reviewer.md +56 -0
  649. package/subagents/categories/04-quality-security/ai-writing-auditor.md +77 -0
  650. package/subagents/categories/04-quality-security/architect-reviewer.md +287 -0
  651. package/subagents/categories/04-quality-security/chaos-engineer-cc.md +277 -0
  652. package/subagents/categories/04-quality-security/code-reviewer.md +287 -0
  653. package/subagents/categories/04-quality-security/compliance-auditor-cc.md +277 -0
  654. package/subagents/categories/04-quality-security/debugger-cc.md +287 -0
  655. package/subagents/categories/04-quality-security/error-detective.md +287 -0
  656. package/subagents/categories/04-quality-security/gdpr-ccpa-compliance.md +98 -0
  657. package/subagents/categories/04-quality-security/penetration-tester.md +287 -0
  658. package/subagents/categories/04-quality-security/performance-engineer.md +287 -0
  659. package/subagents/categories/04-quality-security/powershell-security-hardening.md +54 -0
  660. package/subagents/categories/04-quality-security/qa-expert.md +287 -0
  661. package/subagents/categories/04-quality-security/security-auditor.md +287 -0
  662. package/subagents/categories/04-quality-security/test-automator.md +287 -0
  663. package/subagents/categories/04-quality-security/ui-ux-tester.md +234 -0
  664. package/subagents/categories/05-data-ai/.claude-plugin/plugin.json +26 -0
  665. package/subagents/categories/05-data-ai/README.md +153 -0
  666. package/subagents/categories/05-data-ai/ai-engineer.md +287 -0
  667. package/subagents/categories/05-data-ai/data-analyst.md +277 -0
  668. package/subagents/categories/05-data-ai/data-engineer-cc.md +287 -0
  669. package/subagents/categories/05-data-ai/data-scientist.md +287 -0
  670. package/subagents/categories/05-data-ai/database-optimizer.md +287 -0
  671. package/subagents/categories/05-data-ai/llm-architect.md +287 -0
  672. package/subagents/categories/05-data-ai/machine-learning-engineer.md +277 -0
  673. package/subagents/categories/05-data-ai/ml-engineer-cc.md +287 -0
  674. package/subagents/categories/05-data-ai/mlops-engineer.md +287 -0
  675. package/subagents/categories/05-data-ai/nlp-engineer.md +287 -0
  676. package/subagents/categories/05-data-ai/postgres-pro.md +287 -0
  677. package/subagents/categories/05-data-ai/prompt-engineer-cc.md +287 -0
  678. package/subagents/categories/05-data-ai/reinforcement-learning-engineer.md +277 -0
  679. package/subagents/categories/06-developer-experience/.claude-plugin/plugin.json +28 -0
  680. package/subagents/categories/06-developer-experience/README.md +157 -0
  681. package/subagents/categories/06-developer-experience/build-engineer-cc.md +286 -0
  682. package/subagents/categories/06-developer-experience/cli-developer.md +286 -0
  683. package/subagents/categories/06-developer-experience/dependency-manager.md +286 -0
  684. package/subagents/categories/06-developer-experience/documentation-engineer.md +276 -0
  685. package/subagents/categories/06-developer-experience/dx-optimizer.md +286 -0
  686. package/subagents/categories/06-developer-experience/git-workflow-manager.md +286 -0
  687. package/subagents/categories/06-developer-experience/legacy-modernizer.md +286 -0
  688. package/subagents/categories/06-developer-experience/mcp-developer.md +275 -0
  689. package/subagents/categories/06-developer-experience/powershell-module-architect.md +58 -0
  690. package/subagents/categories/06-developer-experience/powershell-ui-architect.md +135 -0
  691. package/subagents/categories/06-developer-experience/readme-generator.md +238 -0
  692. package/subagents/categories/06-developer-experience/refactoring-specialist.md +286 -0
  693. package/subagents/categories/06-developer-experience/slack-expert.md +232 -0
  694. package/subagents/categories/06-developer-experience/tooling-engineer.md +286 -0
  695. package/subagents/categories/06-developer-experience/visual-asset-generator.md +34 -0
  696. package/subagents/categories/07-specialized-domains/.claude-plugin/plugin.json +27 -0
  697. package/subagents/categories/07-specialized-domains/README.md +161 -0
  698. package/subagents/categories/07-specialized-domains/api-documenter.md +277 -0
  699. package/subagents/categories/07-specialized-domains/blockchain-developer.md +287 -0
  700. package/subagents/categories/07-specialized-domains/embedded-systems.md +287 -0
  701. package/subagents/categories/07-specialized-domains/fintech-engineer.md +287 -0
  702. package/subagents/categories/07-specialized-domains/game-developer.md +287 -0
  703. package/subagents/categories/07-specialized-domains/healthcare-admin.md +199 -0
  704. package/subagents/categories/07-specialized-domains/hipaa-compliance.md +112 -0
  705. package/subagents/categories/07-specialized-domains/iot-engineer.md +287 -0
  706. package/subagents/categories/07-specialized-domains/m365-admin.md +48 -0
  707. package/subagents/categories/07-specialized-domains/mobile-app-developer.md +287 -0
  708. package/subagents/categories/07-specialized-domains/payment-integration.md +287 -0
  709. package/subagents/categories/07-specialized-domains/quant-analyst.md +287 -0
  710. package/subagents/categories/07-specialized-domains/risk-manager.md +287 -0
  711. package/subagents/categories/07-specialized-domains/seo-specialist-cc.md +184 -0
  712. package/subagents/categories/08-business-product/.claude-plugin/plugin.json +29 -0
  713. package/subagents/categories/08-business-product/README.md +160 -0
  714. package/subagents/categories/08-business-product/assumption-mapping.md +77 -0
  715. package/subagents/categories/08-business-product/backlog-grooming.md +88 -0
  716. package/subagents/categories/08-business-product/business-analyst-cc.md +287 -0
  717. package/subagents/categories/08-business-product/content-marketer.md +287 -0
  718. package/subagents/categories/08-business-product/content-quality-editor.md +55 -0
  719. package/subagents/categories/08-business-product/customer-success-manager.md +287 -0
  720. package/subagents/categories/08-business-product/growth-loops.md +91 -0
  721. package/subagents/categories/08-business-product/legal-advisor.md +287 -0
  722. package/subagents/categories/08-business-product/license-engineer.md +295 -0
  723. package/subagents/categories/08-business-product/product-manager-cc.md +287 -0
  724. package/subagents/categories/08-business-product/project-manager.md +287 -0
  725. package/subagents/categories/08-business-product/sales-engineer.md +287 -0
  726. package/subagents/categories/08-business-product/scrum-master.md +287 -0
  727. package/subagents/categories/08-business-product/technical-writer.md +287 -0
  728. package/subagents/categories/08-business-product/ux-researcher.md +287 -0
  729. package/subagents/categories/08-business-product/wordpress-master.md +316 -0
  730. package/subagents/categories/09-meta-orchestration/.claude-plugin/plugin.json +24 -0
  731. package/subagents/categories/09-meta-orchestration/README.md +140 -0
  732. package/subagents/categories/09-meta-orchestration/agent-installer.md +97 -0
  733. package/subagents/categories/09-meta-orchestration/agent-organizer.md +287 -0
  734. package/subagents/categories/09-meta-orchestration/codebase-orchestrator.md +249 -0
  735. package/subagents/categories/09-meta-orchestration/context-manager.md +287 -0
  736. package/subagents/categories/09-meta-orchestration/error-coordinator.md +287 -0
  737. package/subagents/categories/09-meta-orchestration/it-ops-orchestrator.md +60 -0
  738. package/subagents/categories/09-meta-orchestration/knowledge-synthesizer.md +287 -0
  739. package/subagents/categories/09-meta-orchestration/multi-agent-coordinator.md +287 -0
  740. package/subagents/categories/09-meta-orchestration/performance-monitor.md +287 -0
  741. package/subagents/categories/09-meta-orchestration/task-distributor.md +287 -0
  742. package/subagents/categories/09-meta-orchestration/workflow-orchestrator.md +287 -0
  743. package/subagents/categories/10-research-analysis/.claude-plugin/plugin.json +24 -0
  744. package/subagents/categories/10-research-analysis/README.md +141 -0
  745. package/subagents/categories/10-research-analysis/ab-test-analysis.md +101 -0
  746. package/subagents/categories/10-research-analysis/cohort-analysis.md +100 -0
  747. package/subagents/categories/10-research-analysis/competitive-analyst.md +287 -0
  748. package/subagents/categories/10-research-analysis/data-researcher.md +287 -0
  749. package/subagents/categories/10-research-analysis/first-principles-thinking.md +100 -0
  750. package/subagents/categories/10-research-analysis/market-researcher.md +287 -0
  751. package/subagents/categories/10-research-analysis/project-idea-validator.md +269 -0
  752. package/subagents/categories/10-research-analysis/research-analyst.md +287 -0
  753. package/subagents/categories/10-research-analysis/scientific-literature-researcher.md +151 -0
  754. package/subagents/categories/10-research-analysis/search-specialist.md +287 -0
  755. package/subagents/categories/10-research-analysis/trend-analyst.md +287 -0
  756. package/subagents/tools/subagent-catalog/README.md +58 -0
  757. package/subagents/tools/subagent-catalog/config.sh +94 -0
  758. package/subagents/tools/subagent-catalog/fetch.md +82 -0
  759. package/subagents/tools/subagent-catalog/invalidate.md +47 -0
  760. package/subagents/tools/subagent-catalog/list.md +54 -0
  761. package/subagents/tools/subagent-catalog/search.md +58 -0
@@ -0,0 +1,41 @@
1
+ # MindForge — Slack Integration
2
+
3
+ ## Purpose
4
+ Send operational notifications for phase completion, blockers, security events,
5
+ milestone completion, and approvals.
6
+
7
+ ## Supported notifications
8
+
9
+ | Event | Behaviour |
10
+ |---|---|
11
+ | phase complete | Send summary notification |
12
+ | security finding HIGH/CRITICAL | Send urgent alert and optional mention |
13
+ | approval needed | Post request summary with approval file reference |
14
+ | blocker added | Post concise blocker notice |
15
+ | milestone complete | Post release summary |
16
+
17
+ ## Message safety
18
+ Sanitise all dynamic values inserted into JSON payloads. Escape double quotes,
19
+ backslashes, and newlines before building Block Kit payloads. Never use
20
+ `curl -v` with Slack tokens.
21
+
22
+ ## Thread management
23
+ Store thread references in `.planning/slack-threads.json`:
24
+
25
+ ```json
26
+ {
27
+ "schema_version": "1.0.0",
28
+ "channel_id": "C01234ABCDE",
29
+ "threads": {
30
+ "phase-1": "1710931200.123456"
31
+ },
32
+ "_warning": "Do not store tokens in this file."
33
+ }
34
+ ```
35
+
36
+ If Slack rejects an existing `thread_ts`, clear that entry and create a new
37
+ thread instead of retrying the invalid timestamp.
38
+
39
+ ## Undelivered critical alerts
40
+ If Slack is unconfigured or the channel is invalid during a CRITICAL security
41
+ event, write the alert into `.planning/STATE.md` under `Undelivered alerts`.
@@ -0,0 +1,75 @@
1
+ # MindForge Intelligence — Anti-Pattern Detection Engine
2
+
3
+ ## Purpose
4
+ Detect architecture, database, security, code-quality, and testing anti-patterns
5
+ at plan, execute, and review checkpoints.
6
+
7
+ ## Key patterns
8
+ - A01 God object / service
9
+ - A02 Circular dependencies
10
+ - A03 Distributed monolith
11
+ - A04 Hardcoded configuration
12
+ - B01 `SELECT *`
13
+ - B02 Missing FK indexes
14
+ - B03 Unbounded queries
15
+ - C01 Auth bypass via type coercion
16
+ - C02 Missing authorization
17
+ - C03 Sensitive data in URL
18
+ - D01 Callback/pyramid complexity
19
+ - D02 Magic strings
20
+ - D03 Swallowed errors
21
+ - E01 Tests tied to internals
22
+ - E02 Flaky test indicators
23
+
24
+ ## C01 false positive prevention
25
+ Exclude from C01 scanning:
26
+ ```bash
27
+ grep -rn "==\s*null\|==\s*undefined\|==\s*false\|==\s*0" src/ \
28
+ --include="*.ts" --include="*.js" \
29
+ --exclude="*.test.ts" --exclude="*.spec.ts" --exclude="*.test.js" --exclude="*.spec.js"
30
+ ```
31
+
32
+ Do not flag:
33
+ - assertions in test files (`tests/**`, `*.test.*`, `*.spec.*`)
34
+ - intentional type-guard nullish checks (`x == null`) in type-guard functions
35
+
36
+ Only treat C01 as critical in auth/middleware/security-sensitive paths.
37
+
38
+ ## B03 cursor pagination exception
39
+ Cursor-based pagination is exempt from unbounded query check.
40
+ Recognize exemptions:
41
+ - Prisma `cursor:` parameter
42
+ - query with both `orderBy:` and `cursor:`
43
+ - SQL tuple cursor predicates (`WHERE (..., ...) < (..., ...)`)
44
+
45
+ ```bash
46
+ grep -rn "findMany\\b" src/ --include="*.ts" | python3 - <<'PY'
47
+ import sys
48
+ for line in sys.stdin:
49
+ l = line.lower()
50
+ if 'cursor:' in l or '< :cursor' in l or '<(' in l:
51
+ continue
52
+ if 'take:' not in l and 'limit:' not in l:
53
+ print('B03 candidate:', line.strip())
54
+ PY
55
+ ```
56
+
57
+ ## D01 executable line counting
58
+ Use executable-line heuristic for God-object thresholding, not raw `wc -l`.
59
+
60
+ ```bash
61
+ count_executable_lines() {
62
+ local f="$1"
63
+ grep -v '^\s*$' "$f" | grep -v '^\s*//' | grep -v '^\s*\*' | grep -v '^\s*@' | wc -l
64
+ }
65
+ ```
66
+
67
+ Apply threshold to executable count (e.g., `>500`) plus dependency fan-in signal.
68
+
69
+ ## Trigger points
70
+ - Plan phase: architecture patterns (A*)
71
+ - Execute phase: implementation/security patterns (B*, C*, D03)
72
+ - Review phase: full library
73
+
74
+ ## Report format
75
+ Include id, severity, location, and exact remediation advice.
@@ -0,0 +1,55 @@
1
+ # MindForge Intelligence — Phase Difficulty Scorer
2
+
3
+ ## Purpose
4
+ Score phase complexity before planning so decomposition and verification rigor
5
+ match risk.
6
+
7
+ ## Dimensions
8
+ - Technical complexity (35%)
9
+ - Risk level (30%)
10
+ - Ambiguity (20%)
11
+ - Dependencies (15%)
12
+
13
+ Composite:
14
+ `(Technical*0.35) + (Risk*0.30) + (Ambiguity*0.20) + (Dependencies*0.15)`
15
+
16
+ ## Signal detection
17
+ ### Technical complexity context handling
18
+ Keyword matching must include local context windows.
19
+
20
+ - `migration` near `database` or `schema` => technical `4`
21
+ - `migration` near `code` or `framework` => technical `3`
22
+
23
+ ### Risk amplifiers
24
+ Add +1 for each relevant amplifier (cap 5):
25
+ - missing test baseline in touched area
26
+ - external integration without sandbox
27
+ - shared module blast radius (`>3` consumers)
28
+ - unclear rollback path
29
+ - prior related incidents
30
+
31
+ For prior incidents, inspect `AUDIT.jsonl`:
32
+ - `task_failed` events with file-path overlap with expected touched files
33
+ - `security_finding` events in overlapping domains (auth/payments/database)
34
+
35
+ ## Score bands
36
+ - `1.0-2.0` Easy => `2-3` tasks
37
+ - `2.1-3.0` Moderate => `4-6` tasks
38
+ - `3.1-4.0` Challenging => `6-10` tasks
39
+ - `4.1-5.0` Hard => `10-15` tasks
40
+
41
+ If composite `> 4.5`: recommend split into `Phase N-A` (lowest-risk)
42
+ and `Phase N-B` (highest-risk), and offer:
43
+ `/mindforge:discuss-phase [N] --split`
44
+
45
+ ## Feedback loop: score -> granularity
46
+ The planner must read `DIFFICULTY-SCORE-[N].md` before creating plans.
47
+
48
+ | Composite | Granularity instruction |
49
+ |---|---|
50
+ | 1.0-2.0 | 1 task = complete feature component |
51
+ | 2.1-3.0 | 1 task = significant module/function |
52
+ | 3.1-4.0 | 1 task = specific function/endpoint |
53
+ | 4.1-5.0 | 1 task = narrow change in 3-4 files max |
54
+
55
+ This creates explicit feedback: difficulty -> decomposition -> execution quality.
@@ -0,0 +1,208 @@
1
+ # MindForge Intelligence — Health Engine
2
+
3
+ ## Purpose
4
+ Run a comprehensive health check across installation, context, skills, personas,
5
+ state, integrations, and security. Detect drift and provide safe auto-repair.
6
+
7
+ ## Categories
8
+ 1. Installation integrity
9
+ 2. Context file health
10
+ 3. Skills registry health
11
+ 4. Persona system health
12
+ 5. State consistency
13
+ 6. Integration connectivity
14
+ 7. Security configuration
15
+
16
+ ## Category 1 — Installation integrity
17
+
18
+ ### Required files checklist
19
+ ```bash
20
+ REQUIRED_FILES=(
21
+ ".claude/CLAUDE.md"
22
+ ".agent/CLAUDE.md"
23
+
24
+ ".claude/commands/mindforge/help.md"
25
+ ".claude/commands/mindforge/init-project.md"
26
+ ".claude/commands/mindforge/plan-phase.md"
27
+ ".claude/commands/mindforge/execute-phase.md"
28
+ ".claude/commands/mindforge/verify-phase.md"
29
+ ".claude/commands/mindforge/ship.md"
30
+ ".claude/commands/mindforge/next.md"
31
+ ".claude/commands/mindforge/quick.md"
32
+ ".claude/commands/mindforge/status.md"
33
+ ".claude/commands/mindforge/debug.md"
34
+ ".claude/commands/mindforge/skills.md"
35
+ ".claude/commands/mindforge/review.md"
36
+ ".claude/commands/mindforge/security-scan.md"
37
+ ".claude/commands/mindforge/map-codebase.md"
38
+ ".claude/commands/mindforge/discuss-phase.md"
39
+ ".claude/commands/mindforge/audit.md"
40
+ ".claude/commands/mindforge/milestone.md"
41
+ ".claude/commands/mindforge/complete-milestone.md"
42
+ ".claude/commands/mindforge/approve.md"
43
+ ".claude/commands/mindforge/sync-jira.md"
44
+ ".claude/commands/mindforge/sync-confluence.md"
45
+ ".claude/commands/mindforge/health.md"
46
+ ".claude/commands/mindforge/retrospective.md"
47
+ ".claude/commands/mindforge/profile-team.md"
48
+ ".claude/commands/mindforge/metrics.md"
49
+
50
+ ".mindforge/engine/wave-executor.md"
51
+ ".mindforge/engine/dependency-parser.md"
52
+ ".mindforge/engine/context-injector.md"
53
+ ".mindforge/engine/compaction-protocol.md"
54
+ ".mindforge/engine/verification-pipeline.md"
55
+ ".mindforge/engine/skills/registry.md"
56
+ ".mindforge/engine/skills/loader.md"
57
+ ".mindforge/engine/skills/versioning.md"
58
+ ".mindforge/engine/skills/conflict-resolver.md"
59
+
60
+ ".mindforge/skills/security-review/SKILL.md"
61
+ ".mindforge/skills/code-quality/SKILL.md"
62
+ ".mindforge/skills/api-design/SKILL.md"
63
+ ".mindforge/skills/testing-standards/SKILL.md"
64
+ ".mindforge/skills/documentation/SKILL.md"
65
+ ".mindforge/skills/performance/SKILL.md"
66
+ ".mindforge/skills/accessibility/SKILL.md"
67
+ ".mindforge/skills/data-privacy/SKILL.md"
68
+ ".mindforge/skills/incident-response/SKILL.md"
69
+ ".mindforge/skills/database-patterns/SKILL.md"
70
+
71
+ ".mindforge/personas/analyst.md"
72
+ ".mindforge/personas/architect.md"
73
+ ".mindforge/personas/developer.md"
74
+ ".mindforge/personas/qa-engineer.md"
75
+ ".mindforge/personas/security-reviewer.md"
76
+ ".mindforge/personas/tech-writer.md"
77
+ ".mindforge/personas/debug-specialist.md"
78
+ ".mindforge/personas/release-manager.md"
79
+
80
+ ".mindforge/intelligence/health-engine.md"
81
+ ".mindforge/intelligence/difficulty-scorer.md"
82
+ ".mindforge/intelligence/antipattern-detector.md"
83
+ ".mindforge/intelligence/skill-gap-analyser.md"
84
+ ".mindforge/intelligence/smart-compaction.md"
85
+
86
+ ".mindforge/governance/change-classifier.md"
87
+ ".mindforge/governance/approval-workflow.md"
88
+ ".mindforge/governance/compliance-gates.md"
89
+
90
+ ".mindforge/org/ORG.md"
91
+ ".mindforge/org/CONVENTIONS.md"
92
+ ".mindforge/org/SECURITY.md"
93
+ ".mindforge/org/TOOLS.md"
94
+ ".mindforge/org/skills/MANIFEST.md"
95
+ ".mindforge/org/integrations/INTEGRATIONS-CONFIG.md"
96
+
97
+ ".planning/HANDOFF.json"
98
+ ".planning/STATE.md"
99
+ ".planning/AUDIT.jsonl"
100
+ )
101
+ ```
102
+
103
+ `MINDFORGE.md` is optional and is not in required files.
104
+ If `MINDFORGE.md` exists, validate:
105
+ - no unknown skills (must exist in `.mindforge/org/skills/MANIFEST.md`)
106
+ - no invalid model names (fallback to `inherit` + warning)
107
+ - no attempted overrides of governance primitives
108
+
109
+ ### Version check
110
+ - Validate `package.json` semver is `>= 0.5.0`.
111
+
112
+ ### CLAUDE parity
113
+ - `.claude/CLAUDE.md` and `.agent/CLAUDE.md` must be identical.
114
+ - All commands under `.claude/commands/mindforge/` must exist in `.agent/mindforge/`.
115
+
116
+ ## Category 2 — Context file health
117
+ - `PROJECT.md` has tech stack, v1 scope, success criteria, and no placeholders.
118
+ - `REQUIREMENTS.md` has FR entries with acceptance criteria and scope tags.
119
+ - `STATE.md` has recent `Last updated` timestamp and coherent status.
120
+ - `HANDOFF.json` is valid JSON with required fields and no secrets.
121
+ - `ARCHITECTURE.md` exists with stack and decision references.
122
+
123
+ ## Category 3 — Skills registry health
124
+ - `MANIFEST.md` exists; all 10 core skills listed with valid semver.
125
+ - Every manifest skill path exists.
126
+ - Every `SKILL.md` includes frontmatter: `name`, `version`, `status`, `triggers`.
127
+ - Trigger conflict check runs and reports count.
128
+
129
+ ## Category 4 — Persona system health
130
+ - Each persona has Identity, Pre-task checklist, Escalation, DoD.
131
+ - Persona files are non-stub (>500 bytes).
132
+ - Override files contain no prompt-injection markers.
133
+
134
+ ## Category 5 — State consistency
135
+ - For every phase in ROADMAP: directory + required artifacts match phase status.
136
+ - Explicit check: if `STATE.md` marks phase complete and summaries exist but `VERIFICATION.md` is missing, flag as error.
137
+ - `AUDIT.jsonl` lines parse as JSONL and timestamps are chronological.
138
+ - Commit hygiene:
139
+ - conventional commit format in recent history
140
+ - on `main`, only flag commits whose subject starts with `wip` (case-insensitive)
141
+
142
+ ## Category 6 — Integration connectivity
143
+ For configured integrations, run lightweight auth checks and report:
144
+ - `available`
145
+ - `invalid_credentials`
146
+ - `unreachable`
147
+ - `unconfigured` (informational only)
148
+
149
+ ## Category 7 — Security configuration
150
+ - `.gitignore` covers env files and keys.
151
+ - Secret scan covers:
152
+ - `.planning/`
153
+ - `.mindforge/`
154
+ - root-level `MINDFORGE.md`, `.env.example`, `*.config.js`
155
+ - `SECURITY.md` has no placeholders.
156
+ - Governance approval files are not stale beyond SLA.
157
+
158
+ ## Auto-repair protocol
159
+
160
+ ### Auto-repairable
161
+ - sync `.agent/CLAUDE.md` from `.claude/CLAUDE.md`
162
+ - mirror missing command files from `.claude` to `.agent`
163
+ - add missing `Last updated` in `STATE.md`
164
+ - create `.planning/approvals/` if missing
165
+ - mark expired approvals and audit them
166
+ - trigger AUDIT archive protocol when threshold exceeded
167
+
168
+ ### AUDIT.jsonl corruption handling (updated)
169
+ **Never delete lines from `AUDIT.jsonl`.**
170
+
171
+ ```bash
172
+ python3 - <<'PY'
173
+ import json
174
+ from pathlib import Path
175
+
176
+ audit = Path('.planning/AUDIT.jsonl')
177
+ if not audit.exists():
178
+ raise SystemExit(0)
179
+
180
+ invalid = []
181
+ for i, raw in enumerate(audit.read_text().splitlines(), 1):
182
+ s = raw.strip()
183
+ if not s:
184
+ continue
185
+ try:
186
+ json.loads(s)
187
+ except Exception:
188
+ invalid.append({"line": i, "raw": s})
189
+
190
+ if invalid:
191
+ qf = Path('.planning/AUDIT.jsonl.quarantine')
192
+ with qf.open('a', encoding='utf-8') as f:
193
+ for row in invalid:
194
+ f.write(json.dumps(row) + "\n")
195
+ print(f"Quarantined {len(invalid)} invalid lines to {qf}")
196
+ PY
197
+
198
+ echo "{\"event\":\"audit_quarantine\",\"quarantine_file\":\".planning/AUDIT.jsonl.quarantine\"}" >> .planning/AUDIT.jsonl
199
+ ```
200
+
201
+ ### Non-auto-repairable
202
+ - missing core skill files
203
+ - invalid credentials
204
+ - secrets found in `HANDOFF.json`
205
+ - prompt-injection patterns in persona overrides
206
+
207
+ ## Health report format
208
+ Provide summary by category with errors, warnings, info, and exact next fixes.
@@ -0,0 +1,40 @@
1
+ # MindForge Intelligence — Skill Gap Analyser
2
+
3
+ ## Purpose
4
+ Identify required/recommended skills for a phase, compare with installed
5
+ skills, and report gaps before planning.
6
+
7
+ ## Run points
8
+ 1. `/mindforge:plan-phase` start
9
+ 2. `/mindforge:discuss-phase`
10
+ 3. `/mindforge:health`
11
+
12
+ ## Analysis flow
13
+ 1. Extract work signals from roadmap/context/requirements/architecture.
14
+ 2. Map work categories to required/recommended skills.
15
+ 3. Validate skills in manifest + filesystem + status.
16
+ 4. Report missing/deprecated required skills and mitigation options.
17
+
18
+ ## Category -> skill mapping
19
+ - UI/UX -> accessibility (required), performance (recommended)
20
+ - Database changes -> database-patterns (required), data-privacy (if PII)
21
+ - API endpoints -> api-design (required), security-review (if auth)
22
+ - Auth/payments/PII -> security-review (required), data-privacy (required for PII)
23
+ - Performance work -> performance (required)
24
+ - New feature -> testing-standards (required), documentation (recommended)
25
+
26
+ ## Gap definition
27
+ A required skill is a gap if:
28
+ - not present in MANIFEST
29
+ - manifest path missing
30
+ - marked deprecated with no replacement
31
+
32
+ ## Output
33
+ Produce `Skill Gap Analysis` section with:
34
+ - required skills table
35
+ - recommended skills table
36
+ - explicit gap count and options
37
+
38
+ ## Health mode
39
+ In `/mindforge:health`, include org-level recommendation list using recent
40
+ phase patterns and missing capability frequencies.
@@ -0,0 +1,71 @@
1
+ # MindForge Intelligence — Smart Context Compaction
2
+
3
+ ## Purpose
4
+ Replace truncation with structured extraction so future sessions preserve reasoning,
5
+ constraints, and in-progress state.
6
+
7
+ ## Triggering and level selection
8
+ Day 2 threshold (`70%`) remains valid and now invokes Day 5 Level 1.
9
+ Level selection uses both context usage and session depth.
10
+
11
+ - Light session (`<5` tasks): use Level 1 even when context is high.
12
+ - Moderate session (`5-10` tasks): use Level 2 at `80%+`.
13
+ - Deep session (`10+` tasks): use Level 2 at `75%+`.
14
+ - Level 3 at `90%+` or urgent near-limit state.
15
+
16
+ ## Levels
17
+ ### Level 1 — Lightweight
18
+ Quick checkpoint: update `STATE.md` and `HANDOFF.json` with next task.
19
+
20
+ ### Level 2 — Structured extraction
21
+ Capture:
22
+ - decisions made
23
+ - discoveries
24
+ - implicit knowledge
25
+ - quality signals
26
+ - precise in-progress state
27
+
28
+ ### Level 3 — Emergency extraction
29
+ Capture minimum viable continuation context before hard limit.
30
+
31
+ ## Level 2 extraction protocol
32
+ ### Block A — Decisions made
33
+ For each decision: what, why, alternatives ruled out, impact area, ADR need.
34
+
35
+ ### Block B — Discoveries
36
+ For each finding: fact, location, significance, assumption impact.
37
+
38
+ ### Block C — Current task state
39
+ Record plan id, completed steps, remaining steps, current file, and inconsistency state.
40
+
41
+ ### Block D — Implicit knowledge
42
+ Capture quirks, environment facts, and workarounds.
43
+
44
+ A knowledge item qualifies as a **quirk** if either:
45
+ 1. It contradicts documentation or expected tool behavior.
46
+ 2. A new agent reading only plans/personas would not infer it.
47
+
48
+ ### Block E — Quality signals
49
+ Capture failed assumptions, friction patterns, quality gate root causes, and next-plan suggestions.
50
+
51
+ ## Level 2 HANDOFF schema additions
52
+ - `decisions_made[]`
53
+ - `discoveries[]`
54
+ - `implicit_knowledge[]`
55
+ - `quality_signals[]`
56
+ - `in_progress.current_state`
57
+
58
+ ## Session restart protocol
59
+ When loading Level 2 handoff:
60
+ 1. Print compact summary counts.
61
+ 2. Preload `implicit_knowledge` before plan execution.
62
+ 3. If `in_progress.current_state` is inconsistent, block execution and ask to resolve first.
63
+ 4. If user asks to inspect first, print first 50 lines of the inconsistent file inline.
64
+
65
+ ## Compaction quality metric
66
+ Write one entry to `.mindforge/metrics/compaction-quality.jsonl`:
67
+ - `decisions_captured`
68
+ - `discoveries_captured`
69
+ - `implicit_knowledge_items`
70
+ - `quality_signals_captured`
71
+ - `next_session_continuation_success` (auto-inferred from next session, nullable initially)
@@ -0,0 +1,155 @@
1
+ # MindForge v2 — Knowledge Graph Schema
2
+
3
+ ## Overview
4
+
5
+ The MindForge knowledge graph is built from five JSONL files — all append-only,
6
+ all at `.mindforge/memory/`. Every entry has a consistent base schema plus
7
+ type-specific fields.
8
+
9
+ ## Base schema (all entry types)
10
+
11
+ ```json
12
+ {
13
+ "id": "kb-uuid-v4",
14
+ "timestamp": "ISO-8601",
15
+ "type": "architectural_decision|code_pattern|bug_pattern|team_preference|domain_knowledge",
16
+ "topic": "Short title (≤ 80 chars)",
17
+ "content": "Full knowledge content (no limit)",
18
+ "source": "Where this was captured: 'Phase 3 retro', 'Debug session 2026-01', 'Manual entry'",
19
+ "project": "project-name from PROJECT.md",
20
+ "confidence": 0.0,
21
+ "tags": ["tag1", "tag2"],
22
+ "linked_adrs": ["ADR-007"],
23
+ "times_referenced": 0,
24
+ "last_referenced": null,
25
+ "deprecated": false,
26
+ "deprecated_by": null
27
+ }
28
+ ```
29
+
30
+ ## Type-specific schemas
31
+
32
+ ### `architectural_decision`
33
+
34
+ Extended fields:
35
+
36
+ ```json
37
+ {
38
+ "decision": "Use argon2id for password hashing",
39
+ "rationale": "bcrypt is showing its age; argon2id is the modern standard",
40
+ "alternatives": ["bcrypt", "scrypt", "pbkdf2"],
41
+ "phase_number": 3,
42
+ "adr_reference": "ADR-007"
43
+ }
44
+ ```
45
+
46
+ Capture trigger: Phase completion (ADR files extracted), `/mindforge:discuss-phase`
47
+
48
+ ### `code_pattern`
49
+
50
+ Extended fields:
51
+
52
+ ```json
53
+ {
54
+ "pattern_type": "good|anti-pattern",
55
+ "language": "typescript",
56
+ "example_good": "// Code showing the correct pattern",
57
+ "example_bad": "// Code showing the incorrect pattern (for anti-patterns)",
58
+ "applies_to": ["auth", "database", "api"]
59
+ }
60
+ ```
61
+
62
+ Capture trigger: Smart compaction Block D, debug session root cause
63
+
64
+ ### `bug_pattern`
65
+
66
+ Extended fields:
67
+
68
+ ```json
69
+ {
70
+ "bug_category": "auth|database|api|ui|performance|security",
71
+ "symptom": "Login works in tests but fails in production with cookie errors",
72
+ "root_cause": "httpOnly cookies require HTTPS; dev server was HTTP",
73
+ "fix": "Enable HTTPS in dev or use secure: false in development only",
74
+ "prevention": "Always configure cookie settings per-environment",
75
+ "severity_when_missed": "HIGH",
76
+ "recurrence_count": 1
77
+ }
78
+ ```
79
+
80
+ Capture trigger: Debug session completion, security findings, retrospective "what went wrong"
81
+
82
+ ### `team_preference`
83
+
84
+ Extended fields:
85
+
86
+ ```json
87
+ {
88
+ "preference_type": "style|tool|process|convention|architecture",
89
+ "applies_when": "When implementing auth",
90
+ "preference": "Always use argon2id, never bcrypt. See ADR-007.",
91
+ "strength": "strong|moderate|weak",
92
+ "override_allowed": true
93
+ }
94
+ ```
95
+
96
+ Capture trigger: Retrospective "what should we keep doing", steering instructions,
97
+ MINDFORGE.md changes from retrospective
98
+
99
+ ### `domain_knowledge`
100
+
101
+ Extended fields:
102
+
103
+ ```json
104
+ {
105
+ "domain": "JWT security",
106
+ "tech_stack": ["node.js", "typescript"],
107
+ "knowledge": "JWT access tokens should be short-lived (15 min). Refresh tokens in httpOnly cookies, not localStorage. Never decode JWT without verifying signature.",
108
+ "source_url": "https://auth0.com/docs/secure/tokens/json-web-tokens",
109
+ "verified_at": "2026-01-15"
110
+ }
111
+ ```
112
+
113
+ Capture trigger: Research engine output, `/mindforge:remember --add`
114
+
115
+ ## Confidence scoring
116
+
117
+ Confidence (0.0–1.0) represents how strongly this knowledge should be applied:
118
+
119
+ | Confidence | Meaning | How set |
120
+ | :--- | :--- | :--- |
121
+ | 0.9–1.0 | Strong team decision — always apply | Manual entry, strong steering, ADR |
122
+ | 0.7–0.9 | Clear pattern — apply unless there's a reason not to | Retrospective, debug session |
123
+ | 0.5–0.7 | Observed pattern — consider but verify | Smart compaction Block D |
124
+ | 0.3–0.5 | Weak signal — informational only | Single observation |
125
+ | < 0.3 | Hypothesis — don't apply proactively | Auto-captured, unverified |
126
+
127
+ ## Confidence reinforcement
128
+
129
+ Each time an entry is referenced (retrieved and the advice was followed):
130
+
131
+ ```bash
132
+ confidence = min(1.0, confidence + 0.05)
133
+ times_referenced += 1
134
+ ```
135
+
136
+ Each time an entry is contradicted (a different decision was made):
137
+
138
+ ```bash
139
+ confidence = max(0.0, confidence - 0.10)
140
+ ```
141
+
142
+ ## Deprecation
143
+
144
+ When a knowledge entry becomes outdated (e.g., team switches from argon2id to Passkeys):
145
+
146
+ ```json
147
+ {
148
+ "deprecated": true,
149
+ "deprecated_by": "kb-uuid-of-newer-entry",
150
+ "deprecated_reason": "Superseded by WebAuthn/Passkeys approach (ADR-031)"
151
+ }
152
+ ```
153
+
154
+ Deprecated entries are never deleted — they are excluded from active retrieval
155
+ but available for historical queries.
@@ -0,0 +1,36 @@
1
+ # MindForge v2 — Knowledge Capture Protocol
2
+
3
+ ## Purpose
4
+
5
+ The Capture Engine automatically extracts valuable engineering knowledge from session artifacts to ensure that project-specific wisdom is preserved beyond a single handoff.
6
+
7
+ ## Capture Triggers
8
+
9
+ MindForge monitors the following lifecycle events for knowledge extraction:
10
+
11
+ 1. **Phase Completion**: Extracting architectural decisions from `PROJECT.md` and phase retrospectives.
12
+ 2. **Hardened Debugging**: Capturing "root cause -> fix" patterns from completed debug reports.
13
+ 3. **Manual Command**: Using `/mindforge:remember --add` to explicitly record team preferences or domain knowledge.
14
+ 4. **ADR Generation**: Parsing newly created Architecture Decision Records.
15
+
16
+ ## Extraction Logic
17
+
18
+ The extraction process (via `knowledge-capture.js`) involves:
19
+
20
+ - **Structural Parsing**: Identifying standardized headings (e.g., "Decision", "Root Cause", "Pattern").
21
+ - **Deduplication**: Checking for existing entries with similar content to prevent knowledge bloat.
22
+ - **Initial Confidence**: Assigning a default confidence score (usually 0.5) to newly captured entries.
23
+ - **Auto-Tagging**: Inferring tags based on the file path and content context (e.g., `#nodejs`, `#security`).
24
+
25
+ ## Inhibitors (What NOT to capture)
26
+
27
+ To prevent the knowledge base from becoming "noisy", the system ignores:
28
+
29
+ - Transient session state (e.g., local file counts).
30
+ - Intermediate debugging steps that didn't lead to a fix.
31
+ - Content marked with `#no-capture` or inside blocks labeled "Confidential".
32
+
33
+ ## Retention Policy
34
+
35
+ - **Append-only**: Entries are never physically deleted.
36
+ - **Deprecation**: Outdated entries are marked as `deprecated: true` and replaced by newer entries with the same `source_id`.