mindforge-cc 4.3.0 → 5.1.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 (150) hide show
  1. package/.agent/CLAUDE.md +14 -12
  2. package/.agent/hooks/mindforge-session-init_extended.js +42 -0
  3. package/.agent/settings.json +4 -0
  4. package/.agent/skills/mindforge-brainstorming/SKILL.md +164 -0
  5. package/.agent/skills/mindforge-brainstorming/scripts/frame-template.html +214 -0
  6. package/.agent/skills/mindforge-brainstorming/scripts/helper.js +88 -0
  7. package/.agent/skills/mindforge-brainstorming/scripts/server.cjs +354 -0
  8. package/.agent/skills/mindforge-brainstorming/scripts/start-server.sh +148 -0
  9. package/.agent/skills/mindforge-brainstorming/scripts/stop-server.sh +56 -0
  10. package/.agent/skills/mindforge-brainstorming/spec-document-reviewer-prompt.md +49 -0
  11. package/.agent/skills/mindforge-brainstorming/visual-companion.md +287 -0
  12. package/.agent/skills/mindforge-debug_extended/CREATION-LOG.md +119 -0
  13. package/.agent/skills/mindforge-debug_extended/SKILL.md +296 -0
  14. package/.agent/skills/mindforge-debug_extended/condition-based-waiting-example.ts +158 -0
  15. package/.agent/skills/mindforge-debug_extended/condition-based-waiting.md +115 -0
  16. package/.agent/skills/mindforge-debug_extended/defense-in-depth.md +122 -0
  17. package/.agent/skills/mindforge-debug_extended/find-polluter.sh +63 -0
  18. package/.agent/skills/mindforge-debug_extended/root-cause-tracing.md +169 -0
  19. package/.agent/skills/mindforge-debug_extended/test-academic.md +14 -0
  20. package/.agent/skills/mindforge-debug_extended/test-pressure-1.md +58 -0
  21. package/.agent/skills/mindforge-debug_extended/test-pressure-2.md +68 -0
  22. package/.agent/skills/mindforge-debug_extended/test-pressure-3.md +69 -0
  23. package/.agent/skills/mindforge-execute-phase_extended/SKILL.md +70 -0
  24. package/.agent/skills/mindforge-neural-orchestrator/SKILL.md +115 -0
  25. package/.agent/skills/mindforge-neural-orchestrator/references/codex-tools.md +100 -0
  26. package/.agent/skills/mindforge-neural-orchestrator/references/gemini-tools.md +33 -0
  27. package/.agent/skills/mindforge-parallel-mesh_extended/SKILL.md +182 -0
  28. package/.agent/skills/mindforge-plan-phase_extended/SKILL.md +152 -0
  29. package/.agent/skills/mindforge-plan-phase_extended/plan-document-reviewer-prompt.md +49 -0
  30. package/.agent/skills/mindforge-review-inbound/SKILL.md +213 -0
  31. package/.agent/skills/mindforge-review-request/SKILL.md +105 -0
  32. package/.agent/skills/mindforge-review-request/code-reviewer.md +146 -0
  33. package/.agent/skills/mindforge-ship_extended/SKILL.md +200 -0
  34. package/.agent/skills/mindforge-skill-creation/SKILL.md +655 -0
  35. package/.agent/skills/mindforge-skill-creation/anthropic-best-practices.md +1150 -0
  36. package/.agent/skills/mindforge-skill-creation/examples/CLAUDE_MD_TESTING.md +189 -0
  37. package/.agent/skills/mindforge-skill-creation/graphviz-conventions.dot +172 -0
  38. package/.agent/skills/mindforge-skill-creation/persuasion-principles.md +187 -0
  39. package/.agent/skills/mindforge-skill-creation/render-graphs.js +168 -0
  40. package/.agent/skills/mindforge-skill-creation/testing-skills-with-subagents.md +384 -0
  41. package/.agent/skills/mindforge-swarm-execution/SKILL.md +277 -0
  42. package/.agent/skills/mindforge-swarm-execution/code-quality-reviewer-prompt.md +26 -0
  43. package/.agent/skills/mindforge-swarm-execution/implementer-prompt.md +113 -0
  44. package/.agent/skills/mindforge-swarm-execution/spec-reviewer-prompt.md +61 -0
  45. package/.agent/skills/mindforge-tdd_extended/SKILL.md +371 -0
  46. package/.agent/skills/mindforge-tdd_extended/testing-anti-patterns.md +299 -0
  47. package/.agent/skills/mindforge-verify-work_extended/SKILL.md +139 -0
  48. package/.agent/skills/mindforge-workspace-isolated/SKILL.md +218 -0
  49. package/.agent/workflows/mindforge-verify-work.md +5 -0
  50. package/.agent/workflows/mindforge:brainstorming.md +16 -0
  51. package/.agent/workflows/mindforge:debug.md +4 -2
  52. package/.agent/workflows/mindforge:execute-phase.md +12 -0
  53. package/.agent/workflows/mindforge:plan-phase.md +11 -0
  54. package/.agent/workflows/mindforge:ship.md +6 -1
  55. package/.agent/workflows/mindforge:tdd.md +7 -2
  56. package/.mindforge/engine/nexus-tracer.js +115 -0
  57. package/CHANGELOG.md +298 -122
  58. package/MINDFORGE.md +17 -9
  59. package/README.md +52 -100
  60. package/RELEASENOTES.md +23 -2
  61. package/bin/autonomous/auto-runner.js +154 -4
  62. package/bin/autonomous/context-refactorer.js +64 -0
  63. package/bin/autonomous/steer.js +19 -1
  64. package/bin/autonomous/stuck-monitor.js +43 -0
  65. package/bin/engine/handover-manager.js +69 -0
  66. package/bin/engine/nexus-tracer.js +67 -2
  67. package/bin/engine/sre-manager.js +63 -0
  68. package/bin/governance/policies/default-policies.jsonl +33 -0
  69. package/bin/governance/policy-engine.js +106 -0
  70. package/bin/governance/rbac-manager.js +109 -0
  71. package/bin/memory/eis-client.js +95 -0
  72. package/bin/memory/federated-sync.js +127 -0
  73. package/bin/memory/knowledge-graph.js +37 -0
  74. package/bin/models/cloud-broker.js +83 -0
  75. package/bin/models/model-broker.js +68 -49
  76. package/bin/skill-validator.js +41 -0
  77. package/docs/INTELLIGENCE-MESH.md +25 -22
  78. package/docs/PERSONAS.md +150 -2
  79. package/docs/architecture/PAR-ZTS-SURVEY.md +43 -0
  80. package/docs/architecture/README.md +31 -64
  81. package/docs/architecture/V5-ENTERPRISE.md +114 -0
  82. package/docs/commands-reference.md +20 -1
  83. package/docs/governance-guide.md +49 -28
  84. package/docs/security/SECURITY.md +9 -7
  85. package/docs/troubleshooting.md +24 -4
  86. package/docs/user-guide.md +61 -17
  87. package/docs/usp-features.md +3 -0
  88. package/package.json +1 -1
  89. /package/docs/{context → Context}/Master-Context.md +0 -0
  90. /package/docs/{references → References}/audit-events.md +0 -0
  91. /package/docs/{references → References}/checkpoints.md +0 -0
  92. /package/docs/{references → References}/commands.md +0 -0
  93. /package/docs/{references → References}/config-reference.md +0 -0
  94. /package/docs/{references → References}/continuation-format.md +0 -0
  95. /package/docs/{references → References}/decimal-phase-calculation.md +0 -0
  96. /package/docs/{references → References}/git-integration.md +0 -0
  97. /package/docs/{references → References}/git-planning-commit.md +0 -0
  98. /package/docs/{references → References}/model-profile-resolution.md +0 -0
  99. /package/docs/{references → References}/model-profiles.md +0 -0
  100. /package/docs/{references → References}/phase-argument-parsing.md +0 -0
  101. /package/docs/{references → References}/planning-config.md +0 -0
  102. /package/docs/{references → References}/questioning.md +0 -0
  103. /package/docs/{references → References}/sdk-api.md +0 -0
  104. /package/docs/{references → References}/skills-api.md +0 -0
  105. /package/docs/{references → References}/tdd.md +0 -0
  106. /package/docs/{references → References}/ui-brand.md +0 -0
  107. /package/docs/{references → References}/user-profiling.md +0 -0
  108. /package/docs/{references → References}/verification-patterns.md +0 -0
  109. /package/docs/{references → References}/workstream-flag.md +0 -0
  110. /package/docs/{templates → Templates}/Agents/CLAUDE-MD.md +0 -0
  111. /package/docs/{templates → Templates}/Agents/COPILOT-INSTRUCTIONS.md +0 -0
  112. /package/docs/{templates → Templates}/Agents/DEBUGGER-PROMPT.md +0 -0
  113. /package/docs/{templates → Templates}/Agents/PLANNER-PROMPT.md +0 -0
  114. /package/docs/{templates/codebase → Templates/Codebase}/architecture.md +0 -0
  115. /package/docs/{templates/codebase → Templates/Codebase}/concerns.md +0 -0
  116. /package/docs/{templates/codebase → Templates/Codebase}/conventions.md +0 -0
  117. /package/docs/{templates/codebase → Templates/Codebase}/integrations.md +0 -0
  118. /package/docs/{templates/codebase → Templates/Codebase}/stack.md +0 -0
  119. /package/docs/{templates/codebase → Templates/Codebase}/structure.md +0 -0
  120. /package/docs/{templates/codebase → Templates/Codebase}/testing.md +0 -0
  121. /package/docs/{templates → Templates}/Execution/CONTINUE-HERE.md +0 -0
  122. /package/docs/{templates → Templates}/Execution/DISCUSSION-LOG.md +0 -0
  123. /package/docs/{templates → Templates}/Execution/PHASE-PROMPT.md +0 -0
  124. /package/docs/{templates → Templates}/Execution/STATE.md +0 -0
  125. /package/docs/{templates → Templates}/Execution/SUMMARY-COMPLEX.md +0 -0
  126. /package/docs/{templates → Templates}/Execution/SUMMARY-MINIMAL.md +0 -0
  127. /package/docs/{templates → Templates}/Execution/SUMMARY-STANDARD.md +0 -0
  128. /package/docs/{templates → Templates}/Execution/SUMMARY.md +0 -0
  129. /package/docs/{templates → Templates}/Profile/DEV-PREFERENCES.md +0 -0
  130. /package/docs/{templates → Templates}/Profile/USER-PROFILE.md +0 -0
  131. /package/docs/{templates → Templates}/Profile/USER-SETUP.md +0 -0
  132. /package/docs/{templates → Templates}/Project/DISCOVERY.md +0 -0
  133. /package/docs/{templates → Templates}/Project/MILESTONE-ARCHIVE.md +0 -0
  134. /package/docs/{templates → Templates}/Project/MILESTONE.md +0 -0
  135. /package/docs/{templates → Templates}/Project/PROJECT.md +0 -0
  136. /package/docs/{templates → Templates}/Project/REQUIREMENTS.md +0 -0
  137. /package/docs/{templates → Templates}/Project/RETROSPECTIVE.md +0 -0
  138. /package/docs/{templates → Templates}/Project/ROADMAP.md +0 -0
  139. /package/docs/{templates → Templates}/Quality/DEBUG.md +0 -0
  140. /package/docs/{templates → Templates}/Quality/UAT.md +0 -0
  141. /package/docs/{templates → Templates}/Quality/UI-SPEC.md +0 -0
  142. /package/docs/{templates → Templates}/Quality/VALIDATION.md +0 -0
  143. /package/docs/{templates → Templates}/Quality/VERIFICATION-REPORT.md +0 -0
  144. /package/docs/{templates/research → Templates/Research}/ARCHITECTURE.md +0 -0
  145. /package/docs/{templates/research → Templates/Research}/FEATURES.md +0 -0
  146. /package/docs/{templates/research → Templates/Research}/PITFALLS.md +0 -0
  147. /package/docs/{templates/research → Templates/Research}/STACK.md +0 -0
  148. /package/docs/{templates/research → Templates/Research}/SUMMARY.md +0 -0
  149. /package/docs/{templates → Templates}/System/CONFIG.json +0 -0
  150. /package/docs/{templates → Templates}/System/CONTEXT.md +0 -0
@@ -1,4 +1,4 @@
1
- # MindForge Troubleshooting (v1.0.0)
1
+ # MindForge Troubleshooting (v5.1.0)
2
2
 
3
3
  This page lists common issues and fast fixes. If you get stuck, start with
4
4
  `/mindforge:health`.
@@ -54,14 +54,14 @@ npx mindforge-cc@latest --claude --local --force
54
54
  ```
55
55
  Then run:
56
56
  ```
57
- /mindforge:migrate --from v0.6.0 --to v1.0.0
57
+ /mindforge:migrate --from v5.0.0 --to v5.1.0
58
58
  ```
59
59
 
60
60
  ### Schema mismatch warning on startup
61
61
  **Fix:**
62
62
  ```
63
63
  /mindforge:migrate --dry-run
64
- /mindforge:migrate --from vX.Y.Z --to v1.0.0
64
+ /mindforge:migrate --from vX.Y.Z --to v5.1.0
65
65
  ```
66
66
 
67
67
  ### AUDIT.jsonl parse errors
@@ -113,7 +113,27 @@ rerun migration. See `.mindforge/audit/AUDIT-SCHEMA.md` for expected format.
113
113
 
114
114
  ---
115
115
 
116
- ## 8. Getting help
116
+ ## 8. Neural Protocol Mesh Issues (v5.1.0)
117
+
118
+ ### Protocol Step 0 fails to activate
119
+ **Symptom:** Commands proceed without activating `_extended` skills.
120
+ **Fix:** Run `/mindforge:neural-orchestrator --reset`. Ensure all `_extended` skills are present in `.agent/skills/`.
121
+
122
+ ### Context drift in Parallel Mesh
123
+ **Symptom:** Parallel agents making conflicting decisions.
124
+ **Fix:** Run `/mindforge:parallel-mesh --sync`. This forces a global state re-synchronization across all active worker identities.
125
+
126
+ ### Workspace isolation failure
127
+ **Symptom:** Conflicts between feature branches or dirty worktree.
128
+ **Fix:** Run `/mindforge:workspace-isolated --cleanup`. Use `/mindforge:health --repair` if `.git/worktrees/` is corrupt.
129
+
130
+ ---
131
+
132
+ ## 9. Getting help
117
133
  If the above doesn’t resolve it:
118
134
  - Review `docs/user-guide.md`
119
135
  - Check `docs/security/SECURITY.md` for security issues
136
+ - Open a GitHub issue or join the Discord: `/mindforge:join-discord`
137
+ - **Architecture**: `docs/architecture/V5-ENTERPRISE.md`
138
+ - **Commands**: `docs/commands-reference.md`
139
+ - **Personas**: `docs/PERSONAS.md`
@@ -1,4 +1,4 @@
1
- # MindForge User Guide (v2.1.1)
1
+ # MindForge User Guide (v5.1.0)
2
2
 
3
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+.
4
4
 
@@ -62,27 +62,27 @@ This analyzes your code, generating `.planning/ARCHITECTURE.md` and inferred dev
62
62
 
63
63
  ---
64
64
 
65
- ## 5. Unified Workflow
65
+ ## 5. Unified Workflow (Enabled by Protocol Mesh)
66
66
 
67
- MindForge v2.1.1 uses a unified 4-pillar workflow for predictable delivery:
67
+ MindForge v5.1.0 uses a unified 4-pillar workflow, now hardened by the **Neural Protocol Mesh**. Every core command automatically activates **Protocol Step 0** for maximum tactical rigor.
68
68
 
69
69
  ```bash
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
70
+ /mindforge:plan-phase [N] # discuss → research → plan (Step 0: brainstorming)
71
+ /mindforge:execute-phase [N] # parallel execution of task plans (Step 0: swarm-execution)
72
+ /mindforge:verify-phase [N] # UAT + automated validation (Step 0: verify-work)
73
+ /mindforge:ship [N] # generate changelog + create PR (Step 0: ship)
74
74
  ```
75
75
 
76
76
  ---
77
77
 
78
78
  ## 6. High-Performance Personas
79
79
 
80
- MindForge v2.1.1 introduces 32+ specialized personas. Each persona is optimized for a specific stage of the lifecycle.
80
+ MindForge v5.1.0 features 46+ specialized personas. Each persona is optimized for a specific stage of the lifecycle.
81
81
 
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.
82
+ - **Neural Orchestrator**: Activates and manages the advanced protocol layer.
83
+ - **Brainstormer**: Expert in deep requirements discovery and behavioral ideation.
84
+ - **Swarm Pilot**: Orchestrates multiple independent implementation tasks.
85
+ - **TDD Master**: Enforces strict Test-Driven Development loops with adversarial rigor.
86
86
 
87
87
  To switch personas or see the full list:
88
88
 
@@ -131,19 +131,20 @@ MindForge captures architectural decisions and bug patterns across sessions.
131
131
 
132
132
  ---
133
133
 
134
- ## 10. Self-Building Skills
134
+ ## 10. Self-Building Skills & Protocol Creation
135
135
 
136
- Extend MindForge by learning from documentation or community sources.
136
+ Extend MindForge by learning from documentation or authoring custom protocols.
137
137
 
138
138
  ```bash
139
139
  /mindforge:learn https://docs.nextjs.org "nextjs-mastery"
140
+ /mindforge:skill-creation # Author a new high-fidelity protocol
140
141
  ```
141
142
 
142
143
  ---
143
144
 
144
145
  ## 11. Git & PR Integration
145
146
 
146
- MindForge v2.1.1 features automated PR creation and commit management.
147
+ MindForge features automated PR creation and commit management.
147
148
 
148
149
  ```bash
149
150
  /mindforge:pr-branch "feature/auth-refactor"
@@ -152,7 +153,48 @@ MindForge v2.1.1 features automated PR creation and commit management.
152
153
 
153
154
  ---
154
155
 
155
- ## 12. Update & Maintenance
156
+ ## 12. Enterprise Resilience & Governance (v5.1.0)
157
+
158
+ MindForge v5.1.0 introduces mission-critical resilience and sovereign reasoning for enterprise engineering.
159
+
160
+ ### Multi-Cloud Arbitrage
161
+ MindForge automatically hedges against provider outages and optimizes for cost/latency.
162
+ ```bash
163
+ /mindforge:settings --cloud-arbitrage on
164
+ ```
165
+
166
+ ### Sovereign Reason Enclaves (SRE)
167
+ Tier 3 (Principal) agents execute reasoning in isolated enclaves to protect sensitive IP.
168
+ ```bash
169
+ /mindforge:agent --tier 3 # Automatically triggers SRE
170
+ ```
171
+
172
+ ### Dynamic Human-Agent Handover (DHH)
173
+ When autonomous confidence drops or a critical decision is reached, MindForge creates a **Nexus State Bundle** and requests human steering.
174
+ ```bash
175
+ /mindforge:auto --handover 0.6 # Triggers handover at 60% confidence
176
+ ```
177
+
178
+ ---
179
+
180
+ ## 13. Neural Protocol Mesh (Beast Addition)
181
+
182
+ The **Beast Addition** introduces 14 hardened protocols from the Superpowers framework, integrated into the core MindForge engine.
183
+
184
+ - **Brainstorming**: Deep ideation before planning.
185
+ - **Parallel Mesh**: Orchestrates context across multiple agents.
186
+ - **Swarm Execution**: Parallel implementation for high-velocity waves.
187
+ - **Isolated Workspaces**: Environment protection via git worktrees.
188
+ - **Enhanced TDD/Debug**: Strict loops for zero-defect delivery.
189
+
190
+ Activate the mesh for any session:
191
+ ```bash
192
+ /mindforge:neural-orchestrator
193
+ ```
194
+
195
+ ---
196
+
197
+ ## 14. Update & Maintenance
156
198
 
157
199
  Keep your framework current with the latest personas and library updates:
158
200
 
@@ -162,8 +204,10 @@ Keep your framework current with the latest personas and library updates:
162
204
 
163
205
  ---
164
206
 
165
- ## 13. Reference & Support
207
+ ## 15. Reference & Support
166
208
 
209
+ - **Architecture**: `docs/architecture/V5-ENTERPRISE.md`
210
+ - **Governance**: `docs/governance-guide.md`
167
211
  - **Commands**: `docs/commands-reference.md`
168
212
  - **Personas**: `docs/PERSONAS.md`
169
213
  - **Troubleshooting**: `docs/troubleshooting.md`
@@ -70,6 +70,9 @@ are included in the official release, and how to use them effectively.
70
70
  20. **Global Intelligence Mesh (v4.2)**
71
71
  - Cross-repository knowledge sharing via the **Semantic Hub**. Proactive **Ghost Pattern Detection** identifies and prevents repeating past organizational failures.
72
72
 
73
+ 19. **MindForge Nexus: Agentic Reasoning Tracing (v4.1)**
74
+ - High-fidelity **ART** spans embedded in the execution engine, providing deep visibility into agentic "thought chains" and parallel mesh reasoning.
75
+
73
76
  ---
74
77
 
75
78
  ## Feature Set (v2.0.0)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mindforge-cc",
3
- "version": "4.3.0",
3
+ "version": "5.1.0",
4
4
  "description": "MindForge - Enterprise Agentic Framework for Claude Code and Antigravity",
5
5
  "bin": {
6
6
  "mindforge-cc": "bin/install.js"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes