mindforge-cc 5.0.0 → 5.2.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.
- package/.agent/CLAUDE.md +14 -12
- package/.agent/hooks/mindforge-session-init_extended.js +42 -0
- package/.agent/settings.json +4 -0
- package/.agent/skills/mindforge-brainstorming/SKILL.md +164 -0
- package/.agent/skills/mindforge-brainstorming/scripts/frame-template.html +214 -0
- package/.agent/skills/mindforge-brainstorming/scripts/helper.js +88 -0
- package/.agent/skills/mindforge-brainstorming/scripts/server.cjs +354 -0
- package/.agent/skills/mindforge-brainstorming/scripts/start-server.sh +148 -0
- package/.agent/skills/mindforge-brainstorming/scripts/stop-server.sh +56 -0
- package/.agent/skills/mindforge-brainstorming/spec-document-reviewer-prompt.md +49 -0
- package/.agent/skills/mindforge-brainstorming/visual-companion.md +287 -0
- package/.agent/skills/mindforge-debug_extended/CREATION-LOG.md +119 -0
- package/.agent/skills/mindforge-debug_extended/SKILL.md +296 -0
- package/.agent/skills/mindforge-debug_extended/condition-based-waiting-example.ts +158 -0
- package/.agent/skills/mindforge-debug_extended/condition-based-waiting.md +115 -0
- package/.agent/skills/mindforge-debug_extended/defense-in-depth.md +122 -0
- package/.agent/skills/mindforge-debug_extended/find-polluter.sh +63 -0
- package/.agent/skills/mindforge-debug_extended/root-cause-tracing.md +169 -0
- package/.agent/skills/mindforge-debug_extended/test-academic.md +14 -0
- package/.agent/skills/mindforge-debug_extended/test-pressure-1.md +58 -0
- package/.agent/skills/mindforge-debug_extended/test-pressure-2.md +68 -0
- package/.agent/skills/mindforge-debug_extended/test-pressure-3.md +69 -0
- package/.agent/skills/mindforge-execute-phase_extended/SKILL.md +70 -0
- package/.agent/skills/mindforge-neural-orchestrator/SKILL.md +115 -0
- package/.agent/skills/mindforge-neural-orchestrator/references/codex-tools.md +100 -0
- package/.agent/skills/mindforge-neural-orchestrator/references/gemini-tools.md +33 -0
- package/.agent/skills/mindforge-parallel-mesh_extended/SKILL.md +182 -0
- package/.agent/skills/mindforge-plan-phase_extended/SKILL.md +152 -0
- package/.agent/skills/mindforge-plan-phase_extended/plan-document-reviewer-prompt.md +49 -0
- package/.agent/skills/mindforge-review-inbound/SKILL.md +213 -0
- package/.agent/skills/mindforge-review-request/SKILL.md +105 -0
- package/.agent/skills/mindforge-review-request/code-reviewer.md +146 -0
- package/.agent/skills/mindforge-ship_extended/SKILL.md +200 -0
- package/.agent/skills/mindforge-skill-creation/SKILL.md +655 -0
- package/.agent/skills/mindforge-skill-creation/anthropic-best-practices.md +1150 -0
- package/.agent/skills/mindforge-skill-creation/examples/CLAUDE_MD_TESTING.md +189 -0
- package/.agent/skills/mindforge-skill-creation/graphviz-conventions.dot +172 -0
- package/.agent/skills/mindforge-skill-creation/persuasion-principles.md +187 -0
- package/.agent/skills/mindforge-skill-creation/render-graphs.js +168 -0
- package/.agent/skills/mindforge-skill-creation/testing-skills-with-subagents.md +384 -0
- package/.agent/skills/mindforge-swarm-execution/SKILL.md +277 -0
- package/.agent/skills/mindforge-swarm-execution/code-quality-reviewer-prompt.md +26 -0
- package/.agent/skills/mindforge-swarm-execution/implementer-prompt.md +113 -0
- package/.agent/skills/mindforge-swarm-execution/spec-reviewer-prompt.md +61 -0
- package/.agent/skills/mindforge-tdd_extended/SKILL.md +371 -0
- package/.agent/skills/mindforge-tdd_extended/testing-anti-patterns.md +299 -0
- package/.agent/skills/mindforge-verify-work_extended/SKILL.md +139 -0
- package/.agent/skills/mindforge-workspace-isolated/SKILL.md +218 -0
- package/.agent/workflows/mindforge-verify-work.md +5 -0
- package/.agent/workflows/mindforge:brainstorming.md +16 -0
- package/.agent/workflows/mindforge:debug.md +4 -2
- package/.agent/workflows/mindforge:execute-phase.md +12 -0
- package/.agent/workflows/mindforge:plan-phase.md +11 -0
- package/.agent/workflows/mindforge:ship.md +6 -1
- package/.agent/workflows/mindforge:tdd.md +7 -2
- package/CHANGELOG.md +243 -115
- package/MINDFORGE.md +17 -9
- package/README.md +2 -2
- package/RELEASENOTES.md +16 -7
- package/bin/memory/federated-sync.js +82 -2
- package/docs/INTELLIGENCE-MESH.md +7 -3
- package/docs/PERSONAS.md +150 -2
- package/docs/architecture/V5-ENTERPRISE.md +8 -7
- package/docs/commands-reference.md +20 -1
- package/docs/governance-guide.md +13 -7
- package/docs/troubleshooting.md +24 -4
- package/docs/user-guide.md +37 -19
- package/package.json +1 -1
package/MINDFORGE.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
# MINDFORGE.md — Parameter Registry (
|
|
1
|
+
# MINDFORGE.md — Parameter Registry (v5.1.0-beast)
|
|
2
2
|
|
|
3
3
|
## 1. IDENTITY & VERSIONING
|
|
4
4
|
|
|
5
5
|
[NAME] = MindForge
|
|
6
|
-
[VERSION] =
|
|
7
|
-
[STABLE] =
|
|
8
|
-
[MODE] = "Zero-Trust
|
|
9
|
-
[REQUIRED_CORE_VERSION] =
|
|
6
|
+
[VERSION] = 5.1.0
|
|
7
|
+
[STABLE] = true
|
|
8
|
+
[MODE] = "Zero-Trust Agentic Hub"
|
|
9
|
+
[REQUIRED_CORE_VERSION] = 5.1.0
|
|
10
10
|
|
|
11
11
|
## 2. INTELLIGENCE TOGGLES (V4 UPDATES)
|
|
12
12
|
|
|
@@ -28,7 +28,8 @@
|
|
|
28
28
|
|
|
29
29
|
## 3. MODEL TOPOLOGY
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
### Persona to Model mapping
|
|
32
|
+
|
|
32
33
|
[PLANNER] = claude-opus-4-5
|
|
33
34
|
[EXECUTOR] = claude-sonnet-4-5
|
|
34
35
|
[REVIEWER] = claude-sonnet-4-5
|
|
@@ -42,7 +43,8 @@
|
|
|
42
43
|
|
|
43
44
|
## 4. GOVERNANCE & ECONOMICS
|
|
44
45
|
|
|
45
|
-
|
|
46
|
+
### Limits and safety gates
|
|
47
|
+
|
|
46
48
|
[COST_WARN_USD] = 2.00
|
|
47
49
|
[COST_HARD_LIMIT_USD] = 25.00
|
|
48
50
|
[ADS_DEBATE_ROUNDS] = 2
|
|
@@ -54,7 +56,8 @@
|
|
|
54
56
|
|
|
55
57
|
## 5. RESOURCE GEOMETRY
|
|
56
58
|
|
|
57
|
-
|
|
59
|
+
### Paths and ports
|
|
60
|
+
|
|
58
61
|
[BROWSER_PORT] = 7338
|
|
59
62
|
[DASHBOARD_PORT] = 7339
|
|
60
63
|
[API_URL] = <http://localhost:3000>
|
|
@@ -64,16 +67,21 @@
|
|
|
64
67
|
|
|
65
68
|
## 6. PROJECT CONSTRAINTS
|
|
66
69
|
|
|
67
|
-
|
|
70
|
+
### Static rules for the agent
|
|
71
|
+
|
|
68
72
|
[FORBIDDEN] = """
|
|
73
|
+
|
|
69
74
|
- No direct DB access from frontend
|
|
70
75
|
- No synchronous I/O in API handlers
|
|
71
76
|
- No console.log in production services
|
|
72
77
|
- No TODO comments in committed code
|
|
78
|
+
|
|
73
79
|
"""
|
|
74
80
|
|
|
75
81
|
[INSTRUCTIONS] = """
|
|
82
|
+
|
|
76
83
|
- Check packages/shared before creating utilities.
|
|
77
84
|
- Backend middleware follows Fastify conventions.
|
|
78
85
|
- Date manipulation using date-fns only.
|
|
86
|
+
|
|
79
87
|
"""
|
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# MindForge —
|
|
1
|
+
# MindForge v5.1.0 — The Beast AdditionFramework (v5.1.0)
|
|
2
2
|
|
|
3
3
|
MindForge turns AI coding agents into production-grade engineering partners with governance, multi-cloud resilience, and a non-bypassable Sovereign Reason Enclave.
|
|
4
|
-
Release published: v5.
|
|
4
|
+
Release published: v5.1.0-PRO.
|
|
5
5
|
|
|
6
6
|
## Installation & Setup
|
|
7
7
|
|
package/RELEASENOTES.md
CHANGED
|
@@ -1,20 +1,29 @@
|
|
|
1
|
+
# MindForge v5.1.0 — The Beast Addition
|
|
2
|
+
## Top Summary
|
|
3
|
+
The v5.1.0 release integrates 14 advanced agentic protocols and high-performance session hooks, sanitizing and hardening them for the MindForge ecosystem.
|
|
4
|
+
|
|
5
|
+
## Highlights
|
|
6
|
+
- **14 Advanced Protocols**: Ported from the Superpowers framework (Brainstorming, Swarm Execution, Parallel Mesh, etc.).
|
|
7
|
+
- **Native Session Initializer**: replaces legacy bash hooks with high-performance Node.js startup logic.
|
|
8
|
+
- **Workflow Step 0 Participation**: Core commands now mandate protocol activation for maximum tactical rigor.
|
|
9
|
+
- **Full Sanitization**: 100% elimination of external branding across all registries.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# MindForge v5.0.0 — Enterprise Pillars V, VI, VII
|
|
2
14
|
## Top Summary
|
|
3
15
|
The v5.0.0 release completes the MindForge Enterprise architecture with the final three pillars: Multi-Cloud Arbitrage, Sovereign Reason Enclaves (SRE), and Dynamic Human-Agent Handover (DHH).
|
|
4
16
|
|
|
5
17
|
## Highlights
|
|
6
|
-
- **Pillar V: Multi-Cloud Arbitrage**: Intelligent routing across Vertex AI, Bedrock, and Azure
|
|
7
|
-
- **Pillar VI: Sovereign Reason Enclaves (SRE)**: Simulated TEE-based reasoning isolation
|
|
8
|
-
- **Pillar VII: Dynamic Human-Agent Handover (DHH)**: Automated packaging of "Nexus State Bundles" for human review
|
|
9
|
-
- **Hardening: Beast Mode Phase 2**: Built-in Chaos Mode for provider reliability stress-testing
|
|
18
|
+
- **Pillar V: Multi-Cloud Arbitrage**: Intelligent routing across Vertex AI, Bedrock, and Azure.
|
|
19
|
+
- **Pillar VI: Sovereign Reason Enclaves (SRE)**: Simulated TEE-based reasoning isolation.
|
|
20
|
+
- **Pillar VII: Dynamic Human-Agent Handover (DHH)**: Automated packaging of "Nexus State Bundles" for human review.
|
|
21
|
+
- **Hardening: Beast Mode Phase 2**: Built-in Chaos Mode for provider reliability stress-testing.
|
|
10
22
|
|
|
11
23
|
---
|
|
12
24
|
|
|
13
25
|
# MindForge v4.3.0 — Enterprise Mesh & Proactive Equilibrium
|
|
14
26
|
|
|
15
|
-
## Top Summary
|
|
16
|
-
MindForge v4.3.0 introduces the **Enterprise Intelligence Mesh**, finalizing the v4 roadmap with autonomous FinOps and self-healing reliability. This release also implements **ZTAI Beast Mode**, hardens agentic identity with asymmetric cryptographic signing, and introduces simulated Secure Enclaves (HSM) for Tier 3 principal agents.
|
|
17
|
-
|
|
18
27
|
## Highlights
|
|
19
28
|
|
|
20
29
|
- **Pillar V: Autonomous FinOps Hub**: Dynamic **C2C (Confidence-to-Cost)** model routing and real-time Agentic ROI tracking.
|
|
@@ -9,6 +9,8 @@ const path = require('node:path');
|
|
|
9
9
|
const Store = require('./knowledge-store');
|
|
10
10
|
const EISClient = require('./eis-client');
|
|
11
11
|
const crypto = require('node:crypto');
|
|
12
|
+
const EmbeddingEngine = require('./embedding-engine');
|
|
13
|
+
const adsEngine = require('../review/ads-engine');
|
|
12
14
|
|
|
13
15
|
class FederatedSync {
|
|
14
16
|
constructor(config = {}) {
|
|
@@ -92,16 +94,94 @@ class FederatedSync {
|
|
|
92
94
|
for (const remote of remoteEntries) {
|
|
93
95
|
const local = existingById.get(remote.id);
|
|
94
96
|
|
|
95
|
-
|
|
96
|
-
if (!local || new Date(remote.timestamp) > new Date(local.timestamp)) {
|
|
97
|
+
if (!local) {
|
|
97
98
|
fs.appendFileSync(globalPath, JSON.stringify(remote) + '\n');
|
|
98
99
|
mergedCount++;
|
|
100
|
+
continue;
|
|
99
101
|
}
|
|
102
|
+
|
|
103
|
+
// Pillar I (v5.2.0): Hybrid Semantic synthesis
|
|
104
|
+
let similarity = 0;
|
|
105
|
+
try {
|
|
106
|
+
similarity = EmbeddingEngine.cosineSimilarity(
|
|
107
|
+
EmbeddingEngine.computeTfIdfVector(EmbeddingEngine.tokenize(local.content), {}, 1),
|
|
108
|
+
EmbeddingEngine.computeTfIdfVector(EmbeddingEngine.tokenize(remote.content), {}, 1)
|
|
109
|
+
);
|
|
110
|
+
} catch (err) {
|
|
111
|
+
console.error(`[FIM-ERR] Semantic analysis failed for ${local.id}. Falling back to LWW.`, err);
|
|
112
|
+
// Fallback to basic LWW (Last-Write-Wins)
|
|
113
|
+
if (new Date(remote.timestamp) > new Date(local.timestamp)) {
|
|
114
|
+
this.writeToGlobalKB(remote, globalPath);
|
|
115
|
+
}
|
|
116
|
+
continue;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
this.triggerHybridSynthesis(local, remote, similarity, globalPath);
|
|
120
|
+
mergedCount++;
|
|
100
121
|
}
|
|
101
122
|
|
|
102
123
|
return mergedCount;
|
|
103
124
|
}
|
|
104
125
|
|
|
126
|
+
/**
|
|
127
|
+
* Hybrid Synthesis Logic (Pillar I v5.2.0)
|
|
128
|
+
*/
|
|
129
|
+
async triggerHybridSynthesis(local, remote, similarity, globalPath) {
|
|
130
|
+
console.log(`[FIM-SYNC] Analyzing semantic overlap for ${local.id} (Similarity: ${similarity.toFixed(4)})`);
|
|
131
|
+
|
|
132
|
+
// 1. LWW (Similarity > 0.9) - Near identical
|
|
133
|
+
if (similarity > 0.9) {
|
|
134
|
+
if (new Date(remote.timestamp) > new Date(local.timestamp)) {
|
|
135
|
+
this.writeToGlobalKB(remote, globalPath);
|
|
136
|
+
console.log(` └─ [LWW] Auto-resolved via timestamp.`);
|
|
137
|
+
}
|
|
138
|
+
return;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
// 2. Autonomous Merge (0.75 - 0.9) - Semantic Overlap
|
|
142
|
+
if (similarity > 0.75) {
|
|
143
|
+
console.log(` └─ [ADS] Triggering Autonomous Knowledge Synthesis...`);
|
|
144
|
+
const merged = await this.triggerADSMerging(local, remote);
|
|
145
|
+
this.writeToGlobalKB(merged, globalPath);
|
|
146
|
+
return;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
// 3. Human Stewardship (0.6 - 0.75) - Probable Disagreement
|
|
150
|
+
if (similarity > 0.6) {
|
|
151
|
+
console.log(` └─ [DHH] High disagreement. Triggering Nexus Handover...`);
|
|
152
|
+
this.localStore.markConflict(local.id, remote);
|
|
153
|
+
return;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
// 4. Collision Isolation (< 0.6) - Topic Mismatch
|
|
157
|
+
console.log(` └─ [ISO] Semantic collision (Topic mismatch). Isolating entries.`);
|
|
158
|
+
this.writeToGlobalKB({ ...remote, id: `${remote.id}_collision_${Date.now()}` }, globalPath);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
async triggerADSMerging(local, remote) {
|
|
162
|
+
const result = await adsEngine.runADSSynthesis({
|
|
163
|
+
phaseNum: 'SYNC',
|
|
164
|
+
goal: `Synthesize a unified knowledge entry for topic: ${local.topic || local.id}`,
|
|
165
|
+
context: `Local Entry: ${local.content}\n\nRemote Entry: ${remote.content}`,
|
|
166
|
+
sessionId: 'fim-sync-v5.2.0'
|
|
167
|
+
});
|
|
168
|
+
|
|
169
|
+
// Extract the final plan/content from ADS result
|
|
170
|
+
const mergedContent = fs.readFileSync(path.join(process.cwd(), '.planning', 'PLAN.md'), 'utf8');
|
|
171
|
+
|
|
172
|
+
return {
|
|
173
|
+
...remote,
|
|
174
|
+
content: mergedContent,
|
|
175
|
+
confidence: 1.0,
|
|
176
|
+
synthesis_id: result.ads_id,
|
|
177
|
+
timestamp: new Date().toISOString()
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
writeToGlobalKB(entry, globalPath) {
|
|
182
|
+
fs.appendFileSync(globalPath, JSON.stringify(entry) + '\n');
|
|
183
|
+
}
|
|
184
|
+
|
|
105
185
|
isRecentlySynced(id) {
|
|
106
186
|
// Simple check against local sync-history log
|
|
107
187
|
if (!fs.existsSync(this.syncHistoryPath)) return false;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# MindForge Federated Intelligence Mesh (FIM)
|
|
2
|
-
MindForge v5.
|
|
2
|
+
MindForge v5.1.0 — Distributed Intelligence Sharing
|
|
3
3
|
|
|
4
4
|
## 1. Overview
|
|
5
5
|
The **Federated Intelligence Mesh (FIM)** is the enterprise-grade evolution of the Global Intelligence Mesh. It transitions MindForge from machine-local memory to a distributed organizational intelligence network. Using a central **Enterprise Intelligence Service (EIS)**, FIM enables seamless, authenticated knowledge synchronization across all agents and projects in the enterprise.
|
|
@@ -15,7 +15,11 @@ The V5 mesh is built on three core pillars residing in `bin/memory/`:
|
|
|
15
15
|
### B. Federated Sync (`federated-sync.js`)
|
|
16
16
|
- **Role**: High-performance synchronization engine between local stores and the organizational mesh.
|
|
17
17
|
- **Delta Sync**: Tracks the `last_sync` timestamp to only pull new organizational insights, significantly reducing latency and compute costs.
|
|
18
|
-
- **Conflict Resolution**: Uses **
|
|
18
|
+
- **Conflict Resolution**: Uses **Hybrid Semantic Synthesis** (Pillar I v5.2.0).
|
|
19
|
+
- **Similarity > 0.9**: Near-identical; auto-resolve via **Last-Write-Wins (LWW)**.
|
|
20
|
+
- **0.75 - 0.9**: Semantic Overlap; triggers **Autonomous ADS Merging**.
|
|
21
|
+
- **0.6 - 0.75**: Conflict; triggers **Nexus Handover (DHH)** for human steering.
|
|
22
|
+
- **< 0.6**: Topic Collision; isolates entries into unique IDs to prevent data loss.
|
|
19
23
|
|
|
20
24
|
### C. Knowledge Graph Bridge (`knowledge-graph.js`)
|
|
21
25
|
- **Role**: Unified memory interface that resolves both local project nodes and remote federated nodes.
|
|
@@ -32,4 +36,4 @@ The V5 mesh is built on three core pillars residing in `bin/memory/`:
|
|
|
32
36
|
- **Elimination of Redundancy**: Multi-thousand-token research chains are executed once and shared universally across the mesh.
|
|
33
37
|
|
|
34
38
|
---
|
|
35
|
-
*Status: V5
|
|
39
|
+
*Status: V5.2.0 Semantic Consensus Implemented & Verified (2026-03-28)*
|
package/docs/PERSONAS.md
CHANGED
|
@@ -19,7 +19,8 @@ MindForge uses a multi-agent orchestration model where specialized personas are
|
|
|
19
19
|
| **Persistence & Memory** | 1 | mf-memory |
|
|
20
20
|
| **Infrastructure & Tools** | 1 | mf-tool |
|
|
21
21
|
| **Strategy & Ops** | 5 | roadmapper, release-manager, tech-writer, roadmapper-extend, user-profiler |
|
|
22
|
-
| **
|
|
22
|
+
| **Neural Protocols** | 6 | brainstormer, swarm-pilot, mesh-orchestrator, workspace-manager, skill-author, tdd-master |
|
|
23
|
+
| **Debuggers** | 2 | debugger, rca-expert |
|
|
23
24
|
| **Mapping** | 2 | codebase-mapper, codebase-mapper-extend |
|
|
24
25
|
|
|
25
26
|
---
|
|
@@ -505,7 +506,7 @@ MindForge uses a multi-agent orchestration model where specialized personas are
|
|
|
505
506
|
|
|
506
507
|
**Role:** Executes implementation plans with atomic commit discipline.
|
|
507
508
|
|
|
508
|
-
| Property | Value |
|
|
509
|
+
| **Property** | **Value** |
|
|
509
510
|
| :--- | :--- |
|
|
510
511
|
| **Spawned by** | `/mindforge:execute-phase`, `/mindforge:agent executor` |
|
|
511
512
|
| **Tools** | Read, Write, Bash, Grep, Glob, CmdStatus, ReadTerminal |
|
|
@@ -614,6 +615,152 @@ MindForge uses a multi-agent orchestration model where specialized personas are
|
|
|
614
615
|
|
|
615
616
|
---
|
|
616
617
|
|
|
618
|
+
---
|
|
619
|
+
|
|
620
|
+
### mindforge-brainstormer (The Ideation Catalyst)
|
|
621
|
+
|
|
622
|
+
**Role:** Expert in deep requirements discovery and behavioral ideation.
|
|
623
|
+
|
|
624
|
+
| Property | Value |
|
|
625
|
+
| :--- | :--- |
|
|
626
|
+
| **Spawned by** | `/mindforge:brainstorming` |
|
|
627
|
+
| **Tools** | Read, Write, Bash, Grep |
|
|
628
|
+
| **Color** | `magenta` |
|
|
629
|
+
| **Trust Tier** | `1` |
|
|
630
|
+
|
|
631
|
+
**Capabilities:**
|
|
632
|
+
- Proactive discovery of edge cases and user intent.
|
|
633
|
+
- Drafting high-fidelity visual companions and behavioral specs.
|
|
634
|
+
- Challenging assumptions through Socratic engineering.
|
|
635
|
+
|
|
636
|
+
---
|
|
637
|
+
|
|
638
|
+
### mindforge-swarm-pilot (The Parallel Executor)
|
|
639
|
+
|
|
640
|
+
**Role:** Orchestrates multiple independent implementation tasks simultaneously.
|
|
641
|
+
|
|
642
|
+
| Property | Value |
|
|
643
|
+
| :--- | :--- |
|
|
644
|
+
| **Spawned by** | `/mindforge:swarm-execution` |
|
|
645
|
+
| **Tools** | Read, Write, Bash, Grep, CmdStatus |
|
|
646
|
+
| **Color** | `yellow` |
|
|
647
|
+
| **Trust Tier** | `2` |
|
|
648
|
+
|
|
649
|
+
**Capabilities:**
|
|
650
|
+
- Managing independent "Execution Waves".
|
|
651
|
+
- Merging parallel contributions with zero conflict.
|
|
652
|
+
- Maintaining high-velocity implementation loops.
|
|
653
|
+
|
|
654
|
+
---
|
|
655
|
+
|
|
656
|
+
### mindforge-mesh-orchestrator (The Context Guardian)
|
|
657
|
+
|
|
658
|
+
**Role:** Synchronizes state and context across parallel agent workstreams.
|
|
659
|
+
|
|
660
|
+
| Property | Value |
|
|
661
|
+
| :--- | :--- |
|
|
662
|
+
| **Spawned by** | `/mindforge:parallel-mesh` |
|
|
663
|
+
| **Tools** | Read, Write, Bash, Grep, Context7 |
|
|
664
|
+
| **Color** | `cyan` |
|
|
665
|
+
| **Trust Tier** | `2` |
|
|
666
|
+
|
|
667
|
+
**Capabilities:**
|
|
668
|
+
- Maintaining a unified "Shared Reality" for swarms.
|
|
669
|
+
- Preventing context drift in complex multi-agent sessions.
|
|
670
|
+
- Dynamic propagation of architectural decisions.
|
|
671
|
+
|
|
672
|
+
---
|
|
673
|
+
|
|
674
|
+
### mindforge-workspace-manager (The Environment Architect)
|
|
675
|
+
|
|
676
|
+
**Role:** Manages isolated development environments and project sharding.
|
|
677
|
+
|
|
678
|
+
| Property | Value |
|
|
679
|
+
| :--- | :--- |
|
|
680
|
+
| **Spawned by** | `/mindforge:workspace-isolated` |
|
|
681
|
+
| **Tools** | Read, Write, Bash, Git |
|
|
682
|
+
| **Color** | `blue` |
|
|
683
|
+
| **Trust Tier** | `3` |
|
|
684
|
+
|
|
685
|
+
**Capabilities:**
|
|
686
|
+
- Provisioning git worktrees for isolated feature branches.
|
|
687
|
+
- Managing workspace cleanup and state protection.
|
|
688
|
+
- Ensuring atomic environment parity across branches.
|
|
689
|
+
|
|
690
|
+
---
|
|
691
|
+
|
|
692
|
+
### mindforge-skill-author (The Framework Evolver)
|
|
693
|
+
|
|
694
|
+
**Role:** Expert in authoring and validating new MindForge skills.
|
|
695
|
+
|
|
696
|
+
| Property | Value |
|
|
697
|
+
| :--- | :--- |
|
|
698
|
+
| **Spawned by** | `/mindforge:skill-creation` |
|
|
699
|
+
| **Tools** | Read, Write, Bash, Grep |
|
|
700
|
+
| **Color** | `purple` |
|
|
701
|
+
| **Trust Tier** | `3` |
|
|
702
|
+
|
|
703
|
+
**Capabilities:**
|
|
704
|
+
- Drafting [SKILL.md] instructions and tool-chains.
|
|
705
|
+
- Validating skill quality against the 7-Dimension Registry.
|
|
706
|
+
- Hardening framework protocols for framework-level releases.
|
|
707
|
+
|
|
708
|
+
---
|
|
709
|
+
|
|
710
|
+
### mindforge-tdd-master (The Quality Zealot)
|
|
711
|
+
|
|
712
|
+
**Role:** Enforces strict Test-Driven Development loops with adversarial rigor.
|
|
713
|
+
|
|
714
|
+
| Property | Value |
|
|
715
|
+
| :--- | :--- |
|
|
716
|
+
| **Spawned by** | `/mindforge:tdd` |
|
|
717
|
+
| **Tools** | Read, Write, Bash, Grep, CmdStatus |
|
|
718
|
+
| **Color** | `red` |
|
|
719
|
+
| **Trust Tier** | `2` |
|
|
720
|
+
|
|
721
|
+
**Capabilities:**
|
|
722
|
+
- Enforcing Red-Green-Refactor discipline.
|
|
723
|
+
- Automated generation of regression-proof test suites.
|
|
724
|
+
- Validating implementation against pure behavioral specs.
|
|
725
|
+
|
|
726
|
+
---
|
|
727
|
+
|
|
728
|
+
### mindforge-rca-expert (The Forensic Scientist)
|
|
729
|
+
|
|
730
|
+
**Role:** Principal specialist in advanced root cause analysis and forensic debugging.
|
|
731
|
+
|
|
732
|
+
| Property | Value |
|
|
733
|
+
| :--- | :--- |
|
|
734
|
+
| **Spawned by** | `/mindforge:debug_extended` |
|
|
735
|
+
| **Tools** | Read, Write, Bash, Grep, CmdStatus, ReadTerminal |
|
|
736
|
+
| **Color** | `orange` |
|
|
737
|
+
| **Trust Tier** | `2` |
|
|
738
|
+
|
|
739
|
+
**Capabilities:**
|
|
740
|
+
- Log-based forensic reconstruction of failures.
|
|
741
|
+
- Identifying systemic architectural flaws.
|
|
742
|
+
- Proving fix validity through falsifiable regression tests.
|
|
743
|
+
|
|
744
|
+
---
|
|
745
|
+
|
|
746
|
+
### mindforge-neural-orchestrator (The Framework Pilot)
|
|
747
|
+
|
|
748
|
+
**Role:** The core identity responsible for activating and managing the protocol mesh.
|
|
749
|
+
|
|
750
|
+
| Property | Value |
|
|
751
|
+
| :--- | :--- |
|
|
752
|
+
| **Spawned by** | `/mindforge:neural-orchestrator` |
|
|
753
|
+
| **Tools** | All |
|
|
754
|
+
| **Color** | `white` |
|
|
755
|
+
| **Trust Tier** | `3` |
|
|
756
|
+
|
|
757
|
+
**Capabilities:**
|
|
758
|
+
- Booting the MindForge Session Engine.
|
|
759
|
+
- Dynamically loading required protocols for the task.
|
|
760
|
+
- Enforcing the Master Directive across all sub-agents.
|
|
761
|
+
|
|
762
|
+
---
|
|
763
|
+
|
|
617
764
|
### mindforge-user-profiler (The Relationship Manager)
|
|
618
765
|
|
|
619
766
|
**Role:** Analyzes session history to personalize agent interactions and technical alignment.
|
|
@@ -649,6 +796,7 @@ MindForge V4 introduces the ability to spawn dynamic, task-aware clusters of spe
|
|
|
649
796
|
| **ComplianceSwarm** | compliance-auditor | legal-compliance, architect, security | GDPR/SOC2 alignment, PII masking |
|
|
650
797
|
| **IdentityTrustSwarm** | identity-architect | security-reviewer, architect, blockchain | Zero-Trust, DID-based signing |
|
|
651
798
|
| **DataMeshSwarm** | data-engineer | db-optimizer, analyst, compliance | Lakehouse patterns, ETL integrity |
|
|
799
|
+
| **NeuralSwarm** | mesh-orchestrator | brainstormer, swarm-pilot, workspace-manager | High-fidelity protocol execution |
|
|
652
800
|
|
|
653
801
|
### Swarm Governance Protocols
|
|
654
802
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# MindForge v5 Architecture: The Enterprise Beast
|
|
2
2
|
|
|
3
|
-
MindForge v5.
|
|
3
|
+
MindForge v5.1.0 is built on a distributed "Agentic OS" architecture. This major version introduces distributed intelligence and absolute governance via a zero-trust policy-as-code layer.
|
|
4
4
|
|
|
5
|
-
## Core Pillars (v5.
|
|
5
|
+
## 1. Core Architectural Pillars (v5.1.0)
|
|
6
6
|
|
|
7
7
|
### Pillar I: Federated Intelligence Mesh (FIM)
|
|
8
8
|
|
|
@@ -10,16 +10,17 @@ The FIM transitions MindForge from local knowledge silos to a shared organizatio
|
|
|
10
10
|
|
|
11
11
|
- **Distributed Sync (LWW)**: Cross-node synchronization using Last-Write-Wins (LWW) conflict resolution with cryptographic versioning.
|
|
12
12
|
- **Delta Pull Protocol**: Intelligent synchronization that only retrieves new insights since the last successful sync, minimizing bandwidth and latency.
|
|
13
|
-
- **Enterprise
|
|
13
|
+
- **Enterprise Resilience & Governance (v5.1.0)**: A high-availability central hub for sharing high-confidence agentic findings across the entire enterprise.
|
|
14
14
|
- **ZTAI-Signed Provenance**: Every piece of knowledge in the mesh is cryptographically tied to the DID of the agent that generated it.
|
|
15
15
|
|
|
16
16
|
### Pillar II: Agentic Policy Orchestrator (APO)
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
# MindForge Governance Guide (v5.1.0)
|
|
19
|
+
MindForge v5.1.0 introduces a non-bypassable, intent-level governance layer that evaluates every autonomous wave against organizational security policies.
|
|
19
20
|
|
|
20
21
|
- **Policy-as-Code (PaC)**: Security rules are defined in declarative JSON/YAML schemas, enabling version-controlled governance.
|
|
21
22
|
- **Real-Time Intent Interception**: The `AutoRunner` intercepts swarm intents (Action, Resource, DID, Tier) before execution.
|
|
22
|
-
- **Dynamic RBAC Mapping**:
|
|
23
|
+
- **Dynamic RBAC Mapping**: v5.1.0 automatically maps ZTAI Trust Tiers to project roles based on an agent's **Zero-Trust Agentic Identity (ZTAI)** trust tier.
|
|
23
24
|
- **Fail-Safe Governance**: "Default Deny" posture for sensitive operations (API key access, infra modification, etc.).
|
|
24
25
|
|
|
25
26
|
### Pillar III: Predictive Agentic Reliability (PAR)
|
|
@@ -99,9 +100,9 @@ DHH creates a seamless bridge between fully autonomous execution and high-precis
|
|
|
99
100
|
|
|
100
101
|
---
|
|
101
102
|
|
|
102
|
-
##
|
|
103
|
+
## ZTAI & Enclave Security (v5.1.0)
|
|
103
104
|
|
|
104
|
-
MindForge v5
|
|
105
|
+
MindForge v5.1.0 enforces **Zero-Trust Agentic Identity (ZTAI)** as the root-of-trust for all enterprise operations.
|
|
105
106
|
|
|
106
107
|
1. **Identity Verification**: Agents prove their identity using Ed25519 signatures.
|
|
107
108
|
2. **Tier Escalation**: Tier 0-1 agents are limited to analytical tasks. Tier 2 agents gain implementation roles. Tier 3 agents (signed by HSM-secured identities) execute in **Sovereign Reason Enclaves**.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# MindForge
|
|
1
|
+
# MindForge v5.1.0 — Commands Reference
|
|
2
2
|
|
|
3
3
|
MindForge commands are organized into functional pillars to support the entire software development lifecycle (SDLC).
|
|
4
4
|
|
|
@@ -35,6 +35,7 @@ MindForge commands are organized into functional pillars to support the entire s
|
|
|
35
35
|
| `/mindforge:personas --list` | Displays all 32+ specialized engineering personas. |
|
|
36
36
|
| `/mindforge:personas --set ID` | Switches the current agent to a specific persona (e.g., `architect`, `executor`). |
|
|
37
37
|
| `/mindforge:tokens` | Analyzes and profiles token usage for the current session. |
|
|
38
|
+
| `/mindforge:neural-orchestrator` | Activates the advanced protocol layer for the current session. |
|
|
38
39
|
| `shard-helper --verify` | (CLI Internal) Verifies the integrity and SHA-256 checksums of memory shards. |
|
|
39
40
|
|
|
40
41
|
---
|
|
@@ -62,3 +63,21 @@ MindForge commands are organized into functional pillars to support the entire s
|
|
|
62
63
|
| `/mindforge:migrate` | Migrates project metadata between framework versions. |
|
|
63
64
|
| `/mindforge:audit --export` | Generates a human-readable PDF report of the session audit log. |
|
|
64
65
|
| `/mindforge:join-discord` | Join the MindForge developer community for support and collaboration. |
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
## 6. Advanced Neural Protocols (Beast Addition)
|
|
70
|
+
|
|
71
|
+
These protocols represent specialized, high-fidelity engineering behaviors ported and hardened for the MindForge ecosystem.
|
|
72
|
+
|
|
73
|
+
| Command | Description |
|
|
74
|
+
| :--- | :--- |
|
|
75
|
+
| `/mindforge:brainstorming` | Deep ideation and requirement exploration before planning. |
|
|
76
|
+
| `/mindforge:swarm-execution` | Swarm-based implementation for independent tasks. |
|
|
77
|
+
| `/mindforge:parallel-mesh` | Orchestrates context across multiple parallel agent waves. |
|
|
78
|
+
| `/mindforge:workspace-isolated` | Manages isolated development environments via git worktrees. |
|
|
79
|
+
| `/mindforge:skill-creation` | Expert protocol for authoring new MindForge skills. |
|
|
80
|
+
| `/mindforge:review-request` | Formalizes peer review requests for completed implementation waves. |
|
|
81
|
+
| `/mindforge:tdd` | Enhanced Test-Driven Development protocol with strict verification. |
|
|
82
|
+
| `/mindforge:debug` | Advanced systematic debugging with persistent state tracking. |
|
|
83
|
+
| `/mindforge:verify-work` | Multi-level truth verification (existence, substance, wiring). |
|
package/docs/governance-guide.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# MindForge Governance Guide (v5.
|
|
1
|
+
# MindForge Governance Guide (v5.1.0)
|
|
2
2
|
Absolute Control through Policy-as-Code (PaC)
|
|
3
3
|
|
|
4
4
|
## 1. Goal
|
|
5
|
-
MindForge v5.
|
|
5
|
+
MindForge v5.1.0 introduces a non-bypassable, intent-level governance layer. This guide explains how **Agentic Policy Orchestration (APO)** and **Zero-Trust Agentic Identity (ZTAI)** work together to secure the enterprise development lifecycle, now hardened by the **Neural Protocol Mesh**.
|
|
6
6
|
|
|
7
7
|
## 2. Agentic Policy Orchestrator (APO)
|
|
8
8
|
The APO is a decentralized governance engine that intercepts every autonomous intent before it is executed.
|
|
@@ -21,7 +21,7 @@ The `PolicyEngine` evaluates this intent against organizational **Policy-as-Code
|
|
|
21
21
|
- **Escalate**: The action requires a higher-tier DID signature or explicit HITL (Human-in-the-Loop) approval.
|
|
22
22
|
|
|
23
23
|
## 3. Trust Tier Architecture (ZTAI Hardened)
|
|
24
|
-
V5.
|
|
24
|
+
V5.1.0 automatically maps ZTAI Trust Tiers to explicit project roles through the `RBACManager`.
|
|
25
25
|
|
|
26
26
|
| Tier | Role | Scope | Hardening |
|
|
27
27
|
| :--- | :--- | :--- | :--- |
|
|
@@ -30,18 +30,24 @@ V5.0.0 automatically maps ZTAI Trust Tiers to explicit project roles through the
|
|
|
30
30
|
| **2** | Specialized | Security/DevOps Specialist. | Access to `/security`, `/infra`, and `/bin/governance`. |
|
|
31
31
|
| **3** | Principal | Lead Architect / Core Engine. | **HSM-Enclave Signing Required** for all engine modifications. |
|
|
32
32
|
|
|
33
|
-
## 4. Governance
|
|
33
|
+
## 4. Protocol Mesh Governance (v5.1.0 Enhancement)
|
|
34
|
+
The **Beast Addition** integrates protocol-level governance into the APO engine.
|
|
35
|
+
- **Protocol Enforceability**: Every protocol activation (e.g., `/mindforge:tdd`) is logged as a governance event.
|
|
36
|
+
- **Mesh Integrity**: The **Parallel Mesh** synchronizes governance state across multiple agents, preventing "split-brain" policy execution.
|
|
37
|
+
- **Skill Compliance**: New skills created via `/mindforge:skill-creation` are automatically audited for APO compatibility.
|
|
38
|
+
|
|
39
|
+
## 5. Governance Workflow (V5.1.0)
|
|
34
40
|
1. **ZTAI Handshake**: Agent proves identity using Ed25519 signatures.
|
|
35
41
|
2. **Intent Pulse**: Agentic intent is broadcast to the policy interceptor.
|
|
36
42
|
3. **APO Evaluation**: Policy engine checks the intent against PaC rules.
|
|
37
43
|
4. **Role binding**: `RBACManager` grants or revokes permissions based on the active trust tier.
|
|
38
44
|
5. **Verified Wave**: Execution proceeds only if all policy gates are clear.
|
|
39
45
|
|
|
40
|
-
##
|
|
41
|
-
MindForge v5 ships with default policies including:
|
|
46
|
+
## 6. Enterprise Policies
|
|
47
|
+
MindForge v5.1.0 ships with default policies including:
|
|
42
48
|
- **`gate_tier_3_engine`**: Blocks all modifications to `bin/autonomous/` unless signed by a Tier 3 DID.
|
|
43
49
|
- **`protect_security_namespace`**: Limits access to `/security` and `/governance` to Tier 2+ specialists.
|
|
44
50
|
- **`mesh_integrity_lock`**: Ensures only high-confidence agents can push to the **Federated Intelligence Mesh**.
|
|
45
51
|
|
|
46
52
|
---
|
|
47
|
-
*Status: V5 "Beast"
|
|
53
|
+
*Status: V5.1.0 "Beast Addition" Governance Implemented & Verified (2026-03-28)*
|
package/docs/troubleshooting.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# MindForge Troubleshooting (
|
|
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
|
|
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
|
|
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.
|
|
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`
|