mindforge-cc 11.9.0 → 11.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (201) hide show
  1. package/.agent/mindforge/consult.md +1 -1
  2. package/.agent/mindforge/cost-report.md +1 -1
  3. package/.agent/mindforge/ship.md +2 -2
  4. package/.agent/mindforge/update.md +1 -1
  5. package/.agent/mindforge/wf-catalog.md +5 -2
  6. package/.claude/commands/mindforge/consult.md +1 -1
  7. package/.claude/commands/mindforge/cost-report.md +1 -1
  8. package/.claude/commands/mindforge/ship.md +2 -2
  9. package/.claude/commands/mindforge/skill-tdd.md +53 -0
  10. package/.claude/commands/mindforge/skills-index.md +118 -0
  11. package/.claude/commands/mindforge/systematic-debug.md +60 -0
  12. package/.claude/commands/mindforge/update.md +1 -1
  13. package/.claude/commands/mindforge/wf-accessibility-audit.md +31 -0
  14. package/.claude/commands/mindforge/wf-ai-model-eval.md +31 -0
  15. package/.claude/commands/mindforge/wf-api-migration.md +31 -0
  16. package/.claude/commands/mindforge/wf-architecture-modernization.md +32 -0
  17. package/.claude/commands/mindforge/wf-catalog.md +62 -0
  18. package/.claude/commands/mindforge/wf-code-audit.md +31 -0
  19. package/.claude/commands/mindforge/wf-code-explainer.md +31 -0
  20. package/.claude/commands/mindforge/wf-competitive-analysis.md +31 -0
  21. package/.claude/commands/mindforge/wf-competitive-teardown.md +31 -0
  22. package/.claude/commands/mindforge/wf-cost-analysis.md +31 -0
  23. package/.claude/commands/mindforge/wf-data-pipeline-validate.md +31 -0
  24. package/.claude/commands/mindforge/wf-database-migration.md +31 -0
  25. package/.claude/commands/mindforge/wf-debug-detective.md +32 -0
  26. package/.claude/commands/mindforge/wf-design-system-audit.md +31 -0
  27. package/.claude/commands/mindforge/wf-documentation-gen.md +31 -0
  28. package/.claude/commands/mindforge/wf-feature-planner.md +31 -0
  29. package/.claude/commands/mindforge/wf-incident-response.md +31 -0
  30. package/.claude/commands/mindforge/wf-multi-repo-sync.md +31 -0
  31. package/.claude/commands/mindforge/wf-mutation-testing.md +31 -0
  32. package/.claude/commands/mindforge/wf-onboard-codebase.md +31 -0
  33. package/.claude/commands/mindforge/wf-orchestrate-review.md +35 -0
  34. package/.claude/commands/mindforge/wf-perf-optimize.md +31 -0
  35. package/.claude/commands/mindforge/wf-pr-review.md +31 -0
  36. package/.claude/commands/mindforge/wf-refactor-plan.md +31 -0
  37. package/.claude/commands/mindforge/wf-release-prep.md +31 -0
  38. package/.claude/commands/mindforge/wf-security-threat-model.md +31 -0
  39. package/.claude/commands/mindforge/wf-tdd-sprint.md +31 -0
  40. package/.claude/commands/mindforge/wf-tech-evaluation.md +31 -0
  41. package/.claude/commands/mindforge/wf-ux-heuristic-audit.md +31 -0
  42. package/.claude/commands/mindforge/wf-verification-loop.md +45 -0
  43. package/.claude/commands/mindforge/wf-workflow-optimizer.md +51 -0
  44. package/.claude/commands/mindforge/wf-writer-reviewer.md +30 -0
  45. package/.mindforge/MINDFORGE-SCHEMA.json +126 -13
  46. package/.mindforge/config.json +3 -3
  47. package/.mindforge/engine/cost-tracking/router.md +1 -1
  48. package/.mindforge/engine/cost-tracking/token-ledger.md +21 -24
  49. package/.mindforge/memory/sync-manifest.json +1 -1
  50. package/.mindforge/metrics/METRICS-SCHEMA.md +13 -4
  51. package/.mindforge/personas/cost-optimizer.md +2 -2
  52. package/.mindforge/personas/doc-auditor.md +1 -1
  53. package/.mindforge/personas/monorepo-architect.md +2 -1
  54. package/.mindforge/personas/multi-model-bridge.md +1 -1
  55. package/.mindforge/personas/release-manager.md +5 -3
  56. package/.mindforge/skills/cost-aware-routing/SKILL.md +3 -3
  57. package/.mindforge/skills/documentation/SKILL.md +4 -1
  58. package/.mindforge/skills/multi-llm-consult/SKILL.md +2 -2
  59. package/CHANGELOG.md +216 -1821
  60. package/MINDFORGE.md +4 -4
  61. package/README.md +103 -509
  62. package/RELEASENOTES.md +75 -0
  63. package/SECURITY.md +1 -1
  64. package/bin/autonomous/audit-writer.js +48 -33
  65. package/bin/dashboard/api-router.js +11 -10
  66. package/bin/dashboard/error-response.js +44 -0
  67. package/bin/dashboard/frontend/index.html +20 -3
  68. package/bin/dashboard/metrics-aggregator.js +29 -8
  69. package/bin/dashboard/revops-api.js +12 -2
  70. package/bin/dashboard/server.js +85 -5
  71. package/bin/dashboard/temporal-api.js +11 -5
  72. package/bin/engine/remediation-engine.js +12 -1
  73. package/bin/engine/temporal-hub.js +41 -9
  74. package/bin/eval/eval-harness.js +212 -1
  75. package/bin/eval/golden-set-retrieval.json +9 -0
  76. package/bin/governance/policy-engine.js +8 -0
  77. package/bin/hindsight-injector.js +8 -2
  78. package/bin/hooks/instinct-capture-hook.js +7 -1
  79. package/bin/install.js +1 -1
  80. package/bin/learning/instinct-cli.js +7 -24
  81. package/bin/memory/knowledge-capture.js +23 -3
  82. package/bin/memory/knowledge-graph.js +70 -31
  83. package/bin/memory/vector-hub.js +304 -31
  84. package/bin/mindforge-cli.js +43 -11
  85. package/bin/models/cost-tracker.js +22 -23
  86. package/bin/models/model-router.js +28 -7
  87. package/bin/models/usage-record.js +71 -0
  88. package/bin/updater/changelog-fetcher.js +95 -5
  89. package/bin/utils/file-lock.js +106 -0
  90. package/bin/utils/mindforge-params.js +124 -0
  91. package/bin/utils/readiness-gate.js +3 -3
  92. package/bin/validate-config.js +34 -16
  93. package/changelogs/README.md +109 -0
  94. package/changelogs/index.json +103 -0
  95. package/changelogs/v0.1.0.md +21 -0
  96. package/changelogs/v0.2.0.md +15 -0
  97. package/changelogs/v0.3.0.md +28 -0
  98. package/changelogs/v0.4.0.md +29 -0
  99. package/changelogs/v0.5.0.md +34 -0
  100. package/changelogs/v0.6.0.md +34 -0
  101. package/changelogs/v1.0.0.md +60 -0
  102. package/changelogs/v1.0.1.md +15 -0
  103. package/changelogs/v1.0.2.md +10 -0
  104. package/changelogs/v1.0.3.md +10 -0
  105. package/changelogs/v1.0.4.md +10 -0
  106. package/changelogs/v1.0.5.md +10 -0
  107. package/changelogs/v10.0.0.md +71 -0
  108. package/changelogs/v10.0.2.md +15 -0
  109. package/changelogs/v10.0.3.md +21 -0
  110. package/changelogs/v10.0.4.md +16 -0
  111. package/changelogs/v10.0.5.md +16 -0
  112. package/changelogs/v10.0.6.md +15 -0
  113. package/changelogs/v10.0.7.md +15 -0
  114. package/changelogs/v10.0.8.md +15 -0
  115. package/changelogs/v10.0.9.md +15 -0
  116. package/changelogs/v10.1.0.md +16 -0
  117. package/changelogs/v10.1.1.md +15 -0
  118. package/changelogs/v10.2.0.md +14 -0
  119. package/changelogs/v10.3.0.md +13 -0
  120. package/changelogs/v10.4.0.md +13 -0
  121. package/changelogs/v10.5.0.md +13 -0
  122. package/changelogs/v10.6.0.md +13 -0
  123. package/changelogs/v10.7.0.md +15 -0
  124. package/changelogs/v11.0.0.md +66 -0
  125. package/changelogs/v11.0.1.md +10 -0
  126. package/changelogs/v11.1.0.md +56 -0
  127. package/changelogs/v11.2.0.md +41 -0
  128. package/changelogs/v11.2.1.md +38 -0
  129. package/changelogs/v11.3.0.md +45 -0
  130. package/changelogs/v11.3.1.md +39 -0
  131. package/changelogs/v11.4.0.md +38 -0
  132. package/changelogs/v11.5.0.md +77 -0
  133. package/changelogs/v11.5.1.md +47 -0
  134. package/changelogs/v11.6.0.md +45 -0
  135. package/changelogs/v11.7.0.md +30 -0
  136. package/changelogs/v11.7.1.md +8 -0
  137. package/changelogs/v11.8.0.md +19 -0
  138. package/changelogs/v11.8.1.md +28 -0
  139. package/changelogs/v11.8.2.md +22 -0
  140. package/changelogs/v11.8.3.md +22 -0
  141. package/changelogs/v11.9.0.md +17 -0
  142. package/changelogs/v11.9.1.md +8 -0
  143. package/changelogs/v11.9.2.md +209 -0
  144. package/changelogs/v2.0.0-alpha.1.md +42 -0
  145. package/changelogs/v2.0.0-alpha.10.md +13 -0
  146. package/changelogs/v2.0.0-alpha.11.md +14 -0
  147. package/changelogs/v2.0.0-alpha.12.md +16 -0
  148. package/changelogs/v2.0.0-alpha.2.md +14 -0
  149. package/changelogs/v2.0.0-alpha.3.md +17 -0
  150. package/changelogs/v2.0.0-alpha.4.md +17 -0
  151. package/changelogs/v2.0.0-alpha.7.md +18 -0
  152. package/changelogs/v2.0.0-alpha.8.md +11 -0
  153. package/changelogs/v2.0.0-alpha.9.md +12 -0
  154. package/changelogs/v2.0.0.md +35 -0
  155. package/changelogs/v2.1.0.md +22 -0
  156. package/changelogs/v2.1.1.md +25 -0
  157. package/changelogs/v2.1.2.md +21 -0
  158. package/changelogs/v2.3.2.md +19 -0
  159. package/changelogs/v2.3.3.md +16 -0
  160. package/changelogs/v2.3.4.md +16 -0
  161. package/changelogs/v2.3.5.md +21 -0
  162. package/changelogs/v2.4.0.md +29 -0
  163. package/changelogs/v2.5.0.md +26 -0
  164. package/changelogs/v2.6.0.md +26 -0
  165. package/changelogs/v3.0.0.md +17 -0
  166. package/changelogs/v4.0.0.md +19 -0
  167. package/changelogs/v4.1.0.md +19 -0
  168. package/changelogs/v4.3.0.md +31 -0
  169. package/changelogs/v5.0.0-alpha.1.md +35 -0
  170. package/changelogs/v5.0.0-alpha.2.md +22 -0
  171. package/changelogs/v5.1.0.md +42 -0
  172. package/changelogs/v5.2.0.md +18 -0
  173. package/changelogs/v5.3.0.md +14 -0
  174. package/changelogs/v5.4.0.md +28 -0
  175. package/changelogs/v5.5.0.md +11 -0
  176. package/changelogs/v5.6.0.md +11 -0
  177. package/changelogs/v5.7.0.md +12 -0
  178. package/changelogs/v5.8.0.md +12 -0
  179. package/changelogs/v5.9.0.md +11 -0
  180. package/changelogs/v6.0.0-alpha.md +45 -0
  181. package/changelogs/v6.1.0-alpha.md +29 -0
  182. package/changelogs/v6.2.0-alpha.md +30 -0
  183. package/changelogs/v6.2.0.md +21 -0
  184. package/changelogs/v6.3.0.md +14 -0
  185. package/changelogs/v6.4.0.md +13 -0
  186. package/changelogs/v6.5.0.md +13 -0
  187. package/changelogs/v6.6.0.md +12 -0
  188. package/changelogs/v6.7.0.md +12 -0
  189. package/changelogs/v7.0.0.md +13 -0
  190. package/changelogs/v8.0.0.md +14 -0
  191. package/changelogs/v8.1.0.md +13 -0
  192. package/changelogs/v8.2.0.md +12 -0
  193. package/changelogs/v8.2.1.md +11 -0
  194. package/changelogs/v9.0.0.md +20 -0
  195. package/docs/References/config-reference.md +73 -14
  196. package/docs/commands-reference.md +12 -6
  197. package/docs/faq.md +3 -3
  198. package/docs/getting-started.md +28 -3
  199. package/docs/sdk-reference.md +1 -1
  200. package/docs/user-guide.md +2 -2
  201. package/package.json +5 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,219 @@
1
1
  # Changelog
2
2
 
3
+ ## [11.9.2] — 2026-08-16 — Correctness: audit-chain integrity, dashboard crash policy, secret scanning
4
+
5
+ Patch release. No new features. Correctness work closing defects found by a
6
+ multi-agent audit of v11.9.1, plus the regression suites that keep them closed.
7
+ Contains a breaking change to the dashboard HTTP surface — see BREAKING below.
8
+
9
+ ### BREAKING
10
+
11
+ Shipped under a PATCH bump. The break is confined to the dashboard's own HTTP
12
+ surface, which binds to 127.0.0.1 only — but if you script against it, read this.
13
+
14
+ - **Dashboard error responses changed shape.** `detail` is removed from 5 endpoints and
15
+ raw errno strings from 10 more; `correlation_id` is added to 15; a malformed request
16
+ body now returns `application/json` instead of express's `text/html` error page.
17
+ Anything parsing `detail` must correlate on the logged `correlation_id` instead. This
18
+ was deliberate — those fields leaked absolute filesystem paths, and therefore the
19
+ operator's username and home directory, into an unauthenticated response body
20
+ (`requireAuth` exempts GET).
21
+ - **The dashboard now EXITS on an unhandled rejection or uncaught exception** where
22
+ 11.9.1 logged and continued. If you supervise the process, expect restarts where you
23
+ previously saw a logged error. Rationale in the Fixed section below: log-and-continue
24
+ held client sockets open until the client timed out, and had made `shutdown()` swallow
25
+ a throwing token unlink and keep serving the authenticated mutation API after SIGTERM.
26
+ - **`node bin/validate-config.js` and `mindforge security-scan` can now fail.** They
27
+ previously reported `MINDFORGE.md valid — 0 settings configured` and exited 0 on every
28
+ input. If you run either in CI, a genuinely invalid registry will now red-line where it
29
+ used to pass. Note this reaches **fresh installs and `--force` reinstalls only** — the
30
+ installer does not overwrite an existing `.mindforge/MINDFORGE-SCHEMA.json`, so a plain
31
+ upgrade keeps the old permissive schema.
32
+
33
+ ### Fixed
34
+
35
+ - **`security-scan` could not fail.** `bin/validate-config.js` and
36
+ `bin/models/model-router.js` each parsed `MINDFORGE.md` with a plain `KEY=value` regex, but
37
+ the registry declares its 43 parameters as bracketed `[KEY] = value`. Every schema property
38
+ resolved to `undefined` and short-circuited, so the command reported
39
+ `MINDFORGE.md valid — 0 settings configured` and exited 0 on any input. The schema also had
40
+ no `required` key at all. Both parsers now share `bin/utils/mindforge-params.js`, which also
41
+ accepts the legacy plain form (`examples/starter-project/MINDFORGE.md` ships 28 such lines),
42
+ and the schema declares real `required`/`recommended` sets.
43
+ **Behaviour change for consumers:** three CI gates go from unfailable to failable —
44
+ `.github/workflows/mindforge-ci.yml:38`, `.gitlab-ci-mindforge.yml:12`, and
45
+ `.github/workflows/control-plane.yml:100`. If one red-lines on a valid value, the schema
46
+ bound is wrong; do not "fix" it by editing `MINDFORGE.md`. Model routing is unchanged —
47
+ 30 persona x tier combinations resolve identically.
48
+ - **Trace retrieval returned nothing usable.** Queries were wrapped as a single FTS phrase, so
49
+ any query containing one absent term scored zero; and `traces_search` was keyed on `trace_id`
50
+ rather than the primary key, so each span's DELETE evicted the previous span and only the last
51
+ span per trace stayed searchable — 2,270 of 5,117 content-bearing traces, 44.4%, unsearchable.
52
+ Queries are now tokenised, OR-joined and ranked by tf-idf (`matchinfo('pcnx')`); the index is
53
+ re-keyed and rebuilt losslessly from the base table. `bin/eval/eval-harness.js` and its golden
54
+ set had zero callers and are now reachable as `npm run eval:retrieval`, with the baseline
55
+ committed: mean recall@10 0.6417, nDCG 0.5698 over 519 documents.
56
+ - **The cost ledger reported two totals for one concept.** `sum(cost_usd)` was $13.73 while
57
+ `sum(total_cost_usd)` was $0.00, and `tests/dashboard.test.js` wrote the reader's field name,
58
+ so the mismatch tested green. `bin/models/usage-record.js` is now the single definition of the
59
+ ledger path, record shape, per-entry cost and day bucket. The configured `ledger_path` pointed
60
+ at `token-ledger.jsonl`, a file that has never existed; that ghost filename had spread to 17
61
+ places across 13 files and is now absent. The dashboard cost tile no longer renders `$0.00`
62
+ on a 500 — it had no `res.ok` check, and because errors return well-formed JSON the catch
63
+ never fired, making an outage indistinguishable from zero spend.
64
+ A maintainer tool, `scripts/purge-synthetic-usage.js`, removes fixture rows: dry-run by
65
+ default, backs up first, idempotent, and aborts leaving the ledger untouched if the rewrite
66
+ fails. It is run from a repository checkout — `scripts/` is not in the published tarball, so
67
+ installed consumers do not have it.
68
+ - **Audit hash chain could fork under concurrent writers.** `bin/autonomous/audit-writer.js`
69
+ read the chain head and appended with no mutual exclusion, and cached the head in-process
70
+ indefinitely — so once a second process appended, the first kept chaining from a superseded
71
+ hash. Added `bin/utils/file-lock.js` (a fail-closed advisory lock promoted from
72
+ `bin/learning/instinct-cli.js`, deliberately NOT from `.agent/bin/lib/state.cjs`, which
73
+ writes anyway when the lock cannot be taken) held across read-head-through-fsync, and made
74
+ the cached head carry the file size that witnesses it is still the tail. 8 concurrent
75
+ appenders went from 199 broken links + 4 forks per 200 entries to 0. A lock alone was
76
+ measured insufficient — it still left 2 breaks and 1 fork, because the stale cache is a
77
+ second, independent defect.
78
+ - **Knowledge-graph edge updates were lost under concurrency.** `deprecateEdge`,
79
+ `reinforceEdge` and `applyDecay` in `bin/memory/knowledge-graph.js` each did
80
+ `readAllEdges()` -> mutate -> append with no lock, and `addEdge` appended unserialised
81
+ against them. Measured at HEAD over 4 runs of 8 processes x 20 `reinforceEdge` calls:
82
+ 93-129 of 160 increments lost, final `traversal_count` 31-67 instead of 160. All four
83
+ write paths now hold the `graph-edges.jsonl` lock across read-through-append; the same
84
+ probe then loses 0 of 160 in every run, with no lock-acquisition failures.
85
+ - `bin/governance/policy-engine.js`: `logAudit`'s un-awaited audit write now has a
86
+ `.catch()` — a lock-contention failure is reported at the decision site instead of
87
+ escaping as an unhandled rejection.
88
+ - `bin/hooks/instinct-capture-hook.js` appended to the instinct store without the lock that
89
+ `instinct-cli`'s prune/import rewrite holds, so a hook append landing in that window was
90
+ clobbered by the rename. It now takes the same lock.
91
+ - `tests/v7-sovereign-security.test.js`: `new PolicyEngine()` no longer defaults
92
+ `planningDir` to `process.cwd()`, which appended test verdicts to the operator's real
93
+ `.planning/RISK-AUDIT.jsonl`.
94
+ - Packaging: `package.json` files[] now excludes `**/*.lock` so a lockfile orphaned by a
95
+ hard kill cannot leak into the npm tarball (verified: without the negation, a
96
+ `.mindforge/memory/graph-edges.jsonl.lock` does ship).
97
+
98
+ - **Audit-chain forgery via un-awaited rollback.** `HindsightInjector.inject` called
99
+ the async `TemporalHub.rollbackTo` without `await`, so its rejection escaped the
100
+ surrounding `try/catch` while execution continued: a failed rollback still fsync'd a
101
+ hash-chained `hindsight_injected` entry and flipped `auto-state.json` to
102
+ `awaiting_regeneration` for something that never happened. The log gained a
103
+ cryptographically valid record of a non-event, and `verify-audit` reported the chain
104
+ valid — valid and wrong.
105
+ - **CLI `defaultArgs` were replaced by user arguments, not prepended.** `mindforge
106
+ health <anything>` lost `--check` and fell through to `installer-core`'s real
107
+ `install()` with `force: true`. Now prepended.
108
+ - **`_verifyMetadata` compared UTF-16 code units, not bytes**, so a 64-unit / 65-byte
109
+ `integrity` still threw `RangeError` — and the caller degraded that throw into
110
+ "proceeding without integrity check" and restored the snapshot anyway. Read and
111
+ verify are now separate stages; only a genuinely absent `SNAPSHOT-META.json` reaches
112
+ the tolerant path.
113
+ - **Dashboard `RevOpsAPI` was required but never mounted**, so `/api/revops/overview`
114
+ 404'd while the AgRevOps panels and docs described it as live. Even mounted it threw:
115
+ `getAuditEntries()` returns `{entries,total,limit,offset}` and three engines call
116
+ `.filter()` on it.
117
+ - **Dashboard leaked error internals to clients.** `err.message` reached response
118
+ bodies from 14 sites (`api-router.js` ×10, `temporal-api.js` ×3, `revops-api.js` ×1);
119
+ for fs-sourced errors that string carries absolute paths, disclosing the operator's
120
+ username and home directory. All sites now log server-side and return a generic
121
+ message plus a `correlation_id`, behind a 4-arg terminal handler that stops express
122
+ rendering `err.stack` when `NODE_ENV !== 'production'`.
123
+ - **Test runner discovery was a flat `readdirSync`**, so any suite in a subdirectory was
124
+ invisible. Now a recursive walk that prunes `tmp-*` / `node_modules` / dot
125
+ directories — directories only, never files.
126
+ - Three orphan files removed: one truncated `.planning/AUDIT.jsonl` to zero, one
127
+ overwrote `.planning/STATE.md`, one called a function absent from `bin/`. Recursion
128
+ made the `STATE.md` clobberer reachable by a single in-place rename; the other two
129
+ were unreachable by the runner at any depth. **The claim in `5177225`'s message that
130
+ all three were newly armed by recursion is correct for one of the three and
131
+ over-attributed for the other two.**
132
+ - Three relocated demos kept one-level-up requires after moving a directory deeper, so
133
+ all three exited 1; corrected to `../../bin/`.
134
+
135
+ ### Changed
136
+
137
+ - **`mindforge audit-skill`, `register-skill`, `install-skill` and `record-learning` no
138
+ longer carry `defaultArgs`.** Prepending turned them from inert into live state
139
+ writers: `audit-skill <name> <ver> <tier>` appended a hash-chained
140
+ `{event:'skill_installed', validation_passed:true}` entry for a skill that does not
141
+ exist, and `register-skill` wrote a malformed row above the table header of
142
+ `.mindforge/org/skills/MANIFEST.md`, which ships in the tarball. Bare invocations now
143
+ print usage and exit 0 without reaching those writers, as at v11.9.1.
144
+ - **`subagent` is a first-class command.** Prepending `spawn` shadowed `spawn-agent`'s
145
+ `subagent` mode, whose documented route was `mindforge spawn subagent <name>`.
146
+ - **The dashboard now exits on an unhandled rejection instead of logging and
147
+ continuing.** An escaped rejection is the only reliable signal that an async call was
148
+ left un-awaited, and express 4.22.1 does not route async handler rejections to error
149
+ middleware — log-and-continue held the client socket open until the client gave up
150
+ (2.5s, 4s and 8s clients all timed out) versus a ~15ms reset on exit. Symmetric with
151
+ `uncaughtException`, whose log-and-continue form had made `shutdown()` swallow a
152
+ throwing token unlink and keep serving the token-authenticated mutation API **after
153
+ SIGTERM**, with the bearer token still on disk and valid in memory.
154
+ - **Dashboard error responses changed shape.** `detail` is removed from 5 endpoints,
155
+ raw errno strings from 10 more, `correlation_id` is added to 15, and a malformed
156
+ request body now returns `application/json` rather than express's `text/html` error
157
+ page. Anything parsing `detail` must correlate on the logged id instead.
158
+
159
+ ### Added
160
+
161
+ - **Secret scanning enforced at three layers**: `.gitleaks.toml`, a `.husky/pre-commit`
162
+ gate that fails loudly when gitleaks is absent rather than skipping, and
163
+ `.github/workflows/secret-scan.yml` scanning full history. `scripts/ci/verify-secret-scan.sh`
164
+ self-tests the scanner — it distinguishes "scanned clean" from "scanned and found"
165
+ from "did not scan", because gitleaks exits 1 for both a finding and a failed config
166
+ load, and writes no report in the latter case.
167
+
168
+ ### Tests
169
+
170
+ - Suite totals for this release: **105 files, 103 pass, 2 environment-dependent skips**
171
+ (`browser`, `sre-integration`). Eight new suites across the release:
172
+ `temporal-integrity`, `dashboard-error-leak`, `dashboard-crash-guards`,
173
+ `dashboard-wiring`, `cli-router`, `mindforge-params`, `file-lock`, `retrieval-fts`.
174
+ - **Four suites could not report failure and now can.** `v8-persistence`,
175
+ `v8-skill-evolution` and `v8-orbital-governance` ended `finally { process.exit(0) }`, and
176
+ `v7-pillar-integration` had zero assertions with a premium-model gate that named two models
177
+ absent from the registry for several releases. `npm test` is the only quality step before
178
+ `npm publish`, and the runner gates on child exit codes, so a blind suite blinded the publish
179
+ gate. Verified by injected failure rather than inspection.
180
+ `dashboard-wiring` derives the expected router set
181
+ from `server.js`'s own requires, so adding a router without mounting it fails.
182
+ `cli-router` runs against a mirror-root sandbox under `os.tmpdir()` — required, not
183
+ tidiness: the case that proves audit forgery is prevented would otherwise forge an
184
+ entry into the real chain on every run. `revops-roi.test.js` had 0 assertions and
185
+ could not fail; it now has 6.
186
+
187
+ ### Not fixed — deferred to v12
188
+
189
+ - **No hook is registered in any consumer install.** The installer copies 9 hook
190
+ scripts into `<runtime>/hooks/`, but nothing writes `.claude/settings.json` and it is
191
+ absent from `package.json` `files[]`. Verified by installing the tarball into a
192
+ scratch project. Every gate this release hardens is inert until that lands.
193
+ - **`requireAuth` exempts GET and OPTIONS**, so every read route — including
194
+ `/api/audit`, which serves the hash-chained audit log — is credential-free to any
195
+ local process. Mutations are protected. This is a threat-model decision, not a patch.
196
+ - **`audit-skill audit <name> <ver> <tier>`** — the explicit form — still reaches a
197
+ writer that performs no existence check and hardcodes `validation_passed: true`. Only
198
+ the bare invocation is closed.
199
+ - **Snapshot integrity is not an authenticity control.** `HMAC_KEY` is a literal in
200
+ shipped source, the HMAC covers only the metadata object so file **contents** are
201
+ unsigned (editing a file inside a signed snapshot leaves the signature valid), and
202
+ deleting `SNAPSHOT-META.json` bypasses verification entirely.
203
+ - `cwd: ROOT` in the CLI, which resolves consumer state inside `node_modules`.
204
+ - `security-scan` cannot fail: its parser expects `KEY=value` while `MINDFORGE.md` uses
205
+ `[KEY] = value`, so it always reports 0 settings and exits 0.
206
+ - Version drift in six publishable manifests (`Formula/mindforge.rb`, `Dockerfile`,
207
+ `mcp-server/server.json`, `mcp-server/src/index.ts`, the plugin manifest and the
208
+ marketplace entry) is untouched here — none is gated, and the Formula pins a tarball
209
+ sha256 that cannot exist before publish.
210
+
211
+ ## [11.9.1] — 2026-07-29 — Packaging Fix: Restore Missing Workflow Commands
212
+
213
+ ### Fixed
214
+ - A blanket `.claude/` rule in `.gitignore` (pre-existing, unrelated to the v11.9.0 work) was silently excluding 34 command files under `.claude/commands/mindforge/` from git — mostly the `wf-*` dynamic-workflow slash commands, plus `skill-tdd.md`, `skills-index.md`, and `systematic-debug.md`. Since `package.json`'s `files` array includes `.claude/commands/`, this meant **v11.9.0's published npm tarball was missing every `wf-*` slash command** even though the mirrored `.agent/mindforge/` copies shipped correctly. Removed the redundant gitignore rule (the repo's existing `*.local` pattern already covers the actual intended exclusion, `.claude/settings.local.json`) and committed all 34 files.
215
+ - Added a regression guard to `tests/packaging-allowlist.test.js` asserting `.claude/commands/mindforge/` and `.agent/mindforge/` ship the same file count — the prior `>=150` floor check passed throughout this gap's entire lifetime since both counts already exceeded 150 independently.
216
+
3
217
  ## [11.9.0] — 2026-07-27 — Bedrock Provider + Full Dry-Run Audit
4
218
 
5
219
  ### Added
@@ -220,1825 +434,6 @@ CI governance-gate gap, and tightens two security surfaces. No new features.
220
434
  `federated-sync` un-loadable in a clean install. Swapped to the built-in
221
435
  `crypto.randomUUID()` (zero-native-deps); both modules now load.
222
436
 
223
- ## [11.5.0] - 2026-06-11 — Governance hardening + autonomous-engine repair (Waves 4–7)
224
-
225
- This release bundles four waves of work: orchestration primitives, an **inert** manifest
226
- engine + the new instinct CLI + GAN harness personas, governance/security hardening, and a
227
- repair that makes the autonomous engine (`/mindforge:auto`) actually functional. Several
228
- items ship deliberately **inert** (scaffolding present, not wired into any live path) and
229
- are flagged as such below — they introduce **no behavior change yet**.
230
-
231
- ### Added
232
-
233
- - **Instinct CLI** (`/mindforge:instinct`, `bin/learning/instinct-cli.js`) — deterministic,
234
- no-LLM management of the JSONL instinct store: `list`, `export`, `import`,
235
- `promote-candidates` (list + flag), and `prune`.
236
- - **Typed Inter-Agent Message Protocol** (`bin/autonomous/handoff-schema.js`) — five message
237
- kinds (`task_handoff`, `query`, `response`, `completed`, `conflict`) with priority levels
238
- (`low`/`normal`/`high`/`critical`) and message validation. Internal orchestration primitive.
239
- - **Manifest-driven install resolver** (`bin/installer/install-manifests.js`,
240
- `.mindforge/manifests/install-*.json`) — profile-to-module expansion and dependency
241
- detection. Ships **INERT**: the adapter wiring it into `bin/installer-core.js`'s live
242
- `install()` path is deferred to a future PR. No behavior change.
243
- - **GAN-style harness personas** (`.mindforge/personas/gan-evaluator.md`, `gan-generator.md`,
244
- `gan-planner.md`) — fully scoped and documented. Ships **INERT**: not wired to any live
245
- command or automated workflow. No behavior change.
246
- - **Governance test coverage** — `tests/trust-verifier.test.js` (7 tests) and
247
- `tests/rbac-manager.test.js` (8 tests) lock the fail-closed contracts for future
248
- safety-critical governance changes.
249
-
250
- ### Fixed
251
-
252
- - **SSRF import-URL guard** (`bin/learning/lib/ssrf-guard.js`) — closed an IPv6 link-local
253
- bypass (`fe81`–`fe8f` reachable via string-prefix check) and a symlink path-traversal
254
- bypass, using numeric bitmask validation and canonical-path checking before system-dir
255
- validation.
256
- - **Federated EIS sync** (`bin/memory/eis-client.js`) — `getAuthHeader` no longer throws on
257
- every call; it now registers a node identity via `ZTAI.registerAgent` and signs with
258
- `ZTAI.signData`, restoring sync to non-localhost EIS endpoints.
259
- - **RBAC tier elevation** (`bin/governance/rbac-manager.js`) — `getRolesByTier` now fails
260
- safely for unregistered agents (no thrown exception) and resolves agent tier via the
261
- correct ZTAI API.
262
- - **Autonomous engine — wave crash** (`bin/autonomous/auto-runner.js`) — replaced ZTAI
263
- singleton misuse (`getIdentity()`, non-existent) with `_getRunnerIdentity()` using the
264
- real `registerAgent` API; `/mindforge:auto` no longer crashes on every wave.
265
- - **Autonomous policy gate — fail-open** (`bin/autonomous/auto-runner.js`) — the async
266
- policy verdict is now `await`ed (`this.policyEngine.evaluate(intent)`); the per-wave gate
267
- previously always allowed.
268
- - **Autonomous engine — fail-closed identity** (`bin/autonomous/auto-runner.js`) — if runner
269
- identity cannot be established, the policy gate now denies and audits (`auto_mode_denied`)
270
- instead of proceeding ungoverned.
271
-
272
- ### Changed
273
-
274
- - **Instinct store schema** (`.mindforge/engine/instincts/instinct-schema.md`) — added
275
- `project_id` (stable scope key) and `source` (`auto-capture`/`manual`/`imported`/
276
- `observer`), plus origin-based confidence scoring: auto-capture starts at `0.3`, manual
277
- at `0.7`.
278
- - **Cost-routing shadow mode** (`bin/revops/router-steering-v2.js`) — arbitrage steering now
279
- respects `cost_routing.shadow_mode` (default `true`); in observe-only mode `steer()`
280
- returns `{ shadow, authoritative: false }` with SHADOW vs LIVE logging.
281
-
282
- ### Security
283
-
284
- - **Tier-3 approvals now fail closed** (`bin/governance/approve.js`) — approvals require GPG
285
- verification and **throw before writing any record** when no GPG key is configured, unless
286
- `MINDFORGE_ALLOW_UNVERIFIED_APPROVAL=1` is set; unverified approvals are marked
287
- `verified: false`.
288
- - **Persona supply-chain scan** (`scripts/ci/validate-assets.js`) — persona asset validation
289
- now detects dangerous invisible unicode (zero-width, bidi overrides, Unicode tags) across
290
- `.mindforge/personas` to prevent ASCII-smuggling injection.
291
- - **Destructive-command detector** (`bin/security/trust-boundaries.js`) — `normalizeShell`
292
- now strips bare `#` tokens after quote-stripping, blocking quoted-hash evasion (e.g.
293
- `rm "#" -rf /`).
294
- - **Instinct import port allowlist** (`bin/learning/lib/ssrf-guard.js`) — `validateImportUrl`
295
- enforces an `ALLOWED_IMPORT_PORTS` allowlist (`{'', '443'}`), blocking attempts to reach
296
- internal services (Redis `:6379`, Mongo `:27017`, etc.) on otherwise-allowed public hosts.
297
-
298
- ## [11.4.0] - 2026-06-06 — Claude Code plugin distribution
299
-
300
- MindForge is now installable as a native **Claude Code plugin** from a marketplace, in
301
- addition to the `npx mindforge-cc` installer. This release ships the plugin tooling so
302
- both the GitHub plugin channel and the npm tarball stay coherent.
303
-
304
- ### Added
305
-
306
- - **Plugin marketplace** (`.claude-plugin/marketplace.json` at the repo root) — users run
307
- `/plugin marketplace add sairam0424/MindForge` then `/plugin install mindforge@mindforge`.
308
- Lists 11 plugins: the comprehensive `mindforge` plugin + 10 à-la-carte subagent packs.
309
- - **Comprehensive `mindforge` plugin** (`plugins/mindforge/`) bundling the full surface:
310
- 174 commands, 154 subagents, 73 skills + a synthesized `mindforge-protocol` skill (the
311
- CLAUDE.md operating directive, since a plugin-root CLAUDE.md isn't loaded as context),
312
- and governance hooks (translated to Claude `PreToolUse`/`PostToolUse` events with
313
- `${CLAUDE_PLUGIN_ROOT}`-relative paths).
314
- - **Bundled MindForge MCP server** — a self-contained esbuild single-file build
315
- (`mcp/dist/index.js`, all deps inlined, no runtime `node_modules`) exposing 7 tools over
316
- stdio: `mindforge_health`, `mindforge_status`, `mindforge_memory_query`,
317
- `mindforge_memory_stats`, `mindforge_memory_find_related`, `mindforge_audit_log`
318
- (read-only), and append-only `mindforge_memory_remember`. Scoped to the user's project
319
- via `${CLAUDE_PROJECT_DIR}`; degrades gracefully when MindForge isn't set up.
320
- - **Generators** (single source of truth, drift-guarded): `build-plugin-marketplace.js`,
321
- `build-subagent-plugins.js`, `build-mindforge-plugin.js`, `vendor-sdk-into-mcp.js`,
322
- `fix-command-frontmatter.js`; new `mcp-server/` package with esbuild build.
323
- - **`tests/plugin-packaging.test.js`** (in `npm test`) — guards the generated plugin tree,
324
- frontmatter validity, and MCP-bundle self-containment.
325
-
326
- ### Fixed
327
-
328
- - Quoted YAML-unsafe `name`/`description` frontmatter across commands/agents/skills that
329
- the plugin validator flagged (leading `-`/`@`, embedded `: `, trailing `:`) — these
330
- silently loaded empty metadata. The npx installer inherits the fix.
331
- - Per-category subagent `plugin.json` `agents[]` now derived from on-disk files, fixing
332
- stale bare names for the 16 collision-renamed (`-cc`) agents.
333
-
334
- ## [11.3.1] - 2026-06-05 — Packaging hotfix (commands, skills & framework now ship)
335
-
336
- Critical fix for v11.3.0, where a too-narrow npm `files` allowlist silently dropped
337
- most of the product from the published tarball. Users who ran `npx mindforge-cc` got
338
- only hooks, personas, subagents, and three `.mindforge/` folders — **no slash commands,
339
- no skills, and an incomplete framework** — with no error (the installer skips any source
340
- absent from the tarball). v11.3.1 restores the full payload and adds a regression test
341
- so this class of bug cannot ship silently again.
342
-
343
- ### Fixed
344
-
345
- - **npm `files` allowlist** (`package.json`) widened to ship what the installer reads:
346
- `.claude/commands/` (174 slash commands), `.agent/mindforge/` + `.agent/forge/`,
347
- `.agent/skills/` (73 skills), the entry `.claude/CLAUDE.md`, and the full `.mindforge/`
348
- framework (`governance`, `integrations`, `intelligence`, `memory`, `metrics`, `models`,
349
- `org`, `plugins`, `team` — previously only `engine`/`personas`/`skills` reached users).
350
- Runtime state is explicitly **excluded** (`celestial.db`, `metrics/token-usage.jsonl`,
351
- `memory/pattern-library.jsonl`) — `files` overrides `.npmignore`, so these are negated
352
- in the allowlist itself.
353
- - **`.planning/` scaffolding now ships and installs** — sourced from the clean, generic
354
- `examples/starter-project/.planning/` (never the framework repo's own live `.planning/`,
355
- which holds dev state: `AUDIT.jsonl`, `slack-threads.json`, `jira-sync.json`). Added the
356
- four missing starter templates (`ROADMAP.md`, `REQUIREMENTS.md`, `ARCHITECTURE.md`,
357
- `RELEASE-CHECKLIST.md`) so the autonomous engine (`/mindforge:auto`, `:next`) has the
358
- files it expects.
359
- - **`docs/References` / `docs/Templates` case-sensitivity bug** — the installer read
360
- lowercase `docs/references`/`templates`, which "worked" on case-insensitive macOS but
361
- silently missed on case-sensitive Linux/npm (manifest showed `REFERENCES 0 / TEMPLATES 0`).
362
- Installer now reads the exact on-disk case and both dirs are allowlisted.
363
-
364
- ### Added
365
-
366
- - **`tests/packaging-allowlist.test.js`** — packs the real tarball (`npm pack --dry-run
367
- --json`) and asserts commands, skills, subagents, entry files, the full `.mindforge/`
368
- framework, and `.planning/` templates all ship, while runtime DBs/telemetry do not.
369
- Proven to fail under the broken v11.3.0 allowlist. Skips loudly if npm is unavailable.
370
-
371
- ## [11.3.0] - 2026-06-04 — "Legion" (154-subagent expansion)
372
-
373
- Imports the full VoltAgent `awesome-claude-code-subagents` collection (154 Claude-Code-native
374
- subagents across 10 categories) into MindForge, fully rebranded. Additive and
375
- backward-compatible — no existing persona, skill, or command changed behavior.
376
-
377
- ### Added
378
-
379
- - **`subagents/` tree** — 154 specialized subagent definitions in 10 categories
380
- (`01-core-development` … `10-research-analysis`), kept verbatim from upstream except
381
- the rebrand and collision/functional fixes below. Agent bodies are unmodified prose.
382
- - **`.mindforge/imported-agents.jsonl`** — generated index (name → path → category → model →
383
- description) and **`scripts/build-subagent-index.js`** to regenerate it deterministically.
384
- - **`bin/spawn-agent.js subagent <name>`** — third loader mode that resolves an imported
385
- subagent via the index. Hardened with a strict name allowlist (`[A-Za-z0-9-_]`), exact
386
- index-match resolution (never builds a path from input), and a `subagents/` containment
387
- check — defense-in-depth path-traversal guards consistent with `BLOCK_ON_SECURITY`.
388
- - **Installer delivery** — `bin/installer-core.js` now installs the 154 subagents into the
389
- runtime's native agents directory (`.claude/agents/`, via the new `agentsSubdir` runtime
390
- config + `installSubagents()`), flattening the category tree (READMEs excluded) so Claude
391
- Code auto-discovers them. Runs for both global and local scope; mirrored to `.claude/agents/`
392
- for non-claude local runtimes. Shown in `--dry-run` and the payload manifest; `--uninstall`
393
- removes only the imported set, never the user's own agents. The `.mindforge/imported-agents.jsonl`
394
- index ships with `.mindforge/`, so the `subagent` loader mode also works post-install.
395
- - **`tests/subagent-import.test.js`** — asserts 154 indexed, every path exists, all 16
396
- collisions renamed, no bare-name clash with personas, and the loader's traversal guards.
397
-
398
- ### Changed (rebrand — VoltAgent → MindForge)
399
-
400
- - Plugin/marketplace metadata (`subagents/.claude-plugin/marketplace.json` + 10 category
401
- `plugin.json`) renamed `voltagent-*` → `mindforge-*`, author → MindForge Team, URLs →
402
- `github.com/sairam0424/MindForge`. Per-plugin versions preserved for upstream re-sync.
403
- No live marketplace is published — metadata only.
404
- - 16 name collisions with existing hand-authored MindForge personas resolved with a `-cc`
405
- suffix (`api-designer-cc`, `debugger-cc`, …); the original personas remain authoritative
406
- for the bare names.
407
- - **agent-installer** fetch URLs repointed to `sairam0424/MindForge` under `subagents/`.
408
- - **design-bridge** VoltAgent design-md dependency replaced with a `<DESIGN_MD_SOURCE>`
409
- placeholder + a needs-configuration notice (MindForge ships no design-md repo yet).
410
- - Dead VoltAgent Discord/sponsor links removed (no MindForge equivalent).
411
- - `package.json` `files` allowlist now ships `subagents/` + the index; README capability
412
- line notes the 154 subagents.
413
-
414
- ## [11.2.1] - 2026-05-31 — "Hardening" (security & integrity audit remediation)
415
-
416
- Post-v11.2.0 audit remediation. Closes every exploitable security defect and
417
- false-assurance stub surfaced by the end-to-end audit. No new features, no
418
- breaking changes — fixes and honest-labeling only.
419
-
420
- ### Security (fixed)
421
-
422
- - **trust-gate-hook**: scans the whole command + every line (a benign first line could previously cloak a destructive later line)
423
- - **orbital-guardian**: `verify()` re-checks the Ed25519 attestation signature (added `did`/`signed_message` columns + migration); rejects forged APPROVED rows
424
- - **policy-engine**: `reasoning_proof` alone no longer bypasses the blast-radius limit (`isProofValid` inits false; cryptographic `pq_proof` path unchanged)
425
- - **shadow-mirror**: git calls use `execFileSync` (argv) + fail-closed `sanitizeRemediationId()` — closes command injection via `remediation_id`
426
- - **trust-boundaries `isHighImpact`**: added chmod/chown/dd/mv/kill/shutdown/eval/command-substitution/redirect detection + shell-obfuscation normalization; narrowed interpreter-script pattern to stop false-positives on `node <projectfile>`
427
- - **eis-client**: `verifyRemoteProvenance` delegates to real ZTAI signature verification, fail-closed (was returning true for any non-empty signature)
428
-
429
- ### Integrity / honest labeling (fixed)
430
-
431
- - **ztai-archiver**: `verifyIntegrity()` recomputes the Merkle root from the live log (was a no-op `return true`); fail-closed on tamper/delete/reorder
432
- - **mesh-self-healer**: emits an honest degraded advisory instead of fabricated 94%/100% consensus
433
- - **logic-validator**: probes Ollama when reachable, honest heuristic fallback; stopped advertising the dead model path
434
- - **reason-source-aligner**: consistent return shape (uninitialized no longer silently disables the mission-fidelity gate); real Jaccard similarity
435
- - **sre-manager**: HMAC artifact relabeled as integrity tag, not "ZK-Proof"
436
- - **installer-core**: PQAS-enabled message gated on the real `experimental.pqc_demo` flag
437
- - **finding-synthesizer**: detects real severity-gap contradictions (was hardcoded `[]`)
438
- - **logic-drift-detector**: relabeled heuristic, not "Neural"
439
- - **session-manager / shadow-mirror(docker) / regression-writer / skill-registry**: honest disclosure instead of silent empties / fake isolation / tautological tests / mock placeholders
440
- - **MINDFORGE.md**: `[PQAS_ENFORCED]` reconciled to reflect simulated/inactive default; **ztai-manager** logs relabeled `[ZTAI-HSM-SIM]`
441
-
442
- ### CI / hygiene
443
-
444
- - **release workflow**: asserts the git tag matches `package.json` version (fail-closed) + skips publish if the version is already on npm
445
- - **version-check**: runtime drift check widened to all 4 sources (was 2); SDK README guarded by test
446
- - removed dead `AuditRotator` class (CHANGELOG had wrongly claimed it removed); deprecated orphaned `createAppendQueue`
447
- - refreshed stale `v11.1.0` banners → current; added `cost_routing.shadow_mode` latch
448
- - version bumped to 11.2.1 across all sources
449
-
450
- ## [11.2.0] - 2026-05-31 — "Verification & Trust"
451
-
452
- ### Added
453
-
454
- - **UC-08 — Unified Verification Runner**
455
- - `bin/engine/verification-runner.js`: orchestrates test/lint/audit/typecheck stages into structured results with pass/fail/skip per stage
456
- - `bin/engine/verify-cli.js`: CLI entrypoint writing `.planning/VERIFICATION.md` reports
457
- - `mindforge verify` command registered in CLI
458
-
459
- - **UC-25 — Eval Harness**
460
- - `bin/eval/eval-harness.js`: recall@k, nDCG (graded relevance), and `runEval()` orchestrator for measuring retrieval quality
461
- - `bin/eval/golden-set-retrieval.json`: 10-query seed golden set covering orchestration, security, memory, cost, verification, hooks, and architecture domains
462
-
463
- - **UC-22 — Tool/MCP Trust Boundaries**
464
- - `bin/security/trust-boundaries.js`: manifest pinning (deterministic SHA-256 with recursive key sort), tamper detection, untrusted output tagging with provenance, and high-impact command detection
465
- - `bin/security/trust-gate-hook.js`: PreToolUse hook that blocks destructive Bash commands (rm -rf, force-push, DROP TABLE, hard reset) via native Claude Code hooks
466
- - Trust-gate registered in `.claude/settings.json` PreToolUse
467
-
468
- - **Council CLI**
469
- - `bin/council-cli.js`: thin wrapper wiring `runCouncil` to the `/mindforge:council` command with structured JSON output and formatted display
470
-
471
- ### Fixed
472
-
473
- - `auto-runner.js`: removed erroneous `new` on singleton ZTAIManager instance (was line 692)
474
-
475
- ### Removed
476
-
477
- - Dead `quantum-verify` CLI command entry (no handler existed)
478
- - Dead `AuditRotator` class and its export from `bin/utils/file-io.js` (zero callers; rotation broke the hash chain at rotation boundaries — see `bin/autonomous/audit-writer.js`)
479
-
480
- ### Changed
481
-
482
- - Config `pqas_signing` provider clarified as "Dilithium-5 (simulated — inactive)"
483
- - Banner version strings updated to v11.1.0 in self-corrective-synthesizer and remediation-engine
484
- - SDK README heading updated to "New in v11.1.0"
485
- - Version bumped to 11.2.0 across package.json and config.json
486
-
487
- ---
488
-
489
- ## [11.1.0] - 2026-05-31 — "Beast Mode"
490
-
491
- ### Added
492
-
493
- - **Pillar I — Integrity & Trust**
494
- - `bin/utils/append-queue.js`: single-writer fsync'd append queue for concurrent-safe durable writes (UC-09)
495
- - `bin/governance/audit-hash.js`: single canonical SHA-256 hasher shared by writer + verifier (UC-04)
496
- - `bin/governance/audit-verifier.js` + `bin/verify-audit.js` CLI: fail-closed hash-chain verifier (`exit 1` on any break) (UC-04)
497
- - All 7 audit-write paths unified through `appendAuditEntrySync` — the audit log is now genuinely tamper-evident with a verifiable prev-hash chain (UC-04b)
498
- - Simulated PQC demoted: `pqas_enabled=false` by default, gated behind `experimental.pqc_demo`; Tier-3 uses real Ed25519 (UC-24)
499
-
500
- - **Pillar II — Orchestration Correctness**
501
- - `bin/autonomous/dependency-dag.js`: real Kahn topological sort + cycle detection, ported from test-only to the engine (UC-03)
502
- - `planWaves(handoffs, {useDag:true})` opt-in DAG wave planning — explicit `.wave` always wins, legacy default unchanged (UC-03)
503
- - Pre-flight cycle detection halts loud before any wave executes (UC-03)
504
- - Wave-boundary timeout enforcement: `isTimedOut` + status `'timeout'` + resumable state (UC-14)
505
- - Opt-in rollback hook records intent on terminal ESCALATE (no auto git-reset by default) (UC-14)
506
- - `bin/engine/council-runtime.js`: minimal 4-voice council runtime (ADS loop) with injectable model, consensus scoring, dissent capture (UC-10)
507
-
508
- - **Pillar III — Cost-Aware Routing**
509
- - `bin/models/pricing-registry.js`: single source of truth for model pricing, loaded from `config.json` market_registry (UC-05)
510
- - All 3 providers routed through the registry — hardcoded pricing eliminated (UC-05)
511
- - Prompt-cache accounting: `cache_control:{type:'ephemeral'}` on system blocks, `cache_read`/`cache_creation` parsed + priced at ~10% input rate (UC-21)
512
- - `bin/models/difficulty-scorer.js`: heuristic 1-10 scorer with Tier-3 floor (UC-06)
513
- - Shadow-mode difficulty routing: logs intended model without changing actual selection (UC-06)
514
-
515
- - **Pillar IV — Native Alignment + Observability**
516
- - `.claude/settings.json` with hooks under real native events (`PostToolUse`/`PreToolUse`/`SessionStart`) — the security guard and context monitor now actually fire (UC-19a)
517
- - `bin/hooks/instinct-capture-hook.js`: auto-captures behavioral patterns via PostToolUse, respects session limit (UC-11)
518
- - `bin/engine/otel-exporter.js`: optional OTel GenAI exporter mapping NexusTracer spans to `gen_ai.*` semantic conventions, gated behind `OTEL_EXPORTER_OTLP_ENDPOINT` (UC-18)
519
- - `bin/memory/retrieval-fusion.js`: Reciprocal Rank Fusion (RRF) over knowledge-graph + BM25 retrieval paths, replacing incomparable linear blends (UC-20)
520
-
521
- ### Fixed
522
-
523
- - Audit-writer `close()` data-loss bug: threshold-triggered flushes were un-awaited, losing up to 10 entries on close (UC-09)
524
- - Audit-writer flush failure no longer crashes the process via unhandled rejection — logs to stderr (UC-09)
525
- - Vector-hub exit guard: `_dirty` boolean → pending-saves counter, closing a window where scheduled-but-unwritten saves were lost on hard exit (UC-09)
526
- - `isTimedOut` fails CLOSED on malformed `timeout_at` (garbage deadline = halt, not run unbounded) (UC-14)
527
- - Council position validation rejects NaN confidence / invalid recommendations (UC-10)
528
- - Dissent is now captured under NO_CONSENSUS verdict (the deadlock case where it matters most) (UC-10)
529
- - Pre-flight DAG check only cycle-checks stable-id tasks (id-less tasks can't be dependency targets) (UC-03)
530
- - `groupIntoWaves` self-defends: dangling dep throws "Unknown dependency" (not misleading "Circular") (UC-03)
531
-
532
- ### Changed
533
-
534
- - Audit rotation retired (it broke the hash chain at every 5000-line boundary); AUDIT.jsonl grows unbounded for now — chain-aware compaction is a deferred future feature (UC-04b)
535
- - `knowledge-store.js` appends now use `appendDurableSync` (openSync+writeSync+fsyncSync+closeSync) for guaranteed durability (UC-09)
536
- - `auto-shadow.js` `generateShadowContext()` now fuses retrieval paths via RRF instead of a single-path linear blend (UC-20)
537
-
538
- ### Removed
539
-
540
- - Orphaned `createAuditWriter` buffered path (zero production callers after UC-04b unification)
541
- - Hardcoded per-token pricing from `anthropic-provider.js`, `openai-provider.js`, `gemini-provider.js` (replaced by PricingRegistry)
542
-
543
- ## [11.0.1] - 2026-05-30 — "Stability Patch"
544
-
545
- ### Fixed
546
-
547
- - **Version drift**: reconciled `.mindforge/config.json` (was 10.7.0) with the 11.x line; added a fail-closed pre-flight version-consistency assertion (`bin/utils/version-check.js`) and a regression test that runs the migration and asserts its post-state, so the drift cannot silently return. (UC-01)
548
- - **Lint & dead code**: resolved all 109 ESLint errors, removed orphaned `bin/dashboard/team-tracker.js`, and made CI fail on any lint error. Fixed a latent `no-const-assign` runtime crash in `bin/review/ads-engine.js`. (UC-02)
549
- - **SDK `executeCommand` no-op**: replaced the published no-op stub (which made `batchExecute` report every task "fulfilled" while executing nothing) with a real `child_process.spawn` executor with stdout/stderr capture, timeout (SIGTERM→SIGKILL), and exit-code propagation; added a regression test against the compiled dist. (UC-07a)
550
-
551
- ## [11.0.0] - 2026-05-28 — "Sovereign Stability"
552
-
553
- ### Breaking Changes
554
-
555
- - `verifyZKProof()` returns structured `{ verified, reason }` instead of throwing
556
- - `signPQ()` returns `{ signature, simulated, algorithm }` object instead of raw string
557
- - Wave task execution order within waves is no longer deterministic
558
- - SDK bumped to 11.0.0 with new type exports
559
- - Dashboard tokens now expire after 24 hours
560
- - `TemporalHub.captureState()` and `rollbackTo()` are now async
561
-
562
- ### Added
563
-
564
- - LRUMap utility class for bounded caches with eviction callbacks
565
- - Atomic JSON write primitives (write-to-temp, fsync, rename)
566
- - AUDIT.jsonl log rotation with gzip archival (max 5000 lines)
567
- - HANDOFF.json structural validation (fail-open)
568
- - Temporal snapshot garbage collection (retain 50, expire > 7 days)
569
- - BM25 scoring with document-length normalization
570
- - Persistent index cache (mtime-based invalidation)
571
- - Persistent adjacency index for knowledge graph
572
- - Correction effectiveness tracking in self-corrective synthesizer
573
- - Full remediation strategy implementations (CONTEXT_COMPRESSION, GOLDEN_TRACE_INJECTION, REASONING_RESTART)
574
- - Graduated intelligence interlock (+1/+2/MAX tier) with cost-awareness
575
- - 3-tier stuck detection (hash → length → truncated Levenshtein)
576
- - Adaptive context window (10/20/30 based on velocity)
577
- - Configurable external ZK verifier module path
578
- - Ephemeral SRE enclave keys (crypto.randomBytes)
579
- - Time-limited RBAC role elevation with auto-expiry
580
- - Session-scoped ZTAI agent registry
581
- - Dashboard rate limiting (100 req/min/IP) and token expiration (24h)
582
- - /api/v1/token/refresh endpoint
583
- - Optional GPG approval verification
584
- - GET /api/v1/system observability endpoint (heap, uptime, audit stats)
585
- - checkHeapHealth() with warning/critical thresholds
586
- - Remediation effectiveness persistence
587
- - Model router dynamic reload (mtime-based, 60s interval)
588
- - P95 latency ring buffer for cloud broker
589
- - EIS client with real fetch + 3-retry exponential backoff
590
- - Semaphore-based parallel wave execution (max concurrency configurable)
591
- - WebSocketEventStream with auto-reconnect
592
- - SDK streamExecution() with AsyncIterable<StreamChunk>
593
- - SDK batchExecute() with concurrent task execution
594
- - SDK validateRuntimeConfig()
595
- - Model streaming support (Anthropic, OpenAI, Gemini providers)
596
- - Migration script (bin/migrations/10.7.0-to-11.0.0.js)
597
-
598
- ### Changed
599
-
600
- - sessionDriftHistory bounded to 500 entries via LRUMap
601
- - entropyCache bounded to 1000 entries via LRUMap
602
- - Cloud broker failure tracking uses 5-minute sliding window
603
- - Self-corrective synthesizer window expanded from 10 → 50 events
604
- - Context refactorer uses adaptive window instead of fixed 20
605
-
606
- ### Fixed
607
-
608
- - Memory leaks from unbounded Maps in long-running sessions
609
- - Data corruption risk on process crash during state file writes
610
- - Disk exhaustion from unbounded AUDIT.jsonl and snapshot growth
611
- - Hardcoded SRE enclave private key (security issue)
612
-
613
- ---
614
-
615
- ## [10.7.0] - 2026-05-27 — "Platform Sovereign"
616
-
617
- ### Added (v10.7.0)
618
-
619
- - **10 new core skills** — internal-developer-platform, self-serve-infrastructure, platform-reliability, developer-productivity-metrics, api-marketplace, build-system-optimization, secrets-platform, environment-management, platform-observability, migration-platform.
620
- - **6 new commands** — `/mindforge:platform`, `/mindforge:build-opt`, `/mindforge:secrets-mgmt`, `/mindforge:environments`, `/mindforge:observability-platform`, `/mindforge:migration-mgmt`.
621
- - **6 new personas** — platform-lead, build-engineer, environment-engineer, productivity-analyst, secrets-engineer, migration-architect.
622
- - **1 new swarm template** — PlatformSwarmV2 (HITL platform engineering + migration).
623
- - **200 core skills milestone** — Full coverage across 12 domains.
624
- - **Swarm templates v15.0.0** — 49 total templates.
625
-
626
- ---
627
-
628
- ## [10.6.0] - 2026-05-27 — "Data Alchemy"
629
-
630
- ### Added (v10.6.0)
631
-
632
- - **10 new core skills** — causal-inference, feature-engineering, ml-monitoring, data-governance, stream-processing, data-lakehouse, experiment-platform, data-mesh, real-time-analytics, data-privacy-engineering.
633
- - **6 new commands** — `/mindforge:causal`, `/mindforge:lakehouse`, `/mindforge:data-mesh`, `/mindforge:stream`, `/mindforge:privacy-eng`, `/mindforge:realtime-analytics`.
634
- - **6 new personas** — causal-scientist, data-mesh-architect, stream-engineer, lakehouse-architect, privacy-engineer, analytics-engineer.
635
- - **1 new swarm template** — DataAlchemySwarm (HITL data architecture + privacy).
636
-
637
- ---
638
-
639
- ## [10.5.0] - 2026-05-27 — "AI Frontier"
640
-
641
- ### Added (v10.5.0)
642
-
643
- - **10 new core skills** — multimodal-ai, ai-safety-alignment, synthetic-data-generation, model-evaluation, embedding-systems, llm-orchestration, knowledge-graphs, ml-feature-store, ai-cost-management, autonomous-agents.
644
- - **8 new commands** — `/mindforge:multimodal`, `/mindforge:ai-safety`, `/mindforge:embeddings`, `/mindforge:llm-route`, `/mindforge:knowledge-graph`, `/mindforge:feature-store`, `/mindforge:ai-cost`, `/mindforge:agent-design`.
645
- - **8 new personas** — multimodal-engineer, ai-safety-engineer, embedding-architect, llm-orchestrator, knowledge-engineer, feature-store-engineer, ai-economist, agent-architect.
646
- - **1 new swarm template** — AIFrontierSwarm (HITL AI system architecture + safety).
647
-
648
- ---
649
-
650
- ## [10.4.0] - 2026-05-27 — "Cross-Platform"
651
-
652
- ### Added (v10.4.0)
653
-
654
- - **10 new core skills** — react-native-patterns, flutter-architecture, offline-first-design, progressive-web-app, mobile-performance, cross-platform-testing, app-store-deployment, mobile-security, responsive-native, push-notification-architecture.
655
- - **6 new commands** — `/mindforge:mobile`, `/mindforge:react-native`, `/mindforge:flutter`, `/mindforge:offline`, `/mindforge:pwa`, `/mindforge:push-notify`.
656
- - **6 new personas** — mobile-architect, react-native-engineer, flutter-engineer, offline-specialist, mobile-security-engineer, pwa-architect.
657
- - **1 new swarm template** — MobileSwarm (HITL cross-platform architecture).
658
-
659
- ---
660
-
661
- ## [10.3.0] - 2026-05-27 — "Leader's Edge"
662
-
663
- ### Added (v10.3.0)
664
-
665
- - **10 new core skills** — technical-leadership, mentoring-patterns, stakeholder-communication, conflict-resolution, incident-communication, hiring-engineering, delegation-patterns, meeting-architecture, performance-reviews, change-management.
666
- - **6 new commands** — `/mindforge:lead`, `/mindforge:communicate`, `/mindforge:hire`, `/mindforge:delegate`, `/mindforge:meeting-design`, `/mindforge:change`.
667
- - **6 new personas** — tech-lead-coach, communication-architect, hiring-strategist, change-agent, meeting-designer, mentorship-lead.
668
- - **1 new swarm template** — LeadershipSwarm (HITL engineering leadership).
669
-
670
- ---
671
-
672
- ## [10.2.0] - 2026-05-27 — "Industry Forge"
673
-
674
- ### Added (v10.2.0)
675
-
676
- - **10 new core skills** — healthcare-systems, fintech-patterns, ecommerce-architecture, gaming-backend, edtech-platform, saas-multi-tenant, media-streaming, iot-platform, marketplace-trust, logistics-optimization.
677
- - **8 new commands** — `/mindforge:healthcare`, `/mindforge:fintech`, `/mindforge:ecommerce`, `/mindforge:gaming`, `/mindforge:edtech`, `/mindforge:iot`, `/mindforge:marketplace`, `/mindforge:logistics`.
678
- - **8 new personas** — healthcare-engineer, fintech-architect, ecommerce-engineer, gaming-engineer, edtech-architect, iot-architect, marketplace-engineer, logistics-architect.
679
- - **1 new swarm template** — IndustryVerticalSwarm (HITL domain-specific architecture).
680
- - **150 core skills milestone** — Industry vertical coverage added.
681
-
682
- ---
683
-
684
- ## [10.1.1] - 2026-05-26 — "Scale & Edge"
685
-
686
- ### Added (v10.1.1)
687
-
688
- - **10 new core skills** — edge-computing, serverless-patterns, container-security, zero-trust-architecture, ai-agent-deployment, distributed-consensus, data-pipeline-design, dns-architecture, cdn-optimization, database-sharding-advanced.
689
- - **6 new commands** — `/mindforge:edge`, `/mindforge:serverless`, `/mindforge:zero-trust`, `/mindforge:agent-deploy`, `/mindforge:data-pipeline`, `/mindforge:cdn`.
690
- - **6 new personas** — edge-engineer, zero-trust-engineer, agent-ops-engineer, consensus-engineer, data-pipeline-architect, cdn-architect.
691
- - **2 new swarm templates** — EdgeScaleSwarm (HITL edge + CDN), DistributedSwarm (HITL consensus + pipelines).
692
- - **140 core skills milestone** — Comprehensive coverage of emerging technology and massive-scale patterns.
693
- - **Swarm templates v14.0.0** — Bump from v13.0.0 with 2 new templates (total: 43 swarm templates).
694
-
695
- ---
696
-
697
- ## [10.1.0] - 2026-05-26 — "Strategic Intelligence"
698
-
699
- ### Added (v10.1.0)
700
-
701
- - **20 new core skills** — build-vs-buy, technology-radar, architecture-tradeoff-analysis, technical-interview-design, post-incident-learning, team-topology-design, sprint-retrospective-facilitation, knowledge-sharing-systems, estimation-techniques, on-call-design, experiment-design, analytics-instrumentation, notification-system-design, payment-integration, email-deliverability, agent-memory-design, agent-evaluation-framework, multi-turn-conversation-design, agent-tool-selection, human-in-the-loop-design.
702
- - **10 new commands** — `/mindforge:build-vs-buy`, `/mindforge:tech-radar`, `/mindforge:team-topology`, `/mindforge:retro`, `/mindforge:experiment`, `/mindforge:analytics`, `/mindforge:payments`, `/mindforge:agent-memory`, `/mindforge:agent-eval`, `/mindforge:hitl`.
703
- - **8 new personas** — decision-architect, team-coach, knowledge-curator, experiment-designer, payments-engineer, agent-memory-designer, agent-evaluator, hitl-architect.
704
- - **3 new swarm templates** — DecisionSwarm (HITL decision quality), TeamDesignSwarm (HITL team topology), AgentMetaSwarm (autonomous self-improvement).
705
- - **130 core skills milestone** — Category expansion into decision science, team engineering, product patterns, and agent meta-intelligence.
706
- - **Minor version bump (10.1.0)** — Represents category expansion beyond pure engineering into strategy and meta-intelligence.
707
- - **Swarm templates v13.0.0** — Bump from v12.0.0 with 3 new templates (total: 41 swarm templates).
708
-
709
- ---
710
-
711
- ## [10.0.9] - 2026-05-26 — "Full Spectrum"
712
-
713
- ### Added (v10.0.9)
714
-
715
- - **20 new core skills** — streaming-architecture, queue-design, real-time-sync, cost-estimation, technical-debt-management, capacity-planning, graceful-degradation, idempotency-patterns, rate-limiting-design, code-generation-patterns, dependency-management, git-workflow-design, i18n-architecture, a11y-testing, multi-tenancy-patterns, audit-logging, database-performance, bundle-optimization, graphql-patterns, pagination-patterns.
716
- - **10 new commands** — `/mindforge:stream`, `/mindforge:queue`, `/mindforge:finops`, `/mindforge:tech-debt`, `/mindforge:degrade`, `/mindforge:idempotent`, `/mindforge:rate-limit`, `/mindforge:i18n`, `/mindforge:multi-tenant`, `/mindforge:graphql`.
717
- - **8 new personas** — streaming-engineer, finops-analyst, debt-manager, resilience-engineer, codegen-specialist, i18n-architect, multi-tenancy-architect, graphql-designer.
718
- - **3 new swarm templates** — StreamingSwarm (HITL real-time), ResilienceSwarm (autonomous failure engineering), GovernanceSwarm (HITL data governance).
719
- - **110 core skills milestone** — Comprehensive coverage across all major software engineering domains achieved.
720
- - **Swarm templates v12.0.0** — Bump from v11.0.0 with 3 new templates (total: 38 swarm templates).
721
-
722
- ---
723
-
724
- ## [10.0.8] - 2026-05-26 — "Deep Patterns"
725
-
726
- ### Added (v10.0.8)
727
-
728
- - **20 new core skills** — contract-testing, load-testing, mutation-testing, visual-regression-testing, monorepo-management, cli-design, developer-onboarding, error-handling-architecture, caching-strategies, migration-strategies, connection-pooling, event-driven-architecture, api-gateway-patterns, websocket-patterns, feature-flag-management, secrets-rotation, compliance-as-code, rag-architecture, fine-tuning-workflow, llm-cost-optimization.
729
- - **10 new commands** — `/mindforge:contract-test`, `/mindforge:load-test`, `/mindforge:monorepo`, `/mindforge:cli`, `/mindforge:cache`, `/mindforge:events`, `/mindforge:secrets`, `/mindforge:rag`, `/mindforge:feature-flags`, `/mindforge:compliance`.
730
- - **8 new personas** — contract-tester, dx-engineer, cache-architect, event-architect, compliance-engineer, ml-ops-engineer, platform-engineer, api-gateway-designer.
731
- - **3 new swarm templates** — TestingDeepSwarm (autonomous deep testing), PlatformSwarm (HITL platform engineering), MLOpsSwarm (HITL ML operations).
732
- - **90 core skills milestone** — Production-depth coverage for testing, caching, events, secrets, compliance, RAG, and cost optimization.
733
- - **Swarm templates v11.0.0** — Bump from v10.0.0 with 3 new templates (total: 35 swarm templates).
734
-
735
- ---
736
-
737
- ## [10.0.7] - 2026-05-26 — "Meta Engineer"
738
-
739
- ### Added (v10.0.7)
740
-
741
- - **20 new core skills** — prompt-engineering, context-engineering, agent-orchestration-patterns, tool-design, guardrails-and-safety, observability-stack, ci-cd-pipeline, infrastructure-as-code, incident-management, chaos-engineering, data-modeling, api-versioning, search-implementation, design-system, state-management, responsive-patterns, auth-patterns, supply-chain-security, technical-writing, code-review-methodology.
742
- - **10 new commands** — `/mindforge:prompt`, `/mindforge:context-budget`, `/mindforge:orchestrate`, `/mindforge:observability`, `/mindforge:pipeline`, `/mindforge:data-model`, `/mindforge:design-tokens`, `/mindforge:auth-flow`, `/mindforge:write-rfc`, `/mindforge:review-guide`.
743
- - **8 new personas** — prompt-architect, agent-orchestrator, sre-lead, pipeline-engineer, data-architect, design-system-lead, auth-engineer, technical-writer-lead.
744
- - **3 new swarm templates** — PromptEngineeringSwarm (HITL AI engineering), SRESwarm (HITL reliability), FrontendSwarm (autonomous design system).
745
- - **70 core skills milestone** — Framework now covers AI engineering, DevOps, reliability, data, frontend, advanced security, and technical communication.
746
- - **Swarm templates v10.0.0** — Bump from v9.0.0 with 3 new templates (total: 32 swarm templates).
747
-
748
- ---
749
-
750
- ## [10.0.6] - 2026-05-26 — "Complete Arsenal"
751
-
752
- ### Added (v10.0.6)
753
-
754
- - **17 new core skills** — microservices-patterns, cqrs-event-sourcing, system-design, business-analyst, product-manager, market-researcher, typescript-advanced, python-performance, react-performance, k8s-deployment, writing-plans, writing-skills, using-git-worktrees, code-tour, autonomous-agent-harness, mcp-server-patterns, proofreader.
755
- - **10 new commands** — `/mindforge:microservices`, `/mindforge:system-design`, `/mindforge:brd`, `/mindforge:product-spec`, `/mindforge:market-research`, `/mindforge:code-tour`, `/mindforge:mcp-server`, `/mindforge:proofread`, `/mindforge:worktrees`, `/mindforge:plan-write`.
756
- - **8 new personas** — business-analyst, product-owner, market-analyst, mcp-designer, proofreader, system-designer, worktree-manager, code-narrator.
757
- - **3 new swarm templates** — ArchDesignSwarm (HITL system design), ProductSwarm (HITL product strategy), DocumentationSwarm (autonomous content quality).
758
- - **Swarm templates v9.0.0** — Bump from v8.0.0 with 3 new templates (total: 29 swarm templates).
759
- - **50 core skills milestone** — Framework now covers architecture, business, languages, workflow, infrastructure, and documentation domains.
760
-
761
- ---
762
-
763
- ## [10.0.5] - 2026-05-26 — "Forge Master"
764
-
765
- ### Added (v10.0.5)
766
-
767
- - **5 new core skills** — skill-creator-meta, deployment-workflow, dmux-workflows, vibe-security, instinct-clustering.
768
- - **5 new commands** — `/mindforge:create-skill`, `/mindforge:deploy`, `/mindforge:dmux`, `/mindforge:vibe-check`, `/mindforge:cluster-instincts`.
769
- - **5 new personas** — skill-smith, deployment-captain, dmux-orchestrator, vibe-checker, saga-orchestrator.
770
- - **2 new swarm templates** — DeploymentSwarm (HITL staged rollout), ForgeSwarm (autonomous skill creation).
771
- - **De-slop gate** — Phase 6.5 in verification-loop: informational de-slop scan before shipping (non-blocking).
772
- - **Cross-model eval spec** — `.mindforge/engine/cross-model-eval.md` for routing same task to 2 models and comparing outputs.
773
- - **Swarm templates v8.0.0** — Bump from v7.0.0 with 2 new templates (total: 26 swarm templates).
774
-
775
- ---
776
-
777
- ## [10.0.4] - 2026-05-26 — "Santa's Eval"
778
-
779
- ### Added (v10.0.4)
780
-
781
- - **8 new core skills** — santa-method, eval-harness, quality-audit, testing-anti-patterns, defense-in-depth, codebase-onboarding, rfc-pipeline, de-sloppify.
782
- - **6 new commands** — `/mindforge:santa`, `/mindforge:eval`, `/mindforge:quality-audit`, `/mindforge:rfc`, `/mindforge:onboard`, `/mindforge:de-slop`.
783
- - **6 new personas** — eval-judge, rfc-architect, anti-pattern-hunter, onboarding-navigator, de-sloppifier, quality-scorer.
784
- - **3 new swarm templates** — EvalSwarm (autonomous eval gate), OnboardingSwarm (autonomous codebase discovery), RFCSwarm (HITL spec decomposition).
785
- - **Proactive Skill Suggestion Engine** — Signal-based skill detection (file/error/task patterns) with confidence threshold (0.7), cooldown tracking, and debounce logic.
786
- - **Eval storage** — `.mindforge/evals/` directory for persisting eval configs, rubrics, and results.
787
- - **Swarm templates v7.0.0** — Bump from v6.0.0 with 3 new templates (total: 24 swarm templates).
788
-
789
- ---
790
-
791
- ## [10.0.3] - 2026-05-25 — "Council Awakens"
792
-
793
- ### Added (v10.0.3)
794
-
795
- - **10 new core skills** — agent-loops, multi-llm-consult, continuous-learning, council, verification-loop, threat-modeling, autonomous-loops, agent-introspection-debugging, cost-aware-routing, doc-health-audit.
796
- - **8 new commands** — `/mindforge:council`, `/mindforge:consult`, `/mindforge:verify-loop`, `/mindforge:introspect`, `/mindforge:cost-report`, `/mindforge:threat-model`, `/mindforge:learn-instinct`, `/mindforge:evolve-skills`.
797
- - **9 new personas** — cost-optimizer, threat-modeler, council-architect, council-skeptic, council-pragmatist, council-critic, instinct-curator, doc-auditor, multi-model-bridge.
798
- - **3 new swarm templates** — CouncilSwarm (HITL decision gate), VerificationSwarm (autonomous quality gates), LearningSwarm (instinct management).
799
- - **Skill Composition System** — Skills can now declare dependencies on other skills via `compose:` frontmatter field. Composed skills are injected as summaries (max 2-level depth, cycle detection).
800
- - **Instinct Engine** — Auto-capture learned behaviors with confidence scoring. Instincts auto-promote to skills at 0.85 confidence after 5+ successful applications. Project-scoped, max 100 per project.
801
- - **Cost Tracking Module** — Token budgeting, 5-tier model routing (Haiku/Sonnet/Opus/Gemini/GPT-4o), spend analytics via token-ledger.jsonl.
802
- - **Council Framework** — 4-voice decision harness (Architect, Skeptic, Pragmatist, Critic) with weighted consensus scoring, dissent documentation, and 5 pre-built templates.
803
- - **Cross-Iteration Bridge** — SHARED_TASK_NOTES.md for semantic context persistence across autonomous mode iterations (complements HANDOFF.json).
804
- - **Swarm templates v6.0.0** — Bump from v5.0.0 with 3 new templates (total: 21 swarm templates).
805
- - **claude-opus-4-7** added to market_registry in config.json.
806
- - **Loader composition step** — New Step 4.1 in skill loader for resolving `compose:` dependencies.
807
-
808
- ---
809
-
810
- ## [10.0.2] - 2026-05-24 — "Persona Expansion"
811
-
812
- ### Added (v10.0.2)
813
-
814
- - **47 new specialist personas** — Security & Compliance (6), Architecture & System Design (8), Frontend & UX (10), Performance & Reliability (5), Data & ML (4), DevOps & Infrastructure (6), Language Specialists (5), DX & Operations (8), Strategy & Review (9), Specialized Engineering (10).
815
- - **6 new swarm templates** — ArchitectureSwarm, PerformanceSwarm, InfrastructureSwarm, AccessibilitySwarm, ReviewSwarm, MigrationSwarm.
816
- - **Updated existing swarms** — UISwarm, BackendSwarm, SecuritySwarm, DeveloperExperienceSwarm, DataMeshSwarm, IncidentResponseSwarm, ComplianceSwarm, QualityAssuranceSwarm now include relevant new specialist personas.
817
- - **Swarm templates v5.0.0** — Bump from 4.2.0 with expanded member rosters and new specialist orchestration patterns.
818
- - **Persona registry documentation** — 10 new category tables in `docs/registry/PERSONAS.md`.
819
- - **Persona reference guide** — Updated `docs/PERSONAS.md` with all 47 entries (total: 108 personas).
820
-
821
- ---
822
-
823
- ## [10.0.0] - 2026-05-21 — "Bedrock Fortified"
824
-
825
- ### Added (v10.0.0)
826
-
827
- - **Bearer token authentication** — All dashboard mutating endpoints now require `Authorization: Bearer <token>` header. Protects SSE, steering, and approval routes.
828
- - **Auth on browser daemon** — The `/evaluate` endpoint on the Playwright browser daemon now requires authentication, closing a remote code execution vector.
829
- - **Unified test runner** — `tests/run-all.js` discovers and executes all 43 test files with pass/fail summary and exit code propagation.
830
- - **Shared utilities layer** — `bin/utils/paths.js`, `file-io.js`, and `errors.js` provide consistent path resolution, safe file I/O, and typed error classes across the codebase.
831
- - **AuditWriter module** — Buffered async writes with Merkle hash chaining, replacing direct synchronous file append calls in the auto-runner.
832
- - **State manager module** — Extracted from auto-runner for clean separation of execution state persistence.
833
- - **Task dispatcher module** — Extracted from auto-runner for isolated task routing and repair-operator logic.
834
- - **Wave executor module** — Extracted from auto-runner for wave-level orchestration and progress tracking.
835
- - **Dependabot configuration** — Weekly npm dependency updates and monthly GitHub Actions version bumps.
836
- - **CODEOWNERS file** — Defines review ownership for security-sensitive paths (`bin/governance/`, `bin/engine/`, SDK).
837
- - **npm provenance** — Release workflow now publishes with `--provenance` for SLSA Build Level 2 supply chain attestation.
838
- - **CLI "Did you mean?" suggestions** — Levenshtein distance matching for mistyped commands (e.g., `mindforge statsus` suggests `status`).
839
- - **CLI --verbose flag** — Enables detailed execution tracing for debugging framework behavior.
840
- - **CLI mindforge bin entry** — Post-install accessible binary for direct invocation without `npx`.
841
- - **Structured action allowlist** — Replaces the regex-based prompt injection blocklist with an explicit allowlist of permitted autonomous actions.
842
- - **.npmignore** — Excludes runtime artifacts, test fixtures, planning state, and intelligence logs from the published package.
843
- - **Knowledge store O(1) index** — Hash-map index for stores exceeding 100 entries, eliminating linear scans.
844
- - **SSE idle detection** — Dashboard polling pauses when no clients are connected, reducing CPU and I/O overhead.
845
- - **Metrics TTL cache** — 5-second time-to-live cache prevents redundant metrics recomputation on rapid dashboard refreshes.
846
- - **Smart mtime-based polling** — File watchers skip re-reads when mtime has not changed since last poll cycle.
847
- - **NON-OVERRIDABLE governance** — Added non-overridable parameter section to MINDFORGE.md for security-critical settings.
848
- - **HANDOFF schema alignment** — Unified HANDOFF.json to v1.0.0 schema with all required fields.
849
-
850
- ### Changed (v10.0.0)
851
-
852
- - **VectorHub: sql.js (WASM) replaces better-sqlite3 (native C++)** — Eliminates native compilation, node-gyp, and platform-specific build failures. Zero native dependencies.
853
- - **VectorHub: lazy Proxy + factory pattern** — Database connection is deferred until first query. Callers use `createVectorHub()` factory instead of direct constructor.
854
- - **VectorHub: WAL mode + FTS4** — Write-Ahead Logging for concurrent reads; FTS4 replaces FTS5 for sql.js compatibility.
855
- - **VectorHub: parameterized queries throughout** — All user-influenced values use bound parameters, closing SQL injection vectors.
856
- - **Auto-runner decomposition** — Reduced from 672 lines to 367 lines by extracting 4 focused modules (task-dispatcher, wave-executor, state-manager, audit-writer).
857
- - **NexusTracer async migration** — Moved from synchronous file appends to non-blocking writes with back-pressure handling.
858
- - **PolicyEngine async migration** — Governance evaluation no longer blocks the event loop during high-throughput wave execution.
859
- - **SDK memory.ts rewrite** — Now self-contained with no imports from `../../bin/`. Independently publishable.
860
- - **SDK exports field** — Package.json `exports` map enables tree-shaking and prevents deep import of internal modules.
861
- - **SDK files field** — Only ships compiled output and type declarations; source maps excluded from production.
862
- - **Real validateConfig() implementation** — Validates 5 required fields with type checking and schema enforcement (replaces no-op stub).
863
- - **Lazy module loading in auto-runner** — 12 heavy `require()` calls deferred to first-use, cutting cold-start time.
864
- - **Package size reduction** — From 3.9 MB / 866 files to 1.1 MB / 245 files (72% smaller).
865
- - **CI workflow** — Node 18/20/22 matrix, `npm ci`, npm caching, c8 coverage at 30% threshold.
866
- - **Model topology assertions** — Updated test expectations to match Claude 4.x and Gemini 2.5 model family.
867
- - **Skills MANIFEST** — Updated manifest to register all 10 core skills with proper paths and schema version.
868
- - **README rewritten** — Clear value proposition, quick-start, and architecture overview at the top.
869
- - **All docs version-stamped** — References updated to v10.0.0 throughout.
870
- - **SDK reference documentation** — Expanded from 28 lines to 230+ lines with full API surface coverage.
871
-
872
- ### Fixed (v10.0.0)
873
-
874
- - **CRITICAL: Hardcoded npm token removed** — `NPM_TOKEN` was embedded in CI config; now sourced exclusively from environment variables with startup validation.
875
- - **CRITICAL: ZK-proof governance bypass closed** — `verifyZKProof()` previously returned `true` unconditionally; now throws `GovernanceViolationError` with fail-closed semantics.
876
- - **CRITICAL: Path traversal in temporal API** — `auditId` parameter accepted `../` sequences; now validated with regex allowlist and directory containment check.
877
- - **CRITICAL: Command injection in change-classifier** — Shell-interpreted user input replaced with argument-array invocation, eliminating shell interpretation.
878
- - **Runtime crash in learning-manager.js** — Null reference on empty knowledge store; added defensive initialization.
879
- - **4 broken test files** — Fixed `nexus-tracing.test.js`, `model-broker.test.js`, `feedback-loop.test.js`, and `security-audit.test.js` (stale mocks, missing fixtures, async race conditions).
880
- - **Observability workflow trigger** — Workflow `name:` field now matches the `workflow_run.workflows` reference in dependent jobs.
881
- - **Duplicate release-plane.yml** — Removed conflicting workflow file that caused CI confusion.
882
-
883
- ### Removed (v10.0.0)
884
-
885
- - **better-sqlite3 dependency** — Native C++ addon removed in favor of sql.js (pure WASM). Eliminates `node-gyp`, Python, and platform-specific build toolchains.
886
- - **Dead CLI routes** — `sync-jira` and `sync-confluence` commands removed (integration stubs with no implementation).
887
- - **Duplicate release workflow** — `release-plane.yml` deleted; single `release.yml` is the canonical publish pipeline.
888
- - **Regex-based prompt injection blocklist** — Replaced by structured action allowlist (fewer false positives, auditable).
889
-
890
- ---
891
-
892
- ## [9.0.0] - 2026-04-30
893
-
894
- ### Added (v9.0.0: Bedrock Meridian — Pillars XXIV-XXVIII)
895
-
896
- - **Pillar XXIV: Grounded Wave Execution** — Replaced AutoRunner stubs with real HANDOFF-driven wave parsing, task dispatch, progress tracking, and state persistence. `hasNextWave()` reads HANDOFF.json wave groups. `executeWave()` iterates tasks with audit logging and repair-operator integration. `runPreFlight()` validates project state and restores progress from `auto-state.json`.
897
- - **Pillar XXV: Model Topology Modernization** — Updated all model references from Claude 3.x to Claude 4.x family (`claude-opus-4-7`, `claude-sonnet-4-6`, `claude-haiku-4-5`). Updated `model-router.js`, `model-client.js`, `model-broker.js`, `cloud-broker.js`, and `MINDFORGE.md`. Aligned pricing tables and fallback chains.
898
- - **Pillar XXVI: Unified Memory Architecture** — Added `knowledge` and `graph_edges` tables to VectorHub (SQLite). New `saveKnowledge()`, `searchKnowledge()`, `saveEdge()`, `getEdges()` methods. FTS5 index on knowledge content. Consolidates 4 JSONL-based memory systems into a single SQLite store.
899
- - **Pillar XXVII: Schema Migration Engine** — Added `_migrations` table to VectorHub for tracking applied migrations. New `v9-unified-memory.js` migration script that reads legacy JSONL stores and imports into SQLite. Registered in `migrate.js` runner.
900
- - **Pillar XXVIII: Integration Test Chain** — New `tests/v9-integration-chain.test.js` verifying the full pipeline: wave parsing, model topology, VectorHub schema, migration engine, and SDK sync. 17 assertions across all v9 pillars.
901
-
902
- ### Changed (v9.0.0)
903
-
904
- - **SDK**: Bumped `@mindforge/sdk` VERSION to `9.0.0`. Added `WaveExecutionResult` and `MigrationResult` types. Added `readAutoState()` and `isDatabaseInitialized()` to client.
905
- - **VectorHub**: Removed try/catch `ALTER TABLE` pattern (v8 legacy). Schema creation is now declarative via `createTable().ifNotExists()`.
906
- - **MINDFORGE.md**: Version bumped to `9.0.0-BEDROCK`. Model topology section normalized to Claude 4.x.
907
-
908
- ---
909
-
910
- ## [8.2.1] - 2026-04-25
911
-
912
- ### Fixed (v8.2.1: Stability & Cleanup)
913
-
914
- - **Payload Pruning**: Removed development-only test scripts from `bin/engine` and `bin/governance`.
915
- - **State Sanitization**: Cleaned up local persistence files (`celestial.db`, `memory/*.jsonl`) and session-specific planning artifacts.
916
- - **Structural Hardening**: Restored clean templates for `.planning/HANDOFF.json` and other core descriptors.
917
- - **NPM Optimization**: Reduced package size by excluding unneeded build-time caches and logs.
918
-
919
- ## [8.2.0] - 2026-04-18
920
-
921
- ### Added (v8.2.0: Autonomous SRE Layer — Pillars XX-XXIII)
922
-
923
- - **Sentinel Engine**: Implemented `bin/sre/sentinel.js` for continuous observability and anomaly detection in the audit stream.
924
- - **Shadow Mirror Isolation**: Hybrid replication system supporting Level 1 (Git) and Level 2 (Docker) deterministic isolation.
925
- - **Adversarial SRE Debate**: Three-way consensus protocol for high-fidelity remediation auditing.
926
- - **SLI-Gating Protocol**: Metric-driven verification loops to prevent performance regressions during self-healing.
927
- - **Persona Hardening**: Registered `sre-engineer` and `sre-auditor`, with the Auditor locked to **Claude 4.5 Opus**.
928
-
929
- ## [8.1.0] - 2026-04-13
930
-
931
- ### Added (v8.1.0: Sovereign Identity — Pillar XIX)
932
-
933
- - **Sovereign Identity Synthesis**: Autonomous creation and evolution of `SOUL.md` from execution traces.
934
- - **Identity Hegemony**: Promoted `SOUL.md` to #1 Source of Truth in the instruction hierarchy.
935
- - **XML-Structured Workflows**: Standardized project initialization and identity management with high-fidelity XML prompting.
936
- - **Identity Engine**: Implemented `bin/memory/identity-synthesizer.js` with v8.1 mirroring heuristics.
937
-
938
- ---
939
-
940
- ## [8.0.0] - 2026-04-12
941
-
942
- ### Added (v8.0.0: Celestial Orchestration - SQLite & FMS)
943
-
944
- - **Pillar XV: Unified Persistence Layer**: Transitioned from file-based JSONL state to a high-performance **SQLite** engine (`celestial.db`) with **FTS5** semantic reasoning support.
945
- - **Pillar XVI: Federated Mesh Synthesis (FMS)**: Inter-project knowledge sharing via signed **MindForge Bundles (`.mfb`)** using ZTAI-signed identities.
946
- - **Pillar XVII: Autonomous Skill Evolution (ASE)**: Implemented `SkillEvolver` to mine "Golden Traces" and synthesize reusable agentic skills.
947
- - **Pillar XVIII: Orbital Governance**: Hardware-bound (HSM/Biometric) attestation for catastrophic-risk mutations (>95).
948
- - **Core Vector Expansion**: Upgraded `VectorHub` with `better-sqlite3` and `Kysely` for type-safe, sub-millisecond persistence.
949
-
950
- ---
951
-
952
- ## [7.0.0] - 2026-04-11
953
-
954
- ### Added (v7.0.0: Sovereign Intelligence - Post-Quantum & Homing)
955
-
956
- - **Pillar IX: Autonomous Resource Harvesting (ARH)**: Real-time token arbitrage and dynamic task-to-model steering based on MIR.
957
- - **Pillar X: Neural Drift Remediation (NDR)**: Logic-drift detection and automated reasoning recovery via semantic density heuristics.
958
- - **Pillar XI: Post-Quantum Agentic Security (PQAS)**: Lattice-based (Dilithium-5) signatures and ZK-Proof bypasses for future-proof identity.
959
- - **Pillar XII: Proactive Semantic Homing**: Autonomous "Intent Hunting" where agents proactively claim tasks from the Federated Intelligence Mesh (FIM).
960
-
961
- ---
962
-
963
- ## [6.7.0] - 2026-04-09
964
-
965
- ### Added (v6.7.0: Federated Intelligence Mesh - FIM Expansion)
966
-
967
- - **Architectural Health Tracking**: Aggregates RSA and IDC scores into collective project health metrics via `PillarHealthTracker`.
968
- - **Stability Pattern Extraction**: Captures high-efficacy SCS homing instructions as durable, sharable knowledge entries (`stability_pattern`).
969
- - **AutoRunner Lifecycle Hooks**: Automated capture at phase completion for organizational sync.
970
-
971
- ---
972
-
973
- ## [6.6.0] - 2026-04-08
974
-
975
- ### Added (v6.6.0: Self-Corrective Synthesis - SCS)
976
-
977
- - **Autonomous Self-Healing**: Integrated `SelfCorrectiveSynthesizer` into the `AutoRunner` wave loop.
978
- - **Reasoning Drift Recovery**: Triggered when Mission Fidelity (RSA) drops below 0.50, synthesizing a "Homing Instruction" anchored to specific requirements.
979
- - **Homing Signal Injection**: Automatically injects high-density refocus signals into the wave context to recover mission fidelity.
980
-
981
- ---
982
-
983
- ## [6.5.0] - 2026-04-08
984
-
985
- ### Added (v6.5.0: Reason-Source Alignment - RSA)
986
-
987
- - **Requirement-to-Thought Mapping**: Integrated `ReasonSourceAligner` into the core Auto-Runner loop.
988
- - **Mission Fidelity Tracking**: Every reasoning thought is now cross-referenced with `REQUIREMENTS.md` and tagged with a best-match REQ-ID.
989
- - **Mission Drift Detection**: Real-time monitoring of "Mission Alignment" confidence scores to prevent autonomous side-questing.
990
- - **Requirement Schema**: Established formal `[REQ-ID]` Markdown schema for project specs.
991
-
992
- ---
993
-
994
- ## [6.4.0] - 2026-04-08
995
-
996
- ### Added (v6.4.0: Context Entropy Guard - CEG)
997
-
998
- - **Context Entropy Guard (CEG)**:
999
- - Implemented `context-entropy-guard.js` for active noise suppression and context pruning.
1000
- - Added semantic compression to `HandoverManager`, automatically summarizing stagnant reasoning loops into digests.
1001
- - Hardened Nexus Bundles against "Reasoning Entropy" (similarity-based token bloat).
1002
-
1003
- ---
1004
-
1005
- ## [6.3.0] - 2026-04-08
1006
-
1007
- ### Added (v6.3.0: Intelligence-Drift Coupling - IDC)
1008
-
1009
- - **Dynamic Model Upgrading (IDC)**:
1010
- - Implemented `intelligence-interlock.js` to bridge NDR (Neural Drift Remediation) and ARH (Resource Arbitrage).
1011
- - Added "Critical Drift" alert thresholds to `LogicDriftDetector`.
1012
- - Integrated IDC signals into `AutoRunner`, allowing for proactive model tier upgrades when reasoning decay is detected.
1013
- - Hardened `RouterSteering` to respect mid-wave MIR overrides.
1014
-
1015
- ---
1016
-
1017
- ## [6.2.0] - 2026-04-02
1018
-
1019
- ### Added (v6.2.0: Sovereign Enterprise Stable)
1020
-
1021
- - **Autonomous Agentic Learning (Double-Hook)**:
1022
- - Implemented `AGENTS_LEARNING.md` as a persistent, project-level engineering memory.
1023
- - Added automated hooks to capture architectural patterns and anti-patterns during phase execution.
1024
-
1025
- - **Enterprise-Grade Professionalization**:
1026
- - Hardened and professionalized the entire documentation suite (Architecture, Security, Universal Commands).
1027
- - Hardened framework branding across all system identifiers and logs.
1028
- - Updated agent registry and workflow atlas for v6 consistency.
1029
-
1030
- - **Identity Layer Hardening**:
1031
- - Professionalized source code logs and identifiers for enterprise-compliance.
1032
- - Test suite branding and identity alignment.
1033
-
1034
- ---
1035
-
1036
- ## [6.2.0-alpha] - 2026-03-29
1037
-
1038
- ### Added (v6.2.0-alpha: Sovereign Pillars XI & XII)
1039
-
1040
- - **Pillar XI: Post-Quantum Agentic Security (PQAS)**:
1041
- - Implemented `QuantumCrypto` for simulated lattice-based (Dilithium-5) signatures and ZK-Proof generation.
1042
- - Integrated `QuantumSafeKeyProvider` into `ZTAIManager` for Tier 4 (Quantum-Safe) agent identities.
1043
- - Hardened `PolicyEngine` with dynamic Biometric Challenges for Risk > 95 and ZK-Proof verification for high-leverage bypasses.
1044
- - **Pillar XII: Proactive Semantic Homing**:
1045
- - Implemented `IntentHarvester` for proactive, idle-state task claiming from the Federated Intelligence Mesh (FIM).
1046
- - Implemented `MeshSelfHealer` for peer-to-peer collaborative reasoning and recovery from logic drift > 80.
1047
- - Integrated proactive behaviors into the `AutoRunner` core loop.
1048
- - **Hardening & Verification**:
1049
- - Constant-time signature verification and cycle-detection for mesh healing.
1050
- - 100% pass rate on v7 specialized security and homing integration test suites.
1051
-
1052
- ## Top Summary (v6.2.0-alpha)
1053
-
1054
- MindForge v6.2.0-alpha achieves full **Sovereign Intelligence** status by hardening the mesh against quantum-era threats and transitioning from reactive wave-processing to proactive agentic homing.
1055
-
1056
- ## Highlights (v6.2.0-alpha)
1057
-
1058
- - **Quantum-Safe Identity (PQAS)**: Verifiable agentic signatures resistant to future cryptographic threats.
1059
- * **Proactive Homing**: Autonomous "Intent Hunting" that eliminates idle latency in the agentic mesh.
1060
- * **Edge-Case Biometrics**: Hardware-locked governance for catastrophic-risk operations (>95 Blast Radius).
1061
-
1062
- ---
1063
-
1064
- ## [6.1.0-alpha] - 2026-03-29
1065
-
1066
- ### Added (v6.1.0-alpha: Sovereign Intelligence)
1067
-
1068
- - **Pillar IX: Autonomous Resource Harvesting (ARH)**:
1069
- - Implemented `MarketEvaluator` for real-time token arbitrage.
1070
- - Dynamic task-to-model steering based on MIR (Min-Intelligence-Requirement).
1071
- - ROI Telemetry integration for tracking agentic cost-savings.
1072
- - **Pillar X: Neural Drift Remediation (NDR)**:
1073
- - Implemented `LogicDriftDetector` with semantic density and repetition heuristics.
1074
- - Integrated `RemediationEngine` for automated reasoning recovery (Injection/Restart).
1075
- - Hardened `NexusTracer` hooks for real-time drift sensing.
1076
- - **Hardened Sovereign Heuristics**: Improved repetitive logic detection using punctuation-aware token analysis.
1077
- - **ROI Arbitrage Ledger**: New audit event `roi_arbitrage_event` in `AUDIT.jsonl`.
1078
-
1079
- ## Top Summary (v6.1.0-alpha)
1080
-
1081
- MindForge v6.1.0-alpha completes the **Sovereign Intelligence** phase. The framework now possesses the ability to quantify its own economic value through resource harvesting and self-heal from cognitive decay through neural drift remediation.
1082
-
1083
- ## Highlights (v6.1.0-alpha)
1084
-
1085
- - **Autonomous FinOps (ARH)**: Real-time steering between tiered models based on task MIR.
1086
- - **Self-Healing Reasoning (NDR)**: Proactive interruption of logic loops and hallucinations.
1087
- - **Unified Integration**: Seamless integration of NDR/ARH into the core `NexusTracer` loop.
1088
-
1089
- ---
1090
-
1091
- ## [6.0.0-alpha] - 2026-03-29
1092
-
1093
- The v6.0.0-alpha release introduces the final pillar of the MindForge Enterprise architecture: AgRevOps (Agentic Revenue Operations). This engine provides real-time ROI attribution for autonomous waves, enabling enterprises to quantify the business value of every agentic reasoning cycle.
1094
-
1095
- ## Highlights (v6.0.0-alpha)
1096
-
1097
- - **AgRevOps ROI Engine**: Real-time value attribution for autonomous task execution.
1098
- - **ROI Telemetry**: New `roi-telemetry.jsonl` stream for tracking cost efficiency vs. outcome quality.
1099
- - **Nexus Steering Sync**: Final synchronization of the `NexusTracer` and `NexusSteering` protocols into the core execution loop.
1100
- - **Protocol Automation**: Automated activation of `_extended` mindforge skills via the Neural Orchestrator.
1101
-
1102
- ---
1103
-
1104
- # MindForge v5.9.0 — Enterprise-Grade Hardening (Nexus Unification)
1105
-
1106
- ## Top Summary (v5.9.0)
1107
-
1108
- The v5.9.0 release elevates the MindForge Enterprise architecture to "Enterprise-Grade" by unifying the tracing infrastructure into a single, high-fidelity asynchronous ART protocol and hardening the governance and arbitrage pillars with advanced cryptographic and resilience patterns.
1109
-
1110
- ## Highlights (v5.9.0)
1111
-
1112
- - **Unified NexusTracer Singleton**: Migration of all tracing and reasoning capture to `bin/engine/nexus-tracer.js`. Standardized as a singleton with mandatory `async` methods to support ZTAI cryptographic signing.
1113
- - **Merkle-Style Audit Integrity**: Hardened SRE and ZTAI logs with Merkle-root cumulative hash chains, ensuring every audit entry is cryptographically linked to the entire session history.
1114
- - **MCA Circuit Breakers**: Stateful provider blacklisting in `CloudBroker` that automatically disables failing models for 10 minutes after 3 consecutive errors.
1115
- - **Intelligence Metrics Decay**: Historical performance data now favors recent trends via a 0.95 decay factor, ensuring routing adaptivity.
1116
- - **Async Test Suite**: 100% restoration of the core test suite (Nexus, SRE, RES) for the new asynchronous execution model.
1117
-
1118
- ---
1119
-
1120
- # MindForge v5.8.0 — Sovereign Reason Enclaves (ZK-Audit)
1121
-
1122
- ## Top Summary (v5.8.0)
1123
-
1124
- The v5.8.0 release implements the sixth pillar of the Hyper-Enterprise roadmap: Sovereign Reason Enclaves with Zero-Knowledge (ZK) Audit Trails. This enables agents to provide cryptographic proof of policy adherence for confidential reasoning without exposing proprietary content to global logs.
1125
-
1126
- ## Highlights (v5.8.0)
1127
-
1128
- - **ZK-Proof Compliance Certificates**: Simulated zero-knowledge proofs (DID-signed) for SRE sessions.
1129
- - **Privacy-Preserving Auditing**: `NexusTracer` replaces raw thought traces with verifiable certificates for isolated tasks.
1130
- - **Enclave Verification**: New `verifyZKProof` utility for non-custodial audit integrity checks.
1131
- - Synchronized `mindforge-cc` documentation suite for Pillar VII & VIII.
1132
- - Updated `CLAUDE.md` with standard `_extended` protocol awareness.
1133
-
1134
- ## [5.9.0] - 2026-03-28
1135
-
1136
- ### Added (v5.9.0)
1137
-
1138
- - **Pillar VII: Nexus Steering (Hierarchical Intent Orchestration)**.
1139
- - Implemented `NexusTracer` for multi-layered reasoning visualization.
1140
- - Added `NexusSteering` protocol for cross-session intent persistence.
1141
- - Hardened `SwarmController` with `context7-depth` logic for high-complexity tasks.
1142
-
1143
- ## [5.8.0] - 2026-03-28
1144
-
1145
- ### Added (v5.8.0)
1146
-
1147
- - **Pillar VI: Sovereign Reason Enclaves (ZK-Proof Audit Trails)**.
1148
- - Implemented `SRE-ISOLATED` reasoning mode in `SREManager`.
1149
- - Generated **ZK-Proof Compliance Certificates** (signed by System DID) for confidential reasoning cycles.
1150
- - Integrated masked audit logging in `NexusTracer`, replacing raw thought traces with verifiable proofs.
1151
- - Added `verifyZKProof` utility for non-custodial audit verification.
1152
-
1153
- ## [5.7.0] - 2026-03-28
1154
-
1155
- ### Added (v5.7.0)
1156
-
1157
- - **Pillar V: Multi-Cloud Arbitrage (Task-to-Model Affinity Routing)**.
1158
- - Implemented **Performance-Based Affinity Matrices** in `CloudBroker` for intelligence-first routing.
1159
- - Added `performance-stats.json` persistence to track cross-provider success rates by task taxonomy.
1160
- - Integrated automated result recording in `WaveFeedbackLoop`.
1161
- - Prioritized **Probability of Success** over raw cost/latency in routing scoring.
1162
-
1163
- ## [5.6.0] - 2026-03-28
1164
-
1165
- ### Added (v5.6.0)
1166
-
1167
- - **Pillar IV: Supply Chain Trust (Binary Runtime Attestation)**.
1168
- - Cryptographic skill signing in `SkillRegistry` via ZTAIManager Tier 3 Enclaves.
1169
- - JIT Attestation in `SkillValidator` to verify skill integrity before agent execution.
1170
- - `SIGNATURES.json` tracking for all enterprise-grade skills.
1171
-
1172
- ## [5.5.0] - 2026-03-28
1173
-
1174
- ### Added (v5.5.0)
1175
-
1176
- - **Pillar III: Predictive Agentic Reliability (Reasoning Entropy Monitoring)**.
1177
- - Reasoning Entropy Scoring (RES) in `NexusTracer` to detect semantic stagnation and loops.
1178
- - Proactive Self-Healing trigger for high-similarity thought sequences.
1179
- - Steering Vector generation in `TemporalHindsight` to break agentic deadlocks.
1180
-
1181
- ## [5.4.0] — Enterprise-Grade Hardening — 2026-03-28
1182
-
1183
- # Release Notes - MindForge v5.4.0 — Enterprise Resilience (Hardened Edition)
1184
-
1185
- This update elevates the v5.3.0 "Hyper-Enterprise" features to maximum robustness ("Production-Grade"), implementing critical safety systems and advanced observability.
1186
-
1187
- ### Added
1188
-
1189
- - **Circuit Breaker Pattern**: Implemented a stateful `CircuitBreaker` in `federated-sync.js` to prevent network floods. Automatically disables mesh sync for 1 hour after 3 consecutive EIS failures.
1190
- - **Critical-Path Protection**: Automated "Blast Radius" score of 100 in `impact-analyzer.js` for sensitive files (`.env`, `*.pem`, `id_rsa`, `package-lock.json`, etc.).
1191
- - **Recursive Depth Penalty**: Introduced a 1.5x impact multiplier for actions deeper than 5 directory levels, preventing mass-scale silent modifications.
1192
- - **Failure Telemetry**: Added `sync-history.jsonl` and `sync-telemetry.jsonl` for detailed conflict resolution and error auditability.
1193
- - **Resilient Execution**: Raised default scores for `EXECUTE` and `GRANT` actions to increase governance oversight.
1194
-
1195
- 🚀 **MindForge v5.4.0 — Enterprise Resilience (Hardened Edition)**
1196
-
1197
- This update elevates the v5.3.0 "Hyper-Enterprise" features to maximum robustness ("Production-Grade"), implementing critical safety systems and advanced observability.
1198
-
1199
- ### 🛡️ Enterprise-Grade Hardening (v5.4.0)
1200
-
1201
- - **Circuit Breaker Pattern**: Implemented a stateful `CircuitBreaker` in `federated-sync.js` to prevent network floods. Automatically disables mesh sync for 1 hour after 3 consecutive EIS failures.
1202
- - **Critical-Path Protection**: Automated "Blast Radius" score of 100 in `impact-analyzer.js` for sensitive files (`.env`, `*.pem`, `id_rsa`, `package-lock.json`, etc.).
1203
- - **Recursive Depth Penalty**: Introduced a 1.5x impact multiplier for actions deeper than 5 directory levels, preventing mass-scale silent modifications.
1204
- - **Failure Telemetry**: Added `sync-history.jsonl` and `sync-telemetry.jsonl` for detailed conflict resolution and error auditability.
1205
- - **Resilient Execution**: Raised default scores for `EXECUTE` and `GRANT` actions to increase governance oversight.
1206
-
1207
- ## [5.3.0] — Dynamic Blast Radius — 2026-03-28
1208
-
1209
- 🚀 **MindForge v5.3.0 — Pillar II Implementation (APO v2)**
1210
-
1211
- This update introduces real-time risk assessment for agentic actions, preventing high-impact regressions through dynamic guardrails.
1212
-
1213
- ### Pillar II: Dynamic Blast Radius (v5.3.0)
1214
-
1215
- - **Impact Scoring Engine**: Implemented `impact-analyzer.js` to calculate the "Blast Radius" (0-100) of every intent based on action severity and target sensitivity.
1216
- - **Max-Impact Policy Enforcement**: Updated `policy-engine.js` to enforce `max_impact` thresholds, allowing granular control over destructive operations.
1217
- - **Fail-Safe Security**: Integrated "Default Deny" posture if impact analysis fails, defaulting to score 100 (CRITICAL).
1218
-
1219
- ## [5.2.0] — Semantic Vector Consensus — 2026-03-28
1220
-
1221
- 🚀 **MindForge v5.2.0 — Pillar I Implementation (FIM v2)**
1222
-
1223
- This update transcends simple timestamp-based synchronization, moving to a vector-space consensus model for organizational knowledge.
1224
-
1225
- ### Pillar I: Semantic Vector Consensus (v5.2.0)
1226
-
1227
- - **Hybrid Semantic Synthesis**: Refactored `federated-sync.js` to use `EmbeddingEngine` cosine similarity for knowledge merging.
1228
- - **4-Branch Resolution Protocol**:
1229
- - **LWW (> 0.9)**: Auto-resolve near-identical entries.
1230
- - **Autonomous ADS Merge (0.75 - 0.9)**: Proactive synthesis of overlapping knowledge.
1231
- - **Nexus Handover (0.6 - 0.75)**: Human-agent conflict resolution.
1232
- - **Topic Isolation (< 0.6)**: Prevention of ID collisions for disparate content.
1233
- - **Resilient Sync Architecture**: Hardened synchronization loop with robust error handling and TF-IDF fallback.
1234
-
1235
- ## [5.1.0] — The Enterprise Expansion — 2026-03-28
1236
-
1237
- 🚀 **MindForge v5.1.0 — Evolution of the Agentic Protocol Mesh**
1238
-
1239
- This major update integrates 14 advanced agentic protocols and high-performance session hooks originally developed in the Superpowers framework, fully sanitized and hardened for the MindForge ecosystem.
1240
-
1241
- ### 🧩 Advanced Agentic Protocols (v5.1.0)
1242
-
1243
- - **Extended Tactical Rigor**: Overlapping skills have been evolved into `_extended` variants (e.g., `mindforge-debug_extended`, `mindforge-tdd_extended`) with higher verification standards.
1244
- - **Neural Orchestration**: New `mindforge-neural-orchestrator` layer for intelligent protocol activation during session startup.
1245
- - **Autonomous Multi-Tasking**: Integrated `parallel-mesh` and `swarm-execution` for mass-scale phase execution.
1246
- - **Creative Intelligence**: New `mindforge:brainstorming` workflow for intent and architectural exploration.
1247
- - **Hardened QA Gates**: Evolution of `verify-work` and `ship` protocols with automated quality assurance and branch sanitization.
1248
- - **Isolated Workspaces**: Support for clean Git worktrees via `workspace-isolated`.
1249
-
1250
- ### 🛠️ Core Infrastructure Updates (v5.1.0)
1251
-
1252
- - **Native Session Hooks**: Replaced legacy bash hooks with high-performance Node.js session-initialization drivers.
1253
- - **Workflow Synchronization**: Core command suite (/plan, /execute, /debug, /ship etc.) updated to mandate Step 0 Protocol Activation.
1254
- - **Full Sanitization**: 100% elimination of external branding across all documentation and system identifiers.
1255
-
1256
- ### Added (v5.1.0)
1257
-
1258
- - `mindforge-brainstorming` (New)
1259
- - `mindforge-parallel-mesh_extended` (Extended)
1260
- - `mindforge-execute-phase_extended` (Extended)
1261
- - `mindforge-ship_extended` (Extended)
1262
- - `mindforge-review-inbound` (New)
1263
- - `mindforge-review-request` (New)
1264
- - `mindforge-swarm-execution` (New)
1265
- - `mindforge-debug_extended` (Extended)
1266
- - `mindforge-tdd_extended` (Extended)
1267
- - `mindforge-workspace-isolated` (New)
1268
- - `mindforge-neural-orchestrator` (New)
1269
- - `mindforge-verify-work_extended` (Extended)
1270
- - `mindforge-plan-phase_extended` (Extended)
1271
- - `mindforge-skill-creation` (New)
1272
-
1273
- ---
1274
-
1275
- ## [5.0.0-alpha.2] — Predictive Reliability & Supply Chain Trust — 2026-03-28
1276
-
1277
- 🚀 **MindForge v5.0.0 — Pillars III & IV Implementation**
1278
-
1279
- This update adds the next two critical architectural pillars to the v5 Enterprise roadmap, focusing on long-term session reliability and a verifiable asset supply chain.
1280
-
1281
- ### Pillar III: Predictive Agentic Reliability (PAR)
1282
-
1283
- - **Advanced Loop Detection**: Implemented **S03 (Semantic Mirroring)** and **S04 (Infinite Decomposition)** patterns in the `StuckMonitor`.
1284
- - **Context Density Refactorer**: New proactive utility that triggers context summarization and handoffs when reasoning-to-action density falls below 30%.
1285
- - **C2C Arbitrage**: Integrated **Confidence-to-Cost** threshold gating into the `AutoRunner` to prevent low-value autonomous drift.
1286
- - **Self-Healing Integration**: Automated triggering of "hindsight injection" and state repair when PAR patterns are detected.
1287
-
1288
- ### Pillar IV: Supply Chain Trust (ZTS)
1289
-
1290
- - **Agentic SBOM**: Implemented the `NexusTracer` manifest generator, producing real-time `MANIFEST.sbom.json` files for every reasoning chain.
1291
- - **7-Dimension Certification (7D)**: Re-architected the `skill-validator` with a weighted scoring system covering Schema, Triggers, Security, Clarity, and Examples.
1292
- - **Enterprise-Grade Enforcement**: Strict `--enterprise` mode requirement for a minimum **7.0/10.0** certification score.
1293
- - **Model/Skill Telemetry**: Integrated real-time tracking of asset provenance and usage history in the audit stream.
1294
-
1295
- ## [5.0.0-alpha.1] — Federated Intelligence & Policy Orchestration — 2026-03-28
1296
-
1297
- 🚀 **MindForge v5.0.0 — The Sovereign Enterprise Release**
1298
-
1299
- This landmark release transforms MindForge into a distributed, governable, and cryptographically verified agentic operating system. V5 introduces the first two pillars of the Enterprise Architecture: Federated Intelligence Mesh (FIM) and Agentic Policy Orchestrator (APO).
1300
-
1301
- ### Pillar I: Federated Intelligence Mesh (FIM)
1302
-
1303
- - **Enterprise Intelligence Service (EIS)**: Implemented `eis-client.js` for secure, authenticated communication with the organizational knowledge hub.
1304
- - **Delta-Sync Protocol**: Implemented `federated-sync.js` with timestamp-based delta pulls, significantly reducing synchronization latency.
1305
- - **ZTAI-Signed Provenance**: Every knowledge item in the mesh is cryptographically tied to the DID of the originating agent.
1306
- - **Hybrid Knowledge Graph**: Extended `knowledge-graph.js` to seamlessly resolve local nodes and remote federated nodes.
1307
-
1308
- ### Pillar II: Agentic Policy Orchestrator (APO)
1309
-
1310
- - **Policy-as-Code (PaC)**: Implemented `policy-engine.js` for intent-based evaluation of agent actions against organizational security rules.
1311
- - **RBAC Manager**: Implemented `rbac-manager.js` for mapping DIDs to project roles and binding permissions to ZTAI Trust Tiers.
1312
- - **Policy Interceptor**: Deep integration into `auto-runner.js`, enforcing a pre-flight governance gate before every autonomous wave.
1313
- - **Default Enterprise Policies**: Shipped with initial security guardrails for engine and infrastructure protection.
1314
- - **Dynamic Blast Radius (v5.3.0)**: Integrated `ImpactAnalyzer` to calculate and enforce risk-based thresholds for autonomous actions.
1315
-
1316
- ### Hardening (Enterprise Mode v5.0.0-alpha.1)
1317
-
1318
- - **ZTAI Interlock**: All mesh and policy operations now utilize the hardware-enclave (simulated) signing engine for Tier 3 principals.
1319
- - **Dynamic Intent Extraction**: Autonomous intents are now derived in real-time from active session identities.
1320
- - **Conflict Resolution (v5.2.0)**: Uses **Hybrid Semantic Synthesis** (Pillar I v5.2.0).
1321
- - **Similarity > 0.9**: Near-identical; auto-resolve via **Last-Write-Wins (LWW)**.
1322
- - **0.75 - 0.9**: Semantic Overlap; triggers **Autonomous ADS Merging**.
1323
- - **0.6 - 0.75**: Conflict; triggers **Nexus Handover (DHH)** for human steering.
1324
- - **< 0.6**: Topic Collision; isolates entries into unique IDs to prevent data loss.
1325
-
1326
- ---
1327
-
1328
- ## [4.3.0] — Enterprise Mesh & Proactive Equilibrium — 2026-03-28
1329
-
1330
- 🚀 **MindForge v4.3.0 — The Maturity Release**
1331
-
1332
- This major update completes the **MindForge V4 Roadmap**, introducing autonomous financial governance and self-healing reliability engines. It also includes a comprehensive structural reorganization of the framework for enterprise scalability.
1333
-
1334
- ### Key Pillars (v4.3.0)
1335
-
1336
- - **Autonomous FinOps Hub (Pillar V)**: Implemented `ModelBroker` for dynamic **C2C (Confidence-to-Cost)** routing and `FinOpsHub` for real-time ROI tracking.
1337
- - **Proactive Equilibrium (Pillar VI)**: Implemented `WaveFeedbackLoop` for divergence detection and `TemporalHindsight` for autonomous state recovery (RCA/Repair).
1338
- - **Structural Reorganization**: Migrated all core engine implementation files from `.mindforge/` logic directories to a standardized `bin/` domain architecture.
1339
- - **Global Memory Sync**: Enhanced `SemanticHub` to support organizational-level knowledge sharing via `~/.mindforge/`.
1340
- - **Hardened ZTAI Enterprise Mode**: HSM-simulated signing for Tier 3 principals and automated audit integrity manifests.
1341
-
1342
- 🚀 **MindForge v4.2.0 — The Security Revolution**
1343
-
1344
- This update introduces **Zero-Trust Agentic Identity (ZTAI)**, a core pillar of the MindForge enterprise security architecture. It establishes a DID-based identity system with cryptographic signing for all agentic actions, ensuring non-repudiable audit trails and tiered governance.
1345
-
1346
- ### Key Pillars (v4.2.0)
1347
-
1348
- - **ZTAI Identity Engine**: Core manager for DID generation (`did:mindforge:<uuid>`) and Ed25519 key pair lifecycle.
1349
- - **Cryptographic Audit Signing**: All reasoning traces and spans are signed by the originating agent, ensuring log integrity.
1350
- - **Trust-Tiered Governance**: 4-tier authorization model (0-3) for granular permission control across the agentic mesh.
1351
- - **Identity-Lock Engine**: Automated security gate in the `WaveExecutor` that blocks unauthorized Tier 3 actions.
1352
- - **Trust Verifier**: Real-time cryptographic validation of the `AUDIT.jsonl` log for cross-session integrity.
1353
- - **Enterprise-Grade Hardening**: session-based key rotation and hardware security module (HSM) hook placeholders.
1354
-
1355
- ---
1356
-
1357
- ## [4.1.0] — MindForge Nexus (Observability & Tracing) — 2026-03-27
1358
-
1359
- 🚀 **MindForge v4.1.0 — The Observability Revolution**
1360
-
1361
- This update introduces **MindForge Nexus**, a high-fidelity observability and tracing system designed for the agentic mesh. It enables deep visibility into agentic "thought chains" and parallel swarm execution through OpenTelemetry-compatible tracing.
1362
-
1363
- ### Key Pillars (v4.1.0)
1364
-
1365
- - **Nexus Tracer Engine**: Core engine for managing hierarchical spans and trace context propagation across the mesh.
1366
- - **Agentic Reasoning Tracing (ART)**: New audit event type `reasoning_trace` for capturing granular agentic thought cycles.
1367
- - **Hierarchical Span Orchestration**: Universal ART fields (`trace_id`, `span_id`, `parent_span_id`) integrated into all audit events.
1368
- - **Mesh-Integrated Tracing**: Direct injection of tracing protocols into the `Wave Executor` and `Swarm Controller`.
1369
- - **Nexus Dashboard Spec**: Architectural blueprint for real-time trace visualization and reasoning heatmaps.
1370
- - **ZTAI Observability**: Integrated trust-tier visibility for secure execution monitoring.
1371
-
1372
- ---
1373
-
1374
- ## [4.0.0] — Dynamic Multi-Agent Swarms (Agentic Mesh) — 2026-03-27
1375
-
1376
- 🚀 **MindForge v4.0.0 — The Mesh Revolution**
1377
-
1378
- This landmark release introduces **Dynamic Multi-Agent Swarms (Agentic Mesh)**, shifting MindForge from sequential subagent execution to a parallel, task-aware, and verifiable cluster-based orchestration system. V4 enables mass-scale autonomous engineering through ephemeral specialist clusters and zero-trust resonance.
1379
-
1380
- ### Key Pillars (v4.0.0)
1381
-
1382
- - **Dynamic Swarm Orchestration**: The new `SwarmController` analyzes task complexity and spawns ephemeral clusters of specialist personas in parallel.
1383
- - **Micro-Persona Factory**: On-the-fly persona specialization using task-specific knowledge injection via `Context7`.
1384
- - **Wave Executor (Mesh Mode)**: Refactored parallel execution engine with shared `SWARM-STATE` synchronization and leader-led synthesis.
1385
- - **ZTAI (Zero-Trust Agentic Identity)**: DID-based cryptographic signing for swarm actions and multi-tier trust enforcement.
1386
- - **Enterprise specialist Library**: 12+ pre-defined swarm templates including `AIEngineeringSwarm`, `IdentityTrustSwarm`, `DataMeshSwarm`, and `IncidentResponseSwarm`.
1387
- - **HITL Governance Gates**: Human-in-the-loop decision gates for high-risk (Tier 3) architectural and compliance-heavy operations.
1388
-
1389
- ---
1390
-
1391
- ## [3.0.0] — Reactive Autonomous Intelligence — 2026-03-27
1392
-
1393
- 🚀 **MindForge v3.0.0 — The Architecture Revolution**
1394
-
1395
- This major release transforms MindForge from a "disciplined workflow engine" into a **Reactive Autonomous Intelligence**. By sharding context via semantic relevance and debating architectural decisions through adversarial model loops, V3 achieves sub-second reasoning and zero logic-drift in complex engineering sessions.
1396
-
1397
- ### Key Pillars (v3.0.0-rc1)
1398
-
1399
- - **Context Sharding (SRD)**: 40% reduction in token waste via relevance-dense Hot/Warm/Cold context tiers.
1400
- - **Adversarial Decision Synthesis (ADS)**: Zero-drift architectural logic through Red-Team/Blue-Team debate and SOUL-scoring.
1401
- - **Temporal Vision**: Full-fidelity history navigation, hindsight injection, and automated state repair.
1402
- - **RAG 2.0 (Auto-Shadowing)**: Background pattern retrieval from the local knowledge graph without manual prompts.
1403
-
1404
- ---
1405
-
1406
- ## [2.6.0] — Temporal Vision (Time-Travel Debugging) — 2026-03-27
1407
-
1408
- 🚀 **MindForge v2.6.0 — The Observability Revolution**
1409
-
1410
- This update introduces "Temporal Vision," a high-fidelity time-travel debugging system that allows developers to scrub through execution history, explore past states, and perform "Hindsight Injection" to repair architectural drift automatically.
1411
-
1412
- ### Added (v2.6.0)
1413
-
1414
- - **Temporal Vision Engine**:
1415
- - **Temporal Hub**: Synchronous state snapshotting of the `.planning/` directory at every significant audit point.
1416
- - **State Snapshots**: High-fidelity records of `.md`, `.json`, and `.log` files stored in `.planning/history/[audit_id]/`.
1417
- - **Hindsight Injection**: Automated state repair protocol that rolls back history to a specific point ($T_n$), injects a correction, and re-triggers autonomous execution.
1418
- - **Observability Interface (Dashboard Integration)**:
1419
- - **Temporal API**: REST endpoints for history navigation, snapshot exploration, and remote hindsight injection.
1420
- - **Auto-Runner Integration**: Unified event ID generation and automated state capture embedded in the core loop.
1421
- - **CLI Extensions**:
1422
- - `/mindforge:temporal status`: View snapshot density and history stats.
1423
- - `/mindforge:temporal inject`: Manual hindsight injection from the terminal.
1424
- - `/mindforge:temporal cleanup`: Automated purge of stale history snapshots.
1425
- - **Governance**:
1426
- - **Temporal Protocol (`temporal-protocol.md`)**: Definition of safety rules, recovery boundaries, and state integrity checks.
1427
-
1428
- ---
1429
-
1430
- ## [2.5.0] — Local-First Knowledge Graph (RAG 2.0) — 2026-03-27
1431
-
1432
- 🚀 **MindForge v2.5.0 — The Knowledge Graph Revolution**
1433
-
1434
- This update introduces a sophisticated Local-First Knowledge Graph (RAG 2.0), moving beyond flat vector search to a typed-edge, traversable knowledge architecture with proactive context shadowing.
1435
-
1436
- ### Added (v2.5.0)
1437
-
1438
- - **Local-First Knowledge Graph (RAG 2.0)**:
1439
- - **Embedding Engine**: Custom local TF-IDF vectorizer with bigram detection and camelCase splitting. Zero external dependencies.
1440
- - **Graph Engine**: Typed-edge graph (6 types) with BFS traversal, cycle detection, and SHA-256 edge integrity.
1441
- - **Auto-Shadow Engine**: Proactive "ghost-pattern" context injection for subagents based on graph proximity and semantic similarity.
1442
- - **Typed Edges**: Support for `RELATED_TO`, `CAUSED_BY`, `SUPERSEDES`, `DEPENDS_ON`, `INFORMS`, and `CONTRADICTS` relationships.
1443
- - **Graph-Aware Capture**: Automatic edge inference during memory capture from bug patterns and review findings.
1444
- - **Maintenance Tools**: Integrity verification, edge weight decay (time-based), and orphan node pruning.
1445
- - **SDK Extensions**:
1446
- - Full TypeScript support for graph traversal, edge management, and hybrid similarity queries.
1447
-
1448
- ### Fixed (v2.5.0)
1449
-
1450
- - **macOS App Sandbox Compatibility**: Implemented `setTestMode()` in memory engines to bypass nesting-related EPERM errors when running from sandboxed editors.
1451
-
1452
- ---
1453
-
1454
- ## [2.4.0] — The Core Pillars Optimization — 2026-03-27
1455
-
1456
- 🚀 **MindForge v2.4.0 — The Core Pillars Optimization**
1457
-
1458
- This major architectural update introduces a dynamic, SRD-based memory sharding system and the Adversarial Decision Synthesis (ADS) protocol, replacing legacy monolithic handoffs with a hardened, high-fidelity Tri-Tier Memory model.
1459
-
1460
- ### Added (v2.4.0)
1461
-
1462
- - **Adversarial Decision Synthesis (ADS)**:
1463
- - **ADS Engine**: Integrated a 3-model synthesis loop (Architect/Auditor/Synthesizer) for peer-reviewed architectural planning.
1464
- - **SOUL Scoring Engine**: New scoring metric `(Impact * Leverage * Reversibility) / (Effort * Risk * Cost)` for objective decision ranking.
1465
- - **Red-Team Jailbreak**: Enforced architectural auditing that forces the identification of at least 3 critical system flaws.
1466
- - **Automated ADR Workflow**: synthesis results are now persisted as SOUL-scored Decision Records in `.planning/decisions/`.
1467
- - **Semantic Context Sharding**:
1468
- - **Tri-Tier Memory Controller**: Integrated `shard-controller.md` to manage memory transitions across Hot (`HANDOFF.json`), Warm (`.planning/memories/`), and Cold (`.mindforge/memory/`) tiers.
1469
- - **SRD Scoring Engine**: New weighted Semantic Relevance Density (SRD) scoring for contextual items based on Decisiveness, Frequency, and Impact.
1470
- - **Enterprise-Grade Hardening**: Implemented SHA-256 integrity verification and automated semantic tagging for all memory shards.
1471
- - **Proactive Warm Retrieval**: Updated the context injector to automatically pull relevant shards based on task sub-context.
1472
- - **Shard Helper Utility**: New `bin/shard-helper.js` for standalone memory analysis and integrity auditing.
1473
-
1474
- ### Changed (v2.4.0)
1475
-
1476
- - **Planning Protocol**: `/mindforge:plan-phase` now officially supports the `--ads` flag for high-fidelity synthesis cycles.
1477
- - **Compaction Protocol V3**: Upgraded the standard compaction flow to include `Step 4.5: Semantic Sharding`, preventing long-term context window pollution and reducing context overhead by ~35%.
1478
-
1479
- ---
1480
-
1481
- ## [2.3.5] — Intelligent Asset Sync & Merge — 2026-03-26
1482
-
1483
- 🚀 **MindForge v2.3.5 — Intelligent Asset Sync & Merge**
1484
-
1485
- This release transforms the installation engine from a static "skip if exists" model to an intelligent "Merge & Sync" system, ensuring all framework assets, documentation, and advanced modules are correctly deployed even into existing project environments.
1486
-
1487
- ### Added (v2.3.5)
1488
-
1489
- - **Intelligent Merging**: Refactored `copyDir` to support `noOverwrite` mode, allowing the installer to add missing subfolders and templates without disrupting user-customized files.
1490
- - **Advanced Module Sync**: Added explicit path mapping for `memory`, `plugins`, `intelligence`, and `dashboard` modules into the standard installation payload.
1491
- - **Expanded Asset Types**: Upgraded runtime definitions to include `memorySubdir` and `pluginsSubdir` for all supported IDE environments.
1492
-
1493
- ### Fixed (v2.3.5)
1494
-
1495
- - **Sync Gating**: Removed restrictive directory existence checks that caused the installer to skip entire asset categories if the parent folder already existed.
1496
- - **Documentation Parity**: Hardened the documentation sync logic to ensure `references/` and `templates/` always reach the `.agents/docs/` target.
1497
-
1498
- ---
1499
-
1500
- ## [2.3.4] — Architectural Sync & Zero-GSD Purge — 2026-03-25
1501
-
1502
- ### Added (v2.3.4)
1503
-
1504
- - **Comprehensive Planning Sync**: Expanded `.planning` deployment to include `ROADMAP.md`, `ARCHITECTURE.md`, `REQUIREMENTS.md`, and `RELEASE-CHECKLIST.md` by default.
1505
- - **Zero-GSD Standard**: Completed the removal of all "GSD" instances from the installer logic and internal system identifiers.
1506
-
1507
- ### Fixed (v2.3.4)
1508
-
1509
- - **Documentation Payload**: Fixed a discrepancy in the path-mapping for documentation subdirectories (`references/`, `templates/`) ensuring they correctly sync into `.agents/docs/`.
1510
- - **Directory Persistence**: Ensured that empty planning subdirectories correctly persist with `.gitkeep` during fresh installations.
1511
-
1512
- ---
1513
-
1514
- ## [2.3.3] — Payload Cleanup & Enterprise Pruning — 2026-03-25
1515
-
1516
- 🚀 **MindForge v2.3.3 — Payload Cleanup & Enterprise Pruning**
1517
-
1518
- This release strictly prunes the installation payload to remove legacy GSD artifacts, project-specific state, and development-only folders, ensuring a clean "out-of-the-box" enterprise experience.
1519
-
1520
- ### Fixed (v2.3.3)
1521
-
1522
- - **Installation Payload**: Removed legacy migration folders (`01-migrate-legacy-to-mindforge`, `day1`, `day2`, `day3`).
1523
- - **State Leakage**: Excluded project-specific state files (`AUDIT.jsonl`, `HANDOFF.json`, `jira-sync.json`, `slack-threads.json`) from distribution.
1524
- - **Enterprise Pruning**: Updated `installer-core.js` to automatically filter out development-only framework folders (e.g., `distribution`, `monorepo`, `production`).
1525
-
1526
- ---
1527
-
1528
- ## [2.3.2] — Asset Sync Repair — 2026-03-25
1529
-
1530
- 🚀 **MindForge v2.3.2 — Asset Sync Repair**
1531
-
1532
- This release fixes documentation asset synchronization and repairs logic corruption in the installer core.
1533
-
1534
- ### Added (v2.3.2)
1535
-
1536
- - **Docs & Templates Sync**: Integrated `docs/references` and `docs/templates` into the standard installation payload.
1537
- - **Recursive Counting**: Implemented deep directory file counting for accurate manifest reporting.
1538
-
1539
- ### Fixed (v2.3.2)
1540
-
1541
- - **Installer Logic**: Repaired syntax corruption and removed duplicated code blocks in `installer-core.js`.
1542
-
1543
- ---
1544
-
1545
- ## [2.1.2]*Status: V5.2.0 Semantic Consensus Implemented & Verified (2026-03-28)*
1546
-
1547
- 🚀 **MindForge v2.1.2 — Enterprise Branding & CI Fix**
1548
-
1549
- This release transforms the MindForge installation experience with a high-impact "Enterprise-Grade" CLI interface and resolves critical CI/CD integration issues.
1550
-
1551
- ### Added (v2.1.2)
1552
-
1553
- - **Enterprise CLI Branding**: New ultra-blocky ASCII "MINDFORGE" branding and high-contrast "Digital Architect" design system.
1554
- - **Payload Manifest Summary**: Architectural summary screen displaying dynamic counts of deployed Personas, Skills, and Integrations.
1555
- - **"TRY IT NOW" Utility**: Boxed terminal widget providing immediate post-install command guidance.
1556
- - **Enhanced Status Reporting**: Unified architectural status grid for environment detection.
1557
-
1558
- ### Fixed (v2.1.2)
1559
-
1560
- - **CI/CD Permissions**: Resolved `RequestError [HttpError]: GitHub Actions is not permitted to create or approve pull requests` by adding `contents: write` to `auto-pr.yml`.
1561
-
1562
- ---
1563
-
1564
- ## [2.1.1] — Core Migration Finalization — 2026-03-25
1565
-
1566
- 🧩 **MindForge v2.1.1 — Core Migration Finalization**
1567
-
1568
- This release completes the structural rebranding and migration of the MindForge framework into MindForge. It finalizes the path alignment for all 120+ assets, hardens the core configuration management, and fully integrates the expanded persona ecosystem.
1569
-
1570
- ### Added (v2.1.1)
1571
-
1572
- - **Finalized Path Mapping**: All framework assets (skills, workflows, bin) now reside in a unified, flat `.agent/` structure for cross-IDE compatibility.
1573
- - **32-Persona Ecosystem**: Full integration of 32 specialized engineering personas with defined tool permissions and capability matrices.
1574
- - **Unified 4-Pillar Workflow**: Hardened `plan`, `execute`, `verify`, and `ship` logic with project-level `.agent/` integrity.
1575
- - **Enterprise Manifest**: New `file-manifest.json` serving as the single source of truth for multi-project codebase mapping.
1576
- - **Consolidated Configuration**: Unified framework settings and project-level governance in `.mindforge/` and `.agent/`.
1577
- - **Rebranded Lifecycle Hooks**: 5 new high-performance hooks for context monitoring, prompt guarding, and real-time status updates.
1578
-
1579
- ### Changed (v2.1.1)
1580
-
1581
- - **Zero-Watermark Integrity**: 100% elimination of residual "MindForge" and "get-shit-done" identifiers from codebase, documentation, and metadata.
1582
- - **Documentation Overhaul**: Modernized the entire documentation suite, including Architecture, Personas, Skills Authoring, and Command References.
1583
- - **Hardened Settings**: `settings.json` now features dynamic hook pathing for increased portability across system environments.
1584
-
1585
- ---
1586
-
1587
- ## [2.1.0] — The Specialized Expansion — 2026-03-24
1588
-
1589
- 🧩 **MindForge v2.1.0 — The Specialized Expansion**
1590
-
1591
- This release significantly expands the MindForge persona ecosystem, integrating 18+ high-performance specialized agents from the MindForge framework. This expansion doubles the framework's baseline capabilities in research, architecture, execution, and quality assurance.
1592
-
1593
- ### Added (v2.1.0)
1594
-
1595
- - **18+ New Specialized Personas**: Integration of advanced agents including `nyquist-auditor`, `user-profiler`, `advisor-researcher`, `ui-auditor`, and more.
1596
- - **Extended Mapping & Strategy**: Enhanced `roadmapper-extend` and `codebase-mapper-extend` for deep project lifecycle management.
1597
- - **Comprehensive Permissions Audit**: Full tool-access transparency for all 32 personas in `docs/PERSONAS.md`.
1598
- - **Architectural State Update**: `Master-Context.md` now reflects the 32-persona structural foundation.
1599
-
1600
- ### Changed (v2.1.0)
1601
-
1602
- - **Documentation Overhaul**: Complete update of `PERSONAS.md` and `Master-Context.md` to reflect the expanded ecosystem.
1603
- - **Branding Alignment**: All integrated MindForge personas rebranded and fully sanitized for MindForge native use.
1604
-
1605
- ---
1606
-
1607
- ## [2.0.0] — The Autonomous Enterprise — 2026-03-24
1608
-
1609
- 🚀 **MindForge v2.0.0 — The Autonomous Enterprise — Major Release**
1610
-
1611
- This major release transforms MindForge from a Claude-centric framework into a universal AI agent operating system. With support for 6 major runtimes and a hardened autonomous execution engine, v2.0.0 is built for enterprise-scale AI orchestration.
1612
-
1613
- ### Added (v2.0.0)
1614
-
1615
- - **6-Runtime Multi-Platform Support**: Official support for Claude Code, Antigravity, Cursor, OpenCode, Gemini CLI, and GitHub Copilot.
1616
- - **Runtime Adapters**: Automatic content transformation for Gemini (model/filename mapping) and preambles for non-slash runtimes (Cursor/Copilot).
1617
- - **`/mindforge:new-runtime`**: Rapidly scaffold custom AI agent runtimes with correct directory structures and command visibility.
1618
- - **Unified Migration Engine (v2.0.0)**: Additive schema upgrades for `AUDIT.jsonl` (runtime/agent_id) and `token-usage.jsonl` (model_group).
1619
- - **Hardened Self-Building Skills**: Automated skill capture from documentation and phase outputs.
1620
- - **7-Dimension Quality Scorer**: Enhanced static analysis for skill authoring.
1621
- - **MindForge Integration**: 10 new advanced commands for design-first planning, zero-friction capture, and smart routing.
1622
- - **`/mindforge:do`**: Smart natural language dispatcher that routes intent to the correct command.
1623
- - **`/mindforge:ui-phase` & `/mindforge:ui-review`**: Tier-1 visual design contract and visual audit engine.
1624
- - **`/mindforge:note`**: Instant idea capture with todo promotion.
1625
- - **`/mindforge:validate-phase`**: Requirement coverage and test gap identification.
1626
- - **`/mindforge:session-report`**: Professional stakeholder summary with token profiling.
1627
- - **Backlog & Seed Management**: `/mindforge:add-backlog`, `/mindforge:review-backlog`, and `/mindforge:plant-seed`.
1628
- - **Parallel Workstreams**: `/mindforge:workstreams` for concurrent milestone execution.
1629
- - **65-Point Production Checklist**: Exhaustive verification suite for enterprise readiness.
1630
-
1631
- ### Changed (v2.0.0)
1632
-
1633
- - **Directory Standard**: Antigravity local workflows moved to `.agents/workflows/` with mandatory YAML frontmatter.
1634
- - **Migration Strategy**: Transitioned to an idempotent, backup-first migration mod- **ADR-039**: Multi-Runtime Platform Support.
1635
- - **ADR-040**: Additive Schema Migration Strategy.
1636
- - **ADR-041**: Stable Runtime Interface Contract.
1637
-
1638
- ---
1639
-
1640
- ## [2.0.0-alpha.12] — Self-Building Skills Platform — 2026-03-24
1641
-
1642
- ### Added (v2.0.0-alpha.12)
1643
-
1644
- - **Self-Building Skills Platform**: Intelligent engine for automatically capturing skills from documentation, sessions, and npm packages.
1645
- - **`/mindforge:learn`**: High-level orchestration command for 7-step skill generation pipeline.
1646
- - **`/mindforge:marketplace`**: Seamless integration with npm registry for community skills discovery and installation.
1647
- - **7-Dimension Quality Scorer**: Static analysis tool ensuring high-quality, injection-safe skill authoring.
1648
- - **Auto-Capture Hook**: Automatic pattern detection from phase outputs (SUMMARY, ADR, HANDOFF).
1649
- - **CLI Commands**: `learn-skill` and `marketplace` added to `bin/mindforge-cli.js`.
1650
- - **ADR-036, ADR-037, ADR-038**: New architectural decisions for skill sourcing, capture thresholds, and quality gates.
1651
-
1652
- ---
1653
-
1654
- ## [2.0.0-alpha.11] — Persistent Knowledge Graph — 2026-03-24
1655
-
1656
- ### Added (v2.0.0-alpha.11)
1657
-
1658
- - **Persistent Knowledge Graph**: Core engine for long-term memory across projects.
1659
- - **`remember` CLI**: New command for manual knowledge management and semantic search.
1660
- - **Automated Capture**: Hooks in `AutoRunner` and `CrossReviewEngine` to ingest insights automatically from phase completions and review reports.
1661
- - **Context Injection**: `installer-core.js` now auto-injects relevant historical context into `CLAUDE.md` during installation.
1662
- - **`test-memory` CLI**: New command for memory suite verification.
1663
-
1664
- ---
1665
-
1666
- ## [2.0.0-alpha.10] — Skill Installation & Validation CLI — 2026-03-24
1667
-
1668
- ### Added (v2.0.0-alpha.10)
1669
-
1670
- - New CLI commands: `validate-skill`, `install-skill`, `register-skill`, `audit-skill`.
1671
- - Robust skill validation logic (Level 1 & 2) in `bin/skill-validator.js`.
1672
- - Automated manifest management and audit logging in `bin/skill-registry.js`.
1673
- - Integrated CLI commands into the `install-skill.md` agentic workflow for higher reliability.
1674
-
1675
- ---
1676
-
1677
- ## [2.0.0-alpha.9] — Verified Antigravity Compatibility — 2026-03-23
1678
-
1679
- ### Fixed (v2.0.0-alpha.9)
1680
-
1681
- - Fixed critical installer regression where `files` variable was undefined during command installation.
1682
- - Fixed `resolveBaseDir` hardcoding that prevented `.agents/ relocation in non-standard environments.
1683
- - Verified end-to-end Antigravity fix for command visibility and YAML frontmatter.
1684
-
1685
- ---
1686
-
1687
- ## [2.0.0-alpha.8] — Antigravity Visibility Fix — 2026-03-23
1688
-
1689
- ### Fixed (v2.0.0-alpha.8)
1690
-
1691
- - **Antigravity Command Visibility**: Relocated workflows to `.agents/workflows/` (from `agents/`) and injected mandatory YAML frontmatter (`description`) to ensure registration in Antigravity.
1692
- - **Zero-Config Sync**: Updated `init-project` command to reflect the new `.agents` directory standard.
1693
-
1694
- ---
1695
-
1696
- ## [2.0.0-alpha.7] — Day 12: Real-time Observability Dashboard — 2026-03-22
1697
-
1698
- ### Added (v2.0.0-alpha.7)
1699
-
1700
- - [NEW] Real-time Dashboard Server (Express + SSE Bridge).
1701
- - [NEW] Premium 5-tab UI: Activity, Metrics, Approvals, Memory, Team.
1702
- - [NEW] Live Data Streaming for Audit Logs, Quality, Costs, and Team Activity.
1703
- - [NEW] Hardened Tier 3 Governance: Mandatory Plan ID typing for sensitive approvals.
1704
- - [NEW] Metrics Aggregator: Multi-source JSONL processing for observability.
1705
- - [NEW] CLI Command: `/mindforge:dashboard` for server lifecycle management.
1706
- - [NEW] ADR-033: Real-time Observability Architecture.
1707
- - [HARDENED] SSE Rotation Detection (Inode-based).
1708
- - [HARDENED] Localhost-only Security Model (Strict CORS/Binding).
1709
-
1710
- ---
1711
-
1712
- ## [2.0.0-alpha.4] — Day 11: Persistent Knowledge Graph (Long-Term Memory) — 2026-03-22
1713
-
1714
- ### Added (v2.0.0-alpha.4)
1715
-
1716
- - [NEW] Persistent Knowledge Graph for long-term memory across sessions.
1717
- - [NEW] TF-IDF search engine with confidence-based relevance ranking.
1718
- - [NEW] Automated Knowledge Capture from ADRs, Debug Reports, and Retrospectives.
1719
- - [NEW] Global Knowledge Sync for machine-wide insight sharing (`~/.mindforge/global-knowledge-base.jsonl`).
1720
- - [NEW] Skill SDK integration for programmatic memory access.
1721
- - [NEW] Manual memory management command (`/mindforge:remember`).
1722
- - [NEW] Append-only audit-ready storage schema for all knowledge types.
1723
- - [NEW] ADR-030, ADR-031, ADR-032.
1724
-
1725
- ---
1726
-
1727
- ## [2.0.0-alpha.3] — Day 10: Multi-Model Intelligence Layer — 2026-03-22
1728
-
1729
- ### Added (v2.0.0-alpha.3)
1730
-
1731
- - [NEW] Unified Multi-Model Intelligence Layer (Anthropic, OpenAI, Gemini).
1732
- - [NEW] Dynamic Model Router with Persona and Tier-based logic.
1733
- - [NEW] Real-time Cost Tracking and Daily Budget Enforcement.
1734
- - [NEW] Adversarial Cross-Model Code Review Engine (`/mindforge:cross-review`).
1735
- - [NEW] Deep Research Engine with Gemini 1.5 Pro 1M context support (`/mindforge:research`).
1736
- - [NEW] Model usage and cost reporting (`/mindforge:costs`).
1737
- - [NEW] Secure API handling with SSRF protection and header-based auth.
1738
- - [NEW] ADR-027, ADR-028, ADR-029.
1739
-
1740
- ---
1741
-
1742
- ## [2.0.0-alpha.2] — Day 9: Visual QA Engine (Browser Runtime Engine) — 2026-03-22
1743
-
1744
- ### Added (v2.0.0-alpha.2)
1745
-
1746
- - [NEW] Persistent Browser Runtime (Playwright-powered Chromium daemon).
1747
- - [NEW] Visual Verification Hook (`<verify-visual>`) in PLAN files.
1748
- - [NEW] Systematic Visual QA Engine (`/mindforge:qa`).
1749
- - [NEW] Persistent Session Management for Browser Control.
1750
- - [NEW] ADR-024, ADR-025, ADR-026.
1751
-
1752
- ---
1753
-
1754
- ## [2.0.0-alpha.1] — Day 8: Autonomous Execution Engine — 2026-03-22
1755
-
1756
- ### Added (MindForge v2.0.0-alpha.1)
1757
-
1758
- **Autonomous execution engine:**
1759
-
1760
- - `/mindforge:auto` — walk-away autonomous phase/milestone execution
1761
- - `/mindforge:steer` — mid-execution guidance injection from second terminal
1762
- - Node repair operator: RETRY → DECOMPOSE → PRUNE → ESCALATE
1763
- - Stuck detection engine: 5 patterns (S01-S05)
1764
- - Headless CLI mode: `mindforge-cc headless --phase N`
1765
- - `.planning/steering-queue.jsonl` — steering instruction queue
1766
- - `.planning/auto-state.json` — real-time execution state
1767
-
1768
- **MINDFORGE.md v2 settings:**
1769
-
1770
- - AUTO_MODE_DEFAULT_TIMEOUT_MINUTES, AUTO_MODE_UAT
1771
- - AUTO_NODE_REPAIR_BUDGET, AUTO_RETRY_ON_VERIFY_FAIL
1772
- - AUTO_TASK_MAX_TOKENS, AUTO_TASK_TIMEOUT_MINUTES
1773
- - AUTO_PUSH_ON_WAVE_COMPLETE, AUTO_NOTIFY_ON_ESCALATION
1774
-
1775
- ### Hardened (v2.0.0-alpha.1)
1776
-
1777
- - Gate 3 (secret detection) now runs PRE-COMMIT in auto mode
1778
- - Pre-flight dirty check excludes `.planning/` state files
1779
- - DECOMPOSE:- **Deny**: The action is blocked, and the violation is logged to `AUDIT.jsonl`.
1780
- - **Blast Radius Denial (v5.3.0)**: Action is blocked if the `Impact Score` exceeds the policy `max_impact` threshold.
1781
- - **Escalate**: The action requires a higher-tier DID signature or explicit HITL (Human-in-the-Loop) approval.
1782
- eserves module/package names
1783
- - Steering injection guard validates all instructions
1784
- - SIGTERM handler waits for task cleanup before saving state
1785
-
1786
- ### Architecture Decisions (v2.0.0-alpha.1)
1787
-
1788
- - ADR-021: Autonomy Boundary
1789
- - ADR-022: Node Repair Hierarchy
1790
- - ADR-023: Gate 3 Timing
1791
-
1792
- ---
1793
-
1794
- ## [1.0.5] — v1.0.5 Minimal Install Option — 2026-03-22
1795
-
1796
- ### Added (v1.0.5)
1797
-
1798
- - `--minimal` flag to install only essential project scaffolding.
1799
-
1800
- ---
1801
-
1802
- ## [1.0.4] — v1.0.4 Antigravity Install Fix — 2026-03-22
1803
-
1804
- ### Fixed (v1.0.4)
1805
-
1806
- - Antigravity local install now correctly copies commands and CLAUDE.md into `agents/`.
1807
-
1808
- ---
1809
-
1810
- ## [1.0.3] — v1.0.3 Antigravity Agents Folder — 2026-03-22
1811
-
1812
- ### Changed (v1.0.3)
1813
-
1814
- - Local Antigravity installs now target `agents/` by default (legacy `.agent/` detected and supported).
1815
-
1816
- ---
1817
-
1818
- ## [1.0.2] — v1.0.2 CLI Bin Fix — 2026-03-22
1819
-
1820
- ### Fixed (v1.0.2)
1821
-
1822
- - npm bin entry now uses a path format accepted by npm publish.
1823
-
1824
- ---
1825
-
1826
- ## [1.0.1] — v1.0.1 Installer and Packaging Fixes — 2026-03-22
1827
-
1828
- ### Fixed (v1.0.1)
1829
-
1830
- - Interactive setup now uses installer-core directly (no recursive wizard call).
1831
- - Package bin entry corrected to use `mindforge-cc` → `bin/install.js`.
1832
-
1833
- ### Changed (v1.0.1)
1834
-
1835
- - Added publish whitelist to reduce package size and exclude build-only files.
1836
-
1837
- ---
1838
-
1839
- ## [1.0.0] — v1.0.0 First Stable Public Release — 2026-03-22
1840
-
1841
- 🎉 **MindForge v1.0.0 — Enterprise Agentic Framework — First Stable Release**
1842
-
1843
- Release published: v1.0.0 (GitHub Releases).
1844
-
1845
- Built over 7 focused sprints, MindForge transforms Claude Code and Antigravity
1846
- from powerful-but-unstructured AI tools into production-grade engineering
1847
- partners with full governance, observability, and enterprise integration.
1848
-
1849
- ### What ships in v1.0.0
1850
-
1851
- - **36 commands** across 7 workflow categories
1852
- - **10 core skill packs** with three-tier registry (Core/Org/Project)
1853
- - **8 specialised agent personas** covering all engineering roles
1854
- - **Wave-based parallel execution** with dependency graph and automatic compaction
1855
- - **Enterprise integrations**: Jira, Confluence, Slack, GitHub, GitLab
1856
- - **Three-tier governance**: Tier 1 (auto) / Tier 2 (peer review) / Tier 3 (compliance)
1857
- - **Five non-bypassable compliance gates** (secret detection, CRITICAL findings, tests, CVEs, GDPR)
1858
- - **Intelligence layer**: health engine, difficulty scorer, anti-pattern detector, team profiling
1859
- - **Public skills registry**: npm-based `mindforge-skill-*` ecosystem
1860
- - **CI/CD integration**: GitHub Actions, GitLab CI, Jenkins adapters
1861
- - **@mindforge/sdk**: TypeScript SDK with client, event stream, and command builders
1862
- - **Monorepo support**: npm/pnpm/Nx/Turborepo/Lerna workspace detection
1863
- - **AI PR Review**: Claude API-powered code review with context loading
1864
- - **Self-update mechanism**: version check, changelog diff, scope-preserving apply
1865
- - **Version migration engine**: schema migration from v0.1.0 through v1.0.0
1866
- - **Plugin system**: extensible via `mindforge-plugin-*` npm namespace
1867
- - **Token usage optimiser**: profiling and efficiency strategies
1868
- - **50-point production readiness checklist**: fully verified before this release
1869
-
1870
- **20 Architecture Decision Records** documenting every major design choice
1871
-
1872
- - **15 test suites** with 3× consecutive run requirement
1873
- - **Complete reference documentation**: commands, security, ADR index, threat model
1874
-
1875
- ### Stable interface contract (v1.0.0)
1876
-
1877
- See ADR-020. All 36 commands, HANDOFF.json schema, AUDIT event types,
1878
- @mindforge/sdk exports, and plugin.json format are stable in 1.x.x.
1879
-
1880
- ### Breaking changes from 0.6.0 (v1.0.0)
1881
-
1882
- - VERIFY_PASS_RATE_WARNING_THRESHOLD in MINDFORGE.md is now 0.0-1.0 (was 0-100)
1883
- Run `/mindforge:migrate` to auto-convert
1884
- - AUDIT.jsonl session_id field is now required (auto-backfilled by migration)
1885
- - HANDOFF.json plugin_api_version field required for plugin compatibility
1886
-
1887
- ### Installation (v1.0.0)
1888
-
1889
- ```bash
1890
- npx mindforge-cc@latest
1891
- # or
1892
- npx mindforge-cc@1.0.0 --claude --global
1893
- ```
1894
-
1895
- ---
1896
-
1897
- ## [0.6.0] — Day 6 Distribution Platform
1898
-
1899
- ### Added (v0.6.0)
1900
-
1901
- - Public skills registry: `npx mindforge-skills install/publish/search` (npm-based)
1902
- - Skill validator: 3-level validation schema (schema, content, quality)
1903
- - MINDFORGE.md JSON Schema: validation with non-overridable field markers
1904
- - MindForge CI mode: GitHub Actions / GitLab CI / Jenkins integration
1905
- - GitHub Actions workflow: health, security, quality, AI review jobs
1906
- - AI PR Review Engine: Claude API-powered code review with context loading
1907
- - Monorepo/workspace support: npm/pnpm/Nx/Turborepo/Lerna detection
1908
- - Cross-package planner: topological execution order for monorepo phases
1909
- - @mindforge/sdk: TypeScript SDK with client, event stream, and command builders
1910
- - SSE event stream: real-time progress events via Server-Sent Events
1911
- - /mindforge:init-org — organisation-wide MindForge setup command
1912
- - /mindforge:install-skill — install skill from public/private registry
1913
- - /mindforge:publish-skill — publish skill to npm registry
1914
- - /mindforge:pr-review — AI code review powered by Claude API
1915
- - /mindforge:workspace — monorepo workspace management
1916
- - /mindforge:benchmark — skill effectiveness benchmarking
1917
- - 3 new ADRs: ADR-015 npm registry, ADR-016 CI timeout, ADR-017 localhost SDK
1918
-
1919
- ### Hardened (v0.6.0)
1920
-
1921
- - Registry: TOCTOU-safe temp directory (chmod 700), tarball size verification
1922
- - CI: timeout exits with code 0 (soft stop), clear Tier 3 block messages
1923
- - SDK: localhost-only SSE binding, Linux inotify fallback
1924
- - AI review: robust daily limit (parse error tolerant), file-based diff truncation
1925
- - Monorepo: affected package detection uses manifest paths (not depth assumption)
1926
-
1927
- ---
1928
-
1929
- ## [0.5.0] — Day 5 Intelligence Layer
1930
-
1931
- ### Added (v0.5.0)
1932
-
1933
- - framework health engine with 7-category diagnostics and safe auto-repair guidance
1934
- - smart context compaction with Level 1/2/3 protocols and structured handoff extraction
1935
- - phase difficulty scorer with weighted composite and task-granularity feedback
1936
- - anti-pattern detection engine with false-positive controls for C01/B03/D01
1937
- - skill gap analyzer for pre-planning capability coverage checks
1938
- - team profile system and per-developer profile templates
1939
- - metrics schema and quality tracker (`session`, `phase`, `skill usage`, `compaction quality`)
1940
- - project constitution file: `MINDFORGE.md`
1941
- - setup wizard modules: environment detection, idempotent config generation, interactive flow
1942
- - 4 new commands: `/mindforge:health`, `/mindforge:retrospective`,
1943
- `/mindforge:profile-team`, `/mindforge:metrics`
1944
- - 3 ADRs: ADR-012, ADR-013, ADR-014
1945
- - new Day 5 test suites: `tests/intelligence.test.js`, `tests/metrics.test.js`
1946
-
1947
- ### Changed (v0.5.0)
1948
-
1949
- - CLAUDE runtime contract now includes Day 5 intelligence behavior and
1950
- non-overridable MINDFORGE enforcement
1951
- - package entrypoint now points to setup wizard
1952
-
1953
- ### Fixed (v0.5.0)
1954
-
1955
- - AUDIT corruption handling now quarantines invalid lines instead of deleting entries
1956
- - wizard reliability improvements: stdin TTY fallback, end-of-flow credential guidance,
1957
- and idempotent config replacement behavior
1958
-
1959
- ---
1960
-
1961
- ## [0.4.0] — Day 4 Enterprise Integrations and Governance
1962
-
1963
- ### Added (v0.4.0)
1964
-
1965
- - enterprise integration specs for Jira, Confluence, Slack, GitHub, and GitLab
1966
- - integration connection manager with credential hygiene and retry guidance
1967
- - governance layer: change classification, approvals, and compliance gates
1968
- - multi-developer handoff and session merger protocols
1969
- - 6 new commands: `/mindforge:audit`, `/mindforge:milestone`,
1970
- `/mindforge:complete-milestone`, `/mindforge:approve`,
1971
- `/mindforge:sync-jira`, `/mindforge:sync-confluence`
1972
- - Day 4 test suites: `tests/integrations.test.js`, `tests/governance.test.js`
1973
- - enterprise setup and governance guide docs
1974
-
1975
- ### Changed (v0.4.0)
1976
-
1977
- - README and CLAUDE entrypoint updated for enterprise governance workflows
1978
- - audit schema expanded for integration and governance events
1979
-
1980
- ### Fixed (v0.4.0)
1981
-
1982
- - Jira transition handling now documents dynamic transition lookup instead of
1983
- hardcoded IDs
1984
- - governance tiering now covers code-content matches and audit-history escalation
1985
-
1986
- ---
1987
-
1988
- ## [0.3.0] — Day 3 Skills Platform
1989
-
1990
- ### Added (v0.3.0)
1991
-
1992
- - 5 new core skill packs: performance, accessibility, data-privacy,
1993
- incident-response, database-patterns
1994
- - Skills distribution engine: registry, loader, versioning, conflict resolver
1995
- - 5 new commands: /mindforge:skills, /mindforge:review, /mindforge:security-scan,
1996
- /mindforge:map-codebase, /mindforge:discuss-phase
1997
- - Persona customisation override system (project and phase level)
1998
- - Skills Manifest (MANIFEST.md) with tier-based registration
1999
- - Skills Authoring Guide for creating org and project skills
2000
- - Injection guard for Tier 2/3 skill validation
2001
-
2002
- ### Changed (v0.3.0)
2003
-
2004
- - execute-phase now uses multi-tier skills loading
2005
- - plan-phase now reads CONTEXT.md from discuss-phase if available
2006
- - CLAUDE.md updated with skills platform and new command awareness
2007
-
2008
- ### Fixed (v0.3.0)
2009
-
2010
- - cursor pagination correctness in database-patterns skill (compound cursor)
2011
-
2012
- ---
2013
-
2014
- ## [0.2.0] — Day 2 Wave Engine
2015
-
2016
- ### Added (v0.2.0)
2017
-
2018
- - Wave-based parallel execution engine
2019
- - Dependency parser and wave grouper
2020
- - Context injector with minimum-context principle
2021
- - Compaction protocol (automated at 70% context)
2022
- - AUDIT.jsonl append-only pipeline with full schema
2023
- - 4 new commands: /mindforge:next, /mindforge:quick, /mindforge:status, /mindforge:debug
2024
-
2025
- ---
437
+ ## Older releases
2026
438
 
2027
- ## [0.1.0] Day 1 Foundation
2028
-
2029
- ### Added (v0.1.0)
2030
-
2031
- - Core directory scaffold
2032
- - CLAUDE.md agent entry point
2033
- - 8 agent persona definitions
2034
- - 5 initial core skill packs
2035
- - 6 slash commands: help, init-project, plan-phase, execute-phase, verify-phase, ship
2036
- - npm installer (npx mindforge-cc)
2037
- - State management: STATE.md, HANDOFF.json
2038
- - Org context templates: ORG.md, CONVENTIONS.md, SECURITY.md, TOOLS.md
2039
- persona definitions
2040
- - 5 initial core skill packs
2041
- - 6 slash commands: help, init-project, plan-phase, execute-phase, verify-phase, ship
2042
- - npm installer (npx mindforge-cc)
2043
- - State management: STATE.md, HANDOFF.json
2044
- - Org context templates: ORG.md, CONVENTIONS.md, SECURITY.md, TOOLS.md
439
+ See [changelogs/](./changelogs/) for the complete archive (all 98 versions back to v0.1.0), or [changelogs/README.md](./changelogs/README.md) for an indexed table of contents.