mindforge-cc 3.0.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agent/CLAUDE.md +50 -545
- package/.claude/CLAUDE.md +50 -545
- package/.mindforge/audit/AUDIT-SCHEMA.md +20 -1
- package/.mindforge/engine/nexus-tracer.js +115 -0
- package/.mindforge/engine/persona-factory.md +45 -0
- package/.mindforge/engine/swarm-controller.md +59 -0
- package/.mindforge/engine/wave-executor.md +104 -54
- package/.mindforge/memory/pattern-library.jsonl +1 -2
- package/.mindforge/personas/swarm-templates.json +118 -0
- package/.planning/ROI.jsonl +2 -0
- package/CHANGELOG.md +133 -22
- package/MINDFORGE.md +75 -106
- package/README.md +71 -101
- package/RELEASENOTES.md +41 -24
- package/bin/autonomous/auto-runner.js +154 -4
- package/bin/autonomous/context-refactorer.js +64 -0
- package/bin/autonomous/steer.js +19 -1
- package/bin/autonomous/stuck-monitor.js +43 -0
- package/bin/engine/feedback-loop.js +71 -0
- package/bin/engine/handover-manager.js +69 -0
- package/bin/engine/nexus-tracer.js +215 -0
- package/bin/engine/sre-manager.js +63 -0
- package/bin/engine/temporal-hindsight.js +88 -0
- package/bin/governance/policies/default-policies.jsonl +33 -0
- package/bin/governance/policy-engine.js +106 -0
- package/bin/governance/rbac-manager.js +109 -0
- package/bin/governance/trust-verifier.js +81 -0
- package/bin/governance/ztai-archiver.js +104 -0
- package/bin/governance/ztai-manager.js +203 -0
- package/bin/memory/eis-client.js +95 -0
- package/bin/memory/federated-sync.js +127 -0
- package/bin/memory/ghost-pattern-detector.js +69 -0
- package/bin/memory/knowledge-graph.js +37 -0
- package/bin/memory/semantic-hub.js +104 -0
- package/bin/models/cloud-broker.js +83 -0
- package/bin/models/finops-hub.js +79 -0
- package/bin/models/model-broker.js +129 -0
- package/bin/skill-validator.js +41 -0
- package/docs/INTELLIGENCE-MESH.md +35 -0
- package/docs/PERSONAS.md +63 -0
- package/docs/{references → References}/audit-events.md +6 -0
- package/docs/architecture/NEXUS-DASHBOARD.md +35 -0
- package/docs/architecture/PAR-ZTS-SURVEY.md +43 -0
- package/docs/architecture/README.md +31 -64
- package/docs/architecture/V4-SWARM-MESH.md +77 -0
- package/docs/architecture/V5-ENTERPRISE.md +113 -0
- package/docs/feature-dashboard.md +6 -1
- package/docs/governance-guide.md +47 -23
- package/docs/security/SECURITY.md +20 -7
- package/docs/security/ZTAI-OVERVIEW.md +37 -0
- package/docs/user-guide.md +29 -3
- package/docs/usp-features.md +79 -5
- package/package.json +1 -1
- /package/docs/{context → Context}/Master-Context.md +0 -0
- /package/docs/{references → References}/checkpoints.md +0 -0
- /package/docs/{references → References}/commands.md +0 -0
- /package/docs/{references → References}/config-reference.md +0 -0
- /package/docs/{references → References}/continuation-format.md +0 -0
- /package/docs/{references → References}/decimal-phase-calculation.md +0 -0
- /package/docs/{references → References}/git-integration.md +0 -0
- /package/docs/{references → References}/git-planning-commit.md +0 -0
- /package/docs/{references → References}/model-profile-resolution.md +0 -0
- /package/docs/{references → References}/model-profiles.md +0 -0
- /package/docs/{references → References}/phase-argument-parsing.md +0 -0
- /package/docs/{references → References}/planning-config.md +0 -0
- /package/docs/{references → References}/questioning.md +0 -0
- /package/docs/{references → References}/sdk-api.md +0 -0
- /package/docs/{references → References}/skills-api.md +0 -0
- /package/docs/{references → References}/tdd.md +0 -0
- /package/docs/{references → References}/ui-brand.md +0 -0
- /package/docs/{references → References}/user-profiling.md +0 -0
- /package/docs/{references → References}/verification-patterns.md +0 -0
- /package/docs/{references → References}/workstream-flag.md +0 -0
- /package/docs/{templates → Templates}/Agents/CLAUDE-MD.md +0 -0
- /package/docs/{templates → Templates}/Agents/COPILOT-INSTRUCTIONS.md +0 -0
- /package/docs/{templates → Templates}/Agents/DEBUGGER-PROMPT.md +0 -0
- /package/docs/{templates → Templates}/Agents/PLANNER-PROMPT.md +0 -0
- /package/docs/{templates/codebase → Templates/Codebase}/architecture.md +0 -0
- /package/docs/{templates/codebase → Templates/Codebase}/concerns.md +0 -0
- /package/docs/{templates/codebase → Templates/Codebase}/conventions.md +0 -0
- /package/docs/{templates/codebase → Templates/Codebase}/integrations.md +0 -0
- /package/docs/{templates/codebase → Templates/Codebase}/stack.md +0 -0
- /package/docs/{templates/codebase → Templates/Codebase}/structure.md +0 -0
- /package/docs/{templates/codebase → Templates/Codebase}/testing.md +0 -0
- /package/docs/{templates → Templates}/Execution/CONTINUE-HERE.md +0 -0
- /package/docs/{templates → Templates}/Execution/DISCUSSION-LOG.md +0 -0
- /package/docs/{templates → Templates}/Execution/PHASE-PROMPT.md +0 -0
- /package/docs/{templates → Templates}/Execution/STATE.md +0 -0
- /package/docs/{templates → Templates}/Execution/SUMMARY-COMPLEX.md +0 -0
- /package/docs/{templates → Templates}/Execution/SUMMARY-MINIMAL.md +0 -0
- /package/docs/{templates → Templates}/Execution/SUMMARY-STANDARD.md +0 -0
- /package/docs/{templates → Templates}/Execution/SUMMARY.md +0 -0
- /package/docs/{templates → Templates}/Profile/DEV-PREFERENCES.md +0 -0
- /package/docs/{templates → Templates}/Profile/USER-PROFILE.md +0 -0
- /package/docs/{templates → Templates}/Profile/USER-SETUP.md +0 -0
- /package/docs/{templates → Templates}/Project/DISCOVERY.md +0 -0
- /package/docs/{templates → Templates}/Project/MILESTONE-ARCHIVE.md +0 -0
- /package/docs/{templates → Templates}/Project/MILESTONE.md +0 -0
- /package/docs/{templates → Templates}/Project/PROJECT.md +0 -0
- /package/docs/{templates → Templates}/Project/REQUIREMENTS.md +0 -0
- /package/docs/{templates → Templates}/Project/RETROSPECTIVE.md +0 -0
- /package/docs/{templates → Templates}/Project/ROADMAP.md +0 -0
- /package/docs/{templates → Templates}/Quality/DEBUG.md +0 -0
- /package/docs/{templates → Templates}/Quality/UAT.md +0 -0
- /package/docs/{templates → Templates}/Quality/UI-SPEC.md +0 -0
- /package/docs/{templates → Templates}/Quality/VALIDATION.md +0 -0
- /package/docs/{templates → Templates}/Quality/VERIFICATION-REPORT.md +0 -0
- /package/docs/{templates/research → Templates/Research}/ARCHITECTURE.md +0 -0
- /package/docs/{templates/research → Templates/Research}/FEATURES.md +0 -0
- /package/docs/{templates/research → Templates/Research}/PITFALLS.md +0 -0
- /package/docs/{templates/research → Templates/Research}/STACK.md +0 -0
- /package/docs/{templates/research → Templates/Research}/SUMMARY.md +0 -0
- /package/docs/{templates → Templates}/System/CONFIG.json +0 -0
- /package/docs/{templates → Templates}/System/CONTEXT.md +0 -0
package/docs/PERSONAS.md
CHANGED
|
@@ -35,6 +35,7 @@ MindForge uses a multi-agent orchestration model where specialized personas are
|
|
|
35
35
|
| **Spawned by** | `/mindforge:init-project`, `/mindforge:plan-phase`, `/mindforge:agent analyst` |
|
|
36
36
|
| **Tools** | Read, Write, Bash, Grep |
|
|
37
37
|
| **Color** | `blue` |
|
|
38
|
+
| **Trust Tier** | `1` |
|
|
38
39
|
| **Produces** | `.planning/REQUIREMENTS.md`, `.planning/PROJECT.md` |
|
|
39
40
|
|
|
40
41
|
**Capabilities:**
|
|
@@ -53,6 +54,7 @@ MindForge uses a multi-agent orchestration model where specialized personas are
|
|
|
53
54
|
| **Spawned by** | `/mindforge:plan-phase`, `/mindforge:agent architect` |
|
|
54
55
|
| **Tools** | Read, Write, Bash, Grep, Glob |
|
|
55
56
|
| **Color** | `purple` |
|
|
57
|
+
| **Trust Tier** | `3` |
|
|
56
58
|
| **Produces** | `.planning/ARCHITECTURE.md`, `.planning/decisions/ADR-*.md` |
|
|
57
59
|
|
|
58
60
|
**Capabilities:**
|
|
@@ -72,6 +74,7 @@ MindForge uses a multi-agent orchestration model where specialized personas are
|
|
|
72
74
|
| **Spawned by** | `/mindforge:execute-phase`, `/mindforge:agent developer` |
|
|
73
75
|
| **Tools** | Read, Write, Bash, Grep, Glob, CommandStatus, Context7 |
|
|
74
76
|
| **Color** | `green` |
|
|
77
|
+
| **Trust Tier** | `2` |
|
|
75
78
|
| **Produces** | Source code, Unit tests, Implementation Summaries |
|
|
76
79
|
|
|
77
80
|
**Capabilities:**
|
|
@@ -90,6 +93,7 @@ MindForge uses a multi-agent orchestration model where specialized personas are
|
|
|
90
93
|
| **Spawned by** | `/mindforge:verify-phase`, `/mindforge:agent qa-engineer` |
|
|
91
94
|
| **Tools** | Read, Write, Bash, Grep, Glob, CommandStatus |
|
|
92
95
|
| **Color** | `yellow` |
|
|
96
|
+
| **Trust Tier** | `2` |
|
|
93
97
|
| **Produces** | `UAT.md`, `BUGS.md` |
|
|
94
98
|
|
|
95
99
|
**Capabilities:**
|
|
@@ -109,6 +113,7 @@ MindForge uses a multi-agent orchestration model where specialized personas are
|
|
|
109
113
|
| **Spawned by** | `/mindforge:security-scan`, `/mindforge:agent security-reviewer` |
|
|
110
114
|
| **Tools** | Read, Write, Bash, Grep, Glob, CommandStatus |
|
|
111
115
|
| **Color** | `red` |
|
|
116
|
+
| **Trust Tier** | `3` |
|
|
112
117
|
| **Produces** | `SECURITY-REVIEW.md` |
|
|
113
118
|
|
|
114
119
|
**Capabilities:**
|
|
@@ -181,6 +186,7 @@ MindForge uses a multi-agent orchestration model where specialized personas are
|
|
|
181
186
|
| **Spawned by** | `/mindforge:research`, `/mindforge:agent research-agent` |
|
|
182
187
|
| **Tools** | Read, Write, Bash, Grep, Glob, Browser, Context7 |
|
|
183
188
|
| **Color** | `cyan` |
|
|
189
|
+
| **Trust Tier** | `1` |
|
|
184
190
|
| **Produces** | `RESEARCH-NOTES-*.md` |
|
|
185
191
|
|
|
186
192
|
**Capabilities:**
|
|
@@ -199,6 +205,7 @@ MindForge uses a multi-agent orchestration model where specialized personas are
|
|
|
199
205
|
| **Spawned by** | `/mindforge:plan-phase`, `/mindforge:agent decision-architect` |
|
|
200
206
|
| **Tools** | Read, Write, Bash, Grep, Glob |
|
|
201
207
|
| **Color** | `purple` |
|
|
208
|
+
| **Trust Tier** | `3` |
|
|
202
209
|
| **Produces** | `DECISION-*.md` |
|
|
203
210
|
|
|
204
211
|
**Capabilities:**
|
|
@@ -218,6 +225,7 @@ MindForge uses a multi-agent orchestration model where specialized personas are
|
|
|
218
225
|
| **Spawned by** | `/mindforge:release`, `/mindforge:agent release-manager` |
|
|
219
226
|
| **Tools** | Read, Write, Bash, Grep, Glob, CommandStatus |
|
|
220
227
|
| **Color** | `blue` |
|
|
228
|
+
| **Trust Tier** | `3` |
|
|
221
229
|
| **Produces** | `CHANGELOG.md`, Git tags, Release Notes |
|
|
222
230
|
|
|
223
231
|
**Capabilities:**
|
|
@@ -236,6 +244,7 @@ MindForge uses a multi-agent orchestration model where specialized personas are
|
|
|
236
244
|
| **Spawned by** | `/mindforge:ship`, `/mindforge:agent tech-writer` |
|
|
237
245
|
| **Tools** | Read, Write, Bash, Grep, Glob, Context7 |
|
|
238
246
|
| **Color** | `cyan` |
|
|
247
|
+
| **Trust Tier** | `1` |
|
|
239
248
|
| **Produces** | `README.md`, API Reference, Runbooks |
|
|
240
249
|
|
|
241
250
|
**Capabilities:**
|
|
@@ -254,6 +263,7 @@ MindForge uses a multi-agent orchestration model where specialized personas are
|
|
|
254
263
|
| **Spawned by** | `/mindforge:validate-phase`, `/mindforge:agent coverage-specialist` |
|
|
255
264
|
| **Tools** | Read, Write, Bash, Grep, Glob, CommandStatus |
|
|
256
265
|
| **Color** | `yellow` |
|
|
266
|
+
| **Trust Tier** | `2` |
|
|
257
267
|
| **Produces** | `COVERAGE-AUDIT.md` |
|
|
258
268
|
|
|
259
269
|
**Capabilities:**
|
|
@@ -272,6 +282,7 @@ MindForge uses a multi-agent orchestration model where specialized personas are
|
|
|
272
282
|
| **Spawned by** | `/mindforge:research`, `/mindforge:agent advisor-researcher` |
|
|
273
283
|
| **Tools** | Read, Write, Bash, Grep, Glob, Browser, Context7 |
|
|
274
284
|
| **Color** | `cyan` |
|
|
285
|
+
| **Trust Tier** | `1` |
|
|
275
286
|
| **Produces** | Comparison tables, Rationale documents |
|
|
276
287
|
|
|
277
288
|
**Capabilities:**
|
|
@@ -290,6 +301,7 @@ MindForge uses a multi-agent orchestration model where specialized personas are
|
|
|
290
301
|
| **Spawned by** | `/mindforge:init-project`, `/mindforge:agent project-researcher` |
|
|
291
302
|
| **Tools** | Read, Write, Bash, Grep, Glob, Browser, Context7 |
|
|
292
303
|
| **Color** | `purple` |
|
|
304
|
+
| **Trust Tier** | `1` |
|
|
293
305
|
| **Produces** | `SUMMARY.md`, `STACK.md`, `ARCHITECTURE.md` |
|
|
294
306
|
|
|
295
307
|
**Capabilities:**
|
|
@@ -308,6 +320,7 @@ MindForge uses a multi-agent orchestration model where specialized personas are
|
|
|
308
320
|
| **Spawned by** | `/mindforge:research`, `/mindforge:agent research-synthesizer` |
|
|
309
321
|
| **Tools** | Read, Write, Bash, Grep, Glob |
|
|
310
322
|
| **Color** | `purple` |
|
|
323
|
+
| **Trust Tier** | `1` |
|
|
311
324
|
| **Produces** | Integrated `SUMMARY.md` |
|
|
312
325
|
|
|
313
326
|
**Capabilities:**
|
|
@@ -326,6 +339,7 @@ MindForge uses a multi-agent orchestration model where specialized personas are
|
|
|
326
339
|
| **Spawned by** | `/mindforge:plan-phase`, `/mindforge:agent ui-researcher` |
|
|
327
340
|
| **Tools** | Read, Write, Bash, Grep, Glob, Browser, Context7 |
|
|
328
341
|
| **Color** | `#E879F9` |
|
|
342
|
+
| **Trust Tier** | `1` |
|
|
329
343
|
| **Produces** | `UI-SPEC.md` |
|
|
330
344
|
|
|
331
345
|
**Capabilities:**
|
|
@@ -344,6 +358,7 @@ MindForge uses a multi-agent orchestration model where specialized personas are
|
|
|
344
358
|
| **Spawned by** | `/mindforge:plan-phase`, `/mindforge:agent phase-researcher` |
|
|
345
359
|
| **Tools** | Read, Write, Bash, Grep, Glob, Context7 |
|
|
346
360
|
| **Color** | `blue` |
|
|
361
|
+
| **Trust Tier** | `1` |
|
|
347
362
|
| **Produces** | `RESEARCH.md` |
|
|
348
363
|
|
|
349
364
|
**Capabilities:**
|
|
@@ -362,6 +377,7 @@ MindForge uses a multi-agent orchestration model where specialized personas are
|
|
|
362
377
|
| **Spawned by** | `/mindforge:plan-phase`, `/mindforge:agent planner` |
|
|
363
378
|
| **Tools** | Read, Write, Bash, Grep, Glob |
|
|
364
379
|
| **Color** | `blue` |
|
|
380
|
+
| **Trust Tier** | `1` |
|
|
365
381
|
| **Produces** | `PLAN-*.md` (XML task breakdown)|
|
|
366
382
|
|
|
367
383
|
**Capabilities:**
|
|
@@ -380,6 +396,7 @@ MindForge uses a multi-agent orchestration model where specialized personas are
|
|
|
380
396
|
| **Spawned by** | `/mindforge:verify-phase`, `/mindforge:agent integration-checker` |
|
|
381
397
|
| **Tools** | Read, Write, Bash, Grep, Glob |
|
|
382
398
|
| **Color** | `blue` |
|
|
399
|
+
| **Trust Tier** | `1` |
|
|
383
400
|
| **Produces** | `INTEGRATION-REPORT.md` |
|
|
384
401
|
|
|
385
402
|
**Capabilities:**
|
|
@@ -398,6 +415,7 @@ MindForge uses a multi-agent orchestration model where specialized personas are
|
|
|
398
415
|
| **Spawned by** | `/mindforge:validate-phase`, `/mindforge:agent nyquist-auditor` |
|
|
399
416
|
| **Tools** | Read, Write, Bash, Grep, Glob, CmdStatus, ReadTerminal |
|
|
400
417
|
| **Color** | `#8B5CF6` |
|
|
418
|
+
| **Trust Tier** | `2` |
|
|
401
419
|
| **Produces** | `VALIDATION-REPORT.md` |
|
|
402
420
|
|
|
403
421
|
**Capabilities:**
|
|
@@ -416,6 +434,7 @@ MindForge uses a multi-agent orchestration model where specialized personas are
|
|
|
416
434
|
| **Spawned by** | `/mindforge:plan-phase`, `/mindforge:agent plan-checker` |
|
|
417
435
|
| **Tools** | Read, Write, Bash, Grep, Glob |
|
|
418
436
|
| **Color** | `yellow` |
|
|
437
|
+
| **Trust Tier** | `1` |
|
|
419
438
|
| **Produces** | `PLAN-VERDICT.md` |
|
|
420
439
|
|
|
421
440
|
**Capabilities:**
|
|
@@ -434,6 +453,7 @@ MindForge uses a multi-agent orchestration model where specialized personas are
|
|
|
434
453
|
| **Spawned by** | `/mindforge:verify-phase`, `/mindforge:agent ui-auditor` |
|
|
435
454
|
| **Tools** | Read, Write, Bash, Grep, Glob |
|
|
436
455
|
| **Color** | `#F472B6` |
|
|
456
|
+
| **Trust Tier** | `1` |
|
|
437
457
|
| **Produces** | `UI-REVIEW.md` |
|
|
438
458
|
|
|
439
459
|
**Capabilities:**
|
|
@@ -452,6 +472,7 @@ MindForge uses a multi-agent orchestration model where specialized personas are
|
|
|
452
472
|
| **Spawned by** | `/mindforge:plan-phase`, `/mindforge:agent ui-checker` |
|
|
453
473
|
| **Tools** | Read, Write, Bash, Grep, Glob |
|
|
454
474
|
| **Color** | `#22D3EE` |
|
|
475
|
+
| **Trust Tier** | `1` |
|
|
455
476
|
| **Produces** | `UI-SPEC-VERDICT.md` |
|
|
456
477
|
|
|
457
478
|
**Capabilities:**
|
|
@@ -470,6 +491,7 @@ MindForge uses a multi-agent orchestration model where specialized personas are
|
|
|
470
491
|
| **Spawned by** | `/mindforge:verify-phase`, `/mindforge:agent verifier` |
|
|
471
492
|
| **Tools** | Read, Write, Bash, Grep, Glob |
|
|
472
493
|
| **Color** | `green` |
|
|
494
|
+
| **Trust Tier** | `1` |
|
|
473
495
|
| **Produces** | `VERIFICATION.md` |
|
|
474
496
|
|
|
475
497
|
**Capabilities:**
|
|
@@ -488,6 +510,7 @@ MindForge uses a multi-agent orchestration model where specialized personas are
|
|
|
488
510
|
| **Spawned by** | `/mindforge:execute-phase`, `/mindforge:agent executor` |
|
|
489
511
|
| **Tools** | Read, Write, Bash, Grep, Glob, CmdStatus, ReadTerminal |
|
|
490
512
|
| **Color** | `yellow` |
|
|
513
|
+
| **Trust Tier** | `3` |
|
|
491
514
|
| **Produces** | Atomic commits, Execution summaries |
|
|
492
515
|
|
|
493
516
|
**Capabilities:**
|
|
@@ -498,6 +521,7 @@ MindForge uses a multi-agent orchestration model where specialized personas are
|
|
|
498
521
|
---
|
|
499
522
|
|
|
500
523
|
### mindforge-debugger (The RCA Scientist)
|
|
524
|
+
**Trust Tier:** `1`
|
|
501
525
|
|
|
502
526
|
**Role:** Specialist in systematic root cause analysis and complex defect resolution.
|
|
503
527
|
|
|
@@ -516,6 +540,7 @@ MindForge uses a multi-agent orchestration model where specialized personas are
|
|
|
516
540
|
---
|
|
517
541
|
|
|
518
542
|
### mindforge-assumptions-analyzer-extend (The Reality Checker)
|
|
543
|
+
**Trust Tier:** `1`
|
|
519
544
|
|
|
520
545
|
**Role:** Reality checker for identifying hidden codebase constraints and risks.
|
|
521
546
|
|
|
@@ -542,6 +567,7 @@ MindForge uses a multi-agent orchestration model where specialized personas are
|
|
|
542
567
|
| **Spawned by** | `/mindforge:map-codebase`, `/mindforge:agent codebase-mapper` |
|
|
543
568
|
| **Tools** | Read, Write, Bash, Grep, Glob |
|
|
544
569
|
| **Color** | `cyan` |
|
|
570
|
+
| **Trust Tier** | `1` |
|
|
545
571
|
| **Produces** | `CONVENTIONS.md`, `STRUCTURE.md` |
|
|
546
572
|
|
|
547
573
|
**Capabilities:**
|
|
@@ -560,6 +586,7 @@ MindForge uses a multi-agent orchestration model where specialized personas are
|
|
|
560
586
|
| **Spawned by** | `/mindforge:map-codebase`, `/mindforge:agent codebase-mapper-extend` |
|
|
561
587
|
| **Tools** | Read, Write, Bash, Grep, Glob |
|
|
562
588
|
| **Color** | `cyan` |
|
|
589
|
+
| **Trust Tier** | `1` |
|
|
563
590
|
| **Produces** | `STACK.md`, `ARCHITECTURE.md`, `CONVENTIONS.md` |
|
|
564
591
|
|
|
565
592
|
**Capabilities:**
|
|
@@ -596,6 +623,7 @@ MindForge uses a multi-agent orchestration model where specialized personas are
|
|
|
596
623
|
| **Spawned by** | `/mindforge:agent user-profiler` |
|
|
597
624
|
| **Tools** | Read, Write, Bash, Grep, Glob |
|
|
598
625
|
| **Color** | `magenta` |
|
|
626
|
+
| **Trust Tier** | `1` |
|
|
599
627
|
| **Produces** | `USER-PROFILE.md` |
|
|
600
628
|
|
|
601
629
|
**Capabilities:**
|
|
@@ -605,36 +633,71 @@ MindForge uses a multi-agent orchestration model where specialized personas are
|
|
|
605
633
|
|
|
606
634
|
---
|
|
607
635
|
|
|
636
|
+
## Swarm Clusters (The Agentic Mesh) [v4.2]
|
|
637
|
+
|
|
638
|
+
MindForge V4 introduces the ability to spawn dynamic, task-aware clusters of specialist personas. These swarms work in parallel with shared state to solve complex enterprise challenges.
|
|
639
|
+
|
|
640
|
+
### Enterprise Swarm Templates
|
|
641
|
+
|
|
642
|
+
| Swarm | Leader | Members | Focus |
|
|
643
|
+
| :--- | :--- | :--- | :--- |
|
|
644
|
+
| **UISwarm** | ui-auditor | developer, accessibility, whimsy-injector | Visual fidelity, interaction, WCAG 2.2 |
|
|
645
|
+
| **BackendSwarm** | architect | developer, security-reviewer, db-optimizer | Architecture, performance, API versioning |
|
|
646
|
+
| **SecuritySwarm** | security-reviewer | architect, developer, threat-detection | OWASP mitigation, secret detection |
|
|
647
|
+
| **AIEngineeringSwarm** | ai-engineer | prompt-engineer, developer, model-qa | Hallucination mitigation, grounding |
|
|
648
|
+
| **IncidentResponse** | sre-engineer | developer, incident-commander, debugger | RCA, hotfix, post-mortem |
|
|
649
|
+
| **ComplianceSwarm** | compliance-auditor | legal-compliance, architect, security | GDPR/SOC2 alignment, PII masking |
|
|
650
|
+
| **IdentityTrustSwarm** | identity-architect | security-reviewer, architect, blockchain | Zero-Trust, DID-based signing |
|
|
651
|
+
| **DataMeshSwarm** | data-engineer | db-optimizer, analyst, compliance | Lakehouse patterns, ETL integrity |
|
|
652
|
+
|
|
653
|
+
### Swarm Governance Protocols
|
|
654
|
+
|
|
655
|
+
- **Trust Tiers**: Swarms are enforced by ZTAI (Zero-Trust Agentic Identity) tiers (0-3).
|
|
656
|
+
- **Decision Gates**: High-risk swarms (e.g., Compliance) use **Human-in-the-Loop (HITL)** gates.
|
|
657
|
+
- **Resource Budgets**: Performance-aware routing based on confidence-to-cost (C2C) ratios.
|
|
658
|
+
- **Mesh Synthesis**: The Swarm Leader synthesizes all specialist outputs into a single, cohesive `SWARM-SUMMARY`.
|
|
659
|
+
|
|
660
|
+
---
|
|
661
|
+
|
|
608
662
|
### MF-Series: Fundamental Framework Identities
|
|
609
663
|
|
|
610
664
|
The MF-Series represents the "Core Essence" of the MindForge agentic framework. These personas provide a standardized, high-value foundation for delegation and multi-agent interaction.
|
|
611
665
|
|
|
612
666
|
#### mf-planner (The Strategist)
|
|
667
|
+
**Trust Tier:** `1`
|
|
613
668
|
**Role:** High-level goal decomposition and structured planning.
|
|
614
669
|
- **Triggers:** `plan`, `decompose`, `roadmap`.
|
|
615
670
|
- **Produces:** Structured JSON/Markdown execution plans.
|
|
616
671
|
|
|
617
672
|
#### mf-executor (The Pilot)
|
|
673
|
+
**Trust Tier:** `3`
|
|
618
674
|
**Role:** Precise implementation and high-fidelity plan execution.
|
|
619
675
|
- **Triggers:** `execute`, `implement`, `fix`.
|
|
620
676
|
- **Produces:** Implementation details and completion status.
|
|
621
677
|
|
|
622
678
|
#### mf-researcher (The Detective)
|
|
679
|
+
**Trust Tier:** `1`
|
|
623
680
|
**Role:** Knowledge gathering and objective approach comparison.
|
|
681
|
+
|
|
624
682
|
- **Triggers:** `research`, `explore`, `benchmark`.
|
|
625
683
|
- **Produces:** Tradeoff analysis and strategy recommendations.
|
|
626
684
|
|
|
627
685
|
#### mf-reviewer (The Auditor)
|
|
686
|
+
**Trust Tier:** `1`
|
|
628
687
|
**Role:** Quality assurance and output validation.
|
|
688
|
+
|
|
629
689
|
- **Triggers:** `review`, `audit`, `validate`.
|
|
630
690
|
- **Produces:** Feedback, issues, and approval status.
|
|
631
691
|
|
|
632
692
|
#### mf-memory (The Clerk)
|
|
693
|
+
**Trust Tier:** `1`
|
|
633
694
|
**Role:** Persistence management and knowledge graph maintenance.
|
|
695
|
+
|
|
634
696
|
- **Triggers:** `remember`, `store`, `learning`.
|
|
635
697
|
- **Produces:** Memory updates and linked patterns.
|
|
636
698
|
|
|
637
699
|
#### mf-tool (The Operator)
|
|
700
|
+
**Trust Tier:** `2`
|
|
638
701
|
**Role:** Safe external system interaction and tool execution.
|
|
639
702
|
- **Triggers:** `tool`, `git`, `api`, `shell`.
|
|
640
703
|
- **Produces:** Action results and safety logs.
|
|
@@ -14,6 +14,9 @@ Each line is a JSON object with a required `event` type and a `session_id`.
|
|
|
14
14
|
- `agent` (string)
|
|
15
15
|
- `phase` (number or null)
|
|
16
16
|
- `session_id` (string)
|
|
17
|
+
- `trace_id` (string, v4.1+) - UUID linking multiple related spans.
|
|
18
|
+
- `span_id` (string, v4.1+) - ID for the current execution unit.
|
|
19
|
+
- `parent_span_id` (string, v4.1+) - Link to the calling span.
|
|
17
20
|
|
|
18
21
|
## Common event types
|
|
19
22
|
### `project_initialised`
|
|
@@ -46,6 +49,9 @@ Fields: `plugin_name`, `version`, `permissions`
|
|
|
46
49
|
### `plugin_uninstalled`
|
|
47
50
|
Fields: `plugin_name`
|
|
48
51
|
|
|
52
|
+
### `reasoning_trace` (v4.1+)
|
|
53
|
+
Fields: `trace_id`, `span_id`, `persona`, `thought_chain`, `decision_point`, `adversarial_critique` (optional)
|
|
54
|
+
|
|
49
55
|
## Rotation
|
|
50
56
|
Rotate when file exceeds 10,000 lines. Archive into `.planning/audit-archive/`.
|
|
51
57
|
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# MindForge Nexus: Observability Dashboard
|
|
2
|
+
|
|
3
|
+
## Vision
|
|
4
|
+
The Nexus Dashboard provides real-time visibility into the "thought chains" of the agentic mesh. It transforms the linear `AUDIT.jsonl` into a hierarchical, interactive visualization of reasoning and execution waves.
|
|
5
|
+
|
|
6
|
+
## Core Views
|
|
7
|
+
|
|
8
|
+
### 1. Mesh Trace View (Gantt/Waterfall)
|
|
9
|
+
- **Trace Visualization:** Displays hierarchical spans (Waves -> Clusters -> Tasks).
|
|
10
|
+
- **Critical Path Highlighting:** Identifies bottlenecks in parallel wave execution.
|
|
11
|
+
- **Span Metadata:** Hovering over a span reveals the agent persona, trust tier, and execution time.
|
|
12
|
+
|
|
13
|
+
### 2. Reasoning Heatmap (ART)
|
|
14
|
+
- **Density Maps:** Visualizes where the agents are performing the most "Thinking" (debate cycles).
|
|
15
|
+
- **ADS Breakdown:** Highlights Adversarial Decision Synthesis debates between specialists (e.g., Security vs Dev).
|
|
16
|
+
- **Thought Stream:** Real-time feed of `reasoning_trace` events.
|
|
17
|
+
|
|
18
|
+
### 3. ZTAI Trust Heatmap
|
|
19
|
+
- **Security Posture:** Real-time visibility into which tasks are running in which Trust Tier (0-3).
|
|
20
|
+
- **Policy Violations:** Instant alerts when an agent attempts to bypass a HITL decision gate.
|
|
21
|
+
|
|
22
|
+
## Technical Stack
|
|
23
|
+
- **Engine:** Next.js (React) + D3.js for complex tree visualizations.
|
|
24
|
+
- **Data Source:** Tail-following parser for `.planning/AUDIT.jsonl`.
|
|
25
|
+
- **State Management:** Zustand for real-time trace aggregation.
|
|
26
|
+
|
|
27
|
+
## API Hooks
|
|
28
|
+
```javascript
|
|
29
|
+
// Example Dashboard Feed Hook
|
|
30
|
+
const useNexusFeed = () => {
|
|
31
|
+
// Listen for new AUDIT.jsonl entries
|
|
32
|
+
// Reconstruct span hierarchy on the fly
|
|
33
|
+
// Return nodes and edges for D3 renderer
|
|
34
|
+
};
|
|
35
|
+
```
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# PAR & ZTS Architectural Survey — MindForge v5
|
|
2
|
+
|
|
3
|
+
## Pillar III: Predictive Agentic Reliability (PAR)
|
|
4
|
+
|
|
5
|
+
Predictive Agentic Reliability (PAR) addresses the "Reasoning Decay" problem in long-running autonomous sessions. It implements proactive monitoring and self-healing at the reasoning layer.
|
|
6
|
+
|
|
7
|
+
### 1. Stuck Detection (S03 & S04)
|
|
8
|
+
The `StuckMonitor` has been extended to detect advanced reasoning loop patterns:
|
|
9
|
+
- **S03 (Semantic Mirroring)**: Detects when the agent paraphrases its own previous thoughts without taking new actions.
|
|
10
|
+
- **S04 (Infinite Decomposition)**: Detects when the agent breaks sub-tasks into smaller and smaller pieces indefinitely without resolving the parent task.
|
|
11
|
+
|
|
12
|
+
### 2. Context Refactoring
|
|
13
|
+
The `ContextRefactorer` monitors "Context Density" (the ratio of implementation actions to reasoning thoughts).
|
|
14
|
+
- When density falls below 30%, it triggers a proactive **Refactor Event**.
|
|
15
|
+
- This encourages the agent to summarize its progress and reset its active context window, preventing bloat.
|
|
16
|
+
|
|
17
|
+
### 3. C2C Arbitrage
|
|
18
|
+
Confidence-to-Cost (C2C) arbitrage ensures that the agent only continues execution when the expected value (confidence) exceeds the operational cost (tokens/compute).
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## Pillar IV: Supply Chain Trust (ZTS)
|
|
23
|
+
|
|
24
|
+
Supply Chain Trust (ZTS) ensures that every asset (skill, model, tool) used by MindForge is authenticated and verified against enterprise standards.
|
|
25
|
+
|
|
26
|
+
### 1. Agentic SBOM (Software Bill of Materials)
|
|
27
|
+
MindForge now generates a real-time `MANIFEST.sbom.json` during every autonomous run.
|
|
28
|
+
- **Model Tracking**: Logs the exact model version used for every reasoning span.
|
|
29
|
+
- **Skill Telemetry**: Tracks which skills were invoked and their specific versions.
|
|
30
|
+
- **Timestamping**: Captures full start/end telemetry for supply chain auditing.
|
|
31
|
+
|
|
32
|
+
### 2. 7-Dimension Certification (7D)
|
|
33
|
+
Skills are now evaluated across 7 weighted dimensions:
|
|
34
|
+
1. **Schema Compliance (15%)**
|
|
35
|
+
2. **Trigger Density (15%)**
|
|
36
|
+
3. **Mandatory Coverage (20%)**
|
|
37
|
+
4. **Security Sanitization (20%)**
|
|
38
|
+
5. **Doc Clarity (10%)**
|
|
39
|
+
6. **Edge Case Handling (10%)**
|
|
40
|
+
7. **Example Fidelity (10%)**
|
|
41
|
+
|
|
42
|
+
> [!IMPORTANT]
|
|
43
|
+
> In `--enterprise` mode, skills must achieve a minimum score of **7.0/10.0** to be loaded.
|
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
# MindForge Architecture Overview
|
|
2
2
|
|
|
3
|
-
MindForge
|
|
3
|
+
MindForge v5.0.0 is built on a distributed "Agentic OS" architecture, designed for enterprise-scale intelligence sharing and absolute governance.
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
## 1. Core Architectural Pillars
|
|
7
|
+
## 1. Core Architectural Pillars (v5.0.0)
|
|
8
8
|
|
|
9
|
-
The framework is
|
|
9
|
+
The framework is focused on six major pillars, with V5 introducing the **Distributed Intelligence** and **Policy Governance** layers:
|
|
10
10
|
|
|
11
|
-
1. **
|
|
12
|
-
2. **
|
|
13
|
-
3. **
|
|
14
|
-
4. **
|
|
11
|
+
1. **Federated Intelligence Mesh (FIM)**: Distributed knowledge sharing with delta-sync and cryptographic provenance. [V5-ENTERPRISE.md](./V5-ENTERPRISE.md)
|
|
12
|
+
2. **Agentic Policy Orchestrator (APO)**: Non-bypassable policy-as-code governance that intercepts autonomous intents.
|
|
13
|
+
3. **Predictive Agentic Reliability (PAR)**: Self-healing reasoning loops and context refactoring. [PAR-ZTS-SURVEY.md](./PAR-ZTS-SURVEY.md)
|
|
14
|
+
4. **Supply Chain Trust (ZTS)**: Agentic SBOM and 7-dimension skill certification. [PAR-ZTS-SURVEY.md](./PAR-ZTS-SURVEY.md)
|
|
15
|
+
5. **Zero-Trust Agentic Identity (ZTAI)**: DID-based cryptographic signing for all agentic actions and tiered trust enforcement.
|
|
16
|
+
6. **Adversarial Decision Synthesis (ADS)**: 3-model synthesis loop ensuring architectural integrity.
|
|
17
|
+
7. **Semantic Context Sharding**: Tri-tier memory (Hot/Warm/Cold) for high-fidelity context management.
|
|
18
|
+
8. **Autonomous Execution Engine**: Self-healing wave execution with stuck-detection and repair hierarchies.
|
|
15
19
|
|
|
16
20
|
---
|
|
17
21
|
|
|
@@ -21,8 +25,9 @@ MindForge uses a "Tiered Configuration" model allowing for global, organizationa
|
|
|
21
25
|
|
|
22
26
|
| Directory | Scope | Purpose |
|
|
23
27
|
| :--- | :--- | :--- |
|
|
28
|
+
| **EIS / Mesh** | `bin/memory` | Core FIM implementation (eis-client, federated-sync). |
|
|
29
|
+
| **Governance** | `bin/governance` | Core APO implementation (policy-engine, rbac-manager). |
|
|
24
30
|
| `.mindforge/` | System/Global | Core personas, core skills, and engine protocols. |
|
|
25
|
-
| `.mindforge/org/` | Organizational | Shared company standards and private skill registries. |
|
|
26
31
|
| `.agent/` | Project/Local | Project-specific configuration, hooks, and local skill overrides. |
|
|
27
32
|
| `.planning/` | Session/State | Ephemeral state, task blocks, and session handoffs. |
|
|
28
33
|
|
|
@@ -34,78 +39,40 @@ The `file-manifest.json` file in `.agent/` is the single source of truth for the
|
|
|
34
39
|
|
|
35
40
|
---
|
|
36
41
|
|
|
37
|
-
## 4. Runtime Execution Flow
|
|
42
|
+
## 4. Runtime Execution Flow (V5 Hardened)
|
|
38
43
|
|
|
39
|
-
1. **Context Loading**: Load `MINDFORGE.md` and `file-manifest.json
|
|
40
|
-
2. **
|
|
41
|
-
3. **
|
|
42
|
-
4. **
|
|
43
|
-
5. **
|
|
44
|
+
1. **Context Loading**: Load `MINDFORGE.md` and `file-manifest.json`.
|
|
45
|
+
2. **Identity Verification**: Resolve the agent's ZTAI identity and trust tier.
|
|
46
|
+
3. **Policy Interception**: The `APO` evaluates the task intent. If not **PERMIT**, the session is halted.
|
|
47
|
+
4. **Skill Discovery**: Match task intent against the 3-tier skill registry.
|
|
48
|
+
5. **Execution Wave**: Parallel task execution with continuous FIM synchronization.
|
|
49
|
+
6. **Audit Pulse**: All actions are cryptographically signed and appended to `.planning/AUDIT.jsonl`.
|
|
44
50
|
|
|
45
51
|
---
|
|
46
52
|
|
|
47
|
-
## 5.
|
|
53
|
+
## 5. Decision Records & Stability
|
|
48
54
|
|
|
49
|
-
MindForge provides stable interfaces for extension
|
|
55
|
+
MindForge provides stable interfaces for extension while documenting every major design shift via ADRs.
|
|
50
56
|
|
|
51
|
-
- **
|
|
52
|
-
- **
|
|
53
|
-
- **
|
|
54
|
-
- **
|
|
55
|
-
|
|
56
|
-
See [ADR-041](../adr/ADR-041-runtime-interfaces.md) for the stabilization contract.
|
|
57
|
+
- **ADR Index**: See [decision-records-index.md](./decision-records-index.md).
|
|
58
|
+
- **V3 Core**: See [V3-CORE.md](./V3-CORE.md).
|
|
59
|
+
- **V4 Mesh**: See [V4-SWARM-MESH.md](./V4-SWARM-MESH.md).
|
|
60
|
+
- **V5 Enterprise**: See [V5-ENTERPRISE.md](./V5-ENTERPRISE.md).
|
|
57
61
|
|
|
58
62
|
---
|
|
59
63
|
|
|
60
|
-
## 6. Semantic Memory Tiering (V3)
|
|
61
|
-
|
|
62
|
-
MindForge v2.4.0 introduces **Semantic Context Sharding**, a Tri-Tier memory architecture that optimizes context window usage for long-running engineering sessions.
|
|
64
|
+
## 6. Semantic Memory Tiering (V3/V4)
|
|
63
65
|
|
|
64
66
|
| Tier | Storage | Purpose | Retrieval |
|
|
65
67
|
| :--- | :--- | :--- | :--- |
|
|
66
68
|
| **HOT** | `HANDOFF.json` | Immediate task state and core ADRs (SRD > 0.8). | Loaded every session. |
|
|
67
|
-
| **WARM** | `.planning/memories/` | Phase-specific shards and active project context (SRD 0.5-0.8). | Proactive retrieval
|
|
68
|
-
| **COLD** | `.mindforge/memory
|
|
69
|
-
|
|
70
|
-
### SRD Scoring Engine
|
|
71
|
-
|
|
72
|
-
Semantic Relevance Density (SRD) is calculated using a weighted formula:
|
|
73
|
-
`SRD = (Decisiveness * 0.6) + (Frequency * 0.1) + (Impact * 0.3)`
|
|
74
|
-
|
|
75
|
-
### Integrity & Hardening
|
|
76
|
-
|
|
77
|
-
All shards are hardened with **SHA-256 Checksums** and **Semantic Tags** to prevent state drift and enable O(1) keyword-based context injection.
|
|
78
|
-
|
|
79
|
-
---
|
|
80
|
-
|
|
69
|
+
| **WARM** | `.planning/memories/` | Phase-specific shards and active project context (SRD 0.5-0.8). | Proactive retrieval. |
|
|
70
|
+
| **COLD** | `.mindforge/memory` | Global knowledge base and historical logs (SRD < 0.5). | Federated search (FIM). |
|
|
81
71
|
|
|
82
72
|
---
|
|
83
73
|
|
|
84
|
-
## 7. Adversarial Decision Synthesis (ADS)
|
|
74
|
+
## 7. Adversarial Decision Synthesis (ADS)
|
|
85
75
|
|
|
86
|
-
MindForge v3.0.0 introduces **Adversarial Decision Synthesis (ADS)**, a 3-model synthesis loop that ensures every architectural decision is battle-tested.
|
|
87
|
-
|
|
88
|
-
### The 3-Model Loop
|
|
89
|
-
|
|
90
|
-
1. **Blue Team (Architect)**: Proposes the initial high-performance plan.
|
|
91
|
-
2. **Red Team (Auditor)**: Hardened via "Jailbreak" protocol to identify at least 3 critical flaws (Maintainability, Complexity, Security).
|
|
92
|
-
3. **Gold Team (Synthesizer)**: Consolidates findings using the **SOUL.md** scoring algorithm.
|
|
93
|
-
|
|
94
|
-
### SOUL Decision Scoring
|
|
95
|
-
|
|
96
|
-
| Metric | Factor | Description |
|
|
97
|
-
| :--- | :--- | :--- |
|
|
98
|
-
| **I** | Impact | Overall system-wide importance of the change. |
|
|
99
|
-
| **L** | Leverage | How much this change unblocks future high-value work. |
|
|
100
|
-
| **R** | Reversibility | How easy it is to undo this change if it fails. |
|
|
101
|
-
| **E** | Effort | Total engineering complexity and time required. |
|
|
102
|
-
| **Ri** | Risk | Probability of breakage or system regression. |
|
|
103
|
-
| **C** | Cost | Token/Compute usage and infrastructure weight. |
|
|
104
|
-
|
|
105
|
-
**Formula**: `Score = (I * L * R) / (E * Ri * C)`
|
|
106
|
-
|
|
107
|
-
Decisions with a SOUL Score > 1.0 are considered architecturally sound.
|
|
76
|
+
MindForge v3.0.0 introduces **Adversarial Decision Synthesis (ADS)**, a 3-model synthesis loop that ensures every architectural decision is battle-tested using the **SOUL.md** scoring algorithm.
|
|
108
77
|
|
|
109
78
|
---
|
|
110
|
-
|
|
111
|
-
## 8. Stability & Extension
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# Architecture: V4 Swarm Mesh Paradigm
|
|
2
|
+
|
|
3
|
+
## 1. Overview
|
|
4
|
+
|
|
5
|
+
MindForge V4 introduces the **Swarm Mesh**, a decentralized multi-agent orchestration model. Unlike the sequential subagent model of previous versions, the Mesh enables **Dynamic Task-Aware Clusters** that execute in parallel with shared state and unified governance.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## 2. Core Components
|
|
10
|
+
|
|
11
|
+
### I. SwarmController
|
|
12
|
+
The central engine logic that handles:
|
|
13
|
+
- **Complexity Analysis**: Deciding if a task requires a single agent or a specialist cluster.
|
|
14
|
+
|
|
15
|
+
- **Cluster Spawning**: Selecting the optimal swarm template based on tech stack and task category.
|
|
16
|
+
|
|
17
|
+
- **Identity Governance**: Validating **ZTAI (Zero-Trust Agentic Identity)** trust tiers and verifying cryptographic signatures for specialized results.
|
|
18
|
+
|
|
19
|
+
### II. PersonaFactory (Micro-Personas)
|
|
20
|
+
Dynamically creates specialized "Micro-Personas" on-the-fly by:
|
|
21
|
+
- Patching base personas (e.g., `developer`) with **Context7** library insights.
|
|
22
|
+
- Injecting task-specific imperative rules and role specializations.
|
|
23
|
+
|
|
24
|
+
### III. Mesh Parallelism (WaveExecutor)
|
|
25
|
+
The `WaveExecutor` has been refactored to support:
|
|
26
|
+
- **Parallel Swarm Spawning**: Multiple specialists (e.g., UI Auditor + Accessibility Specialist) working on the same branch simultaneously.
|
|
27
|
+
|
|
28
|
+
- **Shared State (`SWARM-STATE.json`)**: Real-time coordination and conflict avoidance between swarm members.
|
|
29
|
+
|
|
30
|
+
- **Consolidation Protocol**: The Swarm Leader synthesizes all findings into a unified `SWARM-SUMMARY.md`.
|
|
31
|
+
|
|
32
|
+
### IV. MindForge Nexus: ART (Agentic Reasoning Tracing)
|
|
33
|
+
The definitive observability layer for the mesh:
|
|
34
|
+
- **Reasoning Spans**: Hierarchical tracking of every "thought" and decision point.
|
|
35
|
+
- **Trace Propagation**: Context-aware trace IDs that link waves, tasks, and clusters.
|
|
36
|
+
- **Audit Integration**: Direct link to `.planning/AUDIT.jsonl` via `trace_id` and `span_id`.
|
|
37
|
+
|
|
38
|
+
### V. Global Intelligence Mesh (The Hub)
|
|
39
|
+
The foundation for cross-repository organizational memory:
|
|
40
|
+
- **Semantic Hub**: Syncs local knowledge pieces with the global organizational store (`~/.mindforge/`).
|
|
41
|
+
- **Ghost Pattern Detection**: Proactive risk matching that prevents repeating known organizational failures at the planning stage.
|
|
42
|
+
- **Repository Graph**: Every repo in the mesh contributes to a shared understanding of architectural success and failure.
|
|
43
|
+
|
|
44
|
+
### VI. Autonomous FinOps Hub (Economics)
|
|
45
|
+
MindForge integrates an **Autonomous FinOps Hub** that treats compute as a first-class resource. The `ModelBroker` utilizes a **Confidence-to-Cost (C2C)** engine to dynamically route tasks based on complexity and trust tier, ensuring maximum ROI without compromising safety.
|
|
46
|
+
|
|
47
|
+
### VII. Proactive Equilibrium (Reliability)
|
|
48
|
+
The system achieves **Proactive Equilibrium** through a `WaveFeedbackLoop`. If execution divergence exceeds 20%, the system triggers **Temporal Hindsight**—an automated RCA process that rewrites the phase plan to stay within project guardrails.
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## 3. Swarm Governance (v4.2)
|
|
53
|
+
|
|
54
|
+
Every swarm cluster operates under strict enterprise governance rules:
|
|
55
|
+
|
|
56
|
+
- **Decision Gates**: Use of "Human-in-the-Loop" (HITL) for high-risk Tier 3 actions.
|
|
57
|
+
|
|
58
|
+
- **Resource Budgets**: FinOps-aware routing to optimal models based on the cluster's defined confidence-to-cost (C2C) ratio.
|
|
59
|
+
|
|
60
|
+
- **Audit Trails**: Non-repudiable logs signed by each agent's unique **Decentralized Identifier (DID)**.
|
|
61
|
+
|
|
62
|
+
- **Identity Hardening (Beast Mode)**: High-tier agents (T3) use asymmetric keys anchored in a simulated **Secure Enclave (HSM)**.
|
|
63
|
+
- **Integrity Proofs**: All audit blocks are finalized with **Merkle-root payloads** signed by the archiver to prevent tampering.
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
## 4. Swarm Lifecycle
|
|
68
|
+
|
|
69
|
+
1. **Detection**: `SwarmController` detects target files and estimates task difficulty.
|
|
70
|
+
2. **Cluster Assembly**: `PersonaFactory` assembles the micro-persona specialist group.
|
|
71
|
+
3. **Execution**: Parallel execution waves with shared JSON state synchronization.
|
|
72
|
+
4. **Consolidation**: Leader-led summary and plan update.
|
|
73
|
+
5. **Verification**: Adversarial audit by the `mf-reviewer` or assigned swarm auditor.
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
*This document defines the architectural standard for MindForge V4 Swarm Orchestration.*
|