mindforge-cc 9.0.0 → 10.0.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 (717) hide show
  1. package/.mindforge/config.json +1 -1
  2. package/.mindforge/personas/a11y-architect.md +190 -0
  3. package/.mindforge/personas/accessibility-tester.md +108 -0
  4. package/.mindforge/personas/api-designer.md +190 -0
  5. package/.mindforge/personas/api-gateway-architect.md +168 -0
  6. package/.mindforge/personas/api-load-tester.md +144 -0
  7. package/.mindforge/personas/authentication-architect.md +163 -0
  8. package/.mindforge/personas/backup-recovery-specialist.md +181 -0
  9. package/.mindforge/personas/browser-extension-architect.md +96 -0
  10. package/.mindforge/personas/build-optimizer.md +160 -0
  11. package/.mindforge/personas/caching-strategist.md +180 -0
  12. package/.mindforge/personas/chaos-engineer.md +207 -0
  13. package/.mindforge/personas/cli-designer.md +151 -0
  14. package/.mindforge/personas/cloud-architect.md +229 -0
  15. package/.mindforge/personas/code-archeologist.md +176 -0
  16. package/.mindforge/personas/code-explorer.md +144 -0
  17. package/.mindforge/personas/compliance-auditor.md +190 -0
  18. package/.mindforge/personas/concurrency-expert.md +310 -0
  19. package/.mindforge/personas/config-management-expert.md +277 -0
  20. package/.mindforge/personas/contract-tester.md +224 -0
  21. package/.mindforge/personas/cost-analyst.md +209 -0
  22. package/.mindforge/personas/data-engineer.md +235 -0
  23. package/.mindforge/personas/data-privacy-engineer.md +187 -0
  24. package/.mindforge/personas/database-expert.md +223 -0
  25. package/.mindforge/personas/dependency-auditor.md +181 -0
  26. package/.mindforge/personas/design-system-engineer.md +115 -0
  27. package/.mindforge/personas/devops-engineer.md +561 -0
  28. package/.mindforge/personas/domain-modeler.md +127 -0
  29. package/.mindforge/personas/email-systems-engineer.md +119 -0
  30. package/.mindforge/personas/error-handling-architect.md +246 -0
  31. package/.mindforge/personas/event-driven-architect.md +134 -0
  32. package/.mindforge/personas/frontend-architect.md +107 -0
  33. package/.mindforge/personas/git-forensics.md +146 -0
  34. package/.mindforge/personas/git-workflow-expert.md +161 -0
  35. package/.mindforge/personas/go-specialist.md +249 -0
  36. package/.mindforge/personas/graphql-specialist.md +195 -0
  37. package/.mindforge/personas/incident-commander.md +214 -0
  38. package/.mindforge/personas/internationalization-expert.md +164 -0
  39. package/.mindforge/personas/java-specialist.md +271 -0
  40. package/.mindforge/personas/kubernetes-debugger.md +175 -0
  41. package/.mindforge/personas/logging-architect.md +200 -0
  42. package/.mindforge/personas/migration-specialist.md +237 -0
  43. package/.mindforge/personas/ml-engineer.md +312 -0
  44. package/.mindforge/personas/mobile-engineer.md +183 -0
  45. package/.mindforge/personas/monorepo-architect.md +323 -0
  46. package/.mindforge/personas/observability-engineer.md +217 -0
  47. package/.mindforge/personas/onboarding-guide.md +265 -0
  48. package/.mindforge/personas/performance-optimizer.md +293 -0
  49. package/.mindforge/personas/product-manager.md +105 -0
  50. package/.mindforge/personas/prompt-engineer.md +200 -0
  51. package/.mindforge/personas/python-specialist.md +277 -0
  52. package/.mindforge/personas/queue-architect.md +136 -0
  53. package/.mindforge/personas/react-specialist.md +97 -0
  54. package/.mindforge/personas/real-time-engineer.md +121 -0
  55. package/.mindforge/personas/refactoring-expert.md +117 -0
  56. package/.mindforge/personas/regex-craftsman.md +130 -0
  57. package/.mindforge/personas/rust-specialist.md +262 -0
  58. package/.mindforge/personas/sdk-designer.md +185 -0
  59. package/.mindforge/personas/search-engineer.md +290 -0
  60. package/.mindforge/personas/senior-reviewer.md +372 -0
  61. package/.mindforge/personas/seo-specialist.md +99 -0
  62. package/.mindforge/personas/spec-reviewer.md +172 -0
  63. package/.mindforge/personas/state-machine-designer.md +172 -0
  64. package/.mindforge/personas/swarm-templates.json +72 -18
  65. package/.mindforge/personas/tailwind-specialist.md +95 -0
  66. package/.mindforge/personas/tech-debt-analyst.md +200 -0
  67. package/.mindforge/personas/tech-stack-selector.md +118 -0
  68. package/.mindforge/personas/technical-interviewer.md +158 -0
  69. package/.mindforge/personas/test-data-engineer.md +169 -0
  70. package/.mindforge/personas/typescript-wizard.md +247 -0
  71. package/.mindforge/personas/ux-auditor.md +251 -0
  72. package/.mindforge/personas/webhook-designer.md +161 -0
  73. package/CHANGELOG.md +82 -0
  74. package/LICENSE +1 -1
  75. package/MINDFORGE.md +18 -5
  76. package/README.md +7 -1
  77. package/RELEASENOTES.md +121 -193
  78. package/SECURITY.md +108 -2
  79. package/bin/autonomous/audit-writer.js +90 -0
  80. package/bin/autonomous/auto-runner.js +209 -431
  81. package/bin/autonomous/state-manager.js +116 -0
  82. package/bin/autonomous/task-dispatcher.js +114 -0
  83. package/bin/autonomous/wave-executor.js +169 -0
  84. package/bin/browser/browser-daemon.js +31 -1
  85. package/bin/change-classifier.js +3 -3
  86. package/bin/dashboard/api-router.js +21 -22
  87. package/bin/dashboard/metrics-aggregator.js +44 -3
  88. package/bin/dashboard/server.js +54 -10
  89. package/bin/dashboard/sse-bridge.js +51 -5
  90. package/bin/engine/learning-manager.js +1 -1
  91. package/bin/engine/mesh-syncer.js +26 -22
  92. package/bin/engine/nexus-tracer.js +6 -5
  93. package/bin/engine/orbital-guardian.js +13 -10
  94. package/bin/engine/skill-evolver.js +12 -14
  95. package/bin/engine/temporal-hub.js +25 -1
  96. package/bin/governance/policy-engine.js +5 -5
  97. package/bin/governance/policy-gate-hardened.js +2 -2
  98. package/bin/governance/quantum-crypto.js +10 -2
  99. package/bin/memory/identity-synthesizer.js +9 -11
  100. package/bin/memory/knowledge-store.js +62 -6
  101. package/bin/memory/semantic-hub.js +26 -30
  102. package/bin/memory/vector-hub.js +377 -193
  103. package/bin/migrations/v8-sqlite-migration.js +22 -21
  104. package/bin/migrations/v9-unified-memory.js +1 -1
  105. package/bin/mindforge-cli.js +47 -11
  106. package/bin/models/model-broker.js +2 -0
  107. package/bin/revops/remediation-queue.js +16 -55
  108. package/bin/utils/errors.js +40 -0
  109. package/bin/utils/file-io.js +102 -0
  110. package/bin/utils/index.js +6 -0
  111. package/bin/utils/paths.js +33 -0
  112. package/docs/commands-reference.md +38 -2
  113. package/docs/getting-started.md +16 -6
  114. package/docs/sdk-reference.md +374 -24
  115. package/docs/troubleshooting.md +4 -4
  116. package/docs/user-guide.md +31 -11
  117. package/examples/sdk-integration/README.md +24 -0
  118. package/examples/sdk-integration/index.js +24 -0
  119. package/examples/starter-project/MINDFORGE.md +8 -8
  120. package/package.json +30 -15
  121. package/.agent/bin/lib/commands.cjs +0 -959
  122. package/.agent/bin/lib/config.cjs +0 -421
  123. package/.agent/bin/lib/core.cjs +0 -1166
  124. package/.agent/bin/lib/frontmatter.cjs +0 -307
  125. package/.agent/bin/lib/init.cjs +0 -1336
  126. package/.agent/bin/lib/milestone.cjs +0 -252
  127. package/.agent/bin/lib/model-profiles.cjs +0 -68
  128. package/.agent/bin/lib/phase.cjs +0 -888
  129. package/.agent/bin/lib/profile-output.cjs +0 -952
  130. package/.agent/bin/lib/profile-pipeline.cjs +0 -539
  131. package/.agent/bin/lib/roadmap.cjs +0 -329
  132. package/.agent/bin/lib/security.cjs +0 -356
  133. package/.agent/bin/lib/state.cjs +0 -969
  134. package/.agent/bin/lib/template.cjs +0 -222
  135. package/.agent/bin/lib/uat.cjs +0 -189
  136. package/.agent/bin/lib/verify.cjs +0 -851
  137. package/.agent/bin/lib/workstream.cjs +0 -491
  138. package/.agent/bin/mindforge-tools.cjs +0 -897
  139. package/.agent/file-manifest.json +0 -219
  140. package/.agent/forge/help.md +0 -11
  141. package/.agent/forge/init-project.md +0 -36
  142. package/.agent/forge/plan-phase.md +0 -34
  143. package/.agent/mindforge/add-backlog.md +0 -32
  144. package/.agent/mindforge/agent.md +0 -31
  145. package/.agent/mindforge/approve.md +0 -22
  146. package/.agent/mindforge/audit.md +0 -34
  147. package/.agent/mindforge/auto.md +0 -26
  148. package/.agent/mindforge/benchmark.md +0 -37
  149. package/.agent/mindforge/browse.md +0 -30
  150. package/.agent/mindforge/complete-milestone.md +0 -22
  151. package/.agent/mindforge/costs.md +0 -15
  152. package/.agent/mindforge/cross-review.md +0 -21
  153. package/.agent/mindforge/dashboard.md +0 -102
  154. package/.agent/mindforge/debug.md +0 -133
  155. package/.agent/mindforge/discuss-phase.md +0 -142
  156. package/.agent/mindforge/do.md +0 -31
  157. package/.agent/mindforge/execute-phase.md +0 -200
  158. package/.agent/mindforge/health.md +0 -31
  159. package/.agent/mindforge/help.md +0 -33
  160. package/.agent/mindforge/init-org.md +0 -135
  161. package/.agent/mindforge/init-project.md +0 -170
  162. package/.agent/mindforge/install-skill.md +0 -28
  163. package/.agent/mindforge/learn.md +0 -147
  164. package/.agent/mindforge/learning.md +0 -20
  165. package/.agent/mindforge/map-codebase.md +0 -302
  166. package/.agent/mindforge/marketplace.md +0 -124
  167. package/.agent/mindforge/metrics.md +0 -26
  168. package/.agent/mindforge/migrate.md +0 -44
  169. package/.agent/mindforge/milestone.md +0 -16
  170. package/.agent/mindforge/new-runtime.md +0 -23
  171. package/.agent/mindforge/next.md +0 -109
  172. package/.agent/mindforge/note.md +0 -35
  173. package/.agent/mindforge/plan-phase.md +0 -131
  174. package/.agent/mindforge/plant-seed.md +0 -31
  175. package/.agent/mindforge/plugins.md +0 -44
  176. package/.agent/mindforge/pr-review.md +0 -45
  177. package/.agent/mindforge/profile-team.md +0 -27
  178. package/.agent/mindforge/publish-skill.md +0 -23
  179. package/.agent/mindforge/qa.md +0 -20
  180. package/.agent/mindforge/quick.md +0 -139
  181. package/.agent/mindforge/record-learning.md +0 -22
  182. package/.agent/mindforge/release.md +0 -14
  183. package/.agent/mindforge/remember.md +0 -30
  184. package/.agent/mindforge/research.md +0 -16
  185. package/.agent/mindforge/retrospective.md +0 -31
  186. package/.agent/mindforge/review-backlog.md +0 -34
  187. package/.agent/mindforge/review.md +0 -161
  188. package/.agent/mindforge/security-scan.md +0 -242
  189. package/.agent/mindforge/session-report.md +0 -39
  190. package/.agent/mindforge/ship.md +0 -111
  191. package/.agent/mindforge/skills.md +0 -145
  192. package/.agent/mindforge/status.md +0 -113
  193. package/.agent/mindforge/steer.md +0 -17
  194. package/.agent/mindforge/sync-confluence.md +0 -15
  195. package/.agent/mindforge/sync-jira.md +0 -16
  196. package/.agent/mindforge/tokens.md +0 -12
  197. package/.agent/mindforge/ui-phase.md +0 -34
  198. package/.agent/mindforge/ui-review.md +0 -36
  199. package/.agent/mindforge/update.md +0 -46
  200. package/.agent/mindforge/validate-phase.md +0 -31
  201. package/.agent/mindforge/verify-phase.md +0 -66
  202. package/.agent/mindforge/workspace.md +0 -33
  203. package/.agent/mindforge/workstreams.md +0 -35
  204. package/.agent/settings.json +0 -42
  205. package/.agent/skills/mindforge-add-backlog/SKILL.md +0 -72
  206. package/.agent/skills/mindforge-add-phase/SKILL.md +0 -39
  207. package/.agent/skills/mindforge-add-tests/SKILL.md +0 -28
  208. package/.agent/skills/mindforge-add-todo/SKILL.md +0 -42
  209. package/.agent/skills/mindforge-audit-milestone/SKILL.md +0 -29
  210. package/.agent/skills/mindforge-audit-uat/SKILL.md +0 -20
  211. package/.agent/skills/mindforge-autonomous/SKILL.md +0 -33
  212. package/.agent/skills/mindforge-brainstorming/SKILL.md +0 -164
  213. package/.agent/skills/mindforge-brainstorming/scripts/frame-template.html +0 -214
  214. package/.agent/skills/mindforge-brainstorming/scripts/helper.js +0 -88
  215. package/.agent/skills/mindforge-brainstorming/scripts/server.cjs +0 -354
  216. package/.agent/skills/mindforge-brainstorming/scripts/start-server.sh +0 -148
  217. package/.agent/skills/mindforge-brainstorming/scripts/stop-server.sh +0 -56
  218. package/.agent/skills/mindforge-brainstorming/spec-document-reviewer-prompt.md +0 -49
  219. package/.agent/skills/mindforge-brainstorming/visual-companion.md +0 -287
  220. package/.agent/skills/mindforge-check-todos/SKILL.md +0 -40
  221. package/.agent/skills/mindforge-cleanup/SKILL.md +0 -19
  222. package/.agent/skills/mindforge-complete-milestone/SKILL.md +0 -131
  223. package/.agent/skills/mindforge-debug/SKILL.md +0 -163
  224. package/.agent/skills/mindforge-debug_extended/CREATION-LOG.md +0 -119
  225. package/.agent/skills/mindforge-debug_extended/SKILL.md +0 -296
  226. package/.agent/skills/mindforge-debug_extended/condition-based-waiting-example.ts +0 -158
  227. package/.agent/skills/mindforge-debug_extended/condition-based-waiting.md +0 -115
  228. package/.agent/skills/mindforge-debug_extended/defense-in-depth.md +0 -122
  229. package/.agent/skills/mindforge-debug_extended/find-polluter.sh +0 -63
  230. package/.agent/skills/mindforge-debug_extended/root-cause-tracing.md +0 -169
  231. package/.agent/skills/mindforge-debug_extended/test-academic.md +0 -14
  232. package/.agent/skills/mindforge-debug_extended/test-pressure-1.md +0 -58
  233. package/.agent/skills/mindforge-debug_extended/test-pressure-2.md +0 -68
  234. package/.agent/skills/mindforge-debug_extended/test-pressure-3.md +0 -69
  235. package/.agent/skills/mindforge-discuss-phase/SKILL.md +0 -54
  236. package/.agent/skills/mindforge-do/SKILL.md +0 -26
  237. package/.agent/skills/mindforge-execute-phase/SKILL.md +0 -49
  238. package/.agent/skills/mindforge-execute-phase_extended/SKILL.md +0 -70
  239. package/.agent/skills/mindforge-fast/SKILL.md +0 -23
  240. package/.agent/skills/mindforge-forensics/SKILL.md +0 -49
  241. package/.agent/skills/mindforge-health/SKILL.md +0 -17
  242. package/.agent/skills/mindforge-help/SKILL.md +0 -23
  243. package/.agent/skills/mindforge-insert-phase/SKILL.md +0 -28
  244. package/.agent/skills/mindforge-join-discord/SKILL.md +0 -19
  245. package/.agent/skills/mindforge-list-phase-assumptions/SKILL.md +0 -41
  246. package/.agent/skills/mindforge-list-workspaces/SKILL.md +0 -17
  247. package/.agent/skills/mindforge-manager/SKILL.md +0 -32
  248. package/.agent/skills/mindforge-map-codebase/SKILL.md +0 -64
  249. package/.agent/skills/mindforge-milestone-summary/SKILL.md +0 -44
  250. package/.agent/skills/mindforge-neural-orchestrator/SKILL.md +0 -115
  251. package/.agent/skills/mindforge-neural-orchestrator/references/codex-tools.md +0 -100
  252. package/.agent/skills/mindforge-neural-orchestrator/references/gemini-tools.md +0 -33
  253. package/.agent/skills/mindforge-new-milestone/SKILL.md +0 -38
  254. package/.agent/skills/mindforge-new-project/SKILL.md +0 -36
  255. package/.agent/skills/mindforge-new-workspace/SKILL.md +0 -39
  256. package/.agent/skills/mindforge-next/SKILL.md +0 -19
  257. package/.agent/skills/mindforge-note/SKILL.md +0 -29
  258. package/.agent/skills/mindforge-parallel-mesh_extended/SKILL.md +0 -182
  259. package/.agent/skills/mindforge-pause-work/SKILL.md +0 -35
  260. package/.agent/skills/mindforge-plan-milestone-gaps/SKILL.md +0 -28
  261. package/.agent/skills/mindforge-plan-phase/SKILL.md +0 -38
  262. package/.agent/skills/mindforge-plan-phase_extended/SKILL.md +0 -152
  263. package/.agent/skills/mindforge-plan-phase_extended/plan-document-reviewer-prompt.md +0 -49
  264. package/.agent/skills/mindforge-plant-seed/SKILL.md +0 -22
  265. package/.agent/skills/mindforge-pr-branch/SKILL.md +0 -21
  266. package/.agent/skills/mindforge-profile-user/SKILL.md +0 -38
  267. package/.agent/skills/mindforge-progress/SKILL.md +0 -19
  268. package/.agent/skills/mindforge-quick/SKILL.md +0 -38
  269. package/.agent/skills/mindforge-reapply-patches/SKILL.md +0 -124
  270. package/.agent/skills/mindforge-remove-phase/SKILL.md +0 -26
  271. package/.agent/skills/mindforge-remove-workspace/SKILL.md +0 -22
  272. package/.agent/skills/mindforge-research-phase/SKILL.md +0 -186
  273. package/.agent/skills/mindforge-resume-work/SKILL.md +0 -35
  274. package/.agent/skills/mindforge-review/SKILL.md +0 -31
  275. package/.agent/skills/mindforge-review-backlog/SKILL.md +0 -58
  276. package/.agent/skills/mindforge-review-inbound/SKILL.md +0 -213
  277. package/.agent/skills/mindforge-review-request/SKILL.md +0 -105
  278. package/.agent/skills/mindforge-review-request/code-reviewer.md +0 -146
  279. package/.agent/skills/mindforge-session-report/SKILL.md +0 -16
  280. package/.agent/skills/mindforge-set-profile/SKILL.md +0 -9
  281. package/.agent/skills/mindforge-settings/SKILL.md +0 -32
  282. package/.agent/skills/mindforge-ship/SKILL.md +0 -16
  283. package/.agent/skills/mindforge-ship_extended/SKILL.md +0 -200
  284. package/.agent/skills/mindforge-skill-creation/SKILL.md +0 -655
  285. package/.agent/skills/mindforge-skill-creation/anthropic-best-practices.md +0 -1150
  286. package/.agent/skills/mindforge-skill-creation/examples/CLAUDE_MD_TESTING.md +0 -189
  287. package/.agent/skills/mindforge-skill-creation/graphviz-conventions.dot +0 -172
  288. package/.agent/skills/mindforge-skill-creation/persuasion-principles.md +0 -187
  289. package/.agent/skills/mindforge-skill-creation/render-graphs.js +0 -168
  290. package/.agent/skills/mindforge-skill-creation/testing-skills-with-subagents.md +0 -384
  291. package/.agent/skills/mindforge-stats/SKILL.md +0 -16
  292. package/.agent/skills/mindforge-swarm-execution/SKILL.md +0 -277
  293. package/.agent/skills/mindforge-swarm-execution/code-quality-reviewer-prompt.md +0 -26
  294. package/.agent/skills/mindforge-swarm-execution/implementer-prompt.md +0 -113
  295. package/.agent/skills/mindforge-swarm-execution/spec-reviewer-prompt.md +0 -61
  296. package/.agent/skills/mindforge-system-architecture/SKILL.md +0 -136
  297. package/.agent/skills/mindforge-system-architecture/examples.md +0 -120
  298. package/.agent/skills/mindforge-system-architecture/scaling-checklist.md +0 -76
  299. package/.agent/skills/mindforge-tdd/SKILL.md +0 -112
  300. package/.agent/skills/mindforge-tdd/deep-modules.md +0 -21
  301. package/.agent/skills/mindforge-tdd/interface-design.md +0 -22
  302. package/.agent/skills/mindforge-tdd/mocking.md +0 -24
  303. package/.agent/skills/mindforge-tdd/refactoring.md +0 -21
  304. package/.agent/skills/mindforge-tdd/tests.md +0 -28
  305. package/.agent/skills/mindforge-tdd_extended/SKILL.md +0 -371
  306. package/.agent/skills/mindforge-tdd_extended/testing-anti-patterns.md +0 -299
  307. package/.agent/skills/mindforge-thread/SKILL.md +0 -123
  308. package/.agent/skills/mindforge-ui-phase/SKILL.md +0 -24
  309. package/.agent/skills/mindforge-ui-review/SKILL.md +0 -24
  310. package/.agent/skills/mindforge-update/SKILL.md +0 -35
  311. package/.agent/skills/mindforge-validate-phase/SKILL.md +0 -26
  312. package/.agent/skills/mindforge-verify-work/SKILL.md +0 -30
  313. package/.agent/skills/mindforge-verify-work_extended/SKILL.md +0 -139
  314. package/.agent/skills/mindforge-workspace-isolated/SKILL.md +0 -218
  315. package/.agent/skills/mindforge-workstreams/SKILL.md +0 -65
  316. package/.agent/workflows/forge:help.md +0 -10
  317. package/.agent/workflows/forge:init-project.md +0 -35
  318. package/.agent/workflows/forge:plan-phase.md +0 -33
  319. package/.agent/workflows/mindforge-add-phase.md +0 -112
  320. package/.agent/workflows/mindforge-add-tests.md +0 -351
  321. package/.agent/workflows/mindforge-add-todo.md +0 -158
  322. package/.agent/workflows/mindforge-audit-milestone.md +0 -332
  323. package/.agent/workflows/mindforge-audit-uat.md +0 -109
  324. package/.agent/workflows/mindforge-autonomous.md +0 -815
  325. package/.agent/workflows/mindforge-check-todos.md +0 -177
  326. package/.agent/workflows/mindforge-cleanup.md +0 -152
  327. package/.agent/workflows/mindforge-complete-milestone.md +0 -766
  328. package/.agent/workflows/mindforge-diagnose-issues.md +0 -220
  329. package/.agent/workflows/mindforge-discovery-phase.md +0 -289
  330. package/.agent/workflows/mindforge-discuss-phase-assumptions.md +0 -645
  331. package/.agent/workflows/mindforge-discuss-phase.md +0 -1047
  332. package/.agent/workflows/mindforge-do.md +0 -104
  333. package/.agent/workflows/mindforge-execute-phase.md +0 -838
  334. package/.agent/workflows/mindforge-execute-plan.md +0 -509
  335. package/.agent/workflows/mindforge-fast.md +0 -105
  336. package/.agent/workflows/mindforge-forensics.md +0 -265
  337. package/.agent/workflows/mindforge-health.md +0 -181
  338. package/.agent/workflows/mindforge-help.md +0 -606
  339. package/.agent/workflows/mindforge-insert-phase.md +0 -130
  340. package/.agent/workflows/mindforge-list-phase-assumptions.md +0 -178
  341. package/.agent/workflows/mindforge-list-workspaces.md +0 -56
  342. package/.agent/workflows/mindforge-manager.md +0 -360
  343. package/.agent/workflows/mindforge-map-codebase.md +0 -370
  344. package/.agent/workflows/mindforge-milestone-summary.md +0 -223
  345. package/.agent/workflows/mindforge-new-milestone.md +0 -469
  346. package/.agent/workflows/mindforge-new-project.md +0 -1226
  347. package/.agent/workflows/mindforge-new-workspace.md +0 -237
  348. package/.agent/workflows/mindforge-next.md +0 -97
  349. package/.agent/workflows/mindforge-node-repair.md +0 -92
  350. package/.agent/workflows/mindforge-note.md +0 -156
  351. package/.agent/workflows/mindforge-pause-work.md +0 -176
  352. package/.agent/workflows/mindforge-plan-milestone-gaps.md +0 -273
  353. package/.agent/workflows/mindforge-plan-phase.md +0 -877
  354. package/.agent/workflows/mindforge-plant-seed.md +0 -169
  355. package/.agent/workflows/mindforge-pr-branch.md +0 -129
  356. package/.agent/workflows/mindforge-profile-user.md +0 -450
  357. package/.agent/workflows/mindforge-progress.md +0 -507
  358. package/.agent/workflows/mindforge-quick.md +0 -732
  359. package/.agent/workflows/mindforge-remove-phase.md +0 -155
  360. package/.agent/workflows/mindforge-remove-workspace.md +0 -90
  361. package/.agent/workflows/mindforge-research-phase.md +0 -74
  362. package/.agent/workflows/mindforge-resume-project.md +0 -325
  363. package/.agent/workflows/mindforge-review.md +0 -228
  364. package/.agent/workflows/mindforge-session-report.md +0 -146
  365. package/.agent/workflows/mindforge-settings.md +0 -283
  366. package/.agent/workflows/mindforge-ship.md +0 -228
  367. package/.agent/workflows/mindforge-stats.md +0 -60
  368. package/.agent/workflows/mindforge-transition.md +0 -671
  369. package/.agent/workflows/mindforge-ui-phase.md +0 -290
  370. package/.agent/workflows/mindforge-ui-review.md +0 -157
  371. package/.agent/workflows/mindforge-update.md +0 -323
  372. package/.agent/workflows/mindforge-validate-phase.md +0 -167
  373. package/.agent/workflows/mindforge-verify-phase.md +0 -254
  374. package/.agent/workflows/mindforge-verify-work.md +0 -628
  375. package/.agent/workflows/mindforge:add-backlog.md +0 -24
  376. package/.agent/workflows/mindforge:agent.md +0 -25
  377. package/.agent/workflows/mindforge:approve.md +0 -21
  378. package/.agent/workflows/mindforge:architecture.md +0 -40
  379. package/.agent/workflows/mindforge:audit.md +0 -33
  380. package/.agent/workflows/mindforge:auto.md +0 -25
  381. package/.agent/workflows/mindforge:benchmark.md +0 -36
  382. package/.agent/workflows/mindforge:brainstorming.md +0 -16
  383. package/.agent/workflows/mindforge:browse.md +0 -29
  384. package/.agent/workflows/mindforge:complete-milestone.md +0 -21
  385. package/.agent/workflows/mindforge:costs.md +0 -14
  386. package/.agent/workflows/mindforge:cross-review.md +0 -20
  387. package/.agent/workflows/mindforge:dashboard.md +0 -101
  388. package/.agent/workflows/mindforge:debug.md +0 -131
  389. package/.agent/workflows/mindforge:discuss-phase.md +0 -141
  390. package/.agent/workflows/mindforge:do.md +0 -25
  391. package/.agent/workflows/mindforge:execute-phase.md +0 -205
  392. package/.agent/workflows/mindforge:executor.md +0 -18
  393. package/.agent/workflows/mindforge:health.md +0 -24
  394. package/.agent/workflows/mindforge:help.md +0 -26
  395. package/.agent/workflows/mindforge:identity.md +0 -18
  396. package/.agent/workflows/mindforge:init-org.md +0 -134
  397. package/.agent/workflows/mindforge:init-project.md +0 -185
  398. package/.agent/workflows/mindforge:install-skill.md +0 -27
  399. package/.agent/workflows/mindforge:learn.md +0 -146
  400. package/.agent/workflows/mindforge:map-codebase.md +0 -301
  401. package/.agent/workflows/mindforge:marketplace.md +0 -123
  402. package/.agent/workflows/mindforge:memory.md +0 -18
  403. package/.agent/workflows/mindforge:metrics.md +0 -25
  404. package/.agent/workflows/mindforge:migrate.md +0 -43
  405. package/.agent/workflows/mindforge:milestone.md +0 -15
  406. package/.agent/workflows/mindforge:new-runtime.md +0 -22
  407. package/.agent/workflows/mindforge:next.md +0 -108
  408. package/.agent/workflows/mindforge:note.md +0 -27
  409. package/.agent/workflows/mindforge:plan-phase.md +0 -139
  410. package/.agent/workflows/mindforge:planner.md +0 -18
  411. package/.agent/workflows/mindforge:plant-seed.md +0 -24
  412. package/.agent/workflows/mindforge:plugins.md +0 -43
  413. package/.agent/workflows/mindforge:pr-review.md +0 -44
  414. package/.agent/workflows/mindforge:profile-team.md +0 -26
  415. package/.agent/workflows/mindforge:publish-skill.md +0 -22
  416. package/.agent/workflows/mindforge:qa.md +0 -19
  417. package/.agent/workflows/mindforge:quick.md +0 -138
  418. package/.agent/workflows/mindforge:release.md +0 -13
  419. package/.agent/workflows/mindforge:remember.md +0 -29
  420. package/.agent/workflows/mindforge:research.md +0 -15
  421. package/.agent/workflows/mindforge:researcher.md +0 -18
  422. package/.agent/workflows/mindforge:retrospective.md +0 -29
  423. package/.agent/workflows/mindforge:review-backlog.md +0 -26
  424. package/.agent/workflows/mindforge:review.md +0 -160
  425. package/.agent/workflows/mindforge:reviewer.md +0 -18
  426. package/.agent/workflows/mindforge:security-scan.md +0 -236
  427. package/.agent/workflows/mindforge:session-report.md +0 -31
  428. package/.agent/workflows/mindforge:ship.md +0 -108
  429. package/.agent/workflows/mindforge:skills.md +0 -144
  430. package/.agent/workflows/mindforge:soul.md +0 -54
  431. package/.agent/workflows/mindforge:status.md +0 -107
  432. package/.agent/workflows/mindforge:steer.md +0 -16
  433. package/.agent/workflows/mindforge:sync-confluence.md +0 -14
  434. package/.agent/workflows/mindforge:sync-jira.md +0 -15
  435. package/.agent/workflows/mindforge:tdd.md +0 -46
  436. package/.agent/workflows/mindforge:tokens.md +0 -11
  437. package/.agent/workflows/mindforge:tool.md +0 -18
  438. package/.agent/workflows/mindforge:ui-phase.md +0 -27
  439. package/.agent/workflows/mindforge:ui-review.md +0 -28
  440. package/.agent/workflows/mindforge:update.md +0 -45
  441. package/.agent/workflows/mindforge:validate-phase.md +0 -25
  442. package/.agent/workflows/mindforge:verify-phase.md +0 -65
  443. package/.agent/workflows/mindforge:workspace.md +0 -32
  444. package/.agent/workflows/mindforge:workstreams.md +0 -27
  445. package/.agent/workflows/publish-release.md +0 -36
  446. package/.claude/CLAUDE.md +0 -102
  447. package/.claude/commands/forge/help.md +0 -7
  448. package/.claude/commands/forge/init-project.md +0 -32
  449. package/.claude/commands/forge/plan-phase.md +0 -30
  450. package/.claude/commands/mindforge/add-backlog.md +0 -32
  451. package/.claude/commands/mindforge/agent.md +0 -31
  452. package/.claude/commands/mindforge/approve.md +0 -22
  453. package/.claude/commands/mindforge/audit.md +0 -34
  454. package/.claude/commands/mindforge/auto.md +0 -26
  455. package/.claude/commands/mindforge/benchmark.md +0 -37
  456. package/.claude/commands/mindforge/browse.md +0 -30
  457. package/.claude/commands/mindforge/complete-milestone.md +0 -22
  458. package/.claude/commands/mindforge/costs.md +0 -15
  459. package/.claude/commands/mindforge/cross-review.md +0 -21
  460. package/.claude/commands/mindforge/dashboard.md +0 -102
  461. package/.claude/commands/mindforge/debug.md +0 -133
  462. package/.claude/commands/mindforge/discuss-phase.md +0 -142
  463. package/.claude/commands/mindforge/do.md +0 -31
  464. package/.claude/commands/mindforge/execute-phase.md +0 -200
  465. package/.claude/commands/mindforge/health.md +0 -31
  466. package/.claude/commands/mindforge/help.md +0 -33
  467. package/.claude/commands/mindforge/init-org.md +0 -135
  468. package/.claude/commands/mindforge/init-project.md +0 -170
  469. package/.claude/commands/mindforge/install-skill.md +0 -28
  470. package/.claude/commands/mindforge/learn.md +0 -147
  471. package/.claude/commands/mindforge/learning.md +0 -20
  472. package/.claude/commands/mindforge/map-codebase.md +0 -302
  473. package/.claude/commands/mindforge/marketplace.md +0 -124
  474. package/.claude/commands/mindforge/metrics.md +0 -26
  475. package/.claude/commands/mindforge/migrate.md +0 -44
  476. package/.claude/commands/mindforge/milestone.md +0 -16
  477. package/.claude/commands/mindforge/new-runtime.md +0 -23
  478. package/.claude/commands/mindforge/next.md +0 -109
  479. package/.claude/commands/mindforge/note.md +0 -35
  480. package/.claude/commands/mindforge/plan-phase.md +0 -131
  481. package/.claude/commands/mindforge/plant-seed.md +0 -31
  482. package/.claude/commands/mindforge/plugins.md +0 -44
  483. package/.claude/commands/mindforge/pr-review.md +0 -45
  484. package/.claude/commands/mindforge/profile-team.md +0 -27
  485. package/.claude/commands/mindforge/publish-skill.md +0 -23
  486. package/.claude/commands/mindforge/qa.md +0 -20
  487. package/.claude/commands/mindforge/quick.md +0 -139
  488. package/.claude/commands/mindforge/record-learning.md +0 -22
  489. package/.claude/commands/mindforge/release.md +0 -14
  490. package/.claude/commands/mindforge/remember.md +0 -30
  491. package/.claude/commands/mindforge/research.md +0 -16
  492. package/.claude/commands/mindforge/retrospective.md +0 -31
  493. package/.claude/commands/mindforge/review-backlog.md +0 -34
  494. package/.claude/commands/mindforge/review.md +0 -161
  495. package/.claude/commands/mindforge/security-scan.md +0 -242
  496. package/.claude/commands/mindforge/session-report.md +0 -39
  497. package/.claude/commands/mindforge/ship.md +0 -111
  498. package/.claude/commands/mindforge/skills.md +0 -145
  499. package/.claude/commands/mindforge/status.md +0 -113
  500. package/.claude/commands/mindforge/steer.md +0 -17
  501. package/.claude/commands/mindforge/sync-confluence.md +0 -15
  502. package/.claude/commands/mindforge/sync-jira.md +0 -16
  503. package/.claude/commands/mindforge/tokens.md +0 -12
  504. package/.claude/commands/mindforge/ui-phase.md +0 -34
  505. package/.claude/commands/mindforge/ui-review.md +0 -36
  506. package/.claude/commands/mindforge/update.md +0 -46
  507. package/.claude/commands/mindforge/validate-phase.md +0 -31
  508. package/.claude/commands/mindforge/verify-phase.md +0 -66
  509. package/.claude/commands/mindforge/workspace.md +0 -33
  510. package/.claude/commands/mindforge/workstreams.md +0 -35
  511. package/.claude/settings.local.json +0 -16
  512. package/.mindforge/audit/AUDIT-SCHEMA.md +0 -470
  513. package/.mindforge/browser/daemon-protocol.md +0 -24
  514. package/.mindforge/browser/qa-engine.md +0 -16
  515. package/.mindforge/browser/session-manager.md +0 -18
  516. package/.mindforge/browser/visual-verify-spec.md +0 -31
  517. package/.mindforge/celestial.db +0 -0
  518. package/.mindforge/ci/ci-config-schema.md +0 -21
  519. package/.mindforge/ci/ci-mode.md +0 -179
  520. package/.mindforge/ci/github-actions-adapter.md +0 -224
  521. package/.mindforge/ci/gitlab-ci-adapter.md +0 -31
  522. package/.mindforge/ci/jenkins-adapter.md +0 -44
  523. package/.mindforge/dashboard/api-reference.md +0 -122
  524. package/.mindforge/dashboard/dashboard-spec.md +0 -96
  525. package/.mindforge/distribution/marketplace.md +0 -53
  526. package/.mindforge/distribution/registry-client.md +0 -166
  527. package/.mindforge/distribution/registry-schema.md +0 -96
  528. package/.mindforge/distribution/skill-publisher.md +0 -44
  529. package/.mindforge/distribution/skill-validator.md +0 -74
  530. package/.mindforge/governance/GOVERNANCE-CONFIG.md +0 -17
  531. package/.mindforge/governance/approval-workflow.md +0 -37
  532. package/.mindforge/governance/change-classifier.md +0 -63
  533. package/.mindforge/governance/compliance-gates.md +0 -31
  534. package/.mindforge/governance/policies/sovereign-default.json +0 -16
  535. package/.mindforge/integrations/confluence.md +0 -27
  536. package/.mindforge/integrations/connection-manager.md +0 -163
  537. package/.mindforge/integrations/github.md +0 -25
  538. package/.mindforge/integrations/gitlab.md +0 -13
  539. package/.mindforge/integrations/jira.md +0 -102
  540. package/.mindforge/integrations/slack.md +0 -41
  541. package/.mindforge/intelligence/antipattern-detector.md +0 -75
  542. package/.mindforge/intelligence/difficulty-scorer.md +0 -55
  543. package/.mindforge/intelligence/health-engine.md +0 -208
  544. package/.mindforge/intelligence/skill-gap-analyser.md +0 -40
  545. package/.mindforge/intelligence/smart-compaction.md +0 -71
  546. package/.mindforge/memory/MEMORY-SCHEMA.md +0 -155
  547. package/.mindforge/memory/engine/capture-protocol.md +0 -36
  548. package/.mindforge/memory/engine/global-sync-spec.md +0 -42
  549. package/.mindforge/memory/engine/retrieval-spec.md +0 -44
  550. package/.mindforge/memory/sync-manifest.json +0 -6
  551. package/.mindforge/metrics/METRICS-SCHEMA.md +0 -42
  552. package/.mindforge/metrics/quality-tracker.md +0 -32
  553. package/.mindforge/models/model-registry.md +0 -48
  554. package/.mindforge/models/model-router.md +0 -30
  555. package/.mindforge/monorepo/cross-package-planner.md +0 -114
  556. package/.mindforge/monorepo/dependency-graph-builder.md +0 -32
  557. package/.mindforge/monorepo/workspace-detector.md +0 -129
  558. package/.mindforge/org/CONVENTIONS.md +0 -62
  559. package/.mindforge/org/ORG.md +0 -51
  560. package/.mindforge/org/SECURITY.md +0 -50
  561. package/.mindforge/org/TOOLS.md +0 -53
  562. package/.mindforge/org/integrations/INTEGRATIONS-CONFIG.md +0 -58
  563. package/.mindforge/org/skills/MANIFEST.md +0 -15
  564. package/.mindforge/plugins/PLUGINS-MANIFEST.md +0 -23
  565. package/.mindforge/plugins/plugin-loader.md +0 -93
  566. package/.mindforge/plugins/plugin-registry.md +0 -44
  567. package/.mindforge/plugins/plugin-schema.md +0 -68
  568. package/.mindforge/pr-review/ai-reviewer.md +0 -266
  569. package/.mindforge/pr-review/finding-formatter.md +0 -46
  570. package/.mindforge/pr-review/review-prompt-templates.md +0 -44
  571. package/.mindforge/production/compatibility-layer.md +0 -39
  572. package/.mindforge/production/migration-engine.md +0 -52
  573. package/.mindforge/production/production-checklist.md +0 -76
  574. package/.mindforge/production/token-optimiser.md +0 -68
  575. package/.mindforge/skills-builder/auto-capture-protocol.md +0 -88
  576. package/.mindforge/skills-builder/learn-protocol.md +0 -161
  577. package/.mindforge/skills-builder/quality-scoring.md +0 -120
  578. package/.mindforge/team/TEAM-PROFILE.md +0 -42
  579. package/.mindforge/team/multi-handoff.md +0 -23
  580. package/.mindforge/team/profiles/README.md +0 -13
  581. package/.mindforge/team/session-merger.md +0 -18
  582. package/.planning/ARCHITECTURE.md +0 -0
  583. package/.planning/HANDOFF.json +0 -8
  584. package/.planning/PROJECT.md +0 -33
  585. package/.planning/RELEASE-CHECKLIST.md +0 -68
  586. package/.planning/REQUIREMENTS.md +0 -35
  587. package/.planning/ROADMAP.md +0 -12
  588. package/.planning/STATE.md +0 -36
  589. package/.planning/approvals/.gitkeep +0 -1
  590. package/.planning/archive/.gitkeep +0 -1
  591. package/.planning/audit-archive/.gitkeep +0 -1
  592. package/.planning/decisions/.gitkeep +0 -0
  593. package/.planning/jira-sync.json +0 -1
  594. package/.planning/milestones/.gitkeep +0 -1
  595. package/.planning/phases/.gitkeep +0 -0
  596. package/.planning/research/.gitkeep +0 -0
  597. package/.planning/screenshots/.gitkeep +0 -0
  598. package/.planning/slack-threads.json +0 -1
  599. package/docs/CAPABILITIES-MANIFEST.md +0 -64
  600. package/docs/Context/Master-Context.md +0 -731
  601. package/docs/INTELLIGENCE-MESH.md +0 -37
  602. package/docs/MIND-FORGE-REFERENCE-V6.md +0 -96
  603. package/docs/PERSONAS.md +0 -960
  604. package/docs/References/audit-events.md +0 -59
  605. package/docs/References/checkpoints.md +0 -778
  606. package/docs/References/commands.md +0 -107
  607. package/docs/References/config-reference.md +0 -81
  608. package/docs/References/continuation-format.md +0 -249
  609. package/docs/References/decimal-phase-calculation.md +0 -64
  610. package/docs/References/git-integration.md +0 -295
  611. package/docs/References/git-planning-commit.md +0 -38
  612. package/docs/References/model-profile-resolution.md +0 -36
  613. package/docs/References/model-profiles.md +0 -139
  614. package/docs/References/phase-argument-parsing.md +0 -61
  615. package/docs/References/planning-config.md +0 -202
  616. package/docs/References/questioning.md +0 -162
  617. package/docs/References/sdk-api.md +0 -53
  618. package/docs/References/skills-api.md +0 -57
  619. package/docs/References/tdd.md +0 -263
  620. package/docs/References/ui-brand.md +0 -160
  621. package/docs/References/user-profiling.md +0 -681
  622. package/docs/References/verification-patterns.md +0 -612
  623. package/docs/References/workstream-flag.md +0 -58
  624. package/docs/Templates/Agents/CLAUDE-MD.md +0 -122
  625. package/docs/Templates/Agents/COPILOT-INSTRUCTIONS.md +0 -7
  626. package/docs/Templates/Agents/DEBUGGER-PROMPT.md +0 -91
  627. package/docs/Templates/Agents/PLANNER-PROMPT.md +0 -117
  628. package/docs/Templates/Codebase/architecture.md +0 -255
  629. package/docs/Templates/Codebase/concerns.md +0 -310
  630. package/docs/Templates/Codebase/conventions.md +0 -307
  631. package/docs/Templates/Codebase/integrations.md +0 -280
  632. package/docs/Templates/Codebase/stack.md +0 -186
  633. package/docs/Templates/Codebase/structure.md +0 -285
  634. package/docs/Templates/Codebase/testing.md +0 -480
  635. package/docs/Templates/Execution/CONTINUE-HERE.md +0 -78
  636. package/docs/Templates/Execution/DISCUSSION-LOG.md +0 -63
  637. package/docs/Templates/Execution/PHASE-PROMPT.md +0 -610
  638. package/docs/Templates/Execution/STATE.md +0 -176
  639. package/docs/Templates/Execution/SUMMARY-COMPLEX.md +0 -59
  640. package/docs/Templates/Execution/SUMMARY-MINIMAL.md +0 -41
  641. package/docs/Templates/Execution/SUMMARY-STANDARD.md +0 -48
  642. package/docs/Templates/Execution/SUMMARY.md +0 -248
  643. package/docs/Templates/Profile/DEV-PREFERENCES.md +0 -21
  644. package/docs/Templates/Profile/USER-PROFILE.md +0 -146
  645. package/docs/Templates/Profile/USER-SETUP.md +0 -311
  646. package/docs/Templates/Project/AGENTS_LEARNING.md +0 -88
  647. package/docs/Templates/Project/DISCOVERY.md +0 -146
  648. package/docs/Templates/Project/MILESTONE-ARCHIVE.md +0 -123
  649. package/docs/Templates/Project/MILESTONE.md +0 -115
  650. package/docs/Templates/Project/PROJECT.md +0 -206
  651. package/docs/Templates/Project/REQUIREMENTS.md +0 -231
  652. package/docs/Templates/Project/RETROSPECTIVE.md +0 -54
  653. package/docs/Templates/Project/ROADMAP.md +0 -202
  654. package/docs/Templates/Quality/DEBUG.md +0 -164
  655. package/docs/Templates/Quality/UAT.md +0 -280
  656. package/docs/Templates/Quality/UI-SPEC.md +0 -100
  657. package/docs/Templates/Quality/VALIDATION.md +0 -76
  658. package/docs/Templates/Quality/VERIFICATION-REPORT.md +0 -322
  659. package/docs/Templates/Research/ARCHITECTURE.md +0 -204
  660. package/docs/Templates/Research/FEATURES.md +0 -147
  661. package/docs/Templates/Research/PITFALLS.md +0 -200
  662. package/docs/Templates/Research/STACK.md +0 -120
  663. package/docs/Templates/Research/SUMMARY.md +0 -170
  664. package/docs/Templates/System/CONFIG.json +0 -43
  665. package/docs/Templates/System/CONTEXT.md +0 -352
  666. package/docs/adr/ADR-024-browser-localhost-only.md +0 -17
  667. package/docs/adr/ADR-025-visual-verify-failure-treatment.md +0 -19
  668. package/docs/adr/ADR-026-session-persistence-security.md +0 -20
  669. package/docs/adr/ADR-042-ads-protocol.md +0 -30
  670. package/docs/architecture/NEXUS-DASHBOARD.md +0 -35
  671. package/docs/architecture/PAR-ZTS-SURVEY.md +0 -43
  672. package/docs/architecture/README.md +0 -78
  673. package/docs/architecture/V3-CORE.md +0 -52
  674. package/docs/architecture/V4-SWARM-MESH.md +0 -77
  675. package/docs/architecture/V5-ENTERPRISE.md +0 -131
  676. package/docs/architecture/V6-SOVEREIGN.md +0 -43
  677. package/docs/architecture/V8-SRE.md +0 -88
  678. package/docs/architecture/V9-BEDROCK.md +0 -162
  679. package/docs/architecture/adr-039-multi-runtime-support.md +0 -20
  680. package/docs/architecture/adr-040-additive-schema-migration.md +0 -21
  681. package/docs/architecture/adr-041-stable-runtime-interface-contract.md +0 -20
  682. package/docs/architecture/decision-records-index.md +0 -29
  683. package/docs/ci-cd-integration.md +0 -30
  684. package/docs/ci-cd.md +0 -92
  685. package/docs/ci-quickstart.md +0 -78
  686. package/docs/commands-skills/DISCOVERED_SKILLS.md +0 -21
  687. package/docs/contributing/CONTRIBUTING.md +0 -38
  688. package/docs/contributing/plugin-authoring.md +0 -50
  689. package/docs/contributing/skill-authoring.md +0 -41
  690. package/docs/enterprise-setup.md +0 -25
  691. package/docs/feature-dashboard.md +0 -63
  692. package/docs/governance-guide.md +0 -134
  693. package/docs/monorepo-guide.md +0 -26
  694. package/docs/persona-customisation.md +0 -56
  695. package/docs/publishing-guide.md +0 -43
  696. package/docs/quick-verify.md +0 -33
  697. package/docs/registry/AGENTS.md +0 -37
  698. package/docs/registry/COMMANDS.md +0 -87
  699. package/docs/registry/HOOKS.md +0 -38
  700. package/docs/registry/PERSONAS.md +0 -64
  701. package/docs/registry/README.md +0 -27
  702. package/docs/registry/SKILLS.md +0 -142
  703. package/docs/registry/WORKFLOWS.md +0 -72
  704. package/docs/release-checklist-guide.md +0 -37
  705. package/docs/requirements.md +0 -29
  706. package/docs/security/SECURITY.md +0 -55
  707. package/docs/security/ZTAI-OVERVIEW.md +0 -37
  708. package/docs/security/penetration-test-results.md +0 -31
  709. package/docs/security/threat-model.md +0 -142
  710. package/docs/skills-authoring-guide.md +0 -176
  711. package/docs/skills-publishing-guide.md +0 -22
  712. package/docs/team-setup-guide.md +0 -21
  713. package/docs/testing-current-version.md +0 -130
  714. package/docs/tutorial.md +0 -162
  715. package/docs/upgrade.md +0 -58
  716. package/docs/usp-features.md +0 -102
  717. package/docs/workflow-atlas.md +0 -57
@@ -1,731 +0,0 @@
1
- # MindForge — Continuation State File
2
- # Generated: Complete
3
- # Purpose: Provide full context for resuming in a new chat session
4
-
5
- ---
6
-
7
- ## PROJECT IDENTITY
8
-
9
- **Name:** MindForge (`mindforge-cc` on npm)
10
- **Tagline:** Enterprise Agentic Framework — the best agentic framework
11
- **Repository:** `github.com/mindforge-dev/mindforge` (conceptual)
12
- **npm package:** `npx mindforge-cc@latest`
13
- **Current version:** v9.0.0 (Bedrock Meridian Era)
14
- **Runtimes supported:** Claude Code (`.claude/`) and Antigravity (`.agent/`)
15
- **License:** MIT
16
-
17
- **Purpose:** Transform Claude Code and Antigravity from powerful-but-unstructured
18
- AI tools into systematic, production-grade engineering partners. MindForge wraps
19
- any software project with: structured lifecycle management (plan → execute → verify
20
- → ship), wave-based parallel execution, a three-tier skills system, enterprise
21
- integrations (Jira, Confluence, Slack, GitHub), three-tier governance (Tier 1/2/3
22
- approvals), and a complete intelligence layer (health engine, difficulty scorer,
23
- anti-pattern detector, quality metrics, team profiling).
24
-
25
- ---
26
-
27
- ## WHAT WAS BUILT — DAY BY DAY
28
-
29
- ### — Foundation (`feat/mindforge-core-scaffold` → v0.1.0)
30
-
31
- **Branch:** `feat/mindforge-core-scaffold`
32
- **Output files:** `DAY1-IMPLEMENT.md`, `DAY1-REVIEW.md`, `DAY1-HARDEN.md`
33
-
34
- Built the entire structural foundation:
35
-
36
- - **`.claude/CLAUDE.md`** — The agent entry point. Session start protocol, plan-first rule, quality gates, security auto-trigger, state artifact table. Mirrored identically to `.agent/CLAUDE.md` (Antigravity runtime).
37
- - **32 agent persona files** in `.mindforge/personas/`:
38
- - `advisor-researcher.md`, `analyst.md`, `architect.md`, `assumptions-analyzer-extend.md`, `assumptions-analyzer.md`, `codebase-mapper-extend.md`, `codebase-mapper.md`, `coverage-specialist.md`, `debug-specialist.md`, `debugger.md`, `decision-architect.md`, `developer.md`, `executor.md`, `integration-checker.md`, `nyquist-auditor.md`, `phase-researcher.md`, `plan-checker.md`, `planner.md`, `project-researcher.md`, `qa-engineer.md`, `release-manager.md`, `research-agent.md`, `research-synthesizer.md`, `roadmapper-extend.md`, `roadmapper.md`, `security-reviewer.md`, `tech-writer.md`, `ui-auditor.md`, `ui-checker.md`, `ui-researcher.md`, `user-profiler.md`, `verifier.md`
39
- - **5 initial core skill packs** in `.mindforge/skills/`:
40
- - `security-review/SKILL.md` — 29 trigger keywords, OWASP A01-A10
41
- - `code-quality/SKILL.md` — Complexity, naming, error handling
42
- - `api-design/SKILL.md` — REST conventions, versioning, error schemas
43
- - `testing-standards/SKILL.md` — Coverage, test patterns, TDD
44
- - `documentation/SKILL.md` — README, ADRs, changelogs
45
- - **6 slash commands** (Days 1 baseline):
46
- - `/mindforge:help` — Show all commands
47
- - `/mindforge:init-project` — Guided project setup
48
- - `/mindforge:plan-phase [N]` — Research and decompose into PLAN files
49
- - `/mindforge:execute-phase [N]` — Wave-based parallel execution
50
- - `/mindforge:verify-phase [N]` — Automated + UAT testing pipeline
51
- - `/mindforge:ship [N]` — Create PR, release notes, push
52
- - **Org context templates:** `ORG.md`, `CONVENTIONS.md`, `SECURITY.md`, `TOOLS.md`
53
- - **Project state templates:** `PROJECT.md`, `STATE.md`, `HANDOFF.json` (schema_version, _warning field, context_refs)
54
- - **`bin/install.js`** — npx installer skeleton
55
- - **`package.json`** — `name: "mindforge-cc"`, version 0.1.0
56
- - **`tests/install.test.js`** — Structural integrity tests
57
-
58
- **Key ADRs established:** ADR-001 (HANDOFF.json), ADR-002 (Markdown commands), ADR-003 (keyword trigger model)
59
-
60
- ---
61
-
62
- ### — Wave Execution Engine (`feat/mindforge-wave-engine` → v0.2.0)
63
-
64
- **Branch:** `feat/mindforge-wave-engine`
65
- **Output files:** `DAY2-IMPLEMENT.md`, `DAY2-REVIEW.md`, `DAY2-HARDEN.md`
66
-
67
- Built the execution engine that makes plans actually run:
68
-
69
- - **`.mindforge/engine/`** — 5 engine files:
70
- - `dependency-parser.md` — Parses PLAN XML into a DAG, circular dependency detection, file conflict detection
71
- - `wave-executor.md` — Kahn's topological sort for wave grouping, parallel within waves, sequential between waves, `WAVE-REPORT-N.md` output format
72
- - `context-injector.md` — Minimum-context principle per subagent (30K token budget), path traversal guard, SECURITY.md placeholder validation
73
- - `compaction-protocol.md` — 6-step compaction at 70% context: WIP commit, STATE.md update, HANDOFF.json write, AUDIT entry, compact and continue
74
- - `verification-pipeline.md` — 4-stage pipeline: automated tests → requirement traceability → type/lint → security regression
75
- - **AUDIT.jsonl system** — Append-only audit log at `.planning/AUDIT.jsonl`, 12 event types (task_started, task_completed, task_failed, security_finding, quality_gate_failed, context_compaction, phase_completed, decision_recorded, etc.), universal schema: id (UUID v4), timestamp (ISO-8601), event, agent, phase, session_id
76
- - **`.planning/HANDOFF.json`** schema expanded with: recent_commits, recent_files, agent_notes, in_progress object, updated_at
77
- - **4 new commands** (total: 10):
78
- - `/mindforge:next` — Auto-detect next workflow step with full decision tree
79
- - `/mindforge:quick [--flags]` — Ad-hoc task execution outside phases
80
- - `/mindforge:status` — Rich project dashboard with phase progress bars
81
- - `/mindforge:debug` — Full Debug Specialist persona, 4-question intake, 10-step RCA, `DEBUG-timestamp.md` output
82
- - **3 new test suites:** `tests/wave-engine.test.js` (parseDependencies, Kahn's algorithm, circular detection, file conflicts), `tests/audit.test.js` (schema validation, JSONL integrity), `tests/compaction.test.js` (HANDOFF schema, 85% emergency threshold)
83
-
84
- **Key ADRs:** ADR-004 (wave parallelism), ADR-005 (append-only JSONL audit log)
85
-
86
- ---
87
-
88
- ### — Skills Platform (`feat/mindforge-skills-platform` → v0.3.0)
89
-
90
- **Branch:** `feat/mindforge-skills-platform`
91
- **Output files:** `DAY3-IMPLEMENT.md`, `DAY3-REVIEW.md`, `DAY3-HARDEN.md`
92
-
93
- Built the skills distribution and intelligence engine:
94
-
95
- - **`.mindforge/engine/skills/`** — 4 engine files:
96
- - `registry.md` — MANIFEST.md format, three-tier registry (Core T1 → Org T2 → Project T3), tier priority (Project > Org > Core), health check protocol
97
- - `loader.md` — 5-step JIT loading (trigger index → text matching → file-path matching → **file-name matching** → conflict resolution → load), context budget (summarise skills 4+ at max 150 words each), injection guard, skills loading report format
98
- - `versioning.md` — Semver for skills, frontmatter with name/version/status/triggers/breaking_changes/changelog, compatibility check protocol, upgrade protocol
99
- - `conflict-resolver.md` — 4 conflict types: same trigger different skills (load both), same skill name different tiers (higher tier wins), trigger subset (more specific as primary), mutual exclusion (match count tiebreak)
100
- - **5 new core skill packs** (total: 10):
101
- - `performance/SKILL.md` — Core Web Vitals (LCP/INP/CLS targets), bundle budgets, N+1 detection, caching TTL tables, p50/p95/p99 targets
102
- - `accessibility/SKILL.md` — WCAG 2.1 AA + WCAG 2.2 new criteria, ARIA patterns, keyboard testing, `@media (prefers-reduced-motion)`
103
- - `data-privacy/SKILL.md` — GDPR/CCPA/PIPEDA, consent withdrawal rule, PII forbidden patterns with code examples, lawful basis documentation
104
- - `incident-response/SKILL.md` — P0-P3 classification, runbook template, blameless postmortem template, monitoring standards per feature
105
- - `database-patterns/SKILL.md` — **Compound cursor pagination** (BLOCKING bug fix: `(created_at, id)` not just `created_at`), UUIDv7 guidance, N+1 detection, transaction isolation, index strategy
106
- - **`.mindforge/org/skills/MANIFEST.md`** — All 10 skills registered in three-tier table format with paths
107
- - **Persona customisation system:** `.mindforge/personas/overrides/` with additive/override/remove directives, phase-level overrides at `.planning/phases/[N]/persona-overrides/`
108
- - **5 new commands** (total: 15):
109
- - `/mindforge:skills` — Full CLI: list/info/search/validate/add/update
110
- - `/mindforge:review` — Code review using code-quality + security personas, `CODE-REVIEW-timestamp.md` output, BLOCKING/MAJOR/MINOR/SUGGESTION findings
111
- - `/mindforge:security-scan` — OWASP A01-A10, secret detection, dependency CVE audit, `SECURITY-SCAN-timestamp.md` output, CRITICAL finding blocking with bold warning
112
- - `/mindforge:map-codebase` — 4 parallel subagents (stack analyst, architecture analyst, conventions analyst, quality baseline analyst), brownfield onboarding, CONVENTIONS.md marked [DRAFT]
113
- - `/mindforge:discuss-phase` — Pre-planning interview (3 templates: Visual/UI, API/Backend, Data/Database, Integration), CONTEXT.md output, `--batch` and `--auto` flags
114
- - **`docs/skills-authoring-guide.md`** — Complete guide for creating Tier 2/3 skills
115
- - **1 new test suite:** `tests/skills-platform.test.js` (frontmatter validation, trigger counts, mandatory actions, MANIFEST.md path resolution)
116
-
117
- **Critical fixes in hardening:**
118
- - Cursor pagination corrected to compound `(created_at, id)` cursor
119
- - Gate 4 GDPR made independent of data-privacy skill loading
120
- - `plan-phase.md` updated to read CONTEXT.md from discuss-phase
121
-
122
- **Key ADRs:** ADR-006 (three-tier skills), ADR-007 (trigger model at scale), ADR-008 (JIT loading)
123
-
124
- ---
125
-
126
- ### — Enterprise Integrations + Governance (`feat/mindforge-enterprise-integrations` → v0.4.0)
127
-
128
- **Branch:** `feat/mindforge-enterprise-integrations`
129
- **Output files:** `DAY4-IMPLEMENT.md`, `DAY4-REVIEW.md`, `DAY4-HARDEN.md`
130
-
131
- Built the enterprise integration and governance layer:
132
-
133
- - **`.mindforge/integrations/`** — 6 files:
134
- - `connection-manager.md` — Credential safety (env vars only, never in files), 5 availability states (available/unconfigured/invalid_credentials/unreachable/rate_limited), circuit breaker pattern (3 failures → circuit open), retry policy (exponential backoff × 3), 10s timeout on all calls, **shell credential hygiene** (no `set -x`, no `curl -v` with auth headers), credential unset after use
135
- - `jira.md` — REST API v3, **dynamic transition ID lookup** (not hardcoded IDs), Epic/Story/Bug creation, jira-sync.json state file, conflict handling (no destructive overwrites of manual Jira changes)
136
- - `confluence.md` — API v2, Markdown→Confluence Wiki conversion, idempotent page creation (update not duplicate), confluence-sync.json state file
137
- - `slack.md` — Block Kit templates (phase complete, CRITICAL finding, approval request), thread management, slack-threads.json, graceful degradation when unconfigured, CRITICAL findings written to STATE.md "Undelivered alerts" when Slack unconfigured
138
- - `github.md` — PR creation with template, reviewer assignment, branch protection pre-flight, PR template at `.github/pull_request_template.md`, release tag creation
139
- - `gitlab.md` — Equivalent MR workflow
140
- - **`.mindforge/governance/`** — 4 files:
141
- - `change-classifier.md` — **Three signals for Tier 3**: (A) file path patterns (`auth/`, `payment/`, `login.ts`, etc.), (B) **code content patterns** (`jwt.sign`, `bcrypt`, `stripe.` in the actual diff), (C) audit history (recent security findings elevate to Tier 3). Tier 1/2 classification. `change_classified` AUDIT event with `signal_triggered` and `pattern_matched` fields
142
- - `approval-workflow.md` — PENDING→APPROVED/REJECTED/EXPIRED lifecycle, `.planning/approvals/APPROVAL-[uuid].json` schema, blocking execution until resolved, emergency override with `EMERGENCY_APPROVERS` list, post-incident review auto-task
143
- - `compliance-gates.md` — **5 non-bypassable gates**: Gate 1 (no CRITICAL findings), Gate 2 (tests passing), Gate 3 (no secrets — override: NOT POSSIBLE), Gate 4 (GDPR retention — **independent of skill loading**, PII field detection via diff scanning), Gate 5 (dependency CVEs). `GATE-RESULTS-[N].md` output
144
- - `GOVERNANCE-CONFIG.md` — TIER2_APPROVERS, TIER3_APPROVERS, EMERGENCY_APPROVERS, SLA hours, escalation contact
145
- - **`.mindforge/team/`** — Multi-developer HANDOFF:
146
- - `multi-handoff.md` — Per-developer files at `.planning/handoffs/HANDOFF-[dev-id].json`, dev-id from `git config user.email`, shared team HANDOFF.json (phase-level), active_developers field with last_seen, stale detection (> 4 hours), conflict detection (same plan → same files)
147
- - `session-merger.md` — Post-session artifact reconciliation
148
- - **AUDIT.jsonl archiving** — Archive at 10,000 lines to `.planning/audit-archive/`, archive marker entry, continue with fresh AUDIT.jsonl
149
- - **6 new commands** (total: 21):
150
- - `/mindforge:audit` — Filter by phase/event/date/severity, `--export`, `--verify` (integrity check), `--include-archived`, `--summary`
151
- - `/mindforge:milestone` — create/status/list, MILESTONE-[name].md
152
- - `/mindforge:complete-milestone` — Security scan + report + CHANGELOG + Confluence publish + release tag + GitHub release + Slack notification + **scoped archive** (only milestone phases, not all)
153
- - `/mindforge:approve` — List pending, approve, reject, emergency override (EMERGENCY_APPROVERS validated), expiry processing
154
- - `/mindforge:sync-jira` — Bidirectional sync with `--dry-run` and `--force`
155
- - `/mindforge:sync-confluence` — Publish architecture/ADRs/phase docs with `--page all`
156
- - **`.mindforge/org/integrations/INTEGRATIONS-CONFIG.md`** — All integration non-credential config
157
- - **2 new test suites:** `tests/integrations.test.js`, `tests/governance.test.js` (change classifier simulation, approval schema validation, compliance gate checks)
158
-
159
- **Key ADRs:** ADR-009 (env-var credentials), ADR-010 (gates non-bypassable, approvals allow emergency), ADR-011 (integrations non-blocking), ADR-012 wait — actually ADR-009/010/011
160
-
161
- ---
162
-
163
- ### — Intelligence Layer (`feat/mindforge-intelligence-layer` → v0.5.0)
164
-
165
- **Branch:** `feat/mindforge-intelligence-layer`
166
- **Output files:** `DAY5-IMPLEMENT.md`, `DAY5-REVIEW.md`, `DAY5-HARDEN.md`
167
-
168
- Built the framework's self-awareness and self-improvement systems:
169
-
170
- - **`.mindforge/intelligence/`** — 5 files:
171
- - `health-engine.md` — 7 categories: (1) installation integrity (47+ required files, CLAUDE.md parity, command parity), (2) context file health (PROJECT.md placeholder detection, HANDOFF.json secret scan, STATE.md staleness), (3) skills registry health, (4) persona system health (override injection guard), (5) state consistency (phase status vs. artifact presence), (6) integration connectivity (live health checks), (7) security configuration (.gitignore completeness, SECURITY.md placeholder detection). Auto-repair for 7 issue types. AUDIT.jsonl quarantine-not-deletion for corrupt lines
172
- - `difficulty-scorer.md` — 4-dimension scoring: Technical × 0.35 + Risk × 0.30 + Ambiguity × 0.20 + Dependencies × 0.15. Composite → recommended task count (Easy: 2-3, Moderate: 4-6, Challenging: 6-10, Hard: 10-15). `DIFFICULTY-SCORE-[N].md` output with risk flags
173
- - `antipattern-detector.md` — 5 categories, 13 patterns. Architecture (A01 God Object with executable-line-count, A02 Circular Deps, A03 Distributed Monolith, A04 Hardcoded Config). Database (B01 SELECT*, B02 Missing FK indexes, B03 Unbounded queries with **cursor pagination exemption**). Security (C01 auth type coercion with **test-file exclusion**, C02 Missing auth middleware, C03 PII in URLs). Code Quality (D01 over 500 exec lines, D02 Magic strings, D03 Swallowed errors). Testing (E01 implementation testing, E02 flaky test indicators)
174
- - `skill-gap-analyser.md` — Maps work categories to required/recommended skills, checks MANIFEST.md availability, reports gaps with options (create skill / proceed without / update existing)
175
- - `smart-compaction.md` — **3 compaction levels**: Level 1 (lightweight 70-79%), Level 2 (structured extraction 80-89% — 5 blocks: decisions made with rationale + what ruled out, discoveries, current task state, implicit knowledge, quality signals), Level 3 (emergency 90%+). Level 2 HANDOFF.json has richer schema with decisions_made/discoveries/implicit_knowledge/quality_signals arrays. Session restart reads implicit knowledge before PLAN files
176
- - **`.mindforge/team/`** expanded:
177
- - `TEAM-PROFILE.md` — Tech stack preferences, working patterns (session length, compaction frequency), quality patterns (verify pass rate, common failure types), personalisation rules, **metrics ethics policy** (per ADR-014: metrics are NOT developer performance evaluation)
178
- - `profiles/README.md` — Per-developer PROFILE-[dev-id].md template
179
- - **`.mindforge/metrics/`** — 2 files:
180
- - `METRICS-SCHEMA.md` — 4 JSONL files: `session-quality.jsonl` (score formula: base 100, -15/task_failed, -30/CRITICAL, clamped 0-100, +5 bonuses), `phase-metrics.jsonl`, `skill-usage.jsonl`, `compaction-quality.jsonl`
181
- - `quality-tracker.md` — 5 trend metrics, early warning signals, **automatic behaviour adjustments** (verify rate < 75% → agent adds step validation, task failure > 20% → halve scope estimate, compactions > 2/session → proactive summarisation, security findings increasing → load security-review for ALL tasks)
182
- - **`MINDFORGE.md`** — Project constitution file in project root. 25+ configurable settings: model preferences (PLANNER_MODEL, EXECUTOR_MODEL, etc.), execution behaviour (WAVE_CONFIRMATION_REQUIRED, COMPACTION_THRESHOLD_PCT, MAX_TASKS_PER_PHASE), quality standards (MIN_TEST_COVERAGE_PCT, MAX_FUNCTION_LINES), skills behaviour (ALWAYS_LOAD_SKILLS, DISABLED_SKILLS), git conventions (COMMIT_FORMAT, BRANCHING_STRATEGY), CI/CD settings. **NON-OVERRIDABLE rules section**: SECURITY_AUTOTRIGGER, SECRET_DETECTION, PLAN_FIRST, AUDIT_WRITING cannot be disabled
183
- - **`.mindforge/MINDFORGE-SCHEMA.json`** — JSON Schema with type validation, min/max bounds, `nonOverridable: true` markers. `bin/validate-config.js` validates MINDFORGE.md against schema
184
- - **Interactive setup wizard** — `bin/wizard/setup-wizard.js` (7-step guided install), `environment-detector.js` (detects runtimes, project type, package manager, existing MindForge), `config-generator.js` (writes INTEGRATIONS-CONFIG.md, GOVERNANCE-CONFIG.md from wizard input)
185
- - **4 new commands** (total: 25):
186
- - `/mindforge:health [--repair] [--category] [--verbose]`
187
- - `/mindforge:retrospective [phase|milestone] [--template agile|4ls|starfish]` — Quantitative data from AUDIT.jsonl + qualitative discussion, RETROSPECTIVE-[N].md output, **feeds back to MINDFORGE.md** with specific setting changes mapped to retrospective findings
188
- - `/mindforge:profile-team [--refresh] [--developer] [--questionnaire]`
189
- - `/mindforge:metrics [--window short|medium|long] [--export]`
190
- - **2 new test suites:** `tests/intelligence.test.js` (difficulty scorer, antipattern detector, smart compaction, MINDFORGE.md validation), `tests/metrics.test.js` (session quality score formula, phase quality score formula, metrics schema)
191
-
192
- **Feedback loops sealed:**
193
- 1. Retrospective → MINDFORGE.md (explicit setting change suggestions)
194
- 2. Difficulty score → task granularity (planner reads DIFFICULTY-SCORE file before creating plans)
195
- 3. Quality metrics → automatic session behaviour adjustments
196
-
197
- **Key ADRs:** ADR-012 (intelligence feedback loops), ADR-013 (MINDFORGE.md constitution with non-overridable primitives), ADR-014 (metrics as system signals, not developer evaluation)
198
-
199
- ---
200
-
201
- ### — Distribution Platform (`feat/mindforge-distribution-platform` → v0.6.0)
202
-
203
- **Branch:** `feat/mindforge-distribution-platform`
204
- **Output files:** `DAY6-COMPLETE.md` (all three prompts in one file)
205
-
206
- Built the public distribution, CI/CD, SDK, and monorepo layers:
207
-
208
- - **`.mindforge/distribution/`** — 4 files:
209
- - `registry-schema.md` — npm-based registry, `mindforge-skill-[category]-[name]` naming, `package.json mindforge` field, quality standards (5 requirements), private registry support via INTEGRATIONS-CONFIG.md
210
- - `registry-client.md` — Installation flow: resolve name → check installed → fetch (npm pack) → **TOCTOU-safe temp dir (chmod 700 + tarball size check)** → validate (Level 1+2, Level 3 for public registry) → injection guard → install to tier directory → register in MANIFEST.md → AUDIT entry. Update and uninstall protocols
211
- - `skill-validator.md` — Level 1 (schema), Level 2 (content), Level 3 (quality). Validation output format
212
- - `registry-client.md` also covers update (check latest vs installed, auto MINOR/PATCH, confirm MAJOR) and uninstall
213
- - **`.mindforge/ci/`** — 4 files:
214
- - `ci-mode.md` — Auto-activates on `CI=true` or `MINDFORGE_CI=true` or `stdin.isTTY === false`. Tier 3 ALWAYS fails CI (cannot be configured away). **Exit code 0 for timeout** (soft stop, saves state, next run resumes via HANDOFF.json). Exit code 1 for gate failures. JSON and GitHub Annotations output formats. MINDFORGE.md CI settings: `CI_AUTO_APPROVE_TIER2`, `CI_SECURITY_SCAN`, `CI_MIN_COVERAGE_PCT`, `CI_OUTPUT_FORMAT`
215
- - `github-actions-adapter.md` — 4-job workflow: mindforge-health, mindforge-security (secret detection + npm audit), mindforge-quality (tsc + eslint + tests + coverage), mindforge-ai-review (PR reviews). **Tier 3 governance block** with clear error message and resolution steps. GitHub step summary for timeout state
216
- - `gitlab-ci-adapter.md` — Equivalent GitLab CI pipeline
217
- - `ci-config-schema.md` — CI configuration reference
218
- - **`.mindforge/pr-review/`** — 3 files:
219
- - `ai-reviewer.md` — Claude API integration (`claude-sonnet-4-6`), context loading from PROJECT.md + ARCHITECTURE.md + CONVENTIONS.md, **file-based diff truncation** (top 20 most-changed files, not character truncation), **robust daily limit** (parse-error tolerant, creates file if missing), rate limiting (50/day configurable via `AI_REVIEW_DAILY_LIMIT`), cache by commit SHA (60 min TTL), graceful skip when `ANTHROPIC_API_KEY` unset
220
- - `review-prompt-templates.md` — 3 specialised templates: security (OWASP checklist mode), database migration (rollback, non-blocking, NOT NULL checks), API breaking change (versioning, deprecation, migration guide)
221
- - `finding-formatter.md` — GitHub-flavoured markdown PR comment format
222
- - **`.mindforge/monorepo/`** — 3 files:
223
- - `workspace-detector.md` — Detects: npm workspaces, pnpm workspaces, Nx, Turborepo, Lerna. `WORKSPACE-MANIFEST.json` at `.planning/`. Package metadata extraction
224
- - `cross-package-planner.md` — Topological sort for package execution order. Per-package PLAN files with `<package>` and `<working-dir>` fields. **Affected package detection uses WORKSPACE-MANIFEST.json paths** (not depth assumption — handles `libs/shared/utils/` deep nesting). Transitive dependency detection
225
- - `dependency-graph-builder.md` — Cross-package DAG construction
226
- - **`@mindforge/sdk`** at `sdk/src/`:
227
- - `types.ts` — Full TypeScript type definitions: MindForgeConfig, PhaseResult, TaskResult, SecurityFinding, GateResult, HealthReport, MindForgeEvent union type
228
- - `client.ts` — MindForgeClient: isInitialised(), readState(), readHandoff(), health(), readAuditLog(filter), readSessionMetrics(limit), validateConfig()
229
- - `events.ts` — MindForgeEventStream SSE server: **localhost-only binding (127.0.0.1)**, non-localhost connection rejection (403), exact CORS origin matching, **Linux inotify fallback** (`ENOSPC` → polling at 2s interval), AUDIT.jsonl file watching and broadcast
230
- - `commands.ts` — Command string builders: health(), planPhase(), executePhase(), securityScan(), audit(), prReview()
231
- - `index.ts` — Public API exports + VERSION constant
232
- - **6 new commands** (total: 31):
233
- - `/mindforge:init-org` — 8-question org setup, generates all org templates, creates `@[org]/mindforge-config` npm package scaffold
234
- - `/mindforge:install-skill [name] [--tier] [--registry]` — Full registry client protocol
235
- - `/mindforge:publish-skill [dir] [--dry-run]` — Level 1+2+3 validation, npm publish with verification
236
- - `/mindforge:pr-review [--diff] [--sha] [--output github|json|markdown]`
237
- - `/mindforge:workspace [detect|list|plan|test]` — Monorepo management
238
- - `/mindforge:benchmark [--skill] [--compare]` — Skill effectiveness benchmarking from AUDIT.jsonl
239
- - **GitHub Actions workflow:** `.github/workflows/mindforge-ci.yml`
240
- - **3 new test suites:** `tests/distribution.test.js`, `tests/ci-mode.test.js`, `tests/sdk.test.js`
241
-
242
- **Key ADRs:** ADR-015 (npm as skills registry), ADR-016 (CI timeout = exit 0, soft stop), ADR-017 (SDK SSE localhost-only)
243
-
244
- ---
245
-
246
- ### — Production Hardening & v1.0.0 Release (`feat/mindforge-production-release` → v1.0.0)
247
-
248
- **Branch:** `feat/mindforge-production-release`
249
- **Output files:** `DAY7-PRODUCTION-FINAL.md` (all three prompts in one file, 174KB)
250
-
251
- Made MindForge production-ready and shipped v1.0.0:
252
-
253
- - **`bin/install.js`** (complete rewrite) — All flags: `--version`, `--help`, `--all`, `--global/-g`, `--local/-l`, `--install`, `--update`, `--uninstall`, `--check`, `--dry-run`, `--force`, `--verbose`, `--skip-wizard`. Node.js ≥18 gate. CI mode detection (`CI=true` or `stdin.isTTY === false`). Routes to wizard or core installer
254
- - **`bin/installer-core.js`** (complete implementation) — RUNTIMES config map (claude + antigravity), **SENSITIVE_EXCLUDE with correct regex** (`/\.key$/` not `'*.key'` — glob bug fixed), **self-install detection** (`package.json.name === 'mindforge-cc'` → skip framework file copy), safeCopyClaude with large-file warning, copyDir with excludePatterns, verifyInstall checks 6 critical files, uninstall preserves `.planning/` and `.mindforge/` (user data), graceful output at each step
255
- - **`bin/updater/`** — Complete self-update system:
256
- - `version-comparator.js` — `compareSemver()`, `upgradeType()` (major/minor/patch/none), `fetchLatestVersion()` (5s timeout, npm registry, graceful null on failure)
257
- - `changelog-fetcher.js` — `fetchChangelog(from, to)` (8s timeout, GitHub raw, `extractEntries()` version range parser), handles `## [1.0.0]`, `## v1.0.0`, `## 1.0.0` header formats
258
- - `self-update.js` — `checkAndUpdate()`: version check → changelog display → **scope detection** (`detectInstallScope()` checks local before global per ADR-019) → **reads schema_version from HANDOFF.json BEFORE update** (not after) → apply update with detected scope → run migration with pre-update schema_version
259
- - **`bin/migrations/`** — Complete version migration engine:
260
- - `migrate.js` — `runMigrations(from, to)`: backup creation with **abort if backup fails**, backup integrity verification (file count + non-empty), execute migrations, restore on failure, **CI auto-deletes backup**, HANDOFF.json schema_version update. **Correct filter logic**: `compareSemver(m.toVersion, fromVersion) > 0 AND compareSemver(m.toVersion, toVersion) <= 0` (handles intermediate versions like v0.3.0)
261
- - `schema-versions.js` — Complete history of all schema changes v0.1.0 → v1.0.0
262
- - `0.1.0-to-0.5.0.js` — Adds intelligence layer fields
263
- - `0.5.0-to-0.6.0.js` — Adds distribution platform fields
264
- - `0.6.0-to-1.0.0.js` — Adds plugin_api_version, backfills session_id, converts VERIFY_PASS_RATE_WARNING_THRESHOLD (percent → decimal, only values >1)
265
- - **`.mindforge/plugins/`** — Complete plugin system:
266
- - `plugin-schema.md` — `mindforge-plugin-[category]-[name]` naming, `plugin.json` manifest with `mindforge.provides` (commands/skills/personas/hooks) and `mindforge.permissions` (read_audit_log/write_audit_log/read_state/write_state/network_access/file_system_write), advisory permission model explanation, 7 lifecycle hooks, reserved 36 command names
267
- - `plugin-loader.md` — Discovery → validation (plugin_api_version, injection guard, skill Level 1+2) → load components (**dynamic reserved-name detection** via `ls .claude/commands/mindforge/` not hardcoded list) → report → AUDIT entry. Multiple plugins same hook: MANIFEST order, independent execution
268
- - `PLUGINS-MANIFEST.md` — Ready for first plugin installation
269
- - **`.mindforge/production/`** — 4 production hardening files:
270
- - `token-optimiser.md` — Token consumption model table, efficiency formula (`useful_output_tokens / total_tokens_consumed`, target >35%), 5 strategies (lean PLAN actions with before/after examples showing 580-token saving, JIT file reading, selective STATE.md loading, code line ranges, skill summarisation at 4+), `token-usage.jsonl` schema, MINDFORGE.md token settings
271
- - `migration-engine.md` — Engine specification
272
- - `compatibility-layer.md` — Cross-version graceful degradation spec
273
- - `production-checklist.md` — **50-point checklist** in 5 sections (A: Installation 10, B: Commands 10, C: Governance gates 10, D: Documentation 10, E: Test coverage 10), each item has verification step + verifier + date fields. Release gate procedure
274
- - **Complete documentation hierarchy** at `docs/`:
275
- - `docs/reference/commands.md` — All 36 commands documented
276
- - `docs/security/SECURITY.md` — Supported versions, responsible disclosure (security@mindforge.dev, 24h ack, 90-day disclosure)
277
- - `docs/security/threat-model.md` — 7 threat actors with controls and residual risk ratings
278
- - `docs/architecture/decision-records-index.md` — All 20 ADRs indexed
279
- - `docs/contributing/CONTRIBUTING.md`, `skill-authoring.md`, `plugin-authoring.md`
280
- - **5 new commands** (total: 36):
281
- - `/mindforge:update [--apply] [--force] [--check]` — Full self-update with changelog
282
- - `/mindforge:migrate [--from] [--to] [--dry-run] [--force]` — Schema migration
283
- - `/mindforge:plugins [list|install|uninstall|info|validate|create]` — Plugin management
284
- - `/mindforge:tokens [--optimise]` — Token usage dashboard + recommendations
285
- - `/mindforge:release [--version] [--dry-run]` — 8-stage release pipeline (core team command)
286
- - **3 new test suites:** `tests/production.test.js` (installer, updater, migration engine, plugin system, all 36 commands), `tests/migration.test.js` (full chain v0.1.0→v1.0.0, HANDOFF migration, AUDIT backfill, MINDFORGE.md conversion, migration chain filter logic), `tests/e2e.test.js` (complete greenfield workflow in temp dir, brownfield map-codebase path, security gate scenarios, all AUDIT.jsonl entries validated)
287
-
288
- **Key ADRs:** ADR-018 (self-install detection), ADR-019 (update scope preservation), ADR-020 (v1.0.0 stable interface contract — 36 commands, HANDOFF schema, AUDIT events, SDK types, plugin.json format are all stable in 1.x.x)
289
-
290
- ---
291
-
292
- ### — Autonomous SRE Layer (`feat/mindforge-sre` → v8.2.0)
293
-
294
- **Branch:** `feat/mindforge-sre`
295
- **Pillars:** XX, XXI, XXII, XXIII
296
-
297
- Built the framework's self-healing and production reliability layer:
298
-
299
- - **`bin/sre/`** — 4 core SRE engines:
300
- - `sentinel.js` — Observability engine for audit-stream anomaly detection.
301
- - `shadow-mirror.js` — Hybrid isolation (Level 1: Git, Level 2: Docker) for deterministic replication.
302
- - `adversarial-debate.js` — Three-way consensus protocol (Proposer, Chaos Hunter, Auditor).
303
- - `sli-verifier.js` — Metric-gated verification loop for remediation waves.
304
- - **Model Hardening** — Locked SRE-Auditor persona strictly to **Claude 4.5 Opus** to ensure 100% reasoning fidelity in production-healing decisions.
305
- - **Framework Synchronization** — Updated `package.json`, `installer-core.js`, `learning-manager.js`, and `theme.js` to align with the v1.x → v8.x paradigm shift.
306
- - **Integrated Observability** — Injected `checkSRESignals()` into the core `AutoRunner` loop.
307
-
308
- **Key ADRs:** ADR-021 (Autonomous SRE Sovereignty), ADR-022 (Hybrid Replication Isolation), ADR-023 (Adversarial Consensus Gating)
309
-
310
- ---
311
-
312
- ### — Bedrock Meridian (`feat/mindforge-bedrock-meridian` → v9.0.0)
313
-
314
- **Branch:** `feat/mindforge-bedrock-meridian`
315
- **Pillars:** XXIV, XXV, XXVI, XXVII, XXVIII
316
-
317
- Grounded the framework on modern model topologies, unified persistence, and verified execution chains:
318
-
319
- - **Pillar XXIV: Grounded Wave Execution** — The AutoRunner now parses `HANDOFF.json` wave groups and dispatches tasks with full audit trail persistence. Resume from `auto-state.json` restores completed task state, eliminating re-execution of already-verified waves.
320
- - **Pillar XXV: Model Topology Modernization (Claude 4.x)** — All model references updated to current-generation identifiers (`claude-sonnet-4-6`, `claude-opus-4-7`, `claude-haiku-4-5`). Provider routing switched from substring matching to prefix matching to prevent false-positive model resolution.
321
- - **Pillar XXVI: Unified Memory Architecture (SQLite consolidation)** — All knowledge and graph data consolidated into a single SQLite database with FTS5 search indexes, replacing the previous multi-file JSONL approach for queryable persistence.
322
- - **Pillar XXVII: Schema Migration Engine** — Automated migration pipeline for `.planning/` schema evolution. Supports forward-only migrations with backup-and-restore safety, dry-run mode, and CI integration.
323
- - **Pillar XXVIII: Integration Test Chain (27 assertions)** — End-to-end verification suite covering the full autonomous loop: init → plan → execute → verify → ship. 27 discrete assertions validate state transitions, audit entries, and artifact integrity across the complete lifecycle.
324
-
325
- **Key ADRs:** ADR-024 (Grounded Wave Execution), ADR-025 (Model Topology Currency), ADR-026 (Unified SQLite Persistence)
326
-
327
- ---
328
-
329
- ## CURRENT SYSTEM ARCHITECTURE
330
-
331
- ```
332
- mindforge-cc/ ← npm package root
333
-
334
- ├── bin/
335
- │ ├── install.js ← Entry point (npx mindforge-cc@latest)
336
- │ ├── installer-core.js ← Non-interactive installer core
337
- │ ├── validate-config.js ← MINDFORGE.md validator
338
- │ ├── updater/
339
- │ │ ├── version-comparator.js
340
- │ │ ├── changelog-fetcher.js
341
- │ │ └── self-update.js
342
- │ ├── migrations/
343
- │ │ ├── migrate.js ← Migration runner
344
- │ │ ├── schema-versions.js
345
- │ │ ├── 0.1.0-to-0.5.0.js
346
- │ │ ├── 0.5.0-to-0.6.0.js
347
- │ │ └── 0.6.0-to-1.0.0.js
348
- │ └── wizard/
349
- │ ├── setup-wizard.js ← Interactive setup
350
- │ ├── environment-detector.js
351
- │ └── config-generator.js
352
-
353
- ├── .claude/
354
- │ ├── CLAUDE.md ← Agent entry point (Claude Code)
355
- │ └── commands/mindforge/ ← 36 slash command definitions
356
- │ └── [36 .md command files]
357
-
358
- ├── .agent/
359
- │ ├── CLAUDE.md ← Agent entry point (Antigravity)
360
- │ └── mindforge/ ← Mirror of .claude/commands/mindforge/
361
- │ └── [36 .md command files]
362
-
363
- ├── .mindforge/
364
- │ ├── personas/ ← 32 persona definitions + overrides/
365
- │ ├── skills/ ← 10 core skill packs (SKILL.md each)
366
- │ ├── engine/
367
- │ │ ├── wave-executor.md ← Kahn's topological sort, parallel waves
368
- │ │ ├── dependency-parser.md ← DAG builder from PLAN XML
369
- │ │ ├── context-injector.md ← Minimum-context subagent injection
370
- │ │ ├── compaction-protocol.md ← Smart 3-level compaction
371
- │ │ ├── verification-pipeline.md ← 4-stage verify
372
- │ │ └── skills/ ← Registry, loader, versioning, conflict resolver
373
- │ ├── integrations/ ← Jira, Confluence, Slack, GitHub, GitLab, connection-manager
374
- │ ├── governance/ ← change-classifier, approval-workflow, compliance-gates, GOVERNANCE-CONFIG
375
- │ ├── intelligence/ ← health-engine, difficulty-scorer, antipattern-detector, skill-gap-analyser, smart-compaction
376
- │ ├── metrics/ ← METRICS-SCHEMA.md, quality-tracker.md
377
- │ ├── team/ ← TEAM-PROFILE.md, profiles/, multi-handoff, session-merger
378
- │ ├── production/ ← token-optimiser, migration-engine, compatibility-layer, production-checklist
379
- │ ├── plugins/ ← plugin-schema, plugin-loader, PLUGINS-MANIFEST.md
380
- │ ├── distribution/ ← registry-schema, registry-client, skill-validator
381
- │ ├── ci/ ← ci-mode, github-actions-adapter, gitlab-ci-adapter
382
- │ ├── pr-review/ ← ai-reviewer, review-prompt-templates, finding-formatter
383
- │ ├── monorepo/ ← workspace-detector, cross-package-planner, dependency-graph-builder
384
- │ ├── org/
385
- │ │ ├── ORG.md
386
- │ │ ├── CONVENTIONS.md
387
- │ │ ├── SECURITY.md
388
- │ │ ├── TOOLS.md
389
- │ │ ├── skills/
390
- │ │ │ └── MANIFEST.md ← All 10 skills registered
391
- │ │ └── integrations/
392
- │ │ └── INTEGRATIONS-CONFIG.md
393
- │ ├── audit/
394
- │ │ └── AUDIT-SCHEMA.md ← AUDIT.jsonl schema + archiving protocol
395
- │ └── MINDFORGE-SCHEMA.json ← JSON Schema for MINDFORGE.md
396
-
397
- ├── .planning/ ← Project state (created per project)
398
- │ ├── PROJECT.md
399
- │ ├── REQUIREMENTS.md
400
- │ ├── ARCHITECTURE.md
401
- │ ├── ROADMAP.md
402
- │ ├── STATE.md
403
- │ ├── HANDOFF.json ← Schema v1.0.0 (plugin_api_version, decisions_made, etc.)
404
- │ ├── AUDIT.jsonl ← Append-only, session_id required in v1.0.0
405
- │ ├── audit-archive/
406
- │ ├── approvals/
407
- │ ├── handoffs/ ← Per-developer HANDOFF-[dev-id].json files
408
- │ ├── milestones/
409
- │ ├── decisions/ ← ADR-001 through ADR-020
410
- │ └── phases/
411
- │ └── [N]/
412
- │ ├── PLAN-N-MM.md ← XML task plans
413
- │ ├── DEPENDENCY-GRAPH-N.md
414
- │ ├── DIFFICULTY-SCORE-N.md
415
- │ ├── CONTEXT.md ← From /mindforge:discuss-phase
416
- │ ├── SUMMARY-N-MM.md ← Post-execution summaries
417
- │ ├── WAVE-REPORT-N.md
418
- │ ├── SECURITY-REVIEW-N.md
419
- │ ├── GATE-RESULTS-N.md
420
- │ ├── VERIFICATION-N.md
421
- │ └── UAT-N.md
422
-
423
- ├── MINDFORGE.md ← Project constitution (project root)
424
- ├── CHANGELOG.md ← v0.1.0 → v1.0.0 history
425
- ├── SECURITY.md ← Security policy
426
- ├── package.json ← version: "1.0.0"
427
-
428
- ├── sdk/
429
- │ ├── src/
430
- │ │ ├── index.ts ← Public API exports
431
- │ │ ├── types.ts ← TypeScript type definitions
432
- │ │ ├── client.ts ← MindForgeClient
433
- │ │ ├── events.ts ← MindForgeEventStream (SSE)
434
- │ │ └── commands.ts ← Command string builders
435
- │ └── package.json ← @mindforge/sdk v0.6.0
436
-
437
- ├── tests/ ← 15 test suites
438
- │ ├── install.test.js ← Day 1
439
- │ ├── wave-engine.test.js ← Day 2
440
- │ ├── audit.test.js ← Day 2
441
- │ ├── compaction.test.js ← Day 2
442
- │ ├── skills-platform.test.js ← Day 3
443
- │ ├── integrations.test.js ← Day 4
444
- │ ├── governance.test.js ← Day 4
445
- │ ├── intelligence.test.js ← Day 5
446
- │ ├── metrics.test.js ← Day 5
447
- │ ├── distribution.test.js ← Day 6
448
- │ ├── ci-mode.test.js ← Day 6
449
- │ ├── sdk.test.js ← Day 6
450
- │ ├── production.test.js ← Day 7
451
- │ ├── migration.test.js ← Day 7
452
- │ └── e2e.test.js ← Day 7
453
-
454
- ├── docs/
455
- │ ├── reference/ ← commands.md, skills-api.md, sdk-api.md, config-reference.md, audit-events.md
456
- │ ├── architecture/ ← README.md, decision-records-index.md
457
- │ ├── contributing/ ← CONTRIBUTING.md, skill-authoring.md, plugin-authoring.md
458
- │ └── security/ ← SECURITY.md, threat-model.md, penetration-test-results.md
459
-
460
- └── .github/
461
- └── workflows/
462
- └── mindforge-ci.yml ← 4-job CI pipeline
463
- ```
464
-
465
- ---
466
-
467
- ## ALL IMPLEMENTED FEATURES (complete inventory)
468
-
469
- ### 36 Slash Commands
470
-
471
- | # | Command | Category | Day |
472
- |---|---|---|---|
473
- | 1 | `/mindforge:help` | Lifecycle | 1 |
474
- | 2 | `/mindforge:init-project` | Lifecycle | 1 |
475
- | 3 | `/mindforge:plan-phase [N]` | Lifecycle | 1 |
476
- | 4 | `/mindforge:execute-phase [N]` | Lifecycle | 1 |
477
- | 5 | `/mindforge:verify-phase [N]` | Lifecycle | 1 |
478
- | 6 | `/mindforge:ship [N]` | Lifecycle | 1 |
479
- | 7 | `/mindforge:next` | Management | 2 |
480
- | 8 | `/mindforge:quick` | Management | 2 |
481
- | 9 | `/mindforge:status` | Management | 2 |
482
- | 10 | `/mindforge:debug` | Management | 2 |
483
- | 11 | `/mindforge:skills` | Skills | 3 |
484
- | 12 | `/mindforge:review` | Review | 3 |
485
- | 13 | `/mindforge:security-scan` | Review | 3 |
486
- | 14 | `/mindforge:map-codebase` | Setup | 3 |
487
- | 15 | `/mindforge:discuss-phase` | Planning | 3 |
488
- | 16 | `/mindforge:audit` | Governance | 4 |
489
- | 17 | `/mindforge:milestone` | Milestone | 4 |
490
- | 18 | `/mindforge:complete-milestone` | Milestone | 4 |
491
- | 19 | `/mindforge:approve` | Governance | 4 |
492
- | 20 | `/mindforge:sync-jira` | Integration | 4 |
493
- | 21 | `/mindforge:sync-confluence` | Integration | 4 |
494
- | 22 | `/mindforge:health` | Intelligence | 5 |
495
- | 23 | `/mindforge:retrospective` | Intelligence | 5 |
496
- | 24 | `/mindforge:profile-team` | Intelligence | 5 |
497
- | 25 | `/mindforge:metrics` | Intelligence | 5 |
498
- | 26 | `/mindforge:init-org` | Setup | 6 |
499
- | 27 | `/mindforge:install-skill` | Distribution | 6 |
500
- | 28 | `/mindforge:publish-skill` | Distribution | 6 |
501
- | 29 | `/mindforge:pr-review` | Review | 6 |
502
- | 30 | `/mindforge:workspace` | Monorepo | 6 |
503
- | 31 | `/mindforge:benchmark` | Intelligence | 6 |
504
- | 32 | `/mindforge:update` | Framework | 7 |
505
- | 33 | `/mindforge:migrate` | Framework | 7 |
506
- | 34 | `/mindforge:plugins` | Framework | 7 |
507
- | 35 | `/mindforge:tokens` | Intelligence | 7 |
508
- | 36 | `/mindforge:release` | Framework | 7 |
509
-
510
- ### 10 Core Skill Packs (all with JIT loading, frontmatter, triggers, checklists)
511
-
512
- 1. `security-review` — OWASP A01-A10, 29 triggers
513
- 2. `code-quality` — Complexity, naming, patterns
514
- 3. `api-design` — REST, versioning, error schemas
515
- 4. `testing-standards` — Coverage, TDD, patterns
516
- 5. `documentation` — README, ADRs, changelogs
517
- 6. `performance` — Core Web Vitals, N+1, caching
518
- 7. `accessibility` — WCAG 2.1+2.2 AA, ARIA, keyboard
519
- 8. `data-privacy` — GDPR/CCPA, consent, PII patterns
520
- 9. `incident-response` — P0-P3, runbooks, postmortems
521
- 10. `database-patterns` — Compound cursor, UUIDv7, indexes
522
-
523
- ### 32 Agent Personas
524
-
525
- advisor-researcher, analyst, architect, assumptions-analyzer-extend, assumptions-analyzer, codebase-mapper-extend, codebase-mapper, coverage-specialist, debug-specialist, debugger, decision-architect, developer, executor, integration-checker, nyquist-auditor, phase-researcher, plan-checker, planner, project-researcher, qa-engineer, release-manager, research-agent, research-synthesizer, roadmapper-extend, roadmapper, security-reviewer, tech-writer, ui-auditor, ui-checker, ui-researcher, user-profiler, verifier
526
-
527
- ### 20 Architecture Decision Records
528
-
529
- ADR-001 through ADR-020 covering: HANDOFF.json, Markdown commands, keyword triggers, wave parallelism, append-only audit, three-tier skills, JIT loading, env-var credentials, compliance gate bypass rules, non-blocking integrations, intelligence feedback loops, MINDFORGE.md constitution, metrics ethics policy, npm registry, CI timeout exit code, localhost SDK, self-install detection, update scope preservation, v1.0.0 stable interface contract
530
-
531
- ### 15 Test Suites (all in `tests/`)
532
-
533
- install, wave-engine, audit, compaction, skills-platform, integrations, governance, intelligence, metrics, distribution, ci-mode, sdk, production, migration, e2e
534
-
535
- ### Governance System
536
-
537
- - **5 non-bypassable compliance gates**: secret detection (Gate 3 is absolute), CRITICAL security findings, test suite, dependency CVEs, GDPR retention (independent of skill loading)
538
- - **3-tier approval**: Tier 1 auto, Tier 2 peer (24h SLA), Tier 3 compliance (4h SLA)
539
- - **3-signal Tier 3 detection**: file path + code content (`jwt.sign` anywhere) + audit history
540
- - **Emergency override**: only EMERGENCY_APPROVERS list, post-incident review auto-created, audit logged
541
-
542
- ---
543
-
544
- ## KEY TECHNICAL DECISIONS
545
-
546
- | Decision | Choice | Rationale |
547
- |---|---|---|
548
- | Command format | Markdown `.md` files | Human-readable, git-diffable, no compilation |
549
- | Skill loading | JIT keyword triggers | Deterministic, reproducible across sessions |
550
- | Audit log | Append-only JSONL | Immutable record, simple tooling, git-friendly |
551
- | Cross-session state | HANDOFF.json | Structured, versioned, migration-safe |
552
- | Credentials | Env vars only | Never in files — git history is permanent |
553
- | Skills registry | npm ecosystem | Free infrastructure, existing tooling |
554
- | CI timeout | Exit code 0 | Timeout ≠ failure, state preserved, resume next run |
555
- | SSE server | localhost 127.0.0.1 | Project state is sensitive, no network exposure |
556
- | Plugin permissions | Advisory model | Enforced through agent governance, not OS |
557
- | Migration filter | toVersion range check | Handles intermediate versions correctly |
558
- | Compaction | Level 1/2/3 structured | Preserves decisions/discoveries/implicit knowledge |
559
- | Metrics | System signals only | Never developer performance evaluation (ADR-014) |
560
-
561
- ---
562
-
563
- ## KNOWN ISSUES AND GAPS (going into Day 8)
564
-
565
- ### Not yet implemented (deferred)
566
- 1. **GUI/Web dashboard** — All outputs are currently Markdown + terminal. No web interface for status, metrics, or approvals
567
- 2. **Real-time multi-developer coordination** — Multi-HANDOFF system is documented but has no conflict resolution beyond warnings
568
- 3. **True `npx mindforge-skills` CLI** — The skills install/publish commands are agent commands, not a standalone npm binary
569
- 4. **SDK TypeScript compilation** — `sdk/` has `.ts` source files but no build output (`dist/`) yet; needs `tsc` build step
570
- 5. **`docs/security/penetration-test-results.md`** — Scaffolded but not filled in
571
- 6. **`docs/contributing/CONTRIBUTING.md`** and `plugin-authoring.md` — Scaffolded but content minimal
572
- 7. **Line-range file reading** (`src/auth/login.ts:40-65`) — Noted in token-optimiser as v1.1.0 feature
573
- 8. **Lazy file reading enforcement** — Token optimiser Strategy 2 is advisory; execution engine still reads all files upfront
574
- 9. **`npx mindforge-plugins` standalone binary** — Plugin management only via `/mindforge:plugins` agent command
575
- 10. **Skill auto-update notifications** — No proactive notification when skills have updates
576
-
577
- ### Known edge cases in current implementation
578
- 1. **Windows path handling** — Installer uses `path.join()` which uses backslashes on Windows; not validated on Windows
579
- 2. **Simultaneous session conflicts** — Two developers updating shared HANDOFF.json simultaneously → last write wins (acknowledged, no lock mechanism)
580
- 3. **Large project STATE.md** — No automatic pruning; can grow very large in long-lived projects
581
- 4. **`npm audit` rate limits** — Dependency scanning in CI may hit npm rate limits for large projects
582
- 5. **ANTHROPIC_API_KEY absence** — AI PR review gracefully skips but there's no fallback static analysis beyond what MindForge already runs
583
- 6. **Jira Classic vs Next-gen project type** — Dynamic detection recommended but not fully specified; field `customfield_10014` varies
584
-
585
- ### Architectural debt
586
- 1. **PLAN XML format** — XML in Markdown is fragile. A migration to structured YAML front-matter would be cleaner but is a MAJOR breaking change
587
- 2. **AUDIT.jsonl grows without limit** — Archiving at 10K lines is reactive; proactive compaction scheduling not implemented
588
- 3. **`0.1.0-to-0.5.0.js` and `0.5.0-to-0.6.0.js` migrations** — Written as stubs (correct fields, minimal content); need expanding to cover all edge cases
589
- 4. **SDK version** — `sdk/package.json` shows `v0.6.0` but should be `v1.0.0` to match the framework version at release
590
- 5. **MINDFORGE.md parser** — Current k=v parsing is regex-based, not a real parser; triple-quote multi-line values are documented but parsing is fragile
591
-
592
- ---
593
-
594
- ## WHAT DAY 8 SHOULD FOCUS ON
595
-
596
- Day 8's theme: **Multi-Runtime Expansion + Real-Time Collaboration + Public Launch Readiness**
597
-
598
- ### Primary objectives
599
-
600
- **1. Multi-runtime expansion — Cursor AI + Windsurf + Codex**
601
- MindForge currently targets Claude Code (`.claude/`) and Antigravity (`.agent/`).
602
- Day 8 should add:
603
- - Cursor AI adapter: `.cursor/rules/` directory structure
604
- - Windsurf adapter: `.windsurf/` directory structure
605
- - OpenAI Codex adapter: `.codex/` directory
606
- Each adapter requires: runtime detection in installer, correct entry point file format, command mirroring, and testing
607
-
608
- **2. Real-time web dashboard (basic)**
609
- Build a simple Node.js/Express server (`bin/dashboard.js`) that:
610
- - Serves a single-page HTML/JS dashboard
611
- - Reads AUDIT.jsonl, STATE.md, HANDOFF.json, metrics JSONL files
612
- - Streams live updates via the existing SDK `MindForgeEventStream`
613
- - Shows: current phase/task, AUDIT event feed, quality scores, pending approvals
614
- - No authentication required (localhost-only, same security model as SSE)
615
- - This is the missing observability layer for teams who don't want CLI-only visibility
616
-
617
- **3. SDK compilation and npm publish**
618
- - Complete `sdk/tsconfig.json` for proper compilation
619
- - Build `sdk/dist/index.js` and `sdk/dist/index.d.ts`
620
- - Publish `@mindforge/sdk` to npm separately from `mindforge-cc`
621
- - Update SDK README with working installation and example code
622
- - Add SDK version sync (SDK version = framework version)
623
-
624
- **4. `npx mindforge-skills` standalone binary**
625
- Add to `package.json.bin`:
626
- ```json
627
- { "mindforge-cc": "bin/install.js", "mindforge-skills": "bin/skills-cli.js" }
628
- ```
629
- `bin/skills-cli.js` provides: `mindforge-skills install [name]`, `mindforge-skills search [query]`, `mindforge-skills list`, `mindforge-skills publish [dir]`
630
-
631
- **5. Complete CONTRIBUTING.md and plugin-authoring guide**
632
- These are scaffolded but empty — essential for community growth post-v1.0.0 launch
633
-
634
- ### Secondary objectives
635
-
636
- **6. MINDFORGE.md parser hardening**
637
- Replace regex k=v parsing with a proper line-by-line parser that correctly handles triple-quote multi-line values, inline comments, and section headers. Add more test coverage.
638
-
639
- **7. SDK version alignment**
640
- Sync `sdk/package.json` version to match `mindforge-cc` version at release time. Add a pre-publish check.
641
-
642
- **8. Migration edge case completion**
643
- Expand `0.1.0-to-0.5.0.js` and `0.5.0-to-0.6.0.js` stub migrations with full field coverage and edge case handling (matching the completeness of `0.6.0-to-1.0.0.js`)
644
-
645
- **9. Windows compatibility verification**
646
- Test all installer code paths on Windows. Fix path separator issues where found. Add Windows-specific tests to `tests/install.test.js`.
647
-
648
- **10. Public launch materials**
649
- - Announcement blog post draft
650
- - Getting started video script (5-minute demo: install → init-project → plan → execute → verify)
651
- - Community Discord/Slack setup
652
- - `mindforge.dev` landing page content
653
-
654
- ### branch and version
655
-
656
- **Branch:** `feat/mindforge-multi-runtime-dashboard`
657
- **Target version:** v1.1.0 (stable minor — no breaking changes)
658
-
659
- ---
660
-
661
- ## PROMPTING APPROACH THAT WORKED
662
-
663
- All 7 days followed the same 3-prompt structure per day:
664
- 1. **Implementation prompt** — Detailed task-by-task build instructions with exact code
665
- 2. **Review prompt** — Adversarial multi-pass review with persona activation
666
- 3. **Hardening prompt** — Fixes + ADRs + test additions + final verification
667
-
668
- Days 1-5 delivered 3 separate .md files. Days 6-7 consolidated into a single file with clear PART 1/2/3 separators (more efficient for long context).
669
-
670
- Each prompt used:
671
- - `git add . && git commit -m "..."` between every task (never batch commits)
672
- - Exact shell verification commands at the end of each task
673
- - Personas activated explicitly (`architect.md + security-reviewer.md + qa-engineer.md`)
674
- - Test-driven: every feature had a test in the same task or the next task
675
- - Explicit "do not implement" sections to prevent scope creep
676
-
677
- ---
678
-
679
- ## OUTPUT FILE INVENTORY
680
-
681
- All prompt files are in `/mnt/user-data/outputs/`:
682
-
683
- | File | Day | Size | Content |
684
- |---|---|---|---|
685
- | `DAY1-IMPLEMENT.md` | 1 | 78KB | Foundation implementation |
686
- | `DAY1-REVIEW.md` | 1 | 12KB | Foundation review |
687
- | `DAY1-HARDEN.md` | 1 | 27KB | Foundation hardening |
688
- | `DAY2-IMPLEMENT.md` | 2 | 73KB | Wave engine implementation |
689
- | `DAY2-REVIEW.md` | 2 | 20KB | Wave engine review |
690
- | `DAY2-HARDEN.md` | 2 | 33KB | Wave engine hardening |
691
- | `DAY3-IMPLEMENT.md` | 3 | 99KB | Skills platform implementation |
692
- | `DAY3-REVIEW.md` | 3 | 24KB | Skills platform review |
693
- | `DAY3-HARDEN.md` | 3 | 29KB | Skills platform hardening |
694
- | `DAY4-IMPLEMENT.md` | 4 | 93KB | Enterprise integrations implementation |
695
- | `DAY4-REVIEW.md` | 4 | 18KB | Enterprise integrations review |
696
- | `DAY4-HARDEN.md` | 4 | 37KB | Enterprise integrations hardening |
697
- | `DAY5-IMPLEMENT.md` | 5 | 108KB | Intelligence layer implementation |
698
- | `DAY5-REVIEW.md` | 5 | 16KB | Intelligence layer review |
699
- | `DAY5-HARDEN.md` | 5 | 38KB | Intelligence layer hardening |
700
- | `DAY6-COMPLETE.md` | 6 | 129KB | Distribution platform (impl+review+harden) |
701
- | `DAY7-COMPLETE.md` | 7 | 122KB | Production release v1 (impl+review+harden) |
702
- | `DAY7-PRODUCTION-FINAL.md` | 7 | 174KB | Production release final (complete, definitive) |
703
-
704
- **Total prompt content generated: ~1.1MB across 18 files, ~32,000 lines**
705
-
706
- ---
707
-
708
- ## QUICK REFERENCE: KEY FILE PATHS
709
-
710
- | What | Path |
711
- |---|---|
712
- | Agent entry point (Claude Code) | `.claude/CLAUDE.md` |
713
- | Agent entry point (Antigravity) | `.agent/CLAUDE.md` |
714
- | All 36 commands | `.claude/commands/mindforge/*.md` |
715
- | Skills manifest | `.mindforge/org/skills/MANIFEST.md` |
716
- | Governance config | `.mindforge/governance/GOVERNANCE-CONFIG.md` |
717
- | Integrations config | `.mindforge/org/integrations/INTEGRATIONS-CONFIG.md` |
718
- | Project constitution | `MINDFORGE.md` (project root) |
719
- | Schema validator | `.mindforge/MINDFORGE-SCHEMA.json` |
720
- | Project state | `.planning/STATE.md` |
721
- | Cross-session state | `.planning/HANDOFF.json` |
722
- | Audit log | `.planning/AUDIT.jsonl` |
723
- | Current phase plans | `.planning/phases/[N]/PLAN-[N]-[MM].md` |
724
- | ADRs | `.planning/decisions/ADR-001 through ADR-020.md` |
725
- | Plugin manifest | `.mindforge/plugins/PLUGINS-MANIFEST.md` |
726
- | Team profile | `.mindforge/team/TEAM-PROFILE.md` |
727
- | Metrics | `.mindforge/metrics/session-quality.jsonl` |
728
-
729
- ---
730
-
731
- *State file generated at completion. MindForge v9.0.0 — 36 commands · 10 skills · 34 personas · 23 ADRs · 17 test suites.*