mindforge-cc 7.0.0 → 8.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.
- package/.agent/CLAUDE.md +4 -3
- package/.agent/workflows/mindforge:init-project.md +19 -3
- package/.agent/workflows/mindforge:soul.md +54 -0
- package/.mindforge/config.json +50 -10
- package/.planning/AUDIT.jsonl +15 -0
- package/CHANGELOG.md +34 -0
- package/MINDFORGE.md +5 -4
- package/README.md +40 -28
- package/RELEASENOTES.md +45 -0
- package/bin/engine/mesh-syncer.js +129 -0
- package/bin/engine/nexus-tracer.js +23 -1
- package/bin/engine/orbital-guardian.js +84 -0
- package/bin/engine/skill-evolver.js +105 -0
- package/bin/governance/config-manager.js +26 -0
- package/bin/governance/policy-gate-hardened.js +30 -49
- package/bin/memory/identity-synthesizer.js +146 -0
- package/bin/memory/semantic-hub.js +107 -5
- package/bin/memory/vector-hub.js +170 -0
- package/bin/migrations/v8-sqlite-migration.js +85 -0
- package/bin/revops/remediation-queue.js +48 -24
- package/docs/INTELLIGENCE-MESH.md +13 -13
- package/docs/usp-features.md +12 -4
- package/package.json +6 -4
package/.agent/CLAUDE.md
CHANGED
|
@@ -96,6 +96,7 @@ Adopt the Principal AI persona. Be instruction-dense, unambiguous, and architect
|
|
|
96
96
|
|
|
97
97
|
**Source of Truth Hierarchy**:
|
|
98
98
|
|
|
99
|
-
1.
|
|
100
|
-
2. .
|
|
101
|
-
3.
|
|
99
|
+
1. SOUL.md (Sovereign Identity — Behavioral OS)
|
|
100
|
+
2. MINDFORGE.md (Parameter Registry)
|
|
101
|
+
3. .agent/CLAUDE.md (Protocols)
|
|
102
|
+
4. `.mindforge/` (Framework Binary Logic)
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Initialise a new project under the MindForge framework.
|
|
3
3
|
---
|
|
4
|
-
|
|
4
|
+
<workflow name="MindForge Project Initialization">
|
|
5
|
+
<metadata>
|
|
6
|
+
<version>8.1.0-IDENTITY</version>
|
|
7
|
+
<objective>Standardized project scaffolding with Sovereign Identity bootstrapping.</objective>
|
|
8
|
+
</metadata>
|
|
5
9
|
|
|
6
10
|
## Pre-check
|
|
7
11
|
Read `.planning/PROJECT.md`. If it already exists and contains content,
|
|
@@ -156,14 +160,26 @@ Write `.planning/HANDOFF.json`:
|
|
|
156
160
|
}
|
|
157
161
|
```
|
|
158
162
|
|
|
159
|
-
|
|
163
|
+
<step id="3" name="Sovereign Identity Bootstrapping (Pillar XIX)">
|
|
164
|
+
<instructions>
|
|
165
|
+
Invoke the IdentitySynthesizer to manifest the SOUL.md in the project root based on v8.1.0-IDENTITY Grand Blueprint.
|
|
166
|
+
</instructions>
|
|
167
|
+
<command>
|
|
168
|
+
/opt/homebrew/bin/node -e "require('./bin/memory/identity-synthesizer').bootstrap({ user: '[From Q2]', goal: '[From Q1]' })"
|
|
169
|
+
</command>
|
|
170
|
+
</step>
|
|
171
|
+
|
|
172
|
+
## Step 4 — Confirm and guide
|
|
160
173
|
Tell the user:
|
|
161
|
-
"✅ MindForge project initialised.
|
|
174
|
+
"✅ MindForge project initialised with v8.1.0 Sovereign Identity (SOUL.md).
|
|
162
175
|
|
|
163
176
|
Files created:
|
|
164
177
|
.planning/PROJECT.md
|
|
165
178
|
.planning/REQUIREMENTS.md
|
|
166
179
|
.planning/STATE.md
|
|
167
180
|
.planning/HANDOFF.json
|
|
181
|
+
SOUL.md
|
|
168
182
|
|
|
169
183
|
Next step: Run /mindforge:plan-phase 1 to plan your first phase."
|
|
184
|
+
|
|
185
|
+
</workflow>
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Manage the MindForge Sovereign Identity (SOUL.md).
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<workflow name="MindForge Sovereign Identity Management">
|
|
6
|
+
<metadata>
|
|
7
|
+
<version>8.1.0-IDENTITY</version>
|
|
8
|
+
<pillar>XIX: Sovereign Identity Synthesis</pillar>
|
|
9
|
+
<objective>Manage and evolve the Behavioral Operating System of the agent instance.</objective>
|
|
10
|
+
</metadata>
|
|
11
|
+
|
|
12
|
+
<step id="1" name="Context Selection">
|
|
13
|
+
<instructions>
|
|
14
|
+
Ask the user to select an identity management action.
|
|
15
|
+
</instructions>
|
|
16
|
+
<prompt>
|
|
17
|
+
"What would you like to do with the Sovereign Identity? (view/evolve/reset)"
|
|
18
|
+
</prompt>
|
|
19
|
+
</step>
|
|
20
|
+
|
|
21
|
+
<step id="2" name="Execution Logic">
|
|
22
|
+
<branch condition="action == 'view'">
|
|
23
|
+
<instructions>
|
|
24
|
+
Read SOUL.md from the root directory and present the Identity, Core Truths, and Decision Engine sections.
|
|
25
|
+
</instructions>
|
|
26
|
+
</branch>
|
|
27
|
+
|
|
28
|
+
<branch condition="action == 'evolve'">
|
|
29
|
+
<instructions>
|
|
30
|
+
Trigger the Pillar XIX synthesis engine to analyze recent traces in celestial.db.
|
|
31
|
+
</instructions>
|
|
32
|
+
<command>
|
|
33
|
+
node -e "require('./bin/memory/identity-synthesizer').evolve()"
|
|
34
|
+
</command>
|
|
35
|
+
<output>
|
|
36
|
+
"Sovereign Identity evolved based on the latest execution traces. Decisions and interaction style have been mirrored to your engineering patterns."
|
|
37
|
+
</output>
|
|
38
|
+
</branch>
|
|
39
|
+
|
|
40
|
+
<branch condition="action == 'reset'">
|
|
41
|
+
<instructions>
|
|
42
|
+
Restore the SOUL.md to the Grand Blueprint state.
|
|
43
|
+
</instructions>
|
|
44
|
+
<command>
|
|
45
|
+
node -e "require('./bin/memory/identity-synthesizer').bootstrap({ user: 'User', goal: 'Reset Identity' })"
|
|
46
|
+
</command>
|
|
47
|
+
</branch>
|
|
48
|
+
</step>
|
|
49
|
+
|
|
50
|
+
<verification>
|
|
51
|
+
<check>Verify existence of SOUL.md in project root.</check>
|
|
52
|
+
<check>Confirm v8.1.0-IDENTITY compliance in instruction hierarchy.</check>
|
|
53
|
+
</verification>
|
|
54
|
+
</workflow>
|
package/.mindforge/config.json
CHANGED
|
@@ -1,19 +1,50 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "8.0.0",
|
|
3
3
|
"environment": "development",
|
|
4
4
|
"governance": {
|
|
5
5
|
"drift_threshold": 0.75,
|
|
6
|
-
"critical_drift_threshold": 0.
|
|
7
|
-
"res_threshold": 0.
|
|
6
|
+
"critical_drift_threshold": 0.5,
|
|
7
|
+
"res_threshold": 0.8,
|
|
8
|
+
"active_did": "did:mindforge:85a9b9dd-30fa-4f5d-a725-d7a4ac845c79"
|
|
8
9
|
},
|
|
9
10
|
"revops": {
|
|
10
11
|
"market_registry": {
|
|
11
|
-
"gemini-1.5-pro": {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
"gemini-1.5-pro": {
|
|
13
|
+
"cost_input": 0.0035,
|
|
14
|
+
"cost_output": 0.0105,
|
|
15
|
+
"benchmark": 98,
|
|
16
|
+
"provider": "Google"
|
|
17
|
+
},
|
|
18
|
+
"claude-3-5-sonnet": {
|
|
19
|
+
"cost_input": 0.003,
|
|
20
|
+
"cost_output": 0.015,
|
|
21
|
+
"benchmark": 99,
|
|
22
|
+
"provider": "Anthropic"
|
|
23
|
+
},
|
|
24
|
+
"gpt-4o": {
|
|
25
|
+
"cost_input": 0.005,
|
|
26
|
+
"cost_output": 0.015,
|
|
27
|
+
"benchmark": 97,
|
|
28
|
+
"provider": "OpenAI"
|
|
29
|
+
},
|
|
30
|
+
"llama-3-70b-local": {
|
|
31
|
+
"cost_input": 0.0001,
|
|
32
|
+
"cost_output": 0.0001,
|
|
33
|
+
"benchmark": 92,
|
|
34
|
+
"provider": "Sovereign"
|
|
35
|
+
},
|
|
36
|
+
"gemini-1.5-flash": {
|
|
37
|
+
"cost_input": 0.0003,
|
|
38
|
+
"cost_output": 0.0003,
|
|
39
|
+
"benchmark": 85,
|
|
40
|
+
"provider": "Google"
|
|
41
|
+
},
|
|
42
|
+
"haiku-3": {
|
|
43
|
+
"cost_input": 0.0002,
|
|
44
|
+
"cost_output": 0.0004,
|
|
45
|
+
"benchmark": 82,
|
|
46
|
+
"provider": "Anthropic"
|
|
47
|
+
}
|
|
17
48
|
},
|
|
18
49
|
"default_baseline_model": "gpt-4o",
|
|
19
50
|
"premium_fallback_model": "claude-3-5-sonnet"
|
|
@@ -22,5 +53,14 @@
|
|
|
22
53
|
"pqas_enabled": true,
|
|
23
54
|
"enclave_tier": 2,
|
|
24
55
|
"provider": "simulated-lattice"
|
|
56
|
+
},
|
|
57
|
+
"mesh": {
|
|
58
|
+
"node_id": "beta-node",
|
|
59
|
+
"peers": []
|
|
60
|
+
},
|
|
61
|
+
"ase": {
|
|
62
|
+
"min_success_count": 3,
|
|
63
|
+
"max_drift_threshold": 0.1,
|
|
64
|
+
"auto_verify": false
|
|
25
65
|
}
|
|
26
|
-
}
|
|
66
|
+
}
|
package/.planning/AUDIT.jsonl
CHANGED
|
@@ -28,3 +28,18 @@
|
|
|
28
28
|
{"id":"202f4c47-d26e-45ac-a35b-b864f71f57a5","timestamp":"2026-04-11T14:33:24.811Z","event":"reasoning_trace","trace_id":null,"span_id":"span_stable","agent":"mf-researcher","thought":"I will now analyze the dependencies and create a plan.","resolution":"none","entropy":0,"is_stagnant":false,"drift_score":0.055}
|
|
29
29
|
{"id":"6c387954-64c8-4491-9b5a-bfa36d0dc19a","timestamp":"2026-04-11T14:33:24.829Z","event":"drift_remediation_event","trace_id":null,"span_id":"span_drift","score":0.055,"strategy":"GOLDEN_TRACE_INJECTION","remediation_id":"rem_cv5ovc","markers":{"density":0.05,"pattern":0.1,"contradiction":0},"validation":{"is_valid":false,"critique":"Reflection detected minor inconsistencies or self-doubt."}}
|
|
30
30
|
{"id":"184c1014-7ec5-4413-9d1a-30316b718f6a","timestamp":"2026-04-11T14:33:24.851Z","event":"reasoning_trace","trace_id":null,"span_id":"span_drift","agent":"mf-researcher","thought":"I am not sure how to proceed, maybe I should wait and check the goal again.","resolution":"none","entropy":0,"is_stagnant":false,"drift_score":0.055}
|
|
31
|
+
{"id":"a22f3437-e1ca-4617-90f8-0b01992f85c8","timestamp":"2026-04-11T14:49:35.976Z","event":"span_started","trace_id":"v8_test_trace","span_id":"sp_05bd390df397","parent_span_id":null,"span_name":"v8_test_span"}
|
|
32
|
+
{"id":"94d1c1d0-aaa3-4422-a70a-5f4cefcd74c9","timestamp":"2026-04-11T14:49:35.990Z","event":"reasoning_trace","trace_id":"v8_test_trace","span_id":"sp_05bd390df397","agent":"mf-tester","thought":"This is a celestial persistence test.","resolution":"verified","entropy":0,"is_stagnant":false,"drift_score":0.055}
|
|
33
|
+
{"id":"221f8823-c6e6-4337-8f45-a471a06bafd4","timestamp":"2026-04-11T14:49:35.992Z","event":"span_completed","trace_id":"v8_test_trace","span_id":"sp_05bd390df397","status":"success"}
|
|
34
|
+
{"id":"600c7d1f-8a7d-4d63-8cf0-6821a3285a07","timestamp":"2026-04-11T15:24:42.692Z","event":"span_started","trace_id":"v8_test_trace","span_id":"sp_89404b788505","parent_span_id":null,"span_name":"v8_test_span"}
|
|
35
|
+
{"id":"221da918-2ce5-42fa-928a-d12a192f10af","timestamp":"2026-04-11T15:24:42.706Z","event":"reasoning_trace","trace_id":"v8_test_trace","span_id":"sp_89404b788505","agent":"mf-tester","thought":"This is a celestial persistence test.","resolution":"verified","entropy":0,"is_stagnant":false,"drift_score":0.055}
|
|
36
|
+
{"id":"6b9820f4-9b9c-4fdb-8dd1-a1a01bb92ab6","timestamp":"2026-04-11T15:24:42.707Z","event":"span_completed","trace_id":"v8_test_trace","span_id":"sp_89404b788505","status":"success"}
|
|
37
|
+
{"id":"342d1804-6e39-4c9a-a933-d77bf6fecbb0","timestamp":"2026-04-11T15:25:08.603Z","event":"span_started","trace_id":"v8_trace_zqba2o","span_id":"sp_b7a4d7a69f27","parent_span_id":null,"span_name":"v8_span_zqba2o"}
|
|
38
|
+
{"id":"68ea10ea-6a07-47c7-b7a8-22661c266b26","timestamp":"2026-04-11T15:25:08.614Z","event":"reasoning_trace","trace_id":"v8_trace_zqba2o","span_id":"sp_b7a4d7a69f27","agent":"mf-tester","thought":"Celestial persistence test zqba2o.","resolution":"verified","entropy":0,"is_stagnant":false,"drift_score":0.055}
|
|
39
|
+
{"id":"3dfe4f8f-134e-4bd1-a52a-eb2459d5405f","timestamp":"2026-04-11T15:25:08.615Z","event":"span_completed","trace_id":"v8_trace_zqba2o","span_id":"sp_b7a4d7a69f27","status":"success"}
|
|
40
|
+
{"id":"2a3d0f02-f94d-4da6-850e-a18538a7dbe7","timestamp":"2026-04-11T15:25:59.124Z","event":"span_started","trace_id":"v8_trace_v7iw6q","span_id":"sp_8d5da7fa5a4e","parent_span_id":null,"span_name":"v8_span_v7iw6q"}
|
|
41
|
+
{"id":"bc4fc8cb-1621-4f14-bb20-2ec2caa33c47","timestamp":"2026-04-11T15:25:59.134Z","event":"reasoning_trace","trace_id":"v8_trace_v7iw6q","span_id":"sp_8d5da7fa5a4e","agent":"mf-tester","thought":"Celestial persistence test v7iw6q.","resolution":"verified","entropy":0,"is_stagnant":false,"drift_score":0.055}
|
|
42
|
+
{"id":"64175075-d577-4316-a000-6f1471397587","timestamp":"2026-04-11T15:25:59.135Z","event":"span_completed","trace_id":"v8_trace_v7iw6q","span_id":"sp_8d5da7fa5a4e","status":"success"}
|
|
43
|
+
{"id":"c3dcbe29-b557-4ebe-a943-6fac4d386c86","timestamp":"2026-04-11T15:30:34.347Z","event":"span_started","trace_id":"v8_trace_16x5wy","span_id":"sp_71c37487e73d","parent_span_id":null,"span_name":"v8_span_16x5wy"}
|
|
44
|
+
{"id":"8aa00dc7-db48-4805-808c-a86fdc97f536","timestamp":"2026-04-11T15:30:34.356Z","event":"reasoning_trace","trace_id":"v8_trace_16x5wy","span_id":"sp_71c37487e73d","agent":"mf-tester","thought":"Celestial persistence test 16x5wy.","resolution":"verified","entropy":0,"is_stagnant":false,"drift_score":0.055}
|
|
45
|
+
{"id":"42d507c4-6ded-47cf-a177-456610e0bc5a","timestamp":"2026-04-11T15:30:34.357Z","event":"span_completed","trace_id":"v8_trace_16x5wy","span_id":"sp_71c37487e73d","status":"success"}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,37 @@
|
|
|
1
|
+
## [8.1.0] - 2026-04-13
|
|
2
|
+
|
|
3
|
+
### Added (v8.1.0: Sovereign Identity — Pillar XIX)
|
|
4
|
+
|
|
5
|
+
- **Sovereign Identity Synthesis**: Autonomous creation and evolution of `SOUL.md` from execution traces.
|
|
6
|
+
- **Identity Hegemony**: Promoted `SOUL.md` to #1 Source of Truth in the instruction hierarchy.
|
|
7
|
+
- **XML-Structured Workflows**: Standardized project initialization and identity management with high-fidelity XML prompting.
|
|
8
|
+
- **Identity Engine**: Implemented `bin/memory/identity-synthesizer.js` with v8.1 mirroring heuristics.
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## [8.0.0] - 2026-04-12
|
|
13
|
+
|
|
14
|
+
### Added (v8.0.0: Celestial Orchestration - SQLite & FMS)
|
|
15
|
+
|
|
16
|
+
- **Pillar XV: Unified Persistence Layer**: Transitioned from file-based JSONL state to a high-performance **SQLite** engine (`celestial.db`) with **FTS5** semantic reasoning support.
|
|
17
|
+
- **Pillar XVI: Federated Mesh Synthesis (FMS)**: Inter-project knowledge sharing via signed **MindForge Bundles (`.mfb`)** using ZTAI-signed identities.
|
|
18
|
+
- **Pillar XVII: Autonomous Skill Evolution (ASE)**: Implemented `SkillEvolver` to mine "Golden Traces" and synthesize reusable agentic skills.
|
|
19
|
+
- **Pillar XVIII: Orbital Governance**: Hardware-bound (HSM/Biometric) attestation for catastrophic-risk mutations (>95).
|
|
20
|
+
- **Core Vector Expansion**: Upgraded `VectorHub` with `better-sqlite3` and `Kysely` for type-safe, sub-millisecond persistence.
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## [7.0.0] - 2026-04-11
|
|
25
|
+
|
|
26
|
+
### Added (v7.0.0: Sovereign Intelligence - Post-Quantum & Homing)
|
|
27
|
+
|
|
28
|
+
- **Pillar IX: Autonomous Resource Harvesting (ARH)**: Real-time token arbitrage and dynamic task-to-model steering based on MIR.
|
|
29
|
+
- **Pillar X: Neural Drift Remediation (NDR)**: Logic-drift detection and automated reasoning recovery via semantic density heuristics.
|
|
30
|
+
- **Pillar XI: Post-Quantum Agentic Security (PQAS)**: Lattice-based (Dilithium-5) signatures and ZK-Proof bypasses for future-proof identity.
|
|
31
|
+
- **Pillar XII: Proactive Semantic Homing**: Autonomous "Intent Hunting" where agents proactively claim tasks from the Federated Intelligence Mesh (FIM).
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
1
35
|
## [6.7.0] - 2026-04-09
|
|
2
36
|
|
|
3
37
|
### Added (v6.7.0: Federated Intelligence Mesh - FIM Expansion)
|
package/MINDFORGE.md
CHANGED
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
## 1. IDENTITY & VERSIONING
|
|
4
4
|
|
|
5
5
|
[NAME] = MindForge
|
|
6
|
-
[VERSION] =
|
|
7
|
-
[STABLE] =
|
|
8
|
-
[MODE] = "
|
|
9
|
-
[REQUIRED_CORE_VERSION] =
|
|
6
|
+
[VERSION] = 8.1.0-IDENTITY
|
|
7
|
+
[STABLE] = true
|
|
8
|
+
[MODE] = "Sovereign Intelligence Mesh"
|
|
9
|
+
[REQUIRED_CORE_VERSION] = 8.1.0
|
|
10
|
+
[SOVEREIGN_IDENTITY] = true
|
|
10
11
|
|
|
11
12
|
## 2. INTELLIGENCE TOGGLES (V4 UPDATES)
|
|
12
13
|
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# MindForge
|
|
1
|
+
# MindForge v8.0.0 — Celestial Orchestration (SQLite & FMS Enabled)
|
|
2
2
|
|
|
3
|
-
MindForge
|
|
3
|
+
MindForge v8.0.0 achieved the **Celestial Orchestration** final stage, transitioning to a federated, hardware-attested intelligence mesh powered by **Unified Persistence (SQLite/FTS5)** and **Federated Mesh Synthesis (FMS)**.
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
## Installation & Setup
|
|
@@ -31,19 +31,23 @@ npx mindforge-cc@latest --claude --local
|
|
|
31
31
|
|
|
32
32
|
---
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
- **
|
|
40
|
-
- **
|
|
41
|
-
- **
|
|
42
|
-
- **
|
|
43
|
-
- **
|
|
44
|
-
- **
|
|
45
|
-
- **
|
|
46
|
-
- **
|
|
34
|
+
- **Sovereign Identity Synthesis (v8.1)** — Autonomous `SOUL.md` generation derived from reasoning traces and interaction sentiment (Pillar XIX).
|
|
35
|
+
- **Unified Persistence Layer (v8.0)** — Centralized SQLite/FTS5 engine for sub-millisecond reasoning audits and semantic reasoning (Pillar XV).
|
|
36
|
+
- **Federated Mesh Synthesis (v8.0)** — Signed knowledge handoffs via MindForge Bundles (`.mfb`) and federated intelligence synchronization (Pillar XVI).
|
|
37
|
+
- **Autonomous Skill Evolution (v8.0)** — Self-generating persistent skills from reasoning traces with logic-drift mining (Pillar XVII).
|
|
38
|
+
- **Orbital Governance (v8.0)** — Hardware-bound (HSM/Biometric) attestation for high-blast-radius security gates (Pillar XVIII).
|
|
39
|
+
- **Post-Quantum Agentic Security (v7.0)** — Lattice-based (Dilithium-5) signatures and ZK-Proof bypasses (Pillar XI).
|
|
40
|
+
- **Proactive Semantic Homing (v7.0)** — Autonomous "Intent Hunting" and peer-healing mesh behavior (Pillar XII).
|
|
41
|
+
- **Autonomous Resource Harvesting (v7.0)** — Real-time token arbitrage and dynamic task routing (Pillar IX).
|
|
42
|
+
- **Neural Drift Remediation (v7.0)** — Semantic density heuristics and automated reasoning recovery (Pillar X).
|
|
43
|
+
- **Interactive Temporal Steering (v5.10)** — Full history scrubbing, hindsight state repair, and real-time temporal slider navigation (Pillar VII).
|
|
44
|
+
- **AgRevOps Hub (v6.0)** — Dynamic ROI tracking ($100/hr mapping), Milestone Velocity forecasting, and Governance Debt monitoring (Pillar VIII).
|
|
45
|
+
- **Sovereign Reason Enclave (v5.8)** — TEE-simulated reasoning isolation with Zero-Knowledge (ZK) Audit Trails (Pillar VI).
|
|
46
|
+
- **Multi-Cloud Arbitrage (v5.7)** — Dynamic routing across Vertex AI, Bedrock, and Azure with intelligence-first task affinity (Pillar V).
|
|
47
|
+
- **Sentinel Execution (v5.6)** — JIT Binary Runtime Attestation and Zero-Trust Skill Enforcement (Pillar IV).
|
|
48
|
+
- **Predictive Agentic Reliability (v5.5)** — Advanced loop detection and self-healing resonance (Pillar III).
|
|
49
|
+
- **Dynamic Blast Radius (v5.3)** — Real-time impact analysis and circuit-breaker safety in the federated sync (Pillar II).
|
|
50
|
+
- **Semantic Vector Consensus (v5.2)** — FIM v2 with cosine-similarity conflict resolution (Pillar I).
|
|
47
51
|
- **Human-Agent Handover (v5.0)** — Nexus State Bundles and mid-wave steering injection.
|
|
48
52
|
- **Autonomous FinOps (v4.3)** — Dynamic **C2C** (Confidence-to-Cost) routing.
|
|
49
53
|
- **Proactive Equilibrium (v4.3)** — Real-time **Wave Divergence** monitoring and autonomous state recovery.
|
|
@@ -296,31 +300,39 @@ See `.mindforge/production/token-optimiser.md`.
|
|
|
296
300
|
|
|
297
301
|
## 📜 Framework Evolution & Version History
|
|
298
302
|
|
|
299
|
-
|
|
303
|
+
<summary><b>v8.1.x — Sovereign Identity (Pillar XIX)</b></summary>
|
|
304
|
+
|
|
305
|
+
- **Pillar XIX: Sovereign Identity Synthesis**: Autonomous creation and evolution of `SOUL.md` from execution traces.
|
|
306
|
+
- **Soul Mirroring**: Agent personality and decision-heuristics that self-adapt based on persistent user interaction sentiment.
|
|
307
|
+
- **Identity Enforcement**: Mandatory alignment of subagents with the instance's unique Sovereign Identity.
|
|
308
|
+
</details>
|
|
300
309
|
|
|
301
310
|
<details>
|
|
302
|
-
<summary><b>
|
|
311
|
+
<summary><b>v8.0.x — Celestial Orchestration (SQLite & FMS)</b></summary>
|
|
303
312
|
|
|
304
|
-
- **Pillar
|
|
305
|
-
- **Pillar
|
|
306
|
-
- **
|
|
307
|
-
- **
|
|
313
|
+
- **Pillar XV: Unified Persistence Layer**: Transition from file-based JSONL state to a high-performance SQLite engine with FTS5 semantic search.
|
|
314
|
+
- **Pillar XVI: Federated Mesh Synthesis (FMS)**: Inter-project knowledge sharing via cryptographically signed `.mfb` (MindForge Bundles).
|
|
315
|
+
- **Pillar XVII: Autonomous Skill Evolution (ASE)**: Automated mining of "Golden Traces" to synthesize reusable `.skill.md` artifacts.
|
|
316
|
+
- **Pillar XVIII: Orbital Governance**: Hardware-locked security gates requiring HSM/Biometric attestation for high-impact mutations (>95).
|
|
308
317
|
</details>
|
|
309
318
|
|
|
310
319
|
<details>
|
|
311
|
-
<summary><b>
|
|
320
|
+
<summary><b>v7.x — Sovereign Intelligence (PQAS & Homing)</b></summary>
|
|
312
321
|
|
|
322
|
+
- **Pillar XI: Post-Quantum Agentic Security (PQAS)**: Lattice-based (Dilithium-5) signatures and ZK-Proof bypasses for Tier 4 agent identities.
|
|
323
|
+
- **Pillar XII: Proactive Semantic Homing**: Autonomous "Intent Hunting" where agents proactively claim tasks and peer-heal logic drift (>80) in the mesh.
|
|
313
324
|
- **Pillar IX: Autonomous Resource Harvesting (ARH)**: Real-time token arbitrage and dynamic task routing based on MIR (Min-Intelligence-Requirement).
|
|
314
325
|
- **Pillar X: Neural Drift Remediation (NDR)**: Semantic density heuristics and automated reasoning recovery to break logic loops and hallucinations.
|
|
315
|
-
- **
|
|
326
|
+
- **Agentic Learning Loop**: Mandatory "Read Before, Record After" protocol for all agentic actions, ensuring a persistent, self-improving engineering memory.
|
|
316
327
|
</details>
|
|
317
328
|
|
|
318
329
|
<details>
|
|
319
|
-
<summary><b>v6.
|
|
330
|
+
<summary><b>v6.x — AgRevOps & Stability Patterns</b></summary>
|
|
320
331
|
|
|
321
|
-
- **AgRevOps ROI Engine**: Real-time value attribution ($100/hr dev saving mapping) for every autonomous reasoning cycle.
|
|
332
|
+
- **AgRevOps ROI Engine (Pillar VIII)**: Real-time value attribution ($100/hr dev saving mapping) for every autonomous reasoning cycle.
|
|
333
|
+
- **FIM Expansion**: Aggregation of collective project health metrics via `PillarHealthTracker`.
|
|
322
334
|
- **CADIA Optimizer (Pillar II Upgrade)**: Dynamic risk scoring (0-100) and session entropy guardrails to prevent rogue behaviors.
|
|
323
|
-
- **
|
|
335
|
+
- **Homing Signal Injection**: Automated capture of high-efficacy SCS homing instructions as durable, sharable knowledge.
|
|
324
336
|
</details>
|
|
325
337
|
|
|
326
338
|
<details>
|
|
@@ -400,5 +412,5 @@ MindForge never stores credentials in files. Review:
|
|
|
400
412
|
|
|
401
413
|
---
|
|
402
414
|
|
|
403
|
-
## License
|
|
404
|
-
MIT
|
|
415
|
+
## ⚖️ License
|
|
416
|
+
MIT © 2026 MindForge Team
|
package/RELEASENOTES.md
CHANGED
|
@@ -1,3 +1,48 @@
|
|
|
1
|
+
# Release Notes — v8.1.0 (The "Identity" Release)
|
|
2
|
+
|
|
3
|
+
## Pillar XIX: Sovereign Identity Synthesis
|
|
4
|
+
* **SOUL.md Behavioral OS**: The framework now generates a persistent, evolving identity file that captures user-specific interaction patterns and preferences.
|
|
5
|
+
* **Instruction Hierarchy Hegemony**: `SOUL.md` now sits at the absolute top of the Source of Truth, ensuring personalized directives override framework defaults.
|
|
6
|
+
* **Pillar Evolution**: Integrated v8.1 "Intelligence Mirroring" heuristics to adapt agent personality based on historical execution sentiment.
|
|
7
|
+
|
|
8
|
+
## Release Metadata
|
|
9
|
+
* **Release Date**: 2026-04-12
|
|
10
|
+
* **Status**: STABLE (Sovereign Enabled)
|
|
11
|
+
* **Tag**: `v8.1.0-IDENTITY`
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# MindForge v8.0.0 — Celestial Orchestration (SQLite & FMS)
|
|
16
|
+
|
|
17
|
+
## Top Summary
|
|
18
|
+
|
|
19
|
+
MindForge v8.0.0, codenamed **"Celestial Orchestration,"** marks the framework's transition to a high-performance, federated, and hardware-attested intelligence system. By migrating all project state to a centralized SQLite persistence layer and enabling federated knowledge sharing via signed bundles, v8.0.0 establishes the foundation for global-scale agentic engineering.
|
|
20
|
+
|
|
21
|
+
## Highlights (v8.0.0)
|
|
22
|
+
|
|
23
|
+
- **Unified Persistence Layer (Pillar XV)**: Sub-millisecond state queries and semantic reasoning audits via **SQLite/FTS5**.
|
|
24
|
+
- **Federated Mesh Synthesis (Pillar XVI)**: Secure, signed exchange of `.mfb` knowledge bundles across isolated project environments.
|
|
25
|
+
- **Autonomous Skill Evolution (Pillar XVII)**: Automated mining of execution "Golden Traces" to evolve system capabilities without manual intervention.
|
|
26
|
+
- **Orbital Governance (Pillar XVIII)**: Native HSM and Biometric attestation for high-blast-radius operations.
|
|
27
|
+
- **Performance Hardening**: Type-safe database interactions via Kysely and better-sqlite3.
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
# MindForge v7.0.0 — Sovereign Intelligence (Post-Quantum & Homing)
|
|
32
|
+
|
|
33
|
+
## Top Summary
|
|
34
|
+
|
|
35
|
+
The v7.0.0 release, **"Sovereign Intelligence,"** transitions MindForge from reactive wave-processing to proactive agentic homing and future-proofs the framework's identity layer against quantum-era threats.
|
|
36
|
+
|
|
37
|
+
## Highlights (v7.0.0)
|
|
38
|
+
|
|
39
|
+
- **Post-Quantum Agentic Security (Pillar XI)**: Lattice-based (Dilithium-5) cryptography for all ZTAI signatures.
|
|
40
|
+
- **Proactive Semantic Homing (Pillar XII)**: Agents autonomously "hunt" for tasks within the mesh during idle periods.
|
|
41
|
+
- **Autonomous Resource Harvesting (Pillar IX)**: Real-time token arbitrage and model-tier steering.
|
|
42
|
+
- **Neural Drift Remediation (Pillar X)**: Automated self-correction of reasoning hallucinations.
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
1
46
|
# MindForge v6.0.0-alpha — AgRevOps ROI Engine (Enterprise Value)
|
|
2
47
|
|
|
3
48
|
## Top Summary
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MindForge v8 — Federated Mesh Synthesis (FMS)
|
|
3
|
+
* Component: Mesh Syncer (Pillar XVI)
|
|
4
|
+
*
|
|
5
|
+
* Facilitates secure, signed knowledge handoffs between MindForge nodes.
|
|
6
|
+
*/
|
|
7
|
+
'use strict';
|
|
8
|
+
|
|
9
|
+
const fs = require('node:fs/promises');
|
|
10
|
+
const path = require('node:path');
|
|
11
|
+
const crypto = require('node:crypto');
|
|
12
|
+
const vectorHub = require('../memory/vector-hub');
|
|
13
|
+
const ztaiManager = require('../governance/ztai-manager');
|
|
14
|
+
const configManager = require('../governance/config-manager');
|
|
15
|
+
|
|
16
|
+
class MeshSyncer {
|
|
17
|
+
constructor() {
|
|
18
|
+
this.nodeId = configManager.get('mesh.node_id', 'unknown-node');
|
|
19
|
+
this.vhInitialized = false;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
async ensureInit() {
|
|
23
|
+
if (!this.vhInitialized) {
|
|
24
|
+
await vectorHub.init();
|
|
25
|
+
this.vhInitialized = true;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Exports a signed bundle of 'Golden Traces' and 'Skills'.
|
|
31
|
+
* @param {string} bundlePath - Target .mfb file path
|
|
32
|
+
* @param {Object} options - { skillIds: [], traceIds: [], since: ISOString }
|
|
33
|
+
*/
|
|
34
|
+
async exportBundle(bundlePath, options = {}) {
|
|
35
|
+
await this.ensureInit();
|
|
36
|
+
console.log(`[MeshSyncer] Exporting bundle from ${this.nodeId}...`);
|
|
37
|
+
|
|
38
|
+
// 1. Fetch Traces (Golden ones or since date)
|
|
39
|
+
let traceQuery = vectorHub.db.selectFrom('traces').selectAll();
|
|
40
|
+
if (options.since) {
|
|
41
|
+
traceQuery = traceQuery.where('timestamp', '>', options.since);
|
|
42
|
+
}
|
|
43
|
+
const traces = await traceQuery.limit(100).execute();
|
|
44
|
+
|
|
45
|
+
// 2. Fetch Skills
|
|
46
|
+
const skills = await vectorHub.db.selectFrom('skills').selectAll().execute();
|
|
47
|
+
|
|
48
|
+
const payload = {
|
|
49
|
+
version: '1.0.0',
|
|
50
|
+
source_node: this.nodeId,
|
|
51
|
+
timestamp: new Date().toISOString(),
|
|
52
|
+
data: { traces, skills }
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
// 3. Sign the bundle using ZTAI
|
|
56
|
+
// Note: In v8, we sign the entire payload string to ensure integrity.
|
|
57
|
+
const did = configManager.get('governance.active_did');
|
|
58
|
+
if (!did) {
|
|
59
|
+
throw new Error('[MeshSyncer] No active DID found for signing. Secure identity required.');
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
const signature = await ztaiManager.signData(did, JSON.stringify(payload));
|
|
63
|
+
|
|
64
|
+
const bundle = {
|
|
65
|
+
payload,
|
|
66
|
+
signature,
|
|
67
|
+
did
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
await fs.writeFile(bundlePath, JSON.stringify(bundle, null, 2));
|
|
71
|
+
console.log(`[MeshSyncer] Exported ${traces.length} traces and ${skills.length} skills to ${bundlePath}`);
|
|
72
|
+
return bundlePath;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Imports a signed bundle and merges it into the local mesh.
|
|
77
|
+
*/
|
|
78
|
+
async importBundle(bundlePath) {
|
|
79
|
+
await this.ensureInit();
|
|
80
|
+
console.log(`[MeshSyncer] Importing bundle from ${bundlePath}...`);
|
|
81
|
+
|
|
82
|
+
const raw = await fs.readFile(bundlePath, 'utf8');
|
|
83
|
+
const bundle = JSON.parse(raw);
|
|
84
|
+
|
|
85
|
+
// 1. Verify Signature
|
|
86
|
+
const { payload, signature, did } = bundle;
|
|
87
|
+
const isValid = ztaiManager.verifySignature(did, JSON.stringify(payload), signature);
|
|
88
|
+
|
|
89
|
+
if (!isValid) {
|
|
90
|
+
throw new Error(`[MeshSyncer] Signature verification FAILED for bundle from ${did}. Knowledge rejected.`);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
console.log(`[MeshSyncer] Signature verified. Source Node: ${payload.source_node}`);
|
|
94
|
+
|
|
95
|
+
// 2. Merge Traces
|
|
96
|
+
const traces = payload.data.traces || [];
|
|
97
|
+
for (const trace of traces) {
|
|
98
|
+
await vectorHub.recordTrace({
|
|
99
|
+
...trace,
|
|
100
|
+
id: `mesh_${payload.source_node}_${trace.id}`, // Trace provenance tagging
|
|
101
|
+
mesh_node_id: payload.source_node
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
// 3. Merge Skills
|
|
106
|
+
const skills = payload.data.skills || [];
|
|
107
|
+
for (const skill of skills) {
|
|
108
|
+
await vectorHub.db.insertInto('skills')
|
|
109
|
+
.values({
|
|
110
|
+
skill_id: skill.skill_id,
|
|
111
|
+
name: skill.name,
|
|
112
|
+
description: skill.description,
|
|
113
|
+
path: skill.path,
|
|
114
|
+
success_rate: skill.success_rate,
|
|
115
|
+
last_verified: new Date().toISOString()
|
|
116
|
+
})
|
|
117
|
+
.onConflict(oc => oc.column('skill_id').doUpdateSet({
|
|
118
|
+
success_rate: Math.max(skill.success_rate || 0, 0.5), // Optimistic merge
|
|
119
|
+
last_verified: new Date().toISOString()
|
|
120
|
+
}))
|
|
121
|
+
.execute();
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
console.log(`[MeshSyncer] Successfully imported ${traces.length} external traces and ${skills.length} skills.`);
|
|
125
|
+
return true;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
module.exports = new MeshSyncer();
|
|
@@ -14,6 +14,7 @@ const configManager = require('../governance/config-manager');
|
|
|
14
14
|
const driftDetector = require('./logic-drift-detector'); // v6.1 Pillar X
|
|
15
15
|
const remediationEngine = require('./remediation-engine'); // v6.1 Pillar X
|
|
16
16
|
const logicValidator = require('./logic-validator'); // v7 Pillar X
|
|
17
|
+
const vectorHub = require('../memory/vector-hub'); // v8 Pillar XV
|
|
17
18
|
|
|
18
19
|
class NexusTracer {
|
|
19
20
|
constructor(config = {}) {
|
|
@@ -24,6 +25,7 @@ class NexusTracer {
|
|
|
24
25
|
this.did = config.did || null; // Active Agent DID
|
|
25
26
|
this.enableZtai = config.enableZtai !== false;
|
|
26
27
|
this.sreManager = new SREManager();
|
|
28
|
+
this.vhInitialized = false;
|
|
27
29
|
|
|
28
30
|
// v7: Centralized Thresholds
|
|
29
31
|
this.RES_THRESHOLD = configManager.get('governance.res_threshold', 0.8);
|
|
@@ -261,7 +263,6 @@ class NexusTracer {
|
|
|
261
263
|
if (this.enableZtai && this.did) {
|
|
262
264
|
try {
|
|
263
265
|
entry.did = this.did;
|
|
264
|
-
// Sign the stringified entry WITHOUT the signature field itself
|
|
265
266
|
const payload = JSON.stringify(entry);
|
|
266
267
|
entry.signature = await ztai.signData(this.did, payload);
|
|
267
268
|
} catch (err) {
|
|
@@ -269,6 +270,27 @@ class NexusTracer {
|
|
|
269
270
|
}
|
|
270
271
|
}
|
|
271
272
|
|
|
273
|
+
// v8: SQLite Persistence (VectorHub)
|
|
274
|
+
try {
|
|
275
|
+
if (!this.vhInitialized) {
|
|
276
|
+
await vectorHub.init();
|
|
277
|
+
this.vhInitialized = true;
|
|
278
|
+
}
|
|
279
|
+
await vectorHub.recordTrace({
|
|
280
|
+
id: entry.id,
|
|
281
|
+
trace_id: entry.trace_id,
|
|
282
|
+
span_id: data.span_id || null,
|
|
283
|
+
event: event,
|
|
284
|
+
timestamp: entry.timestamp,
|
|
285
|
+
agent: data.agent || null,
|
|
286
|
+
content: data.thought || data.span_name || data.strategy || null,
|
|
287
|
+
metadata: entry,
|
|
288
|
+
drift_score: data.drift_score || 0
|
|
289
|
+
});
|
|
290
|
+
} catch (err) {
|
|
291
|
+
console.warn(`[NexusTracer] VectorHub persist failed: ${err.message}`);
|
|
292
|
+
}
|
|
293
|
+
|
|
272
294
|
try {
|
|
273
295
|
if (!fs.existsSync(path.dirname(this.auditPath))) {
|
|
274
296
|
fs.mkdirSync(path.dirname(this.auditPath), { recursive: true });
|