mindforge-cc 10.0.3 → 11.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (333) hide show
  1. package/.mindforge/MINDFORGE-V2-SCHEMA.json +43 -10
  2. package/.mindforge/config.json +30 -2
  3. package/.mindforge/engine/cross-model-eval.md +74 -0
  4. package/.mindforge/engine/proactive/signal-detector.md +60 -0
  5. package/.mindforge/engine/proactive/suggestion-engine.md +100 -0
  6. package/.mindforge/personas/agent-architect.md +57 -0
  7. package/.mindforge/personas/agent-evaluator.md +162 -0
  8. package/.mindforge/personas/agent-memory-designer.md +157 -0
  9. package/.mindforge/personas/agent-ops-engineer.md +120 -0
  10. package/.mindforge/personas/agent-orchestrator.md +112 -0
  11. package/.mindforge/personas/ai-economist.md +57 -0
  12. package/.mindforge/personas/ai-safety-engineer.md +57 -0
  13. package/.mindforge/personas/analytics-engineer.md +57 -0
  14. package/.mindforge/personas/anti-pattern-hunter.md +61 -0
  15. package/.mindforge/personas/api-gateway-designer.md +132 -0
  16. package/.mindforge/personas/auth-engineer.md +112 -0
  17. package/.mindforge/personas/build-engineer.md +57 -0
  18. package/.mindforge/personas/business-analyst.md +56 -0
  19. package/.mindforge/personas/cache-architect.md +100 -0
  20. package/.mindforge/personas/causal-scientist.md +57 -0
  21. package/.mindforge/personas/cdn-architect.md +118 -0
  22. package/.mindforge/personas/change-agent.md +104 -0
  23. package/.mindforge/personas/code-narrator.md +52 -0
  24. package/.mindforge/personas/codegen-specialist.md +68 -0
  25. package/.mindforge/personas/communication-architect.md +102 -0
  26. package/.mindforge/personas/compliance-engineer.md +96 -0
  27. package/.mindforge/personas/consensus-engineer.md +116 -0
  28. package/.mindforge/personas/contract-tester.md +60 -192
  29. package/.mindforge/personas/data-architect.md +108 -0
  30. package/.mindforge/personas/data-mesh-architect.md +57 -0
  31. package/.mindforge/personas/data-pipeline-architect.md +120 -0
  32. package/.mindforge/personas/de-sloppifier.md +60 -0
  33. package/.mindforge/personas/debt-manager.md +66 -0
  34. package/.mindforge/personas/decision-architect.md +82 -51
  35. package/.mindforge/personas/deployment-captain.md +74 -0
  36. package/.mindforge/personas/design-system-lead.md +112 -0
  37. package/.mindforge/personas/dmux-orchestrator.md +75 -0
  38. package/.mindforge/personas/dx-engineer.md +96 -0
  39. package/.mindforge/personas/ecommerce-engineer.md +57 -0
  40. package/.mindforge/personas/edge-engineer.md +94 -0
  41. package/.mindforge/personas/edtech-architect.md +106 -0
  42. package/.mindforge/personas/embedding-architect.md +57 -0
  43. package/.mindforge/personas/environment-engineer.md +57 -0
  44. package/.mindforge/personas/eval-judge.md +55 -0
  45. package/.mindforge/personas/event-architect.md +102 -0
  46. package/.mindforge/personas/experiment-designer.md +138 -0
  47. package/.mindforge/personas/feature-store-engineer.md +57 -0
  48. package/.mindforge/personas/finops-analyst.md +66 -0
  49. package/.mindforge/personas/fintech-architect.md +57 -0
  50. package/.mindforge/personas/flutter-engineer.md +104 -0
  51. package/.mindforge/personas/gaming-engineer.md +57 -0
  52. package/.mindforge/personas/graphql-designer.md +73 -0
  53. package/.mindforge/personas/healthcare-engineer.md +57 -0
  54. package/.mindforge/personas/hiring-strategist.md +105 -0
  55. package/.mindforge/personas/hitl-architect.md +165 -0
  56. package/.mindforge/personas/i18n-architect.md +69 -0
  57. package/.mindforge/personas/iot-architect.md +105 -0
  58. package/.mindforge/personas/knowledge-curator.md +139 -0
  59. package/.mindforge/personas/knowledge-engineer.md +57 -0
  60. package/.mindforge/personas/lakehouse-architect.md +57 -0
  61. package/.mindforge/personas/llm-orchestrator.md +57 -0
  62. package/.mindforge/personas/logistics-architect.md +106 -0
  63. package/.mindforge/personas/market-analyst.md +53 -0
  64. package/.mindforge/personas/marketplace-engineer.md +105 -0
  65. package/.mindforge/personas/mcp-designer.md +54 -0
  66. package/.mindforge/personas/meeting-designer.md +104 -0
  67. package/.mindforge/personas/mentorship-lead.md +106 -0
  68. package/.mindforge/personas/migration-architect.md +57 -0
  69. package/.mindforge/personas/ml-ops-engineer.md +101 -0
  70. package/.mindforge/personas/mobile-architect.md +105 -0
  71. package/.mindforge/personas/mobile-security-engineer.md +106 -0
  72. package/.mindforge/personas/multi-tenancy-architect.md +71 -0
  73. package/.mindforge/personas/multimodal-engineer.md +57 -0
  74. package/.mindforge/personas/offline-specialist.md +105 -0
  75. package/.mindforge/personas/onboarding-navigator.md +63 -0
  76. package/.mindforge/personas/payments-engineer.md +135 -0
  77. package/.mindforge/personas/pipeline-engineer.md +115 -0
  78. package/.mindforge/personas/platform-engineer.md +97 -0
  79. package/.mindforge/personas/platform-lead.md +57 -0
  80. package/.mindforge/personas/privacy-engineer.md +57 -0
  81. package/.mindforge/personas/product-owner.md +56 -0
  82. package/.mindforge/personas/productivity-analyst.md +57 -0
  83. package/.mindforge/personas/prompt-architect.md +101 -0
  84. package/.mindforge/personas/proofreader.md +53 -0
  85. package/.mindforge/personas/pwa-architect.md +105 -0
  86. package/.mindforge/personas/quality-scorer.md +63 -0
  87. package/.mindforge/personas/react-native-engineer.md +106 -0
  88. package/.mindforge/personas/resilience-engineer.md +69 -0
  89. package/.mindforge/personas/rfc-architect.md +64 -0
  90. package/.mindforge/personas/saga-orchestrator.md +80 -0
  91. package/.mindforge/personas/secrets-engineer.md +57 -0
  92. package/.mindforge/personas/skill-smith.md +79 -0
  93. package/.mindforge/personas/sre-lead.md +107 -0
  94. package/.mindforge/personas/stream-engineer.md +57 -0
  95. package/.mindforge/personas/streaming-engineer.md +64 -0
  96. package/.mindforge/personas/swarm-templates.json +674 -44
  97. package/.mindforge/personas/system-designer.md +57 -0
  98. package/.mindforge/personas/team-coach.md +120 -0
  99. package/.mindforge/personas/tech-lead-coach.md +103 -0
  100. package/.mindforge/personas/technical-writer-lead.md +111 -0
  101. package/.mindforge/personas/vibe-checker.md +75 -0
  102. package/.mindforge/personas/worktree-manager.md +56 -0
  103. package/.mindforge/personas/zero-trust-engineer.md +113 -0
  104. package/.mindforge/skills/a11y-testing/SKILL.md +143 -0
  105. package/.mindforge/skills/agent-evaluation-framework/SKILL.md +227 -0
  106. package/.mindforge/skills/agent-memory-design/SKILL.md +199 -0
  107. package/.mindforge/skills/agent-orchestration-patterns/SKILL.md +129 -0
  108. package/.mindforge/skills/agent-tool-selection/SKILL.md +204 -0
  109. package/.mindforge/skills/ai-agent-deployment/SKILL.md +176 -0
  110. package/.mindforge/skills/ai-cost-management/SKILL.md +57 -0
  111. package/.mindforge/skills/ai-safety-alignment/SKILL.md +53 -0
  112. package/.mindforge/skills/analytics-instrumentation/SKILL.md +172 -0
  113. package/.mindforge/skills/api-gateway-patterns/SKILL.md +177 -0
  114. package/.mindforge/skills/api-marketplace/SKILL.md +56 -0
  115. package/.mindforge/skills/api-versioning/SKILL.md +100 -0
  116. package/.mindforge/skills/app-store-deployment/SKILL.md +44 -0
  117. package/.mindforge/skills/architecture-tradeoff-analysis/SKILL.md +97 -0
  118. package/.mindforge/skills/audit-logging/SKILL.md +140 -0
  119. package/.mindforge/skills/auth-patterns/SKILL.md +148 -0
  120. package/.mindforge/skills/autonomous-agent-harness/SKILL.md +218 -0
  121. package/.mindforge/skills/autonomous-agents/SKILL.md +59 -0
  122. package/.mindforge/skills/build-system-optimization/SKILL.md +54 -0
  123. package/.mindforge/skills/build-vs-buy/SKILL.md +80 -0
  124. package/.mindforge/skills/bundle-optimization/SKILL.md +174 -0
  125. package/.mindforge/skills/business-analyst/SKILL.md +82 -0
  126. package/.mindforge/skills/caching-strategies/SKILL.md +132 -0
  127. package/.mindforge/skills/capacity-planning/SKILL.md +96 -0
  128. package/.mindforge/skills/causal-inference/SKILL.md +42 -0
  129. package/.mindforge/skills/cdn-optimization/SKILL.md +212 -0
  130. package/.mindforge/skills/change-management/SKILL.md +106 -0
  131. package/.mindforge/skills/chaos-engineering/SKILL.md +99 -0
  132. package/.mindforge/skills/ci-cd-pipeline/SKILL.md +118 -0
  133. package/.mindforge/skills/cli-design/SKILL.md +118 -0
  134. package/.mindforge/skills/code-generation-patterns/SKILL.md +92 -0
  135. package/.mindforge/skills/code-review-methodology/SKILL.md +180 -0
  136. package/.mindforge/skills/code-tour/SKILL.md +145 -0
  137. package/.mindforge/skills/codebase-onboarding/SKILL.md +95 -0
  138. package/.mindforge/skills/compliance-as-code/SKILL.md +195 -0
  139. package/.mindforge/skills/conflict-resolution/SKILL.md +87 -0
  140. package/.mindforge/skills/connection-pooling/SKILL.md +151 -0
  141. package/.mindforge/skills/container-security/SKILL.md +151 -0
  142. package/.mindforge/skills/context-engineering/SKILL.md +114 -0
  143. package/.mindforge/skills/contract-testing/SKILL.md +85 -0
  144. package/.mindforge/skills/cost-estimation/SKILL.md +82 -0
  145. package/.mindforge/skills/cqrs-event-sourcing/SKILL.md +95 -0
  146. package/.mindforge/skills/cross-platform-testing/SKILL.md +43 -0
  147. package/.mindforge/skills/data-governance/SKILL.md +42 -0
  148. package/.mindforge/skills/data-lakehouse/SKILL.md +42 -0
  149. package/.mindforge/skills/data-mesh/SKILL.md +42 -0
  150. package/.mindforge/skills/data-modeling/SKILL.md +107 -0
  151. package/.mindforge/skills/data-pipeline-design/SKILL.md +171 -0
  152. package/.mindforge/skills/data-privacy-engineering/SKILL.md +42 -0
  153. package/.mindforge/skills/database-performance/SKILL.md +174 -0
  154. package/.mindforge/skills/database-sharding-advanced/SKILL.md +206 -0
  155. package/.mindforge/skills/de-sloppify/SKILL.md +120 -0
  156. package/.mindforge/skills/defense-in-depth/SKILL.md +84 -0
  157. package/.mindforge/skills/delegation-patterns/SKILL.md +123 -0
  158. package/.mindforge/skills/dependency-management/SKILL.md +94 -0
  159. package/.mindforge/skills/deployment-workflow/SKILL.md +135 -0
  160. package/.mindforge/skills/design-system/SKILL.md +113 -0
  161. package/.mindforge/skills/developer-onboarding/SKILL.md +99 -0
  162. package/.mindforge/skills/developer-productivity-metrics/SKILL.md +59 -0
  163. package/.mindforge/skills/distributed-consensus/SKILL.md +141 -0
  164. package/.mindforge/skills/dmux-workflows/SKILL.md +141 -0
  165. package/.mindforge/skills/dns-architecture/SKILL.md +167 -0
  166. package/.mindforge/skills/ecommerce-architecture/SKILL.md +41 -0
  167. package/.mindforge/skills/edge-computing/SKILL.md +91 -0
  168. package/.mindforge/skills/edtech-platform/SKILL.md +41 -0
  169. package/.mindforge/skills/email-deliverability/SKILL.md +177 -0
  170. package/.mindforge/skills/embedding-systems/SKILL.md +55 -0
  171. package/.mindforge/skills/environment-management/SKILL.md +54 -0
  172. package/.mindforge/skills/error-handling-architecture/SKILL.md +118 -0
  173. package/.mindforge/skills/estimation-techniques/SKILL.md +113 -0
  174. package/.mindforge/skills/eval-harness/SKILL.md +180 -0
  175. package/.mindforge/skills/event-driven-architecture/SKILL.md +162 -0
  176. package/.mindforge/skills/experiment-design/SKILL.md +139 -0
  177. package/.mindforge/skills/experiment-platform/SKILL.md +43 -0
  178. package/.mindforge/skills/feature-engineering/SKILL.md +42 -0
  179. package/.mindforge/skills/feature-flag-management/SKILL.md +183 -0
  180. package/.mindforge/skills/fine-tuning-workflow/SKILL.md +189 -0
  181. package/.mindforge/skills/fintech-patterns/SKILL.md +41 -0
  182. package/.mindforge/skills/flutter-architecture/SKILL.md +42 -0
  183. package/.mindforge/skills/gaming-backend/SKILL.md +41 -0
  184. package/.mindforge/skills/git-workflow-design/SKILL.md +129 -0
  185. package/.mindforge/skills/graceful-degradation/SKILL.md +95 -0
  186. package/.mindforge/skills/graphql-patterns/SKILL.md +243 -0
  187. package/.mindforge/skills/guardrails-and-safety/SKILL.md +137 -0
  188. package/.mindforge/skills/healthcare-systems/SKILL.md +40 -0
  189. package/.mindforge/skills/hiring-engineering/SKILL.md +119 -0
  190. package/.mindforge/skills/human-in-the-loop-design/SKILL.md +234 -0
  191. package/.mindforge/skills/i18n-architecture/SKILL.md +147 -0
  192. package/.mindforge/skills/idempotency-patterns/SKILL.md +84 -0
  193. package/.mindforge/skills/incident-communication/SKILL.md +96 -0
  194. package/.mindforge/skills/incident-management/SKILL.md +97 -0
  195. package/.mindforge/skills/infrastructure-as-code/SKILL.md +98 -0
  196. package/.mindforge/skills/instinct-clustering/SKILL.md +190 -0
  197. package/.mindforge/skills/internal-developer-platform/SKILL.md +51 -0
  198. package/.mindforge/skills/iot-platform/SKILL.md +41 -0
  199. package/.mindforge/skills/k8s-deployment/SKILL.md +358 -0
  200. package/.mindforge/skills/knowledge-graphs/SKILL.md +56 -0
  201. package/.mindforge/skills/knowledge-sharing-systems/SKILL.md +112 -0
  202. package/.mindforge/skills/llm-cost-optimization/SKILL.md +198 -0
  203. package/.mindforge/skills/llm-orchestration/SKILL.md +56 -0
  204. package/.mindforge/skills/load-testing/SKILL.md +84 -0
  205. package/.mindforge/skills/logistics-optimization/SKILL.md +40 -0
  206. package/.mindforge/skills/market-researcher/SKILL.md +99 -0
  207. package/.mindforge/skills/marketplace-trust/SKILL.md +40 -0
  208. package/.mindforge/skills/mcp-server-patterns/SKILL.md +264 -0
  209. package/.mindforge/skills/media-streaming/SKILL.md +41 -0
  210. package/.mindforge/skills/meeting-architecture/SKILL.md +146 -0
  211. package/.mindforge/skills/mentoring-patterns/SKILL.md +77 -0
  212. package/.mindforge/skills/microservices-patterns/SKILL.md +83 -0
  213. package/.mindforge/skills/migration-platform/SKILL.md +61 -0
  214. package/.mindforge/skills/migration-strategies/SKILL.md +129 -0
  215. package/.mindforge/skills/ml-feature-store/SKILL.md +56 -0
  216. package/.mindforge/skills/ml-monitoring/SKILL.md +42 -0
  217. package/.mindforge/skills/mobile-performance/SKILL.md +44 -0
  218. package/.mindforge/skills/mobile-security/SKILL.md +45 -0
  219. package/.mindforge/skills/model-evaluation/SKILL.md +53 -0
  220. package/.mindforge/skills/monorepo-management/SKILL.md +100 -0
  221. package/.mindforge/skills/multi-tenancy-patterns/SKILL.md +145 -0
  222. package/.mindforge/skills/multi-turn-conversation-design/SKILL.md +206 -0
  223. package/.mindforge/skills/multimodal-ai/SKILL.md +51 -0
  224. package/.mindforge/skills/mutation-testing/SKILL.md +97 -0
  225. package/.mindforge/skills/notification-system-design/SKILL.md +168 -0
  226. package/.mindforge/skills/observability-stack/SKILL.md +136 -0
  227. package/.mindforge/skills/offline-first-design/SKILL.md +43 -0
  228. package/.mindforge/skills/on-call-design/SKILL.md +111 -0
  229. package/.mindforge/skills/pagination-patterns/SKILL.md +230 -0
  230. package/.mindforge/skills/payment-integration/SKILL.md +176 -0
  231. package/.mindforge/skills/performance-reviews/SKILL.md +140 -0
  232. package/.mindforge/skills/platform-observability/SKILL.md +58 -0
  233. package/.mindforge/skills/platform-reliability/SKILL.md +52 -0
  234. package/.mindforge/skills/post-incident-learning/SKILL.md +96 -0
  235. package/.mindforge/skills/product-manager/SKILL.md +104 -0
  236. package/.mindforge/skills/progressive-web-app/SKILL.md +44 -0
  237. package/.mindforge/skills/prompt-engineering/SKILL.md +94 -0
  238. package/.mindforge/skills/proofreader/SKILL.md +158 -0
  239. package/.mindforge/skills/push-notification-architecture/SKILL.md +45 -0
  240. package/.mindforge/skills/python-performance/SKILL.md +183 -0
  241. package/.mindforge/skills/quality-audit/SKILL.md +171 -0
  242. package/.mindforge/skills/queue-design/SKILL.md +85 -0
  243. package/.mindforge/skills/rag-architecture/SKILL.md +176 -0
  244. package/.mindforge/skills/rate-limiting-design/SKILL.md +94 -0
  245. package/.mindforge/skills/react-native-patterns/SKILL.md +42 -0
  246. package/.mindforge/skills/react-performance/SKILL.md +229 -0
  247. package/.mindforge/skills/real-time-analytics/SKILL.md +42 -0
  248. package/.mindforge/skills/real-time-sync/SKILL.md +83 -0
  249. package/.mindforge/skills/responsive-native/SKILL.md +44 -0
  250. package/.mindforge/skills/responsive-patterns/SKILL.md +141 -0
  251. package/.mindforge/skills/rfc-pipeline/SKILL.md +114 -0
  252. package/.mindforge/skills/saas-multi-tenant/SKILL.md +41 -0
  253. package/.mindforge/skills/santa-method/SKILL.md +134 -0
  254. package/.mindforge/skills/search-implementation/SKILL.md +98 -0
  255. package/.mindforge/skills/secrets-platform/SKILL.md +56 -0
  256. package/.mindforge/skills/secrets-rotation/SKILL.md +173 -0
  257. package/.mindforge/skills/self-serve-infrastructure/SKILL.md +51 -0
  258. package/.mindforge/skills/serverless-patterns/SKILL.md +119 -0
  259. package/.mindforge/skills/skill-creator-meta/SKILL.md +146 -0
  260. package/.mindforge/skills/sprint-retrospective-facilitation/SKILL.md +112 -0
  261. package/.mindforge/skills/stakeholder-communication/SKILL.md +85 -0
  262. package/.mindforge/skills/state-management/SKILL.md +104 -0
  263. package/.mindforge/skills/stream-processing/SKILL.md +43 -0
  264. package/.mindforge/skills/streaming-architecture/SKILL.md +81 -0
  265. package/.mindforge/skills/supply-chain-security/SKILL.md +145 -0
  266. package/.mindforge/skills/synthetic-data-generation/SKILL.md +52 -0
  267. package/.mindforge/skills/system-design/SKILL.md +88 -0
  268. package/.mindforge/skills/team-topology-design/SKILL.md +107 -0
  269. package/.mindforge/skills/technical-debt-management/SKILL.md +86 -0
  270. package/.mindforge/skills/technical-interview-design/SKILL.md +98 -0
  271. package/.mindforge/skills/technical-leadership/SKILL.md +75 -0
  272. package/.mindforge/skills/technical-writing/SKILL.md +237 -0
  273. package/.mindforge/skills/technology-radar/SKILL.md +88 -0
  274. package/.mindforge/skills/testing-anti-patterns/SKILL.md +288 -0
  275. package/.mindforge/skills/tool-design/SKILL.md +138 -0
  276. package/.mindforge/skills/typescript-advanced/SKILL.md +198 -0
  277. package/.mindforge/skills/using-git-worktrees/SKILL.md +139 -0
  278. package/.mindforge/skills/verification-loop/SKILL.md +13 -1
  279. package/.mindforge/skills/vibe-security/SKILL.md +165 -0
  280. package/.mindforge/skills/visual-regression-testing/SKILL.md +97 -0
  281. package/.mindforge/skills/websocket-patterns/SKILL.md +203 -0
  282. package/.mindforge/skills/writing-plans/SKILL.md +170 -0
  283. package/.mindforge/skills/writing-skills/SKILL.md +216 -0
  284. package/.mindforge/skills/zero-trust-architecture/SKILL.md +166 -0
  285. package/CHANGELOG.md +240 -0
  286. package/MINDFORGE.md +4 -4
  287. package/README.md +49 -4
  288. package/RELEASENOTES.md +80 -0
  289. package/SECURITY.md +20 -8
  290. package/bin/autonomous/audit-writer.js +13 -0
  291. package/bin/autonomous/auto-runner.js +74 -16
  292. package/bin/autonomous/context-refactorer.js +26 -11
  293. package/bin/autonomous/state-manager.js +62 -6
  294. package/bin/autonomous/stuck-monitor.js +46 -7
  295. package/bin/autonomous/wave-executor.js +66 -25
  296. package/bin/dashboard/api-router.js +43 -0
  297. package/bin/dashboard/metrics-aggregator.js +28 -1
  298. package/bin/dashboard/server.js +67 -4
  299. package/bin/dashboard/sse-bridge.js +4 -4
  300. package/bin/engine/feedback-loop.js +8 -0
  301. package/bin/engine/intelligence-interlock.js +32 -15
  302. package/bin/engine/logic-drift-detector.js +2 -1
  303. package/bin/engine/nexus-tracer.js +3 -2
  304. package/bin/engine/remediation-engine.js +155 -32
  305. package/bin/engine/self-corrective-synthesizer.js +84 -10
  306. package/bin/engine/sre-manager.js +12 -4
  307. package/bin/engine/temporal-hub.js +131 -34
  308. package/bin/governance/approve.js +41 -5
  309. package/bin/governance/impact-analyzer.js +28 -0
  310. package/bin/governance/policy-engine.js +10 -3
  311. package/bin/governance/quantum-crypto.js +32 -19
  312. package/bin/governance/rbac-manager.js +74 -2
  313. package/bin/governance/ztai-manager.js +49 -7
  314. package/bin/hindsight-injector.js +3 -3
  315. package/bin/memory/eis-client.js +71 -34
  316. package/bin/memory/embedding-engine.js +61 -0
  317. package/bin/memory/knowledge-graph.js +58 -5
  318. package/bin/memory/knowledge-indexer.js +53 -6
  319. package/bin/memory/knowledge-store.js +22 -0
  320. package/bin/migrations/10.7.0-to-11.0.0.js +110 -0
  321. package/bin/migrations/schema-versions.js +13 -0
  322. package/bin/models/anthropic-provider.js +45 -0
  323. package/bin/models/cloud-broker.js +68 -20
  324. package/bin/models/gemini-provider.js +51 -0
  325. package/bin/models/model-client.js +20 -0
  326. package/bin/models/model-router.js +28 -8
  327. package/bin/models/openai-provider.js +44 -0
  328. package/bin/utils/file-io.js +63 -1
  329. package/bin/utils/index.js +58 -0
  330. package/docs/getting-started.md +1 -1
  331. package/docs/user-guide.md +2 -2
  332. package/package.json +2 -2
  333. package/.mindforge/personas/data-privacy-engineer.md +0 -187
@@ -0,0 +1,166 @@
1
+ ---
2
+ name: zero-trust-architecture
3
+ version: 1.0.0
4
+ min_mindforge_version: 10.1.1
5
+ status: stable
6
+ triggers: zero trust architecture, never trust always verify, micro-segmentation, identity-aware proxy, continuous verification, zero trust network, BeyondCorp, least privilege access, device posture, zero trust identity, mTLS everywhere, zero trust perimeter
7
+ compose: auth-patterns
8
+ ---
9
+
10
+ # Skill — Zero Trust Architecture
11
+
12
+ ## When this skill activates
13
+ Any task involving network security architecture where traditional perimeter-based
14
+ security is being replaced or augmented by identity-centric, continuous verification
15
+ models. Includes mTLS implementation, micro-segmentation, identity-aware proxies,
16
+ and BeyondCorp-style access patterns.
17
+
18
+ ## Mandatory actions when this skill is active
19
+
20
+ ### Before writing any code
21
+ 1. Inventory all communication flows (service-to-service, user-to-service, external).
22
+ 2. Define identity model (who/what can talk to whom under what conditions).
23
+ 3. Map trust boundaries — there are no trusted zones, only verified identities.
24
+ 4. Determine device posture requirements for user-facing access.
25
+
26
+ ### During implementation
27
+ - Authenticate every request regardless of network origin.
28
+ - Implement mTLS for all service-to-service communication.
29
+ - Apply least privilege — grant minimum permissions needed, no more.
30
+ - Never trust network location as a security signal.
31
+ - Pass identity claims downstream (not just "authenticated: yes").
32
+ - Re-verify identity on privilege escalation or sensitive operations.
33
+ - Log all access decisions for audit.
34
+
35
+ ### After implementation
36
+ - Verify default-deny is enforced (no open paths by accident).
37
+ - Test that compromising one service doesn't grant lateral movement.
38
+ - Confirm certificate rotation works automatically.
39
+ - Validate device posture checks block non-compliant devices.
40
+ - Audit that all flows are identity-verified.
41
+
42
+ ## Core Principles
43
+
44
+ ### The Three Pillars
45
+ 1. **Never trust, always verify** — Every request is treated as if from an open network.
46
+ 2. **Least privilege access** — Grant minimum permissions, scope tightly, time-bound when possible.
47
+ 3. **Assume breach** — Design as if attackers are already inside. Limit blast radius.
48
+
49
+ ### Trust Signals (Combined, Not Individual)
50
+ - Identity (who is this? verified cryptographically).
51
+ - Device (is this device healthy? patched? managed?).
52
+ - Context (where, when, what resource, what action?).
53
+ - Risk score (is this behavior anomalous?).
54
+
55
+ ## Identity-Aware Proxy
56
+
57
+ ### Pattern
58
+ ```
59
+ User → Identity-Aware Proxy → Authenticate → Check Policy → Backend Service
60
+
61
+ [Identity Provider]
62
+ [Policy Engine]
63
+ [Device Trust Store]
64
+ ```
65
+
66
+ ### Implementation
67
+ - Proxy sits at the edge (or service mesh ingress).
68
+ - Authenticates user via OIDC/SAML.
69
+ - Checks policy engine for authorization.
70
+ - Injects verified identity headers to backend.
71
+ - Backend trusts proxy-injected headers (not user-supplied).
72
+
73
+ ### Tools
74
+ - Google IAP, Cloudflare Access, Ory Oathkeeper, Pomerium.
75
+
76
+ ## Mutual TLS (mTLS)
77
+
78
+ ### Why
79
+ - Encrypts traffic between services (confidentiality).
80
+ - Cryptographically verifies both client and server identity (authentication).
81
+ - Prevents unauthorized services from communicating.
82
+
83
+ ### Implementation
84
+ - Use service mesh (Istio, Linkerd) for automatic mTLS.
85
+ - Rotate certificates automatically (short-lived: 24h recommended).
86
+ - Use SPIFFE/SPIRE for workload identity.
87
+ - Never disable mTLS verification in production.
88
+
89
+ ### Certificate Management
90
+ - Auto-issue via cert-manager or service mesh CA.
91
+ - Short-lived certificates (hours, not years).
92
+ - Automated rotation with zero downtime.
93
+ - Certificate revocation for compromised services.
94
+
95
+ ## Micro-Segmentation
96
+
97
+ ### Approach
98
+ 1. Start with default-deny between all services.
99
+ 2. Declare allowed communication flows explicitly.
100
+ 3. Enforce at network layer (NetworkPolicy) AND application layer (authz).
101
+ 4. Segment by sensitivity level (PII services isolated from general services).
102
+
103
+ ### Example Policy
104
+ ```yaml
105
+ # Only payment-service can talk to payment-db
106
+ source: payment-service
107
+ destination: payment-db
108
+ port: 5432
109
+ action: ALLOW
110
+
111
+ # Everything else to payment-db
112
+ source: *
113
+ destination: payment-db
114
+ action: DENY
115
+ ```
116
+
117
+ ## Device Posture
118
+
119
+ ### Checks Before Granting Access
120
+ - OS version current (within N patches).
121
+ - Disk encryption enabled.
122
+ - Firewall active.
123
+ - No known malware detected.
124
+ - MDM-managed (for corporate devices).
125
+ - Screen lock enabled.
126
+
127
+ ### Degraded Access
128
+ - Non-compliant device → read-only access or blocked entirely.
129
+ - Unknown device → step-up authentication required.
130
+ - Jailbroken/rooted → zero access to sensitive resources.
131
+
132
+ ## Continuous Verification
133
+
134
+ ### Re-verify When
135
+ - Session exceeds time threshold (e.g., every 1 hour).
136
+ - User requests privilege escalation.
137
+ - Anomalous behavior detected (impossible travel, unusual time).
138
+ - Accessing higher-sensitivity resource than current level.
139
+ - Device posture changes mid-session.
140
+
141
+ ### Risk-Based Response
142
+ - Low risk → continue session.
143
+ - Medium risk → step-up auth (MFA prompt).
144
+ - High risk → terminate session, require full re-authentication.
145
+
146
+ ## BeyondCorp Model
147
+
148
+ ### Key Differences from VPN
149
+ | Traditional VPN | BeyondCorp (Zero Trust) |
150
+ |----------------|------------------------|
151
+ | VPN = trusted zone | No trusted zone exists |
152
+ | Once in, full access | Every request verified |
153
+ | Network location = trust | Identity + device + context = trust |
154
+ | Perimeter defense | Defense in depth everywhere |
155
+ | Hard outside, soft inside | Uniformly hardened |
156
+
157
+ ## Self-check
158
+ - [ ] All service-to-service communication uses mTLS.
159
+ - [ ] Default-deny network policy in place.
160
+ - [ ] Identity verified on every request (not just at edge).
161
+ - [ ] Least privilege enforced (no over-permissioned service accounts).
162
+ - [ ] Device posture checked for user access.
163
+ - [ ] Continuous verification triggers defined.
164
+ - [ ] Certificate rotation is automatic and tested.
165
+ - [ ] Lateral movement prevented (compromise one service != access to others).
166
+ - [ ] All access decisions logged for audit.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,245 @@
1
1
  # Changelog
2
2
 
3
+ ## [11.0.0] - 2026-05-28 — "Sovereign Stability"
4
+
5
+ ### Breaking Changes
6
+
7
+ - `verifyZKProof()` returns structured `{ verified, reason }` instead of throwing
8
+ - `signPQ()` returns `{ signature, simulated, algorithm }` object instead of raw string
9
+ - Wave task execution order within waves is no longer deterministic
10
+ - SDK bumped to 11.0.0 with new type exports
11
+ - Dashboard tokens now expire after 24 hours
12
+ - `TemporalHub.captureState()` and `rollbackTo()` are now async
13
+
14
+ ### Added
15
+
16
+ - LRUMap utility class for bounded caches with eviction callbacks
17
+ - Atomic JSON write primitives (write-to-temp, fsync, rename)
18
+ - AUDIT.jsonl log rotation with gzip archival (max 5000 lines)
19
+ - HANDOFF.json structural validation (fail-open)
20
+ - Temporal snapshot garbage collection (retain 50, expire > 7 days)
21
+ - BM25 scoring with document-length normalization
22
+ - Persistent index cache (mtime-based invalidation)
23
+ - Persistent adjacency index for knowledge graph
24
+ - Correction effectiveness tracking in self-corrective synthesizer
25
+ - Full remediation strategy implementations (CONTEXT_COMPRESSION, GOLDEN_TRACE_INJECTION, REASONING_RESTART)
26
+ - Graduated intelligence interlock (+1/+2/MAX tier) with cost-awareness
27
+ - 3-tier stuck detection (hash → length → truncated Levenshtein)
28
+ - Adaptive context window (10/20/30 based on velocity)
29
+ - Configurable external ZK verifier module path
30
+ - Ephemeral SRE enclave keys (crypto.randomBytes)
31
+ - Time-limited RBAC role elevation with auto-expiry
32
+ - Session-scoped ZTAI agent registry
33
+ - Dashboard rate limiting (100 req/min/IP) and token expiration (24h)
34
+ - /api/v1/token/refresh endpoint
35
+ - Optional GPG approval verification
36
+ - GET /api/v1/system observability endpoint (heap, uptime, audit stats)
37
+ - checkHeapHealth() with warning/critical thresholds
38
+ - Remediation effectiveness persistence
39
+ - Model router dynamic reload (mtime-based, 60s interval)
40
+ - P95 latency ring buffer for cloud broker
41
+ - EIS client with real fetch + 3-retry exponential backoff
42
+ - Semaphore-based parallel wave execution (max concurrency configurable)
43
+ - WebSocketEventStream with auto-reconnect
44
+ - SDK streamExecution() with AsyncIterable<StreamChunk>
45
+ - SDK batchExecute() with concurrent task execution
46
+ - SDK validateRuntimeConfig()
47
+ - Model streaming support (Anthropic, OpenAI, Gemini providers)
48
+ - Migration script (bin/migrations/10.7.0-to-11.0.0.js)
49
+
50
+ ### Changed
51
+
52
+ - sessionDriftHistory bounded to 500 entries via LRUMap
53
+ - entropyCache bounded to 1000 entries via LRUMap
54
+ - Cloud broker failure tracking uses 5-minute sliding window
55
+ - Self-corrective synthesizer window expanded from 10 → 50 events
56
+ - Context refactorer uses adaptive window instead of fixed 20
57
+
58
+ ### Fixed
59
+
60
+ - Memory leaks from unbounded Maps in long-running sessions
61
+ - Data corruption risk on process crash during state file writes
62
+ - Disk exhaustion from unbounded AUDIT.jsonl and snapshot growth
63
+ - Hardcoded SRE enclave private key (security issue)
64
+
65
+ ---
66
+
67
+ ## [10.7.0] - 2026-05-27 — "Platform Sovereign"
68
+
69
+ ### Added (v10.7.0)
70
+
71
+ - **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.
72
+ - **6 new commands** — `/mindforge:platform`, `/mindforge:build-opt`, `/mindforge:secrets-mgmt`, `/mindforge:environments`, `/mindforge:observability-platform`, `/mindforge:migration-mgmt`.
73
+ - **6 new personas** — platform-lead, build-engineer, environment-engineer, productivity-analyst, secrets-engineer, migration-architect.
74
+ - **1 new swarm template** — PlatformSwarmV2 (HITL platform engineering + migration).
75
+ - **200 core skills milestone** — Full coverage across 12 domains.
76
+ - **Swarm templates v15.0.0** — 49 total templates.
77
+
78
+ ---
79
+
80
+ ## [10.6.0] - 2026-05-27 — "Data Alchemy"
81
+
82
+ ### Added (v10.6.0)
83
+
84
+ - **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.
85
+ - **6 new commands** — `/mindforge:causal`, `/mindforge:lakehouse`, `/mindforge:data-mesh`, `/mindforge:stream`, `/mindforge:privacy-eng`, `/mindforge:realtime-analytics`.
86
+ - **6 new personas** — causal-scientist, data-mesh-architect, stream-engineer, lakehouse-architect, privacy-engineer, analytics-engineer.
87
+ - **1 new swarm template** — DataAlchemySwarm (HITL data architecture + privacy).
88
+
89
+ ---
90
+
91
+ ## [10.5.0] - 2026-05-27 — "AI Frontier"
92
+
93
+ ### Added (v10.5.0)
94
+
95
+ - **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.
96
+ - **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`.
97
+ - **8 new personas** — multimodal-engineer, ai-safety-engineer, embedding-architect, llm-orchestrator, knowledge-engineer, feature-store-engineer, ai-economist, agent-architect.
98
+ - **1 new swarm template** — AIFrontierSwarm (HITL AI system architecture + safety).
99
+
100
+ ---
101
+
102
+ ## [10.4.0] - 2026-05-27 — "Cross-Platform"
103
+
104
+ ### Added (v10.4.0)
105
+
106
+ - **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.
107
+ - **6 new commands** — `/mindforge:mobile`, `/mindforge:react-native`, `/mindforge:flutter`, `/mindforge:offline`, `/mindforge:pwa`, `/mindforge:push-notify`.
108
+ - **6 new personas** — mobile-architect, react-native-engineer, flutter-engineer, offline-specialist, mobile-security-engineer, pwa-architect.
109
+ - **1 new swarm template** — MobileSwarm (HITL cross-platform architecture).
110
+
111
+ ---
112
+
113
+ ## [10.3.0] - 2026-05-27 — "Leader's Edge"
114
+
115
+ ### Added (v10.3.0)
116
+
117
+ - **10 new core skills** — technical-leadership, mentoring-patterns, stakeholder-communication, conflict-resolution, incident-communication, hiring-engineering, delegation-patterns, meeting-architecture, performance-reviews, change-management.
118
+ - **6 new commands** — `/mindforge:lead`, `/mindforge:communicate`, `/mindforge:hire`, `/mindforge:delegate`, `/mindforge:meeting-design`, `/mindforge:change`.
119
+ - **6 new personas** — tech-lead-coach, communication-architect, hiring-strategist, change-agent, meeting-designer, mentorship-lead.
120
+ - **1 new swarm template** — LeadershipSwarm (HITL engineering leadership).
121
+
122
+ ---
123
+
124
+ ## [10.2.0] - 2026-05-27 — "Industry Forge"
125
+
126
+ ### Added (v10.2.0)
127
+
128
+ - **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.
129
+ - **8 new commands** — `/mindforge:healthcare`, `/mindforge:fintech`, `/mindforge:ecommerce`, `/mindforge:gaming`, `/mindforge:edtech`, `/mindforge:iot`, `/mindforge:marketplace`, `/mindforge:logistics`.
130
+ - **8 new personas** — healthcare-engineer, fintech-architect, ecommerce-engineer, gaming-engineer, edtech-architect, iot-architect, marketplace-engineer, logistics-architect.
131
+ - **1 new swarm template** — IndustryVerticalSwarm (HITL domain-specific architecture).
132
+ - **150 core skills milestone** — Industry vertical coverage added.
133
+
134
+ ---
135
+
136
+ ## [10.1.1] - 2026-05-26 — "Scale & Edge"
137
+
138
+ ### Added (v10.1.1)
139
+
140
+ - **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.
141
+ - **6 new commands** — `/mindforge:edge`, `/mindforge:serverless`, `/mindforge:zero-trust`, `/mindforge:agent-deploy`, `/mindforge:data-pipeline`, `/mindforge:cdn`.
142
+ - **6 new personas** — edge-engineer, zero-trust-engineer, agent-ops-engineer, consensus-engineer, data-pipeline-architect, cdn-architect.
143
+ - **2 new swarm templates** — EdgeScaleSwarm (HITL edge + CDN), DistributedSwarm (HITL consensus + pipelines).
144
+ - **140 core skills milestone** — Comprehensive coverage of emerging technology and massive-scale patterns.
145
+ - **Swarm templates v14.0.0** — Bump from v13.0.0 with 2 new templates (total: 43 swarm templates).
146
+
147
+ ---
148
+
149
+ ## [10.1.0] - 2026-05-26 — "Strategic Intelligence"
150
+
151
+ ### Added (v10.1.0)
152
+
153
+ - **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.
154
+ - **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`.
155
+ - **8 new personas** — decision-architect, team-coach, knowledge-curator, experiment-designer, payments-engineer, agent-memory-designer, agent-evaluator, hitl-architect.
156
+ - **3 new swarm templates** — DecisionSwarm (HITL decision quality), TeamDesignSwarm (HITL team topology), AgentMetaSwarm (autonomous self-improvement).
157
+ - **130 core skills milestone** — Category expansion into decision science, team engineering, product patterns, and agent meta-intelligence.
158
+ - **Minor version bump (10.1.0)** — Represents category expansion beyond pure engineering into strategy and meta-intelligence.
159
+ - **Swarm templates v13.0.0** — Bump from v12.0.0 with 3 new templates (total: 41 swarm templates).
160
+
161
+ ---
162
+
163
+ ## [10.0.9] - 2026-05-26 — "Full Spectrum"
164
+
165
+ ### Added (v10.0.9)
166
+
167
+ - **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.
168
+ - **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`.
169
+ - **8 new personas** — streaming-engineer, finops-analyst, debt-manager, resilience-engineer, codegen-specialist, i18n-architect, multi-tenancy-architect, graphql-designer.
170
+ - **3 new swarm templates** — StreamingSwarm (HITL real-time), ResilienceSwarm (autonomous failure engineering), GovernanceSwarm (HITL data governance).
171
+ - **110 core skills milestone** — Comprehensive coverage across all major software engineering domains achieved.
172
+ - **Swarm templates v12.0.0** — Bump from v11.0.0 with 3 new templates (total: 38 swarm templates).
173
+
174
+ ---
175
+
176
+ ## [10.0.8] - 2026-05-26 — "Deep Patterns"
177
+
178
+ ### Added (v10.0.8)
179
+
180
+ - **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.
181
+ - **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`.
182
+ - **8 new personas** — contract-tester, dx-engineer, cache-architect, event-architect, compliance-engineer, ml-ops-engineer, platform-engineer, api-gateway-designer.
183
+ - **3 new swarm templates** — TestingDeepSwarm (autonomous deep testing), PlatformSwarm (HITL platform engineering), MLOpsSwarm (HITL ML operations).
184
+ - **90 core skills milestone** — Production-depth coverage for testing, caching, events, secrets, compliance, RAG, and cost optimization.
185
+ - **Swarm templates v11.0.0** — Bump from v10.0.0 with 3 new templates (total: 35 swarm templates).
186
+
187
+ ---
188
+
189
+ ## [10.0.7] - 2026-05-26 — "Meta Engineer"
190
+
191
+ ### Added (v10.0.7)
192
+
193
+ - **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.
194
+ - **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`.
195
+ - **8 new personas** — prompt-architect, agent-orchestrator, sre-lead, pipeline-engineer, data-architect, design-system-lead, auth-engineer, technical-writer-lead.
196
+ - **3 new swarm templates** — PromptEngineeringSwarm (HITL AI engineering), SRESwarm (HITL reliability), FrontendSwarm (autonomous design system).
197
+ - **70 core skills milestone** — Framework now covers AI engineering, DevOps, reliability, data, frontend, advanced security, and technical communication.
198
+ - **Swarm templates v10.0.0** — Bump from v9.0.0 with 3 new templates (total: 32 swarm templates).
199
+
200
+ ---
201
+
202
+ ## [10.0.6] - 2026-05-26 — "Complete Arsenal"
203
+
204
+ ### Added (v10.0.6)
205
+
206
+ - **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.
207
+ - **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`.
208
+ - **8 new personas** — business-analyst, product-owner, market-analyst, mcp-designer, proofreader, system-designer, worktree-manager, code-narrator.
209
+ - **3 new swarm templates** — ArchDesignSwarm (HITL system design), ProductSwarm (HITL product strategy), DocumentationSwarm (autonomous content quality).
210
+ - **Swarm templates v9.0.0** — Bump from v8.0.0 with 3 new templates (total: 29 swarm templates).
211
+ - **50 core skills milestone** — Framework now covers architecture, business, languages, workflow, infrastructure, and documentation domains.
212
+
213
+ ---
214
+
215
+ ## [10.0.5] - 2026-05-26 — "Forge Master"
216
+
217
+ ### Added (v10.0.5)
218
+
219
+ - **5 new core skills** — skill-creator-meta, deployment-workflow, dmux-workflows, vibe-security, instinct-clustering.
220
+ - **5 new commands** — `/mindforge:create-skill`, `/mindforge:deploy`, `/mindforge:dmux`, `/mindforge:vibe-check`, `/mindforge:cluster-instincts`.
221
+ - **5 new personas** — skill-smith, deployment-captain, dmux-orchestrator, vibe-checker, saga-orchestrator.
222
+ - **2 new swarm templates** — DeploymentSwarm (HITL staged rollout), ForgeSwarm (autonomous skill creation).
223
+ - **De-slop gate** — Phase 6.5 in verification-loop: informational de-slop scan before shipping (non-blocking).
224
+ - **Cross-model eval spec** — `.mindforge/engine/cross-model-eval.md` for routing same task to 2 models and comparing outputs.
225
+ - **Swarm templates v8.0.0** — Bump from v7.0.0 with 2 new templates (total: 26 swarm templates).
226
+
227
+ ---
228
+
229
+ ## [10.0.4] - 2026-05-26 — "Santa's Eval"
230
+
231
+ ### Added (v10.0.4)
232
+
233
+ - **8 new core skills** — santa-method, eval-harness, quality-audit, testing-anti-patterns, defense-in-depth, codebase-onboarding, rfc-pipeline, de-sloppify.
234
+ - **6 new commands** — `/mindforge:santa`, `/mindforge:eval`, `/mindforge:quality-audit`, `/mindforge:rfc`, `/mindforge:onboard`, `/mindforge:de-slop`.
235
+ - **6 new personas** — eval-judge, rfc-architect, anti-pattern-hunter, onboarding-navigator, de-sloppifier, quality-scorer.
236
+ - **3 new swarm templates** — EvalSwarm (autonomous eval gate), OnboardingSwarm (autonomous codebase discovery), RFCSwarm (HITL spec decomposition).
237
+ - **Proactive Skill Suggestion Engine** — Signal-based skill detection (file/error/task patterns) with confidence threshold (0.7), cooldown tracking, and debounce logic.
238
+ - **Eval storage** — `.mindforge/evals/` directory for persisting eval configs, rubrics, and results.
239
+ - **Swarm templates v7.0.0** — Bump from v6.0.0 with 3 new templates (total: 24 swarm templates).
240
+
241
+ ---
242
+
3
243
  ## [10.0.3] - 2026-05-25 — "Council Awakens"
4
244
 
5
245
  ### Added (v10.0.3)
package/MINDFORGE.md CHANGED
@@ -1,12 +1,12 @@
1
- # MINDFORGE.md — Parameter Registry (v10.0.3)
1
+ # MINDFORGE.md — Parameter Registry (v11.0.0)
2
2
 
3
3
  ## 1. IDENTITY & VERSIONING
4
4
 
5
5
  [NAME] = MindForge
6
- [VERSION] = 10.0.3-COUNCIL
6
+ [VERSION] = 11.0.0
7
7
  [STABLE] = true
8
- [MODE] = \"Council Awakens\"
9
- [REQUIRED_CORE_VERSION] = 10.0.3
8
+ [MODE] = "Platform Sovereign"
9
+ [REQUIRED_CORE_VERSION] = 11.0.0
10
10
  [SOVEREIGN_IDENTITY] = true
11
11
  [SRE_LAYER_ENABLED] = true
12
12
 
package/README.md CHANGED
@@ -1,12 +1,21 @@
1
1
  # MindForge
2
2
 
3
- **An agentic intelligence framework for Claude Code** — orchestrates multi-agent workflows with governance, memory, and autonomous execution. Install once, get structured AI-driven development with built-in quality gates.
3
+ **An agentic intelligence framework for Claude Code** — orchestrates multi-agent workflows with governance, memory, and autonomous execution. Production-hardened with true parallelism, streaming SDK, and zero-trust security. Install once, get structured AI-driven development with built-in quality gates.
4
4
 
5
5
  ---
6
6
 
7
- ## v10.0.3Council Awakens
7
+ ## v11.0.0Sovereign Stability
8
8
 
9
- MindForge v10.0.3 "Council Awakens" introduces the Council decision framework, Instinct Engine, Cost-Aware Routing, 6-phase Verification Loop, and Multi-LLM Consult. This release adds 10 skills (20 core total), 8 commands (71 total), 9 personas (117 total), 3 swarm templates (21 total), and 5 engine subsystems expanding MindForge's autonomous governance and multi-agent reasoning capabilities.
9
+ MindForge v11.0.0 "Sovereign Stability" is a production-hardening release focused on reliability, performance, and real-world deployment readiness. Key highlights:
10
+
11
+ - **Memory-safe operations** — LRU-bounded caches, atomic writes, log rotation, and snapshot garbage collection eliminate resource leaks in long-running sessions.
12
+ - **True wave parallelism** — Semaphore-based concurrent execution with configurable max concurrency replaces sequential task dispatch.
13
+ - **Streaming SDK** — WebSocket event streaming, `streamExecution()` with AsyncIterable, and `batchExecute()` for high-throughput integrations.
14
+ - **Hardened security** — Ephemeral enclave keys, session-scoped agent isolation, time-limited RBAC elevation, dashboard rate limiting, and structured ZK proof returns.
15
+ - **Production observability** — `/api/v1/system` health endpoint, P95 latency tracking, heap health monitoring, and real EIS client with retry logic.
16
+ - **Graduated intelligence** — Adaptive tier escalation (+1/+2/MAX) with cost-awareness, 3-tier stuck detection, and adaptive context windows.
17
+
18
+ This release ships 200+ skills, 400+ personas, 18 pillars, and 49 swarm templates across 12 engineering domains.
10
19
 
11
20
 
12
21
  ## Installation & Setup
@@ -45,6 +54,12 @@ npx mindforge-cc@latest --antigravity --local
45
54
 
46
55
  ---
47
56
 
57
+ - **Production Hardening (v11.0.0)** — LRU caches, atomic JSON writes, log rotation, HANDOFF validation, and temporal snapshot GC for crash-safe long-running sessions.
58
+ - **True Wave Parallelism (v11.0.0)** — Semaphore-based concurrent wave execution with configurable max concurrency replaces sequential dispatch.
59
+ - **Streaming SDK (v11.0.0)** — WebSocket event streaming, `streamExecution()` AsyncIterable, `batchExecute()`, model streaming across Anthropic/OpenAI/Gemini providers.
60
+ - **Graduated Intelligence (v11.0.0)** — Adaptive tier escalation (+1/+2/MAX) with cost-awareness, 3-tier stuck detection, and adaptive context windows (10/20/30).
61
+ - **Security Hardening (v11.0.0)** — Ephemeral enclave keys, session-scoped ZTAI, time-limited RBAC elevation, dashboard rate limiting (100 req/min/IP), token expiration.
62
+ - **Observability (v11.0.0)** — `/api/v1/system` health endpoint, P95 latency ring buffer, heap health monitoring, real EIS client with exponential backoff.
48
63
  - **Grounded Wave Execution (v9.0.0)** — AutoRunner reads HANDOFF.json wave groups, dispatches tasks with audit tracing, persists progress, and resumes on restart (Pillar XXIV).
49
64
  - **Model Topology Modernization (v9.0.0)** — All model references updated to the Claude 4.x family: claude-opus-4-7, claude-sonnet-4-6, claude-haiku-4-5 (Pillar XXV).
50
65
  - **Unified Memory Architecture (v9.0.0)** — Knowledge and graph edges consolidated into SQLite (celestial.db) with FTS5 search. Four JSONL stores replaced by one queryable store (Pillar XXVI).
@@ -272,7 +287,7 @@ MindForge supports multiple interaction models to fit your engineering workflow:
272
287
  ```bash
273
288
  /mindforge:update
274
289
  /mindforge:update --apply
275
- /mindforge:migrate --from v0.6.0 --to v1.0.0
290
+ /mindforge:migrate --from v10.7.0 --to v11.0.0
276
291
  ```
277
292
 
278
293
  ---
@@ -320,6 +335,36 @@ See `.mindforge/production/token-optimiser.md`.
320
335
 
321
336
  ## 📜 Framework Evolution & Version History
322
337
 
338
+ <details>
339
+ <summary><b>v11.0.0 — Sovereign Stability (Production Hardening)</b></summary>
340
+
341
+ - **Phase 1: Foundation** — LRU-bounded caches, atomic JSON writes, AUDIT.jsonl log rotation, HANDOFF.json structural validation, temporal snapshot garbage collection.
342
+ - **Phase 2: Intelligence** — BM25 scoring with document-length normalization, full remediation strategy implementations, graduated intelligence interlock (+1/+2/MAX), 3-tier stuck detection, adaptive context windows.
343
+ - **Phase 3: Security** — Structured ZK proof returns, ephemeral SRE enclave keys, session-scoped ZTAI agent registry, time-limited RBAC elevation, dashboard rate limiting and token expiration, optional GPG approval verification.
344
+ - **Phase 4: Observability** — Async temporal I/O, `/api/v1/system` health endpoint, P95 latency ring buffer, heap health monitoring, EIS client de-stub with real fetch and retry logic.
345
+ - **Phase 5: SDK/Distributed** — Semaphore-based wave parallelism, WebSocket event streaming with auto-reconnect, `batchExecute()`, model streaming (Anthropic/OpenAI/Gemini), migration script from v10.7.0.
346
+ </details>
347
+
348
+ <details>
349
+ <summary><b>v10.x — The 200-Skills Expansion (Council → Platform Sovereign)</b></summary>
350
+
351
+ - **Council Awakens (v10.0.3)**: Council decision framework, Instinct Engine, Cost-Aware Routing, 6-phase Verification Loop, Multi-LLM Consult.
352
+ - **Skills Expansion (v10.0.4–v10.7.0)**: From 20 to 200+ core skills across 12 domains — AI/ML, data engineering, platform engineering, mobile, leadership, industry verticals, and more.
353
+ - **400+ Personas**: Comprehensive specialist coverage with domain-expert identity protocols.
354
+ - **49 Swarm Templates**: Task-aware parallel specialist clusters covering every engineering discipline.
355
+ </details>
356
+
357
+ <details>
358
+ <summary><b>v9.x — Grounded Execution & SQLite Persistence</b></summary>
359
+
360
+ - **Grounded Wave Execution (Pillar XXIV)**: AutoRunner reads HANDOFF.json wave groups with audit tracing and restart persistence.
361
+ - **Model Topology Modernization (Pillar XXV)**: Claude 4.x family (opus-4-7, sonnet-4-6, haiku-4-5).
362
+ - **Unified Memory Architecture (Pillar XXVI)**: SQLite (celestial.db) with FTS5 search replacing JSONL stores.
363
+ - **Schema Migration Engine (Pillar XXVII)**: Versioned migration tracking with transaction-wrapped imports.
364
+ - **Integration Test Chain (Pillar XXVIII)**: 27-assertion end-to-end pipeline validation.
365
+ </details>
366
+
367
+ <details>
323
368
  <summary><b>v8.1.x — Sovereign Identity (Pillar XIX)</b></summary>
324
369
 
325
370
  - **Pillar XIX: Sovereign Identity Synthesis**: Autonomous creation and evolution of `SOUL.md` from execution traces.
package/RELEASENOTES.md CHANGED
@@ -1,3 +1,83 @@
1
+ # Release Notes — v11.0.0 "Sovereign Stability"
2
+
3
+ **Release Date**: 2026-05-28
4
+ **Type**: Major (breaking changes)
5
+ **Upgrade Path**: Run `node bin/migrations/10.7.0-to-11.0.0.js`
6
+
7
+ ## Highlights
8
+
9
+ MindForge v11.0.0 is a production-hardening release that addresses systemic stability, intelligence, security, and SDK capabilities. It eliminates memory leaks, adds crash-safe writes, upgrades semantic search from TF-IDF to BM25, completes previously-stubbed subsystems, and introduces true parallel execution.
10
+
11
+ ## What's New
12
+
13
+ ### Foundation Hardening
14
+ - **Bounded caches** — LRUMap prevents unbounded memory growth in drift detector, entropy cache, and failure tracking
15
+ - **Atomic writes** — State files use write-to-temp → fsync → rename (crash-safe)
16
+ - **Log rotation** — AUDIT.jsonl auto-archives beyond 5000 lines with gzip compression
17
+ - **Schema validation** — HANDOFF.json validated on load (fail-open with warnings)
18
+ - **Snapshot GC** — Temporal history auto-cleaned (retain 50, expire > 7 days)
19
+
20
+ ### Intelligence Upgrades
21
+ - **BM25 scoring** — Document-length-normalized search replacing raw TF-IDF
22
+ - **Persistent caching** — Index and adjacency caches eliminate O(n) rebuilds
23
+ - **Complete remediation** — All three strategies fully implemented (no more stubs)
24
+ - **Adaptive systems** — Intelligence tier, context window, and stuck detection all auto-tune
25
+
26
+ ### Security Hardening
27
+ - **Ephemeral enclave keys** — No more hardcoded secrets in source
28
+ - **Structured crypto boundaries** — Simulated vs real clearly marked
29
+ - **Session isolation** — RBAC elevation with TTL, session-scoped identity
30
+ - **Dashboard security** — Token expiration, rate limiting, refresh endpoint
31
+
32
+ ### Observability
33
+ - **System metrics** — `/api/v1/system` with heap monitoring and alerts
34
+ - **P95 latency tracking** — Real measurements replace hardcoded values
35
+ - **Effectiveness tracking** — Remediations measured for closed-loop improvement
36
+ - **Dynamic config reload** — Model router refreshes on MINDFORGE.md changes
37
+
38
+ ### SDK & Distributed
39
+ - **True parallelism** — Wave tasks execute concurrently via semaphore
40
+ - **WebSocket streaming** — Real-time event delivery with auto-reconnect
41
+ - **Batch execution** — Execute multiple tasks with concurrency control
42
+ - **Model streaming** — Anthropic, OpenAI, and Gemini streaming support
43
+
44
+ ## Breaking Changes
45
+
46
+ | Change | Impact | Migration |
47
+ |--------|--------|-----------|
48
+ | `verifyZKProof()` returns structured result | Code catching throws will miss denials | Check `result.verified` instead |
49
+ | `signPQ()` returns object | Code using return value as string will break | Destructure `{ signature }` from result |
50
+ | Wave execution non-deterministic | Task order within waves no longer guaranteed | Do not rely on execution order |
51
+ | `captureState()`/`rollbackTo()` now async | Callers must await these methods | Add `await` at all call sites |
52
+ | Dashboard tokens expire after 24h | Long-lived tokens stop working | Use `/api/v1/auth/refresh` endpoint |
53
+ | SDK bumped to 11.0.0 | New exports, removed deprecated paths | Update `mindforge-sdk@11.0.0` |
54
+
55
+ See upgrade guide at `docs/upgrade.md` for full migration steps.
56
+
57
+ ## Migration
58
+
59
+ ```bash
60
+ node bin/migrations/10.7.0-to-11.0.0.js
61
+ ```
62
+
63
+ The migration script:
64
+ 1. Backs up `.mindforge/config.json`
65
+ 2. Adds new config sections (temporal, rate_limiting, session, wave_execution)
66
+ 3. Archives old AUDIT.jsonl entries if > 5000 lines
67
+ 4. Runs temporal snapshot GC
68
+ 5. Bumps schema versions
69
+
70
+ ---
71
+
72
+ ## Previous Releases
73
+
74
+ - [v10.0.3 — Council Awakens](https://github.com/sairam0424/MindForge/releases/tag/v10.0.3)
75
+ - [v10.0.1 — Bedrock Fortified](https://github.com/sairam0424/MindForge/releases/tag/v10.0.1)
76
+ - [v9.0.0 — Bedrock Meridian](https://github.com/sairam0424/MindForge/releases/tag/v9.0.0)
77
+
78
+ ---
79
+ ---
80
+
1
81
  # Release Notes — v10.0.3 "Council Awakens"
2
82
 
3
83
  **Release Date**: 2026-05-25