mindforge-cc 2.1.0 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (236) hide show
  1. package/.agent/bin/lib/commands.cjs +959 -0
  2. package/.agent/bin/lib/config.cjs +421 -0
  3. package/.agent/bin/lib/core.cjs +1166 -0
  4. package/.agent/bin/lib/frontmatter.cjs +307 -0
  5. package/.agent/bin/lib/init.cjs +1336 -0
  6. package/.agent/bin/lib/milestone.cjs +252 -0
  7. package/.agent/bin/lib/model-profiles.cjs +68 -0
  8. package/.agent/bin/lib/phase.cjs +888 -0
  9. package/.agent/bin/lib/profile-output.cjs +952 -0
  10. package/.agent/bin/lib/profile-pipeline.cjs +539 -0
  11. package/.agent/bin/lib/roadmap.cjs +329 -0
  12. package/.agent/bin/lib/security.cjs +356 -0
  13. package/.agent/bin/lib/state.cjs +969 -0
  14. package/.agent/bin/lib/template.cjs +222 -0
  15. package/.agent/bin/lib/uat.cjs +189 -0
  16. package/.agent/bin/lib/verify.cjs +851 -0
  17. package/.agent/bin/lib/workstream.cjs +491 -0
  18. package/.agent/bin/mindforge-tools.cjs +897 -0
  19. package/.agent/file-manifest.json +219 -0
  20. package/.agent/hooks/mindforge-check-update.js +114 -0
  21. package/.agent/hooks/mindforge-context-monitor.js +156 -0
  22. package/.agent/hooks/mindforge-prompt-guard.js +96 -0
  23. package/.agent/hooks/mindforge-statusline.js +119 -0
  24. package/.agent/hooks/mindforge-workflow-guard.js +94 -0
  25. package/.agent/mindforge/discuss-phase.md +1 -1
  26. package/.agent/mindforge/help.md +1 -1
  27. package/.agent/mindforge/learn.md +3 -2
  28. package/.agent/mindforge/research.md +3 -2
  29. package/.agent/mindforge/steer.md +1 -1
  30. package/.agent/settings.json +38 -0
  31. package/.agent/skills/mindforge-add-backlog/SKILL.md +72 -0
  32. package/.agent/skills/mindforge-add-phase/SKILL.md +39 -0
  33. package/.agent/skills/mindforge-add-tests/SKILL.md +28 -0
  34. package/.agent/skills/mindforge-add-todo/SKILL.md +42 -0
  35. package/.agent/skills/mindforge-audit-milestone/SKILL.md +29 -0
  36. package/.agent/skills/mindforge-audit-uat/SKILL.md +20 -0
  37. package/.agent/skills/mindforge-autonomous/SKILL.md +33 -0
  38. package/.agent/skills/mindforge-check-todos/SKILL.md +40 -0
  39. package/.agent/skills/mindforge-cleanup/SKILL.md +19 -0
  40. package/.agent/skills/mindforge-complete-milestone/SKILL.md +131 -0
  41. package/.agent/skills/mindforge-debug/SKILL.md +163 -0
  42. package/.agent/skills/mindforge-discuss-phase/SKILL.md +54 -0
  43. package/.agent/skills/mindforge-do/SKILL.md +26 -0
  44. package/.agent/skills/mindforge-execute-phase/SKILL.md +49 -0
  45. package/.agent/skills/mindforge-fast/SKILL.md +23 -0
  46. package/.agent/skills/mindforge-forensics/SKILL.md +49 -0
  47. package/.agent/skills/mindforge-health/SKILL.md +17 -0
  48. package/.agent/skills/mindforge-help/SKILL.md +23 -0
  49. package/.agent/skills/mindforge-insert-phase/SKILL.md +28 -0
  50. package/.agent/skills/mindforge-join-discord/SKILL.md +19 -0
  51. package/.agent/skills/mindforge-list-phase-assumptions/SKILL.md +41 -0
  52. package/.agent/skills/mindforge-list-workspaces/SKILL.md +17 -0
  53. package/.agent/skills/mindforge-manager/SKILL.md +32 -0
  54. package/.agent/skills/mindforge-map-codebase/SKILL.md +64 -0
  55. package/.agent/skills/mindforge-milestone-summary/SKILL.md +44 -0
  56. package/.agent/skills/mindforge-new-milestone/SKILL.md +38 -0
  57. package/.agent/skills/mindforge-new-project/SKILL.md +36 -0
  58. package/.agent/skills/mindforge-new-workspace/SKILL.md +39 -0
  59. package/.agent/skills/mindforge-next/SKILL.md +19 -0
  60. package/.agent/skills/mindforge-note/SKILL.md +29 -0
  61. package/.agent/skills/mindforge-pause-work/SKILL.md +35 -0
  62. package/.agent/skills/mindforge-plan-milestone-gaps/SKILL.md +28 -0
  63. package/.agent/skills/mindforge-plan-phase/SKILL.md +37 -0
  64. package/.agent/skills/mindforge-plant-seed/SKILL.md +22 -0
  65. package/.agent/skills/mindforge-pr-branch/SKILL.md +21 -0
  66. package/.agent/skills/mindforge-profile-user/SKILL.md +38 -0
  67. package/.agent/skills/mindforge-progress/SKILL.md +19 -0
  68. package/.agent/skills/mindforge-quick/SKILL.md +38 -0
  69. package/.agent/skills/mindforge-reapply-patches/SKILL.md +124 -0
  70. package/.agent/skills/mindforge-remove-phase/SKILL.md +26 -0
  71. package/.agent/skills/mindforge-remove-workspace/SKILL.md +22 -0
  72. package/.agent/skills/mindforge-research-phase/SKILL.md +186 -0
  73. package/.agent/skills/mindforge-resume-work/SKILL.md +35 -0
  74. package/.agent/skills/mindforge-review/SKILL.md +31 -0
  75. package/.agent/skills/mindforge-review-backlog/SKILL.md +58 -0
  76. package/.agent/skills/mindforge-session-report/SKILL.md +16 -0
  77. package/.agent/skills/mindforge-set-profile/SKILL.md +9 -0
  78. package/.agent/skills/mindforge-settings/SKILL.md +32 -0
  79. package/.agent/skills/mindforge-ship/SKILL.md +16 -0
  80. package/.agent/skills/mindforge-stats/SKILL.md +16 -0
  81. package/.agent/skills/mindforge-thread/SKILL.md +123 -0
  82. package/.agent/skills/mindforge-ui-phase/SKILL.md +24 -0
  83. package/.agent/skills/mindforge-ui-review/SKILL.md +24 -0
  84. package/.agent/skills/mindforge-update/SKILL.md +35 -0
  85. package/.agent/skills/mindforge-validate-phase/SKILL.md +26 -0
  86. package/.agent/skills/mindforge-verify-work/SKILL.md +30 -0
  87. package/.agent/skills/mindforge-workstreams/SKILL.md +65 -0
  88. package/.agent/workflows/mindforge-add-phase.md +112 -0
  89. package/.agent/workflows/mindforge-add-tests.md +351 -0
  90. package/.agent/workflows/mindforge-add-todo.md +158 -0
  91. package/.agent/workflows/mindforge-audit-milestone.md +332 -0
  92. package/.agent/workflows/mindforge-audit-uat.md +109 -0
  93. package/.agent/workflows/mindforge-autonomous.md +815 -0
  94. package/.agent/workflows/mindforge-check-todos.md +177 -0
  95. package/.agent/workflows/mindforge-cleanup.md +152 -0
  96. package/.agent/workflows/mindforge-complete-milestone.md +766 -0
  97. package/.agent/workflows/mindforge-diagnose-issues.md +220 -0
  98. package/.agent/workflows/mindforge-discovery-phase.md +289 -0
  99. package/.agent/workflows/mindforge-discuss-phase-assumptions.md +645 -0
  100. package/.agent/workflows/mindforge-discuss-phase.md +1047 -0
  101. package/.agent/workflows/mindforge-do.md +104 -0
  102. package/.agent/workflows/mindforge-execute-phase.md +838 -0
  103. package/.agent/workflows/mindforge-execute-plan.md +509 -0
  104. package/.agent/workflows/mindforge-fast.md +105 -0
  105. package/.agent/workflows/mindforge-forensics.md +265 -0
  106. package/.agent/workflows/mindforge-health.md +181 -0
  107. package/.agent/workflows/mindforge-help.md +606 -0
  108. package/.agent/workflows/mindforge-insert-phase.md +130 -0
  109. package/.agent/workflows/mindforge-list-phase-assumptions.md +178 -0
  110. package/.agent/workflows/mindforge-list-workspaces.md +56 -0
  111. package/.agent/workflows/mindforge-manager.md +360 -0
  112. package/.agent/workflows/mindforge-map-codebase.md +370 -0
  113. package/.agent/workflows/mindforge-milestone-summary.md +223 -0
  114. package/.agent/workflows/mindforge-new-milestone.md +469 -0
  115. package/.agent/workflows/mindforge-new-project.md +1226 -0
  116. package/.agent/workflows/mindforge-new-workspace.md +237 -0
  117. package/.agent/workflows/mindforge-next.md +97 -0
  118. package/.agent/workflows/mindforge-node-repair.md +92 -0
  119. package/.agent/workflows/mindforge-note.md +156 -0
  120. package/.agent/workflows/mindforge-pause-work.md +176 -0
  121. package/.agent/workflows/mindforge-plan-milestone-gaps.md +273 -0
  122. package/.agent/workflows/mindforge-plan-phase.md +848 -0
  123. package/.agent/workflows/mindforge-plant-seed.md +169 -0
  124. package/.agent/workflows/mindforge-pr-branch.md +129 -0
  125. package/.agent/workflows/mindforge-profile-user.md +450 -0
  126. package/.agent/workflows/mindforge-progress.md +507 -0
  127. package/.agent/workflows/mindforge-quick.md +732 -0
  128. package/.agent/workflows/mindforge-remove-phase.md +155 -0
  129. package/.agent/workflows/mindforge-remove-workspace.md +90 -0
  130. package/.agent/workflows/mindforge-research-phase.md +74 -0
  131. package/.agent/workflows/mindforge-resume-project.md +325 -0
  132. package/.agent/workflows/mindforge-review.md +228 -0
  133. package/.agent/workflows/mindforge-session-report.md +146 -0
  134. package/.agent/workflows/mindforge-settings.md +283 -0
  135. package/.agent/workflows/mindforge-ship.md +228 -0
  136. package/.agent/workflows/mindforge-stats.md +60 -0
  137. package/.agent/workflows/mindforge-transition.md +671 -0
  138. package/.agent/workflows/mindforge-ui-phase.md +290 -0
  139. package/.agent/workflows/mindforge-ui-review.md +157 -0
  140. package/.agent/workflows/mindforge-update.md +323 -0
  141. package/.agent/workflows/mindforge-validate-phase.md +167 -0
  142. package/.agent/workflows/mindforge-verify-phase.md +254 -0
  143. package/.agent/workflows/mindforge-verify-work.md +623 -0
  144. package/.mindforge/personas/advisor-researcher.md +3 -3
  145. package/.mindforge/personas/debug-specialist.md +1 -1
  146. package/.mindforge/personas/debugger.md +1 -1
  147. package/.mindforge/personas/developer.md +1 -1
  148. package/.mindforge/personas/phase-researcher.md +4 -4
  149. package/.mindforge/personas/project-researcher.md +3 -3
  150. package/.mindforge/personas/research-agent.md +4 -3
  151. package/.mindforge/personas/tech-writer.md +1 -1
  152. package/.mindforge/personas/ui-researcher.md +1 -1
  153. package/.planning/ROADMAP.md +10 -0
  154. package/CHANGELOG.md +34 -0
  155. package/README.md +70 -45
  156. package/RELEASENOTES.md +26 -26
  157. package/bin/install.js +41 -41
  158. package/bin/installer-core.js +67 -26
  159. package/bin/wizard/setup-wizard.js +11 -24
  160. package/bin/wizard/theme.js +141 -0
  161. package/docs/PERSONAS.md +119 -87
  162. package/docs/References/checkpoints.md +778 -0
  163. package/docs/References/config-reference.md +81 -0
  164. package/docs/References/continuation-format.md +249 -0
  165. package/docs/References/decimal-phase-calculation.md +64 -0
  166. package/docs/References/git-integration.md +295 -0
  167. package/docs/References/git-planning-commit.md +38 -0
  168. package/docs/References/model-profile-resolution.md +36 -0
  169. package/docs/References/model-profiles.md +139 -0
  170. package/docs/References/phase-argument-parsing.md +61 -0
  171. package/docs/References/planning-config.md +202 -0
  172. package/docs/References/questioning.md +162 -0
  173. package/docs/References/tdd.md +263 -0
  174. package/docs/References/ui-brand.md +160 -0
  175. package/docs/References/user-profiling.md +681 -0
  176. package/docs/References/verification-patterns.md +612 -0
  177. package/docs/References/workstream-flag.md +58 -0
  178. package/docs/Templates/Agents/CLAUDE-MD.md +122 -0
  179. package/docs/Templates/Agents/COPILOT-INSTRUCTIONS.md +7 -0
  180. package/docs/Templates/Agents/DEBUGGER-PROMPT.md +91 -0
  181. package/docs/Templates/Agents/PLANNER-PROMPT.md +117 -0
  182. package/docs/Templates/Codebase/architecture.md +255 -0
  183. package/docs/Templates/Codebase/concerns.md +310 -0
  184. package/docs/Templates/Codebase/conventions.md +307 -0
  185. package/docs/Templates/Codebase/integrations.md +280 -0
  186. package/docs/Templates/Codebase/stack.md +186 -0
  187. package/docs/Templates/Codebase/structure.md +285 -0
  188. package/docs/Templates/Codebase/testing.md +480 -0
  189. package/docs/Templates/Execution/CONTINUE-HERE.md +78 -0
  190. package/docs/Templates/Execution/DISCUSSION-LOG.md +63 -0
  191. package/docs/Templates/Execution/PHASE-PROMPT.md +610 -0
  192. package/docs/Templates/Execution/STATE.md +176 -0
  193. package/docs/Templates/Execution/SUMMARY-COMPLEX.md +59 -0
  194. package/docs/Templates/Execution/SUMMARY-MINIMAL.md +41 -0
  195. package/docs/Templates/Execution/SUMMARY-STANDARD.md +48 -0
  196. package/docs/Templates/Execution/SUMMARY.md +248 -0
  197. package/docs/Templates/Profile/DEV-PREFERENCES.md +21 -0
  198. package/docs/Templates/Profile/USER-PROFILE.md +146 -0
  199. package/docs/Templates/Profile/USER-SETUP.md +311 -0
  200. package/docs/Templates/Project/DISCOVERY.md +146 -0
  201. package/docs/Templates/Project/MILESTONE-ARCHIVE.md +123 -0
  202. package/docs/Templates/Project/MILESTONE.md +115 -0
  203. package/docs/Templates/Project/PROJECT.md +206 -0
  204. package/docs/Templates/Project/REQUIREMENTS.md +231 -0
  205. package/docs/Templates/Project/RETROSPECTIVE.md +54 -0
  206. package/docs/Templates/Project/ROADMAP.md +202 -0
  207. package/docs/Templates/Quality/DEBUG.md +164 -0
  208. package/docs/Templates/Quality/UAT.md +280 -0
  209. package/docs/Templates/Quality/UI-SPEC.md +100 -0
  210. package/docs/Templates/Quality/VALIDATION.md +76 -0
  211. package/docs/Templates/Quality/VERIFICATION-REPORT.md +322 -0
  212. package/docs/Templates/Research/ARCHITECTURE.md +204 -0
  213. package/docs/Templates/Research/FEATURES.md +147 -0
  214. package/docs/Templates/Research/PITFALLS.md +200 -0
  215. package/docs/Templates/Research/STACK.md +120 -0
  216. package/docs/Templates/Research/SUMMARY.md +170 -0
  217. package/docs/Templates/System/CONFIG.json +43 -0
  218. package/docs/Templates/System/CONTEXT.md +352 -0
  219. package/docs/architecture/README.md +54 -42
  220. package/docs/commands-reference.md +62 -14
  221. package/docs/getting-started.md +26 -18
  222. package/docs/skills-authoring-guide.md +40 -12
  223. package/docs/tutorial.md +83 -116
  224. package/docs/user-guide.md +72 -198
  225. package/package.json +7 -2
  226. package/.mindforge/memory/knowledge-base.jsonl +0 -7
  227. package/.mindforge/memory/pattern-library.jsonl +0 -1
  228. package/.mindforge/memory/team-preferences.jsonl +0 -4
  229. package/.planning/browser-daemon.log +0 -32
  230. package/docs/mindforge-md-reference.md +0 -57
  231. package/docs/reference/config-reference.md +0 -64
  232. /package/{.mindforge/memory/decision-library.jsonl → .planning/phases/01-migrate-gsd-to-mindforge/.gitkeep} +0 -0
  233. /package/docs/{reference → References}/audit-events.md +0 -0
  234. /package/docs/{reference → References}/commands.md +0 -0
  235. /package/docs/{reference → References}/sdk-api.md +0 -0
  236. /package/docs/{reference → References}/skills-api.md +0 -0
@@ -1,296 +1,170 @@
1
- # MindForge User Guide (v2.0.0)
1
+ # MindForge User Guide (v2.1.1)
2
2
 
3
- This guide gets you from install to productive, with the minimum needed to run
4
- MindForge in a real project. It assumes Node.js 18+.
3
+ This guide gets you from install to productive, with the minimum needed to run MindForge in a real project. It assumes Node.js 18+.
5
4
 
6
5
  ## 1. Install
7
6
 
8
7
  ### Claude Code (global)
8
+
9
9
  ```bash
10
10
  npx mindforge-cc@latest --claude --global
11
11
  ```
12
12
 
13
13
  ### Claude Code (local, per project)
14
- ```bash
15
- npx mindforge-cc@latest --claude --local
16
- ```
17
-
18
- Optional utilities:
19
- ```bash
20
- npx mindforge-cc@latest --claude --local --with-utils
21
- ```
22
14
 
23
- Minimal scaffolding:
24
15
  ```bash
25
- npx mindforge-cc@latest --claude --local --minimal
16
+ npx mindforge-cc@latest --claude --local
26
17
  ```
27
18
 
28
19
  ### Antigravity
20
+
29
21
  ```bash
30
- npx mindforge-cc@latest --antigravity --global
31
- # or
32
22
  npx mindforge-cc@latest --antigravity --local
33
23
  ```
34
24
 
35
- ### Cursor
36
- ```bash
37
- npx mindforge-cc@latest --cursor --local
38
- ```
25
+ ### Specific Runtime (Universal)
39
26
 
40
- ### Gemini CLI
41
27
  ```bash
42
- npx mindforge-cc@latest --gemini --global
28
+ npx mindforge-cc@latest --runtime <name>
43
29
  ```
44
30
 
45
- ### GitHub Copilot
46
- ```bash
47
- npx mindforge-cc@latest --copilot --local
48
- ```
31
+ ---
49
32
 
50
- ### OpenCode
51
- ```bash
52
- npx mindforge-cc@latest --opencode --global
53
- ```
33
+ ## 2. Verify Installation
54
34
 
55
- ### Specific Runtime (Universal)
56
- ```bash
57
- npx mindforge-cc@latest --runtime <name>
58
- ```
35
+ Open your agentic runtime (Claude Code, Antigravity, etc.) in your project directory and run:
59
36
 
60
- ### Multiple runtimes
61
37
  ```bash
62
- npx mindforge-cc@latest --runtime claude,cursor --local
63
- ```
64
-
65
- ## 2. Verify installation
66
- Open Claude Code or Antigravity in your project directory and run:
67
- ```
68
38
  /mindforge:health
69
39
  ```
70
40
 
71
41
  If health reports issues, run:
72
- ```
42
+
43
+ ```bash
73
44
  /mindforge:health --repair
74
45
  ```
75
46
 
76
- ## 3. Initialize a new project
77
- ```
78
- /mindforge:init-project
79
- ```
80
- This creates the core planning artifacts in `.planning/`.
47
+ ## 3. Initialize a New Project
81
48
 
82
- ## 4. Brownfield onboarding (existing codebase)
83
- ```
84
- /mindforge:map-codebase
49
+ ```bash
50
+ /mindforge:init-project
85
51
  ```
86
- This generates `.planning/ARCHITECTURE.md` and an inferred conventions file.
87
52
 
88
- ## 5. Standard workflow
89
- ```
90
- /mindforge:plan-phase 1
91
- /mindforge:execute-phase 1
92
- /mindforge:verify-phase 1
93
- /mindforge:ship 1
94
- ```
53
+ This scaffolds the core framework in `.agent/` and creates project-specific planning artifacts in `.planning/`.
95
54
 
96
- ## 6. Autonomous Execution (v2)
97
- For complex phases that require no human intervention, use the autonomous engine.
55
+ ## 4. Onboarding an Existing Codebase
98
56
 
99
- ### Start autonomous phase
100
57
  ```bash
101
- /mindforge:auto --phase 1
58
+ /mindforge:map-codebase
102
59
  ```
103
60
 
104
- ### Steering mid-execution
105
- If you need to guide the agent while it is running in another terminal:
106
- ```bash
107
- /mindforge:steer "Focus on bug fixes in the auth module"
108
- ```
61
+ This analyzes your code, generating `.planning/ARCHITECTURE.md` and inferred development conventions.
109
62
 
110
63
  ---
111
64
 
112
- ## 7. Browser Runtime & Visual QA (v2)
113
- MindForge can now control a persistent browser for visual verification and QA.
65
+ ## 5. Unified Workflow
114
66
 
115
- ### Navigate and interact
116
- ```bash
117
- /mindforge:browse --navigate https://example.com
118
- /mindforge:browse --click "#login-btn"
119
- ```
67
+ MindForge v2.1.1 uses a unified 4-pillar workflow for predictable delivery:
120
68
 
121
- ### Run visual QA
122
- To scan for UI bugs and generate regression tests:
123
69
  ```bash
124
- /mindforge:qa --diff
70
+ /mindforge:plan-phase [N] # discuss → research → plan
71
+ /mindforge:execute-phase [N] # parallel execution of task plans
72
+ /mindforge:verify-phase [N] # UAT + automated validation
73
+ /mindforge:ship [N] # generate changelog + create PR
125
74
  ```
126
75
 
127
76
  ---
128
77
 
129
- ## 8. Multi-Model Intelligence (v2)
130
- MindForge v2 can route tasks between Claude, GPT, and Gemini for the best balance of context, cost, and quality.
78
+ ## 6. High-Performance Personas
131
79
 
132
- ### Cross-Model Review
133
- To get an adversarial review from multiple high-tier models:
134
- ```bash
135
- /mindforge:cross-review
136
- ```
137
- This will aggregate findings, detect consensus, and generate a `CROSS-REVIEW-[N].md` report.
80
+ MindForge v2.1.1 introduces 32+ specialized personas. Each persona is optimized for a specific stage of the lifecycle.
138
81
 
139
- ### Deep Research
140
- To leverage Gemini 1.5 Pro's huge context window for codebase-wide research:
141
- ```bash
142
- /mindforge:research "How does the governance layer handle emergency overrides?"
143
- ```
82
+ - **Planner**: Orchestrates complex multi-file architectural changes.
83
+ - **Executor**: Focused on pixel-perfect implementation and coding standards.
84
+ - **Debugger**: Systematic root-cause analysis and verification.
85
+ - **Researcher**: Deep codebase and dependency analysis via Context7.
86
+
87
+ To switch personas or see the full list:
144
88
 
145
- ### Cost Tracking
146
- Monitor your daily spend and model-specific usage:
147
89
  ```bash
148
- /mindforge:costs --summary
90
+ /mindforge:personas --list
149
91
  ```
150
- MindForge will block further calls if `MODEL_COST_HARD_LIMIT_USD` is reached.
151
92
 
152
93
  ---
153
94
 
154
- ## 9. Persistent Knowledge Graph (v2)
155
- MindForge now has long-term memory. It captures architectural decisions, bug patterns, and team preferences, making them available across project sessions.
95
+ ## 7. Autonomous Execution
156
96
 
157
- ### Manual Memory entry
158
- To explicitly record a project-wide preference:
159
- ```bash
160
- /mindforge:remember --add "preference: Use direct imports for internal modules" --tags "#nodejs"
161
- ```
97
+ For complex tasks that require minimal intervention:
162
98
 
163
- ### Search and retrieval
164
- To find related knowledge manually:
165
99
  ```bash
166
- /mindforge:remember --search "Tailwind best practices"
100
+ /mindforge:autonomous --phase [N]
167
101
  ```
168
102
 
169
- ### Global Promotion
170
- To make a specific project insight available across ALL your MindForge projects on this machine:
103
+ Use the **Steer** command to guide logic without stopping execution:
104
+
171
105
  ```bash
172
- /mindforge:remember --promote [ENTRY_ID]
106
+ /mindforge:steer "Prioritize the React component refactoring"
173
107
  ```
174
108
 
175
- ### Automatic Loading
176
- Relevant memories are automatically loaded at the start of every session, providing context about past decisions and patterns.
177
-
178
109
  ---
179
110
 
180
- ## 10. Real-time Dashboard (v2)
181
- MindForge provides a premium web-based dashboard for real-time observability of your agent waves, metrics, and team activity.
111
+ ## 8. Real-time Dashboard
112
+
113
+ Observe your agent waves, token spend, and milestone progress in real-time.
182
114
 
183
- ### Start the Dashboard
184
115
  ```bash
185
116
  /mindforge:dashboard --start --open
186
117
  ```
187
- This will start the Express-based SSE bridge and open `http://localhost:7339` in your default browser.
188
118
 
189
- ### Features
190
- - **Live Activity**: Real-time stream of audit logs and agent status.
191
- - **Metrics & Costs**: Live visualization of token spend and session quality.
192
- - **Browser Governance**: Approve or reject Tier 2/3 changes directly from the UI.
193
- - **Team Feed**: See what other agents are doing in a multi-agent environment.
119
+ The dashboard provides a premium web interface at `http://localhost:7339`.
120
+
121
+ ---
122
+
123
+ ## 9. Persistent Knowledge & Memory
124
+
125
+ MindForge captures architectural decisions and bug patterns across sessions.
194
126
 
195
- ### Stop the Dashboard
196
127
  ```bash
197
- /mindforge:dashboard --stop
128
+ /mindforge:note "Add to memory: Always use functional components for UI"
129
+ /mindforge:remember --search "auth patterns"
198
130
  ```
199
131
 
200
132
  ---
201
133
 
202
- ## 11. Update and migration
203
- ### Check for updates
204
- ```
205
- /mindforge:update
206
- ```
134
+ ## 10. Self-Building Skills
207
135
 
208
- ### Apply updates
209
- ```
210
- /mindforge:update --apply
211
- ```
136
+ Extend MindForge by learning from documentation or community sources.
212
137
 
213
- ### Run schema migrations manually
214
- ```
215
- ### Run schema migrations manually
216
- ```
217
- /mindforge:migrate --from v1.0.0 --to v2.0.0
218
- ```
138
+ ```bash
139
+ /mindforge:learn https://docs.nextjs.org "nextjs-mastery"
219
140
  ```
220
141
 
221
- ## 11. Plugins
222
- ### List / validate
223
- ```
224
- /mindforge:plugins list
225
- /mindforge:plugins validate
226
- ```
142
+ ---
227
143
 
228
- ### Install
229
- ```
230
- /mindforge:plugins install mindforge-plugin-<name>
231
- ```
144
+ ## 11. Git & PR Integration
232
145
 
233
- ## 12. Custom Runtimes (v2)
234
- MindForge v2 allows you to scaffold support for any AI agent runtime by generating the necessary instruction files and directory structures.
146
+ MindForge v2.1.1 features automated PR creation and commit management.
235
147
 
236
- ### Scaffold a New Runtime
237
148
  ```bash
238
- /mindforge:new-runtime
149
+ /mindforge:pr-branch "feature/auth-refactor"
150
+ /mindforge:ship --auto-pr
239
151
  ```
240
- This command will interview you about the runtime's name, entry file (e.g., `INSTRUCTIONS.md`), and whether it supports slash commands. It then scaffolds the standard MindForge preamble and directory structure for that agent.
241
152
 
242
- ## 12. Self-Building Skills (v2)
243
- MindForge can now learn new skills automatically from documentation, project history, or the community marketplace.
153
+ ---
244
154
 
245
- ### Learn from Source
246
- To create a new skill from a URL, local file, or npm package:
247
- ```bash
248
- /mindforge:learn https://docs.prisma.io "prisma-best-practices"
249
- ```
250
- This triggers a 7-step generation pipeline that researches, extracts patterns, and scores the resulting skill.
155
+ ## 12. Update & Maintenance
156
+
157
+ Keep your framework current with the latest personas and library updates:
251
158
 
252
- ### Skills Marketplace
253
- Discover and install community-authored skills:
254
159
  ```bash
255
- /mindforge:marketplace search "tailwind"
256
- /mindforge:marketplace install mindforge-skill-react-patterns
160
+ /mindforge:update --apply
257
161
  ```
258
162
 
259
- ### Auto-Capture
260
- MindForge automatically detects recurring patterns in your phase outputs. After a successful `/mindforge:execute-phase`, the agent may suggest capturing a new skill if it identifies high-value engineering patterns.
163
+ ---
261
164
 
262
- ## 13. Token usage profiling
263
- ```
264
- /mindforge:tokens --profile
265
- /mindforge:tokens --summary
266
- ```
165
+ ## 13. Reference & Support
267
166
 
268
- Token optimization policies are defined in:
269
- - `.mindforge/production/token-optimiser.md`
270
-
271
- ## 14. Configuration (MINDFORGE.md)
272
- Key settings live in `MINDFORGE.md`. See:
273
- - `docs/reference/config-reference.md`
274
-
275
- Common settings:
276
- - `PLANNER_MODEL`, `EXECUTOR_MODEL`, `REVIEWER_MODEL`
277
- - `VERIFY_PASS_RATE_WARNING_THRESHOLD`
278
- - `TOKEN_WARN_THRESHOLD`, `TOKEN_LEAN_MODE`
279
- - `MINDFORGE_AUTO_CHECK_UPDATES`
280
-
281
- ## 15. Troubleshooting
282
- - Health issues: run `/mindforge:health --repair`
283
- - Schema drift: run `/mindforge:migrate --dry-run` then apply
284
- - Installer issues: re-run with `--force`
285
- - CI mode: set `CI=true` and check `.mindforge/ci/` docs
286
-
287
- ## 16. Security
288
- MindForge never stores credentials in files. See:
289
- - `docs/security/SECURITY.md`
290
- - `docs/security/threat-model.md`
291
-
292
- ## 17. Reference docs
293
- - Commands: `docs/reference/commands.md`
294
- - SDK: `docs/reference/sdk-api.md`
295
- - Skills: `docs/reference/skills-api.md`
296
- - Audit events: `docs/reference/audit-events.md`
167
+ - **Commands**: `docs/commands-reference.md`
168
+ - **Personas**: `docs/PERSONAS.md`
169
+ - **Troubleshooting**: `docs/troubleshooting.md`
170
+ - **Discord**: `/mindforge:join-discord`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mindforge-cc",
3
- "version": "2.1.0",
3
+ "version": "2.1.2",
4
4
  "description": "MindForge - Enterprise Agentic Framework for Claude Code and Antigravity",
5
5
  "bin": {
6
6
  "mindforge-cc": "bin/install.js"
@@ -23,7 +23,9 @@
23
23
  ],
24
24
  "scripts": {
25
25
  "test": "node tests/install.test.js",
26
- "lint": "eslint ."
26
+ "lint": "eslint .",
27
+ "commit": "cz",
28
+ "prepare": "husky"
27
29
  },
28
30
  "keywords": [
29
31
  "claude-code",
@@ -38,8 +40,11 @@
38
40
  "devDependencies": {
39
41
  "@eslint/js": "^9.0.0",
40
42
  "@types/node": "^20.0.0",
43
+ "commitizen": "4.3.1",
44
+ "cz-conventional-changelog": "3.3.0",
41
45
  "eslint": "^9.0.0",
42
46
  "globals": "^15.0.0",
47
+ "husky": "9.1.7",
43
48
  "playwright": "^1.40.0"
44
49
  },
45
50
  "engines": {
@@ -1,7 +0,0 @@
1
- {"id":"34a7925f-7361-4836-91eb-916495033861","timestamp":"2026-03-22T17:25:37.659Z","type":"team_preference","topic":"Use Tailwind","content":"Always use Tailwind for CSS.","source":"manual","project":"[Project Name]","confidence":0.9,"tags":["ui","css"],"linked_adrs":[],"times_referenced":0,"last_referenced":null,"deprecated":false,"deprecated_by":null}
2
- {"id":"34a7925f-7361-4836-91eb-916495033861","timestamp":"2026-03-22T17:25:37.659Z","type":"team_preference","topic":"Use Tailwind","content":"Always use Tailwind for CSS.","source":"manual","project":"[Project Name]","confidence":0.9500000000000001,"tags":["ui","css"],"linked_adrs":[],"times_referenced":1,"last_referenced":"2026-03-22T17:25:37.665Z","deprecated":false,"deprecated_by":null}
3
- {"id":"34a7925f-7361-4836-91eb-916495033861","timestamp":"2026-03-22T17:25:37.659Z","type":"team_preference","topic":"Use Tailwind","content":"Always use Tailwind for CSS.","source":"manual","project":"[Project Name]","confidence":0.9500000000000001,"tags":["ui","css"],"linked_adrs":[],"times_referenced":1,"last_referenced":"2026-03-22T17:25:37.665Z","deprecated":true,"deprecated_by":null,"deprecated_reason":"Switching to Vanilla CSS","deprecated_at":"2026-03-22T17:25:37.666Z"}
4
- {"id":"a2d4b3a6-fdaa-4c9a-b654-286d9ea133e2","timestamp":"2026-03-22T17:25:37.670Z","type":"domain_knowledge","topic":"Auth with JWT","content":"Secure JWT with httpOnly cookies.","source":"manual","project":"[Project Name]","confidence":0.8,"tags":["auth"],"linked_adrs":[],"times_referenced":0,"last_referenced":null,"deprecated":false,"deprecated_by":null}
5
- {"id":"6c1f0f31-3903-4b95-bae8-5473ffbec9eb","timestamp":"2026-03-22T17:25:37.671Z","type":"domain_knowledge","topic":"Database SQL","content":"Use indexed columns for fast queries.","source":"manual","project":"[Project Name]","confidence":0.7,"tags":["db"],"linked_adrs":[],"times_referenced":0,"last_referenced":null,"deprecated":false,"deprecated_by":null}
6
- {"id":"a9878977-cb7c-4dcf-8161-760ffd5e7de9","timestamp":"2026-03-22T17:25:37.673Z","type":"code_pattern","topic":"React Memo","content":"Use React.memo to prevent re-renders.","source":"manual","project":"[Project Name]","confidence":0.6,"tags":["ui"],"linked_adrs":[],"times_referenced":0,"last_referenced":null,"deprecated":false,"deprecated_by":null}
7
- {"id":"739dcb0a-9c4b-40d2-846b-535b7e4cb274","timestamp":"2026-03-22T17:25:51.782Z","type":"team_preference","topic":"Use Tailwind","content":"Always use Tailwind for CSS.","source":"manual","project":"[Project Name]","confidence":0.9,"tags":["ui","css"],"linked_adrs":[],"times_referenced":0,"last_referenced":null,"deprecated":false,"deprecated_by":null}
@@ -1 +0,0 @@
1
- {"id":"a9878977-cb7c-4dcf-8161-760ffd5e7de9","timestamp":"2026-03-22T17:25:37.673Z","type":"code_pattern","topic":"React Memo","content":"Use React.memo to prevent re-renders.","source":"manual","project":"[Project Name]","confidence":0.6,"tags":["ui"],"linked_adrs":[],"times_referenced":0,"last_referenced":null,"deprecated":false,"deprecated_by":null}
@@ -1,4 +0,0 @@
1
- {"id":"34a7925f-7361-4836-91eb-916495033861","timestamp":"2026-03-22T17:25:37.659Z","type":"team_preference","topic":"Use Tailwind","content":"Always use Tailwind for CSS.","source":"manual","project":"[Project Name]","confidence":0.9,"tags":["ui","css"],"linked_adrs":[],"times_referenced":0,"last_referenced":null,"deprecated":false,"deprecated_by":null}
2
- {"id":"34a7925f-7361-4836-91eb-916495033861","timestamp":"2026-03-22T17:25:37.659Z","type":"team_preference","topic":"Use Tailwind","content":"Always use Tailwind for CSS.","source":"manual","project":"[Project Name]","confidence":0.9500000000000001,"tags":["ui","css"],"linked_adrs":[],"times_referenced":1,"last_referenced":"2026-03-22T17:25:37.665Z","deprecated":false,"deprecated_by":null}
3
- {"id":"34a7925f-7361-4836-91eb-916495033861","timestamp":"2026-03-22T17:25:37.659Z","type":"team_preference","topic":"Use Tailwind","content":"Always use Tailwind for CSS.","source":"manual","project":"[Project Name]","confidence":0.9500000000000001,"tags":["ui","css"],"linked_adrs":[],"times_referenced":1,"last_referenced":"2026-03-22T17:25:37.665Z","deprecated":true,"deprecated_by":null,"deprecated_reason":"Switching to Vanilla CSS","deprecated_at":"2026-03-22T17:25:37.666Z"}
4
- {"id":"739dcb0a-9c4b-40d2-846b-535b7e4cb274","timestamp":"2026-03-22T17:25:51.782Z","type":"team_preference","topic":"Use Tailwind","content":"Always use Tailwind for CSS.","source":"manual","project":"[Project Name]","confidence":0.9,"tags":["ui","css"],"linked_adrs":[],"times_referenced":0,"last_referenced":null,"deprecated":false,"deprecated_by":null}
@@ -1,32 +0,0 @@
1
- node:internal/modules/cjs/loader:1459
2
- throw err;
3
- ^
4
-
5
- Error: Cannot find module 'playwright-core'
6
- Require stack:
7
- - /Users/sairamugge/Desktop/MindForge/bin/browser/browser-daemon.js
8
- at Module._resolveFilename (node:internal/modules/cjs/loader:1456:15)
9
- at defaultResolveImpl (node:internal/modules/cjs/loader:1066:19)
10
- at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1071:22)
11
- at Module._load (node:internal/modules/cjs/loader:1242:25)
12
- at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
13
- at Module.require (node:internal/modules/cjs/loader:1556:12)
14
- at require (node:internal/modules/helpers:152:16)
15
- at Object.<anonymous> (/Users/sairamugge/Desktop/MindForge/bin/browser/browser-daemon.js:9:20)
16
- at Module._compile (node:internal/modules/cjs/loader:1812:14)
17
- at Object..js (node:internal/modules/cjs/loader:1943:10) {
18
- code: 'MODULE_NOT_FOUND',
19
- requireStack: [
20
- '/Users/sairamugge/Desktop/MindForge/bin/browser/browser-daemon.js'
21
- ]
22
- }
23
-
24
- Node.js v24.14.0
25
- [daemon] Browser daemon listening on port 7338
26
- [daemon] Browser daemon listening on port 7338
27
- [daemon] Browser daemon listening on port 7338
28
- [daemon] Browser daemon listening on port 7338
29
- [daemon] Browser daemon listening on port 7338
30
- [daemon] Browser daemon listening on port 7338
31
- [daemon] Browser daemon listening on port 7338
32
- [daemon] Browser daemon listening on port 7338
@@ -1,57 +0,0 @@
1
- # MINDFORGE.md Reference
2
-
3
- `MINDFORGE.md` is the project-level constitution for MindForge defaults.
4
-
5
- ## Location
6
- Place at repo root beside `package.json`.
7
-
8
- ## Syntax
9
- - `KEY=value`
10
- - comments with `#`
11
- - multiline values with triple quotes
12
-
13
- ## Core settings
14
- ### Model preferences
15
- - `PLANNER_MODEL`
16
- - `EXECUTOR_MODEL`
17
- - `REVIEWER_MODEL`
18
- - `VERIFIER_MODEL`
19
- - `SECURITY_MODEL`
20
-
21
- Valid values: `claude-opus-4-5`, `claude-sonnet-4-5`, `claude-haiku-4-5`, `inherit`.
22
- Unavailable value -> fallback to `inherit` with warning.
23
-
24
- ### Execution behavior
25
- - `TIER1_AUTO_APPROVE`
26
- - `WAVE_CONFIRMATION_REQUIRED`
27
- - `AUTO_DISCUSS_PHASE`
28
- - `VERIFY_PASS_RATE_WARNING_THRESHOLD`
29
- - `COMPACTION_THRESHOLD_PCT`
30
- - `MAX_TASKS_PER_PHASE`
31
- - `AUTONOMOUS_MODE_ENABLED`
32
- - `NODE_REPAIR_ENABLED`
33
- - `STUCK_DETECTION_TIMEOUT_MS`
34
- - `STEERING_CHECK_INTERVAL_MS`
35
-
36
- ### Quality and governance
37
- - `MIN_TEST_COVERAGE_PCT`
38
- - `MAX_FUNCTION_LINES`
39
- - `MAX_CYCLOMATIC_COMPLEXITY`
40
- - `BLOCK_ON_MEDIUM_SECURITY_FINDINGS`
41
- - `DISCUSS_PHASE_REQUIRED_ABOVE_DIFFICULTY`
42
- - `ANTIPATTERN_SENSITIVITY`
43
-
44
- ### Skills
45
- - `ALWAYS_LOAD_SKILLS`
46
- - `DISABLED_SKILLS`
47
- - `MAX_FULL_SKILL_INJECTIONS`
48
-
49
- ## Non-overridable rules
50
- Cannot be overridden in MINDFORGE.md:
51
- - security auto-trigger
52
- - plan-first rule
53
- - secret detection gate
54
- - audit-writing requirement
55
- - critical security/secret blocking quality gates
56
-
57
- See ADR-013 for rationale.
@@ -1,64 +0,0 @@
1
- # MindForge Configuration Reference (MINDFORGE.md)
2
-
3
- ## Location
4
- `MINDFORGE.md` in the project root (beside `package.json`).
5
-
6
- ## Syntax
7
- - `KEY=value`
8
- - Comments with `#`
9
- - Multiline values with triple quotes
10
-
11
- ## Model preferences
12
- - `PLANNER_MODEL`
13
- - `EXECUTOR_MODEL`
14
- - `REVIEWER_MODEL`
15
- - `VERIFIER_MODEL`
16
- - `SECURITY_MODEL`
17
- - `DEBUG_MODEL`
18
-
19
- Valid values: `claude-opus-4-5`, `claude-sonnet-4-5`, `claude-haiku-4-5`, `inherit`.
20
- Unavailable values fallback to `inherit` with a warning.
21
-
22
- ## Execution behavior
23
- - `TIER1_AUTO_APPROVE`
24
- - `WAVE_CONFIRMATION_REQUIRED`
25
- - `AUTO_DISCUSS_PHASE`
26
- - `VERIFY_PASS_RATE_WARNING_THRESHOLD` (v1.0.0 uses 0.0–1.0 range)
27
- - `COMPACTION_THRESHOLD_PCT`
28
- - `MAX_TASKS_PER_PHASE`
29
-
30
- ## Quality standards
31
- - `MIN_TEST_COVERAGE_PCT`
32
- - `MAX_FUNCTION_LINES`
33
- - `MAX_CYCLOMATIC_COMPLEXITY`
34
- - `REQUIRE_ADR_FOR_ALL_DECISIONS`
35
- - `BLOCK_ON_MEDIUM_SECURITY_FINDINGS`
36
-
37
- ## Skills behavior
38
- - `ALWAYS_LOAD_SKILLS`
39
- - `DISABLED_SKILLS`
40
- - `MAX_FULL_SKILL_INJECTIONS`
41
-
42
- ## Governance behavior
43
- - `DISCUSS_PHASE_REQUIRED_ABOVE_DIFFICULTY`
44
- - `ANTIPATTERN_SENSITIVITY`
45
- - `BLOCK_ON_HIGH_ANTIPATTERNS`
46
-
47
- ## Token settings
48
- - `TOKEN_WARN_THRESHOLD`
49
- - `TOKEN_LEAN_MODE`
50
- - `TOKEN_MAX_FILE_LINES`
51
-
52
- ## Update settings
53
- - `MINDFORGE_AUTO_CHECK_UPDATES` (true/false)
54
-
55
- ## Non-overridable rules
56
- The following cannot be overridden by MINDFORGE.md:
57
- - Security auto-trigger for auth/payment/PII changes
58
- - Plan-first rule
59
- - Secret detection gate
60
- - AUDIT writing requirement
61
- - Critical security and secret-related quality gates
62
-
63
- See `.mindforge/production/token-optimiser.md` and `docs/mindforge-md-reference.md`
64
- for full detail.
File without changes
File without changes
File without changes
File without changes