mindforge-cc 9.0.0 → 10.0.0

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 (641) hide show
  1. package/.mindforge/config.json +1 -1
  2. package/CHANGELOG.md +15 -0
  3. package/LICENSE +1 -1
  4. package/MINDFORGE.md +13 -0
  5. package/README.md +7 -1
  6. package/bin/autonomous/audit-writer.js +90 -0
  7. package/bin/autonomous/auto-runner.js +209 -431
  8. package/bin/autonomous/state-manager.js +116 -0
  9. package/bin/autonomous/task-dispatcher.js +114 -0
  10. package/bin/autonomous/wave-executor.js +169 -0
  11. package/bin/browser/browser-daemon.js +31 -1
  12. package/bin/change-classifier.js +3 -3
  13. package/bin/dashboard/api-router.js +21 -22
  14. package/bin/dashboard/metrics-aggregator.js +44 -3
  15. package/bin/dashboard/server.js +54 -10
  16. package/bin/dashboard/sse-bridge.js +51 -5
  17. package/bin/engine/learning-manager.js +1 -1
  18. package/bin/engine/mesh-syncer.js +26 -22
  19. package/bin/engine/nexus-tracer.js +6 -5
  20. package/bin/engine/orbital-guardian.js +13 -10
  21. package/bin/engine/skill-evolver.js +12 -14
  22. package/bin/engine/temporal-hub.js +25 -1
  23. package/bin/governance/policy-engine.js +5 -5
  24. package/bin/governance/policy-gate-hardened.js +2 -2
  25. package/bin/governance/quantum-crypto.js +10 -2
  26. package/bin/memory/identity-synthesizer.js +9 -11
  27. package/bin/memory/knowledge-store.js +62 -6
  28. package/bin/memory/semantic-hub.js +26 -30
  29. package/bin/memory/vector-hub.js +377 -193
  30. package/bin/migrations/v8-sqlite-migration.js +22 -21
  31. package/bin/migrations/v9-unified-memory.js +1 -1
  32. package/bin/mindforge-cli.js +47 -11
  33. package/bin/models/model-broker.js +2 -0
  34. package/bin/revops/remediation-queue.js +16 -55
  35. package/bin/utils/errors.js +40 -0
  36. package/bin/utils/file-io.js +102 -0
  37. package/bin/utils/index.js +6 -0
  38. package/bin/utils/paths.js +33 -0
  39. package/docs/sdk-reference.md +374 -24
  40. package/docs/troubleshooting.md +4 -4
  41. package/examples/sdk-integration/README.md +24 -0
  42. package/examples/sdk-integration/index.js +24 -0
  43. package/examples/starter-project/MINDFORGE.md +8 -8
  44. package/package.json +25 -14
  45. package/.agent/bin/lib/commands.cjs +0 -959
  46. package/.agent/bin/lib/config.cjs +0 -421
  47. package/.agent/bin/lib/core.cjs +0 -1166
  48. package/.agent/bin/lib/frontmatter.cjs +0 -307
  49. package/.agent/bin/lib/init.cjs +0 -1336
  50. package/.agent/bin/lib/milestone.cjs +0 -252
  51. package/.agent/bin/lib/model-profiles.cjs +0 -68
  52. package/.agent/bin/lib/phase.cjs +0 -888
  53. package/.agent/bin/lib/profile-output.cjs +0 -952
  54. package/.agent/bin/lib/profile-pipeline.cjs +0 -539
  55. package/.agent/bin/lib/roadmap.cjs +0 -329
  56. package/.agent/bin/lib/security.cjs +0 -356
  57. package/.agent/bin/lib/state.cjs +0 -969
  58. package/.agent/bin/lib/template.cjs +0 -222
  59. package/.agent/bin/lib/uat.cjs +0 -189
  60. package/.agent/bin/lib/verify.cjs +0 -851
  61. package/.agent/bin/lib/workstream.cjs +0 -491
  62. package/.agent/bin/mindforge-tools.cjs +0 -897
  63. package/.agent/file-manifest.json +0 -219
  64. package/.agent/forge/help.md +0 -11
  65. package/.agent/forge/init-project.md +0 -36
  66. package/.agent/forge/plan-phase.md +0 -34
  67. package/.agent/mindforge/add-backlog.md +0 -32
  68. package/.agent/mindforge/agent.md +0 -31
  69. package/.agent/mindforge/approve.md +0 -22
  70. package/.agent/mindforge/audit.md +0 -34
  71. package/.agent/mindforge/auto.md +0 -26
  72. package/.agent/mindforge/benchmark.md +0 -37
  73. package/.agent/mindforge/browse.md +0 -30
  74. package/.agent/mindforge/complete-milestone.md +0 -22
  75. package/.agent/mindforge/costs.md +0 -15
  76. package/.agent/mindforge/cross-review.md +0 -21
  77. package/.agent/mindforge/dashboard.md +0 -102
  78. package/.agent/mindforge/debug.md +0 -133
  79. package/.agent/mindforge/discuss-phase.md +0 -142
  80. package/.agent/mindforge/do.md +0 -31
  81. package/.agent/mindforge/execute-phase.md +0 -200
  82. package/.agent/mindforge/health.md +0 -31
  83. package/.agent/mindforge/help.md +0 -33
  84. package/.agent/mindforge/init-org.md +0 -135
  85. package/.agent/mindforge/init-project.md +0 -170
  86. package/.agent/mindforge/install-skill.md +0 -28
  87. package/.agent/mindforge/learn.md +0 -147
  88. package/.agent/mindforge/learning.md +0 -20
  89. package/.agent/mindforge/map-codebase.md +0 -302
  90. package/.agent/mindforge/marketplace.md +0 -124
  91. package/.agent/mindforge/metrics.md +0 -26
  92. package/.agent/mindforge/migrate.md +0 -44
  93. package/.agent/mindforge/milestone.md +0 -16
  94. package/.agent/mindforge/new-runtime.md +0 -23
  95. package/.agent/mindforge/next.md +0 -109
  96. package/.agent/mindforge/note.md +0 -35
  97. package/.agent/mindforge/plan-phase.md +0 -131
  98. package/.agent/mindforge/plant-seed.md +0 -31
  99. package/.agent/mindforge/plugins.md +0 -44
  100. package/.agent/mindforge/pr-review.md +0 -45
  101. package/.agent/mindforge/profile-team.md +0 -27
  102. package/.agent/mindforge/publish-skill.md +0 -23
  103. package/.agent/mindforge/qa.md +0 -20
  104. package/.agent/mindforge/quick.md +0 -139
  105. package/.agent/mindforge/record-learning.md +0 -22
  106. package/.agent/mindforge/release.md +0 -14
  107. package/.agent/mindforge/remember.md +0 -30
  108. package/.agent/mindforge/research.md +0 -16
  109. package/.agent/mindforge/retrospective.md +0 -31
  110. package/.agent/mindforge/review-backlog.md +0 -34
  111. package/.agent/mindforge/review.md +0 -161
  112. package/.agent/mindforge/security-scan.md +0 -242
  113. package/.agent/mindforge/session-report.md +0 -39
  114. package/.agent/mindforge/ship.md +0 -111
  115. package/.agent/mindforge/skills.md +0 -145
  116. package/.agent/mindforge/status.md +0 -113
  117. package/.agent/mindforge/steer.md +0 -17
  118. package/.agent/mindforge/sync-confluence.md +0 -15
  119. package/.agent/mindforge/sync-jira.md +0 -16
  120. package/.agent/mindforge/tokens.md +0 -12
  121. package/.agent/mindforge/ui-phase.md +0 -34
  122. package/.agent/mindforge/ui-review.md +0 -36
  123. package/.agent/mindforge/update.md +0 -46
  124. package/.agent/mindforge/validate-phase.md +0 -31
  125. package/.agent/mindforge/verify-phase.md +0 -66
  126. package/.agent/mindforge/workspace.md +0 -33
  127. package/.agent/mindforge/workstreams.md +0 -35
  128. package/.agent/settings.json +0 -42
  129. package/.agent/skills/mindforge-add-backlog/SKILL.md +0 -72
  130. package/.agent/skills/mindforge-add-phase/SKILL.md +0 -39
  131. package/.agent/skills/mindforge-add-tests/SKILL.md +0 -28
  132. package/.agent/skills/mindforge-add-todo/SKILL.md +0 -42
  133. package/.agent/skills/mindforge-audit-milestone/SKILL.md +0 -29
  134. package/.agent/skills/mindforge-audit-uat/SKILL.md +0 -20
  135. package/.agent/skills/mindforge-autonomous/SKILL.md +0 -33
  136. package/.agent/skills/mindforge-brainstorming/SKILL.md +0 -164
  137. package/.agent/skills/mindforge-brainstorming/scripts/frame-template.html +0 -214
  138. package/.agent/skills/mindforge-brainstorming/scripts/helper.js +0 -88
  139. package/.agent/skills/mindforge-brainstorming/scripts/server.cjs +0 -354
  140. package/.agent/skills/mindforge-brainstorming/scripts/start-server.sh +0 -148
  141. package/.agent/skills/mindforge-brainstorming/scripts/stop-server.sh +0 -56
  142. package/.agent/skills/mindforge-brainstorming/spec-document-reviewer-prompt.md +0 -49
  143. package/.agent/skills/mindforge-brainstorming/visual-companion.md +0 -287
  144. package/.agent/skills/mindforge-check-todos/SKILL.md +0 -40
  145. package/.agent/skills/mindforge-cleanup/SKILL.md +0 -19
  146. package/.agent/skills/mindforge-complete-milestone/SKILL.md +0 -131
  147. package/.agent/skills/mindforge-debug/SKILL.md +0 -163
  148. package/.agent/skills/mindforge-debug_extended/CREATION-LOG.md +0 -119
  149. package/.agent/skills/mindforge-debug_extended/SKILL.md +0 -296
  150. package/.agent/skills/mindforge-debug_extended/condition-based-waiting-example.ts +0 -158
  151. package/.agent/skills/mindforge-debug_extended/condition-based-waiting.md +0 -115
  152. package/.agent/skills/mindforge-debug_extended/defense-in-depth.md +0 -122
  153. package/.agent/skills/mindforge-debug_extended/find-polluter.sh +0 -63
  154. package/.agent/skills/mindforge-debug_extended/root-cause-tracing.md +0 -169
  155. package/.agent/skills/mindforge-debug_extended/test-academic.md +0 -14
  156. package/.agent/skills/mindforge-debug_extended/test-pressure-1.md +0 -58
  157. package/.agent/skills/mindforge-debug_extended/test-pressure-2.md +0 -68
  158. package/.agent/skills/mindforge-debug_extended/test-pressure-3.md +0 -69
  159. package/.agent/skills/mindforge-discuss-phase/SKILL.md +0 -54
  160. package/.agent/skills/mindforge-do/SKILL.md +0 -26
  161. package/.agent/skills/mindforge-execute-phase/SKILL.md +0 -49
  162. package/.agent/skills/mindforge-execute-phase_extended/SKILL.md +0 -70
  163. package/.agent/skills/mindforge-fast/SKILL.md +0 -23
  164. package/.agent/skills/mindforge-forensics/SKILL.md +0 -49
  165. package/.agent/skills/mindforge-health/SKILL.md +0 -17
  166. package/.agent/skills/mindforge-help/SKILL.md +0 -23
  167. package/.agent/skills/mindforge-insert-phase/SKILL.md +0 -28
  168. package/.agent/skills/mindforge-join-discord/SKILL.md +0 -19
  169. package/.agent/skills/mindforge-list-phase-assumptions/SKILL.md +0 -41
  170. package/.agent/skills/mindforge-list-workspaces/SKILL.md +0 -17
  171. package/.agent/skills/mindforge-manager/SKILL.md +0 -32
  172. package/.agent/skills/mindforge-map-codebase/SKILL.md +0 -64
  173. package/.agent/skills/mindforge-milestone-summary/SKILL.md +0 -44
  174. package/.agent/skills/mindforge-neural-orchestrator/SKILL.md +0 -115
  175. package/.agent/skills/mindforge-neural-orchestrator/references/codex-tools.md +0 -100
  176. package/.agent/skills/mindforge-neural-orchestrator/references/gemini-tools.md +0 -33
  177. package/.agent/skills/mindforge-new-milestone/SKILL.md +0 -38
  178. package/.agent/skills/mindforge-new-project/SKILL.md +0 -36
  179. package/.agent/skills/mindforge-new-workspace/SKILL.md +0 -39
  180. package/.agent/skills/mindforge-next/SKILL.md +0 -19
  181. package/.agent/skills/mindforge-note/SKILL.md +0 -29
  182. package/.agent/skills/mindforge-parallel-mesh_extended/SKILL.md +0 -182
  183. package/.agent/skills/mindforge-pause-work/SKILL.md +0 -35
  184. package/.agent/skills/mindforge-plan-milestone-gaps/SKILL.md +0 -28
  185. package/.agent/skills/mindforge-plan-phase/SKILL.md +0 -38
  186. package/.agent/skills/mindforge-plan-phase_extended/SKILL.md +0 -152
  187. package/.agent/skills/mindforge-plan-phase_extended/plan-document-reviewer-prompt.md +0 -49
  188. package/.agent/skills/mindforge-plant-seed/SKILL.md +0 -22
  189. package/.agent/skills/mindforge-pr-branch/SKILL.md +0 -21
  190. package/.agent/skills/mindforge-profile-user/SKILL.md +0 -38
  191. package/.agent/skills/mindforge-progress/SKILL.md +0 -19
  192. package/.agent/skills/mindforge-quick/SKILL.md +0 -38
  193. package/.agent/skills/mindforge-reapply-patches/SKILL.md +0 -124
  194. package/.agent/skills/mindforge-remove-phase/SKILL.md +0 -26
  195. package/.agent/skills/mindforge-remove-workspace/SKILL.md +0 -22
  196. package/.agent/skills/mindforge-research-phase/SKILL.md +0 -186
  197. package/.agent/skills/mindforge-resume-work/SKILL.md +0 -35
  198. package/.agent/skills/mindforge-review/SKILL.md +0 -31
  199. package/.agent/skills/mindforge-review-backlog/SKILL.md +0 -58
  200. package/.agent/skills/mindforge-review-inbound/SKILL.md +0 -213
  201. package/.agent/skills/mindforge-review-request/SKILL.md +0 -105
  202. package/.agent/skills/mindforge-review-request/code-reviewer.md +0 -146
  203. package/.agent/skills/mindforge-session-report/SKILL.md +0 -16
  204. package/.agent/skills/mindforge-set-profile/SKILL.md +0 -9
  205. package/.agent/skills/mindforge-settings/SKILL.md +0 -32
  206. package/.agent/skills/mindforge-ship/SKILL.md +0 -16
  207. package/.agent/skills/mindforge-ship_extended/SKILL.md +0 -200
  208. package/.agent/skills/mindforge-skill-creation/SKILL.md +0 -655
  209. package/.agent/skills/mindforge-skill-creation/anthropic-best-practices.md +0 -1150
  210. package/.agent/skills/mindforge-skill-creation/examples/CLAUDE_MD_TESTING.md +0 -189
  211. package/.agent/skills/mindforge-skill-creation/graphviz-conventions.dot +0 -172
  212. package/.agent/skills/mindforge-skill-creation/persuasion-principles.md +0 -187
  213. package/.agent/skills/mindforge-skill-creation/render-graphs.js +0 -168
  214. package/.agent/skills/mindforge-skill-creation/testing-skills-with-subagents.md +0 -384
  215. package/.agent/skills/mindforge-stats/SKILL.md +0 -16
  216. package/.agent/skills/mindforge-swarm-execution/SKILL.md +0 -277
  217. package/.agent/skills/mindforge-swarm-execution/code-quality-reviewer-prompt.md +0 -26
  218. package/.agent/skills/mindforge-swarm-execution/implementer-prompt.md +0 -113
  219. package/.agent/skills/mindforge-swarm-execution/spec-reviewer-prompt.md +0 -61
  220. package/.agent/skills/mindforge-system-architecture/SKILL.md +0 -136
  221. package/.agent/skills/mindforge-system-architecture/examples.md +0 -120
  222. package/.agent/skills/mindforge-system-architecture/scaling-checklist.md +0 -76
  223. package/.agent/skills/mindforge-tdd/SKILL.md +0 -112
  224. package/.agent/skills/mindforge-tdd/deep-modules.md +0 -21
  225. package/.agent/skills/mindforge-tdd/interface-design.md +0 -22
  226. package/.agent/skills/mindforge-tdd/mocking.md +0 -24
  227. package/.agent/skills/mindforge-tdd/refactoring.md +0 -21
  228. package/.agent/skills/mindforge-tdd/tests.md +0 -28
  229. package/.agent/skills/mindforge-tdd_extended/SKILL.md +0 -371
  230. package/.agent/skills/mindforge-tdd_extended/testing-anti-patterns.md +0 -299
  231. package/.agent/skills/mindforge-thread/SKILL.md +0 -123
  232. package/.agent/skills/mindforge-ui-phase/SKILL.md +0 -24
  233. package/.agent/skills/mindforge-ui-review/SKILL.md +0 -24
  234. package/.agent/skills/mindforge-update/SKILL.md +0 -35
  235. package/.agent/skills/mindforge-validate-phase/SKILL.md +0 -26
  236. package/.agent/skills/mindforge-verify-work/SKILL.md +0 -30
  237. package/.agent/skills/mindforge-verify-work_extended/SKILL.md +0 -139
  238. package/.agent/skills/mindforge-workspace-isolated/SKILL.md +0 -218
  239. package/.agent/skills/mindforge-workstreams/SKILL.md +0 -65
  240. package/.agent/workflows/forge:help.md +0 -10
  241. package/.agent/workflows/forge:init-project.md +0 -35
  242. package/.agent/workflows/forge:plan-phase.md +0 -33
  243. package/.agent/workflows/mindforge-add-phase.md +0 -112
  244. package/.agent/workflows/mindforge-add-tests.md +0 -351
  245. package/.agent/workflows/mindforge-add-todo.md +0 -158
  246. package/.agent/workflows/mindforge-audit-milestone.md +0 -332
  247. package/.agent/workflows/mindforge-audit-uat.md +0 -109
  248. package/.agent/workflows/mindforge-autonomous.md +0 -815
  249. package/.agent/workflows/mindforge-check-todos.md +0 -177
  250. package/.agent/workflows/mindforge-cleanup.md +0 -152
  251. package/.agent/workflows/mindforge-complete-milestone.md +0 -766
  252. package/.agent/workflows/mindforge-diagnose-issues.md +0 -220
  253. package/.agent/workflows/mindforge-discovery-phase.md +0 -289
  254. package/.agent/workflows/mindforge-discuss-phase-assumptions.md +0 -645
  255. package/.agent/workflows/mindforge-discuss-phase.md +0 -1047
  256. package/.agent/workflows/mindforge-do.md +0 -104
  257. package/.agent/workflows/mindforge-execute-phase.md +0 -838
  258. package/.agent/workflows/mindforge-execute-plan.md +0 -509
  259. package/.agent/workflows/mindforge-fast.md +0 -105
  260. package/.agent/workflows/mindforge-forensics.md +0 -265
  261. package/.agent/workflows/mindforge-health.md +0 -181
  262. package/.agent/workflows/mindforge-help.md +0 -606
  263. package/.agent/workflows/mindforge-insert-phase.md +0 -130
  264. package/.agent/workflows/mindforge-list-phase-assumptions.md +0 -178
  265. package/.agent/workflows/mindforge-list-workspaces.md +0 -56
  266. package/.agent/workflows/mindforge-manager.md +0 -360
  267. package/.agent/workflows/mindforge-map-codebase.md +0 -370
  268. package/.agent/workflows/mindforge-milestone-summary.md +0 -223
  269. package/.agent/workflows/mindforge-new-milestone.md +0 -469
  270. package/.agent/workflows/mindforge-new-project.md +0 -1226
  271. package/.agent/workflows/mindforge-new-workspace.md +0 -237
  272. package/.agent/workflows/mindforge-next.md +0 -97
  273. package/.agent/workflows/mindforge-node-repair.md +0 -92
  274. package/.agent/workflows/mindforge-note.md +0 -156
  275. package/.agent/workflows/mindforge-pause-work.md +0 -176
  276. package/.agent/workflows/mindforge-plan-milestone-gaps.md +0 -273
  277. package/.agent/workflows/mindforge-plan-phase.md +0 -877
  278. package/.agent/workflows/mindforge-plant-seed.md +0 -169
  279. package/.agent/workflows/mindforge-pr-branch.md +0 -129
  280. package/.agent/workflows/mindforge-profile-user.md +0 -450
  281. package/.agent/workflows/mindforge-progress.md +0 -507
  282. package/.agent/workflows/mindforge-quick.md +0 -732
  283. package/.agent/workflows/mindforge-remove-phase.md +0 -155
  284. package/.agent/workflows/mindforge-remove-workspace.md +0 -90
  285. package/.agent/workflows/mindforge-research-phase.md +0 -74
  286. package/.agent/workflows/mindforge-resume-project.md +0 -325
  287. package/.agent/workflows/mindforge-review.md +0 -228
  288. package/.agent/workflows/mindforge-session-report.md +0 -146
  289. package/.agent/workflows/mindforge-settings.md +0 -283
  290. package/.agent/workflows/mindforge-ship.md +0 -228
  291. package/.agent/workflows/mindforge-stats.md +0 -60
  292. package/.agent/workflows/mindforge-transition.md +0 -671
  293. package/.agent/workflows/mindforge-ui-phase.md +0 -290
  294. package/.agent/workflows/mindforge-ui-review.md +0 -157
  295. package/.agent/workflows/mindforge-update.md +0 -323
  296. package/.agent/workflows/mindforge-validate-phase.md +0 -167
  297. package/.agent/workflows/mindforge-verify-phase.md +0 -254
  298. package/.agent/workflows/mindforge-verify-work.md +0 -628
  299. package/.agent/workflows/mindforge:add-backlog.md +0 -24
  300. package/.agent/workflows/mindforge:agent.md +0 -25
  301. package/.agent/workflows/mindforge:approve.md +0 -21
  302. package/.agent/workflows/mindforge:architecture.md +0 -40
  303. package/.agent/workflows/mindforge:audit.md +0 -33
  304. package/.agent/workflows/mindforge:auto.md +0 -25
  305. package/.agent/workflows/mindforge:benchmark.md +0 -36
  306. package/.agent/workflows/mindforge:brainstorming.md +0 -16
  307. package/.agent/workflows/mindforge:browse.md +0 -29
  308. package/.agent/workflows/mindforge:complete-milestone.md +0 -21
  309. package/.agent/workflows/mindforge:costs.md +0 -14
  310. package/.agent/workflows/mindforge:cross-review.md +0 -20
  311. package/.agent/workflows/mindforge:dashboard.md +0 -101
  312. package/.agent/workflows/mindforge:debug.md +0 -131
  313. package/.agent/workflows/mindforge:discuss-phase.md +0 -141
  314. package/.agent/workflows/mindforge:do.md +0 -25
  315. package/.agent/workflows/mindforge:execute-phase.md +0 -205
  316. package/.agent/workflows/mindforge:executor.md +0 -18
  317. package/.agent/workflows/mindforge:health.md +0 -24
  318. package/.agent/workflows/mindforge:help.md +0 -26
  319. package/.agent/workflows/mindforge:identity.md +0 -18
  320. package/.agent/workflows/mindforge:init-org.md +0 -134
  321. package/.agent/workflows/mindforge:init-project.md +0 -185
  322. package/.agent/workflows/mindforge:install-skill.md +0 -27
  323. package/.agent/workflows/mindforge:learn.md +0 -146
  324. package/.agent/workflows/mindforge:map-codebase.md +0 -301
  325. package/.agent/workflows/mindforge:marketplace.md +0 -123
  326. package/.agent/workflows/mindforge:memory.md +0 -18
  327. package/.agent/workflows/mindforge:metrics.md +0 -25
  328. package/.agent/workflows/mindforge:migrate.md +0 -43
  329. package/.agent/workflows/mindforge:milestone.md +0 -15
  330. package/.agent/workflows/mindforge:new-runtime.md +0 -22
  331. package/.agent/workflows/mindforge:next.md +0 -108
  332. package/.agent/workflows/mindforge:note.md +0 -27
  333. package/.agent/workflows/mindforge:plan-phase.md +0 -139
  334. package/.agent/workflows/mindforge:planner.md +0 -18
  335. package/.agent/workflows/mindforge:plant-seed.md +0 -24
  336. package/.agent/workflows/mindforge:plugins.md +0 -43
  337. package/.agent/workflows/mindforge:pr-review.md +0 -44
  338. package/.agent/workflows/mindforge:profile-team.md +0 -26
  339. package/.agent/workflows/mindforge:publish-skill.md +0 -22
  340. package/.agent/workflows/mindforge:qa.md +0 -19
  341. package/.agent/workflows/mindforge:quick.md +0 -138
  342. package/.agent/workflows/mindforge:release.md +0 -13
  343. package/.agent/workflows/mindforge:remember.md +0 -29
  344. package/.agent/workflows/mindforge:research.md +0 -15
  345. package/.agent/workflows/mindforge:researcher.md +0 -18
  346. package/.agent/workflows/mindforge:retrospective.md +0 -29
  347. package/.agent/workflows/mindforge:review-backlog.md +0 -26
  348. package/.agent/workflows/mindforge:review.md +0 -160
  349. package/.agent/workflows/mindforge:reviewer.md +0 -18
  350. package/.agent/workflows/mindforge:security-scan.md +0 -236
  351. package/.agent/workflows/mindforge:session-report.md +0 -31
  352. package/.agent/workflows/mindforge:ship.md +0 -108
  353. package/.agent/workflows/mindforge:skills.md +0 -144
  354. package/.agent/workflows/mindforge:soul.md +0 -54
  355. package/.agent/workflows/mindforge:status.md +0 -107
  356. package/.agent/workflows/mindforge:steer.md +0 -16
  357. package/.agent/workflows/mindforge:sync-confluence.md +0 -14
  358. package/.agent/workflows/mindforge:sync-jira.md +0 -15
  359. package/.agent/workflows/mindforge:tdd.md +0 -46
  360. package/.agent/workflows/mindforge:tokens.md +0 -11
  361. package/.agent/workflows/mindforge:tool.md +0 -18
  362. package/.agent/workflows/mindforge:ui-phase.md +0 -27
  363. package/.agent/workflows/mindforge:ui-review.md +0 -28
  364. package/.agent/workflows/mindforge:update.md +0 -45
  365. package/.agent/workflows/mindforge:validate-phase.md +0 -25
  366. package/.agent/workflows/mindforge:verify-phase.md +0 -65
  367. package/.agent/workflows/mindforge:workspace.md +0 -32
  368. package/.agent/workflows/mindforge:workstreams.md +0 -27
  369. package/.agent/workflows/publish-release.md +0 -36
  370. package/.claude/CLAUDE.md +0 -102
  371. package/.claude/commands/forge/help.md +0 -7
  372. package/.claude/commands/forge/init-project.md +0 -32
  373. package/.claude/commands/forge/plan-phase.md +0 -30
  374. package/.claude/commands/mindforge/add-backlog.md +0 -32
  375. package/.claude/commands/mindforge/agent.md +0 -31
  376. package/.claude/commands/mindforge/approve.md +0 -22
  377. package/.claude/commands/mindforge/audit.md +0 -34
  378. package/.claude/commands/mindforge/auto.md +0 -26
  379. package/.claude/commands/mindforge/benchmark.md +0 -37
  380. package/.claude/commands/mindforge/browse.md +0 -30
  381. package/.claude/commands/mindforge/complete-milestone.md +0 -22
  382. package/.claude/commands/mindforge/costs.md +0 -15
  383. package/.claude/commands/mindforge/cross-review.md +0 -21
  384. package/.claude/commands/mindforge/dashboard.md +0 -102
  385. package/.claude/commands/mindforge/debug.md +0 -133
  386. package/.claude/commands/mindforge/discuss-phase.md +0 -142
  387. package/.claude/commands/mindforge/do.md +0 -31
  388. package/.claude/commands/mindforge/execute-phase.md +0 -200
  389. package/.claude/commands/mindforge/health.md +0 -31
  390. package/.claude/commands/mindforge/help.md +0 -33
  391. package/.claude/commands/mindforge/init-org.md +0 -135
  392. package/.claude/commands/mindforge/init-project.md +0 -170
  393. package/.claude/commands/mindforge/install-skill.md +0 -28
  394. package/.claude/commands/mindforge/learn.md +0 -147
  395. package/.claude/commands/mindforge/learning.md +0 -20
  396. package/.claude/commands/mindforge/map-codebase.md +0 -302
  397. package/.claude/commands/mindforge/marketplace.md +0 -124
  398. package/.claude/commands/mindforge/metrics.md +0 -26
  399. package/.claude/commands/mindforge/migrate.md +0 -44
  400. package/.claude/commands/mindforge/milestone.md +0 -16
  401. package/.claude/commands/mindforge/new-runtime.md +0 -23
  402. package/.claude/commands/mindforge/next.md +0 -109
  403. package/.claude/commands/mindforge/note.md +0 -35
  404. package/.claude/commands/mindforge/plan-phase.md +0 -131
  405. package/.claude/commands/mindforge/plant-seed.md +0 -31
  406. package/.claude/commands/mindforge/plugins.md +0 -44
  407. package/.claude/commands/mindforge/pr-review.md +0 -45
  408. package/.claude/commands/mindforge/profile-team.md +0 -27
  409. package/.claude/commands/mindforge/publish-skill.md +0 -23
  410. package/.claude/commands/mindforge/qa.md +0 -20
  411. package/.claude/commands/mindforge/quick.md +0 -139
  412. package/.claude/commands/mindforge/record-learning.md +0 -22
  413. package/.claude/commands/mindforge/release.md +0 -14
  414. package/.claude/commands/mindforge/remember.md +0 -30
  415. package/.claude/commands/mindforge/research.md +0 -16
  416. package/.claude/commands/mindforge/retrospective.md +0 -31
  417. package/.claude/commands/mindforge/review-backlog.md +0 -34
  418. package/.claude/commands/mindforge/review.md +0 -161
  419. package/.claude/commands/mindforge/security-scan.md +0 -242
  420. package/.claude/commands/mindforge/session-report.md +0 -39
  421. package/.claude/commands/mindforge/ship.md +0 -111
  422. package/.claude/commands/mindforge/skills.md +0 -145
  423. package/.claude/commands/mindforge/status.md +0 -113
  424. package/.claude/commands/mindforge/steer.md +0 -17
  425. package/.claude/commands/mindforge/sync-confluence.md +0 -15
  426. package/.claude/commands/mindforge/sync-jira.md +0 -16
  427. package/.claude/commands/mindforge/tokens.md +0 -12
  428. package/.claude/commands/mindforge/ui-phase.md +0 -34
  429. package/.claude/commands/mindforge/ui-review.md +0 -36
  430. package/.claude/commands/mindforge/update.md +0 -46
  431. package/.claude/commands/mindforge/validate-phase.md +0 -31
  432. package/.claude/commands/mindforge/verify-phase.md +0 -66
  433. package/.claude/commands/mindforge/workspace.md +0 -33
  434. package/.claude/commands/mindforge/workstreams.md +0 -35
  435. package/.claude/settings.local.json +0 -16
  436. package/.mindforge/audit/AUDIT-SCHEMA.md +0 -470
  437. package/.mindforge/browser/daemon-protocol.md +0 -24
  438. package/.mindforge/browser/qa-engine.md +0 -16
  439. package/.mindforge/browser/session-manager.md +0 -18
  440. package/.mindforge/browser/visual-verify-spec.md +0 -31
  441. package/.mindforge/celestial.db +0 -0
  442. package/.mindforge/ci/ci-config-schema.md +0 -21
  443. package/.mindforge/ci/ci-mode.md +0 -179
  444. package/.mindforge/ci/github-actions-adapter.md +0 -224
  445. package/.mindforge/ci/gitlab-ci-adapter.md +0 -31
  446. package/.mindforge/ci/jenkins-adapter.md +0 -44
  447. package/.mindforge/dashboard/api-reference.md +0 -122
  448. package/.mindforge/dashboard/dashboard-spec.md +0 -96
  449. package/.mindforge/distribution/marketplace.md +0 -53
  450. package/.mindforge/distribution/registry-client.md +0 -166
  451. package/.mindforge/distribution/registry-schema.md +0 -96
  452. package/.mindforge/distribution/skill-publisher.md +0 -44
  453. package/.mindforge/distribution/skill-validator.md +0 -74
  454. package/.mindforge/governance/GOVERNANCE-CONFIG.md +0 -17
  455. package/.mindforge/governance/approval-workflow.md +0 -37
  456. package/.mindforge/governance/change-classifier.md +0 -63
  457. package/.mindforge/governance/compliance-gates.md +0 -31
  458. package/.mindforge/governance/policies/sovereign-default.json +0 -16
  459. package/.mindforge/integrations/confluence.md +0 -27
  460. package/.mindforge/integrations/connection-manager.md +0 -163
  461. package/.mindforge/integrations/github.md +0 -25
  462. package/.mindforge/integrations/gitlab.md +0 -13
  463. package/.mindforge/integrations/jira.md +0 -102
  464. package/.mindforge/integrations/slack.md +0 -41
  465. package/.mindforge/intelligence/antipattern-detector.md +0 -75
  466. package/.mindforge/intelligence/difficulty-scorer.md +0 -55
  467. package/.mindforge/intelligence/health-engine.md +0 -208
  468. package/.mindforge/intelligence/skill-gap-analyser.md +0 -40
  469. package/.mindforge/intelligence/smart-compaction.md +0 -71
  470. package/.mindforge/memory/MEMORY-SCHEMA.md +0 -155
  471. package/.mindforge/memory/engine/capture-protocol.md +0 -36
  472. package/.mindforge/memory/engine/global-sync-spec.md +0 -42
  473. package/.mindforge/memory/engine/retrieval-spec.md +0 -44
  474. package/.mindforge/memory/sync-manifest.json +0 -6
  475. package/.mindforge/metrics/METRICS-SCHEMA.md +0 -42
  476. package/.mindforge/metrics/quality-tracker.md +0 -32
  477. package/.mindforge/models/model-registry.md +0 -48
  478. package/.mindforge/models/model-router.md +0 -30
  479. package/.mindforge/monorepo/cross-package-planner.md +0 -114
  480. package/.mindforge/monorepo/dependency-graph-builder.md +0 -32
  481. package/.mindforge/monorepo/workspace-detector.md +0 -129
  482. package/.mindforge/org/CONVENTIONS.md +0 -62
  483. package/.mindforge/org/ORG.md +0 -51
  484. package/.mindforge/org/SECURITY.md +0 -50
  485. package/.mindforge/org/TOOLS.md +0 -53
  486. package/.mindforge/org/integrations/INTEGRATIONS-CONFIG.md +0 -58
  487. package/.mindforge/org/skills/MANIFEST.md +0 -15
  488. package/.mindforge/plugins/PLUGINS-MANIFEST.md +0 -23
  489. package/.mindforge/plugins/plugin-loader.md +0 -93
  490. package/.mindforge/plugins/plugin-registry.md +0 -44
  491. package/.mindforge/plugins/plugin-schema.md +0 -68
  492. package/.mindforge/pr-review/ai-reviewer.md +0 -266
  493. package/.mindforge/pr-review/finding-formatter.md +0 -46
  494. package/.mindforge/pr-review/review-prompt-templates.md +0 -44
  495. package/.mindforge/production/compatibility-layer.md +0 -39
  496. package/.mindforge/production/migration-engine.md +0 -52
  497. package/.mindforge/production/production-checklist.md +0 -76
  498. package/.mindforge/production/token-optimiser.md +0 -68
  499. package/.mindforge/skills-builder/auto-capture-protocol.md +0 -88
  500. package/.mindforge/skills-builder/learn-protocol.md +0 -161
  501. package/.mindforge/skills-builder/quality-scoring.md +0 -120
  502. package/.mindforge/team/TEAM-PROFILE.md +0 -42
  503. package/.mindforge/team/multi-handoff.md +0 -23
  504. package/.mindforge/team/profiles/README.md +0 -13
  505. package/.mindforge/team/session-merger.md +0 -18
  506. package/.planning/ARCHITECTURE.md +0 -0
  507. package/.planning/HANDOFF.json +0 -8
  508. package/.planning/PROJECT.md +0 -33
  509. package/.planning/RELEASE-CHECKLIST.md +0 -68
  510. package/.planning/REQUIREMENTS.md +0 -35
  511. package/.planning/ROADMAP.md +0 -12
  512. package/.planning/STATE.md +0 -36
  513. package/.planning/approvals/.gitkeep +0 -1
  514. package/.planning/archive/.gitkeep +0 -1
  515. package/.planning/audit-archive/.gitkeep +0 -1
  516. package/.planning/decisions/.gitkeep +0 -0
  517. package/.planning/jira-sync.json +0 -1
  518. package/.planning/milestones/.gitkeep +0 -1
  519. package/.planning/phases/.gitkeep +0 -0
  520. package/.planning/research/.gitkeep +0 -0
  521. package/.planning/screenshots/.gitkeep +0 -0
  522. package/.planning/slack-threads.json +0 -1
  523. package/docs/CAPABILITIES-MANIFEST.md +0 -64
  524. package/docs/Context/Master-Context.md +0 -731
  525. package/docs/INTELLIGENCE-MESH.md +0 -37
  526. package/docs/MIND-FORGE-REFERENCE-V6.md +0 -96
  527. package/docs/PERSONAS.md +0 -960
  528. package/docs/References/audit-events.md +0 -59
  529. package/docs/References/checkpoints.md +0 -778
  530. package/docs/References/commands.md +0 -107
  531. package/docs/References/config-reference.md +0 -81
  532. package/docs/References/continuation-format.md +0 -249
  533. package/docs/References/decimal-phase-calculation.md +0 -64
  534. package/docs/References/git-integration.md +0 -295
  535. package/docs/References/git-planning-commit.md +0 -38
  536. package/docs/References/model-profile-resolution.md +0 -36
  537. package/docs/References/model-profiles.md +0 -139
  538. package/docs/References/phase-argument-parsing.md +0 -61
  539. package/docs/References/planning-config.md +0 -202
  540. package/docs/References/questioning.md +0 -162
  541. package/docs/References/sdk-api.md +0 -53
  542. package/docs/References/skills-api.md +0 -57
  543. package/docs/References/tdd.md +0 -263
  544. package/docs/References/ui-brand.md +0 -160
  545. package/docs/References/user-profiling.md +0 -681
  546. package/docs/References/verification-patterns.md +0 -612
  547. package/docs/References/workstream-flag.md +0 -58
  548. package/docs/Templates/Agents/CLAUDE-MD.md +0 -122
  549. package/docs/Templates/Agents/COPILOT-INSTRUCTIONS.md +0 -7
  550. package/docs/Templates/Agents/DEBUGGER-PROMPT.md +0 -91
  551. package/docs/Templates/Agents/PLANNER-PROMPT.md +0 -117
  552. package/docs/Templates/Codebase/architecture.md +0 -255
  553. package/docs/Templates/Codebase/concerns.md +0 -310
  554. package/docs/Templates/Codebase/conventions.md +0 -307
  555. package/docs/Templates/Codebase/integrations.md +0 -280
  556. package/docs/Templates/Codebase/stack.md +0 -186
  557. package/docs/Templates/Codebase/structure.md +0 -285
  558. package/docs/Templates/Codebase/testing.md +0 -480
  559. package/docs/Templates/Execution/CONTINUE-HERE.md +0 -78
  560. package/docs/Templates/Execution/DISCUSSION-LOG.md +0 -63
  561. package/docs/Templates/Execution/PHASE-PROMPT.md +0 -610
  562. package/docs/Templates/Execution/STATE.md +0 -176
  563. package/docs/Templates/Execution/SUMMARY-COMPLEX.md +0 -59
  564. package/docs/Templates/Execution/SUMMARY-MINIMAL.md +0 -41
  565. package/docs/Templates/Execution/SUMMARY-STANDARD.md +0 -48
  566. package/docs/Templates/Execution/SUMMARY.md +0 -248
  567. package/docs/Templates/Profile/DEV-PREFERENCES.md +0 -21
  568. package/docs/Templates/Profile/USER-PROFILE.md +0 -146
  569. package/docs/Templates/Profile/USER-SETUP.md +0 -311
  570. package/docs/Templates/Project/AGENTS_LEARNING.md +0 -88
  571. package/docs/Templates/Project/DISCOVERY.md +0 -146
  572. package/docs/Templates/Project/MILESTONE-ARCHIVE.md +0 -123
  573. package/docs/Templates/Project/MILESTONE.md +0 -115
  574. package/docs/Templates/Project/PROJECT.md +0 -206
  575. package/docs/Templates/Project/REQUIREMENTS.md +0 -231
  576. package/docs/Templates/Project/RETROSPECTIVE.md +0 -54
  577. package/docs/Templates/Project/ROADMAP.md +0 -202
  578. package/docs/Templates/Quality/DEBUG.md +0 -164
  579. package/docs/Templates/Quality/UAT.md +0 -280
  580. package/docs/Templates/Quality/UI-SPEC.md +0 -100
  581. package/docs/Templates/Quality/VALIDATION.md +0 -76
  582. package/docs/Templates/Quality/VERIFICATION-REPORT.md +0 -322
  583. package/docs/Templates/Research/ARCHITECTURE.md +0 -204
  584. package/docs/Templates/Research/FEATURES.md +0 -147
  585. package/docs/Templates/Research/PITFALLS.md +0 -200
  586. package/docs/Templates/Research/STACK.md +0 -120
  587. package/docs/Templates/Research/SUMMARY.md +0 -170
  588. package/docs/Templates/System/CONFIG.json +0 -43
  589. package/docs/Templates/System/CONTEXT.md +0 -352
  590. package/docs/adr/ADR-024-browser-localhost-only.md +0 -17
  591. package/docs/adr/ADR-025-visual-verify-failure-treatment.md +0 -19
  592. package/docs/adr/ADR-026-session-persistence-security.md +0 -20
  593. package/docs/adr/ADR-042-ads-protocol.md +0 -30
  594. package/docs/architecture/NEXUS-DASHBOARD.md +0 -35
  595. package/docs/architecture/PAR-ZTS-SURVEY.md +0 -43
  596. package/docs/architecture/README.md +0 -78
  597. package/docs/architecture/V3-CORE.md +0 -52
  598. package/docs/architecture/V4-SWARM-MESH.md +0 -77
  599. package/docs/architecture/V5-ENTERPRISE.md +0 -131
  600. package/docs/architecture/V6-SOVEREIGN.md +0 -43
  601. package/docs/architecture/V8-SRE.md +0 -88
  602. package/docs/architecture/V9-BEDROCK.md +0 -162
  603. package/docs/architecture/adr-039-multi-runtime-support.md +0 -20
  604. package/docs/architecture/adr-040-additive-schema-migration.md +0 -21
  605. package/docs/architecture/adr-041-stable-runtime-interface-contract.md +0 -20
  606. package/docs/architecture/decision-records-index.md +0 -29
  607. package/docs/ci-cd-integration.md +0 -30
  608. package/docs/ci-cd.md +0 -92
  609. package/docs/ci-quickstart.md +0 -78
  610. package/docs/commands-skills/DISCOVERED_SKILLS.md +0 -21
  611. package/docs/contributing/CONTRIBUTING.md +0 -38
  612. package/docs/contributing/plugin-authoring.md +0 -50
  613. package/docs/contributing/skill-authoring.md +0 -41
  614. package/docs/enterprise-setup.md +0 -25
  615. package/docs/feature-dashboard.md +0 -63
  616. package/docs/governance-guide.md +0 -134
  617. package/docs/monorepo-guide.md +0 -26
  618. package/docs/persona-customisation.md +0 -56
  619. package/docs/publishing-guide.md +0 -43
  620. package/docs/quick-verify.md +0 -33
  621. package/docs/registry/AGENTS.md +0 -37
  622. package/docs/registry/COMMANDS.md +0 -87
  623. package/docs/registry/HOOKS.md +0 -38
  624. package/docs/registry/PERSONAS.md +0 -64
  625. package/docs/registry/README.md +0 -27
  626. package/docs/registry/SKILLS.md +0 -142
  627. package/docs/registry/WORKFLOWS.md +0 -72
  628. package/docs/release-checklist-guide.md +0 -37
  629. package/docs/requirements.md +0 -29
  630. package/docs/security/SECURITY.md +0 -55
  631. package/docs/security/ZTAI-OVERVIEW.md +0 -37
  632. package/docs/security/penetration-test-results.md +0 -31
  633. package/docs/security/threat-model.md +0 -142
  634. package/docs/skills-authoring-guide.md +0 -176
  635. package/docs/skills-publishing-guide.md +0 -22
  636. package/docs/team-setup-guide.md +0 -21
  637. package/docs/testing-current-version.md +0 -130
  638. package/docs/tutorial.md +0 -162
  639. package/docs/upgrade.md +0 -58
  640. package/docs/usp-features.md +0 -102
  641. 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.*