mindforge-cc 11.4.0 → 11.5.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 (92) hide show
  1. package/.agent/CLAUDE.md +13 -0
  2. package/.agent/hooks/lib/hook-flags.js +78 -0
  3. package/.agent/hooks/lib/pretooluse-visible-output.js +46 -0
  4. package/.agent/hooks/mindforge-block-no-verify.js +552 -0
  5. package/.agent/hooks/mindforge-config-protection.js +144 -0
  6. package/.agent/hooks/run-with-flags.js +207 -0
  7. package/.agent/mindforge/checkpoint.md +76 -0
  8. package/.agent/mindforge/harness-audit.md +59 -0
  9. package/.agent/mindforge/instinct.md +46 -0
  10. package/.agent/mindforge/orch-add-feature.md +43 -0
  11. package/.agent/mindforge/orch-build-mvp.md +48 -0
  12. package/.agent/mindforge/orch-change-feature.md +45 -0
  13. package/.agent/mindforge/orch-fix-defect.md +43 -0
  14. package/.agent/mindforge/orch-refine-code.md +43 -0
  15. package/.claude/CLAUDE.md +13 -0
  16. package/.claude/commands/mindforge/checkpoint.md +76 -0
  17. package/.claude/commands/mindforge/execute-phase.md +47 -6
  18. package/.claude/commands/mindforge/harness-audit.md +59 -0
  19. package/.claude/commands/mindforge/instinct.md +46 -0
  20. package/.claude/commands/mindforge/orch-add-feature.md +43 -0
  21. package/.claude/commands/mindforge/orch-build-mvp.md +48 -0
  22. package/.claude/commands/mindforge/orch-change-feature.md +45 -0
  23. package/.claude/commands/mindforge/orch-fix-defect.md +43 -0
  24. package/.claude/commands/mindforge/orch-refine-code.md +43 -0
  25. package/.claude/commands/mindforge/plan-write.md +11 -0
  26. package/.claude/commands/mindforge/product-spec.md +76 -0
  27. package/.mindforge/config.json +2 -2
  28. package/.mindforge/engine/instincts/instinct-schema.md +17 -9
  29. package/.mindforge/imported-agents.jsonl +10 -0
  30. package/.mindforge/manifests/install-components.json +36 -0
  31. package/.mindforge/manifests/install-modules.json +193 -0
  32. package/.mindforge/manifests/install-profiles.json +57 -0
  33. package/.mindforge/memory/sync-manifest.json +1 -1
  34. package/.mindforge/personas/gan-evaluator.md +226 -0
  35. package/.mindforge/personas/gan-generator.md +151 -0
  36. package/.mindforge/personas/gan-planner.md +118 -0
  37. package/.mindforge/personas/harness-optimizer.md +55 -0
  38. package/.mindforge/personas/loop-operator.md +58 -0
  39. package/.mindforge/schemas/hooks.schema.json +199 -0
  40. package/.mindforge/schemas/install-modules.schema.json +44 -0
  41. package/.mindforge/schemas/install-state.schema.json +95 -0
  42. package/.mindforge/schemas/plugin.schema.json +75 -0
  43. package/.mindforge/schemas/provenance.schema.json +31 -0
  44. package/.mindforge/skills/agent-architecture-audit/SKILL.md +272 -0
  45. package/.mindforge/skills/continuous-learning/SKILL.md +16 -0
  46. package/.mindforge/skills/orch-pipeline/SKILL.md +284 -0
  47. package/.mindforge/skills/writing-plans/SKILL.md +76 -0
  48. package/CHANGELOG.md +75 -0
  49. package/MINDFORGE.md +3 -3
  50. package/RELEASENOTES.md +86 -0
  51. package/SECURITY.md +16 -0
  52. package/bin/autonomous/auto-runner.js +46 -5
  53. package/bin/autonomous/handoff-schema.js +114 -0
  54. package/bin/autonomous/session-guardian.sh +138 -0
  55. package/bin/autonomous/supervisor.js +98 -0
  56. package/bin/change-classifier.js +19 -5
  57. package/bin/governance/approve.js +61 -28
  58. package/bin/governance/config-manager.js +3 -1
  59. package/bin/governance/rbac-manager.js +14 -6
  60. package/bin/harness-audit.js +520 -0
  61. package/bin/hooks/instinct-capture-hook.js +16 -1
  62. package/bin/hooks/lib/detect-project.js +72 -0
  63. package/bin/installer/harness-adapter-compliance.js +321 -0
  64. package/bin/installer/install-manifests.js +200 -0
  65. package/bin/installer/install-state.js +243 -0
  66. package/bin/installer-core.js +1 -1
  67. package/bin/learning/instinct-cli.js +359 -0
  68. package/bin/learning/lib/ssrf-guard.js +252 -0
  69. package/bin/memory/eis-client.js +31 -10
  70. package/bin/models/llm-errors.js +79 -0
  71. package/bin/models/model-client.js +39 -4
  72. package/bin/models/ollama-provider.js +115 -0
  73. package/bin/models/openai-provider.js +40 -9
  74. package/bin/models/profiles-loader.js +147 -0
  75. package/bin/models/provider-registry.js +59 -0
  76. package/bin/revops/market-evaluator.js +23 -2
  77. package/bin/revops/router-steering-v2.js +17 -2
  78. package/bin/security/trust-boundaries.js +15 -3
  79. package/bin/utils/readiness-gate.js +169 -0
  80. package/bin/worktree/engine.js +497 -0
  81. package/package.json +8 -2
  82. package/subagents/categories/04-quality-security/.claude-plugin/plugin.json +10 -0
  83. package/subagents/categories/04-quality-security/go-build-resolver.md +105 -0
  84. package/subagents/categories/04-quality-security/go-reviewer.md +87 -0
  85. package/subagents/categories/04-quality-security/python-reviewer.md +109 -0
  86. package/subagents/categories/04-quality-security/react-build-resolver.md +215 -0
  87. package/subagents/categories/04-quality-security/react-reviewer.md +167 -0
  88. package/subagents/categories/04-quality-security/rust-build-resolver.md +159 -0
  89. package/subagents/categories/04-quality-security/rust-reviewer.md +105 -0
  90. package/subagents/categories/04-quality-security/silent-failure-hunter.md +67 -0
  91. package/subagents/categories/04-quality-security/type-design-analyzer.md +58 -0
  92. package/subagents/categories/04-quality-security/typescript-reviewer.md +126 -0
@@ -15,6 +15,41 @@ Arguments: $ARGUMENTS (feature name or description, optional --framework for pri
15
15
  Knowledge: PROJECT.md, existing BRDs, market research, competitive analysis, user feedback.
16
16
  </context>
17
17
 
18
+ <gated_question_flow>
19
+ > Adapted from the PRP-PRD interactive flow (PRPs-agentic-eng by Wirasm). This
20
+ > question-flow runs BEFORE and AROUND the `<process>` below — it augments, it
21
+ > does not replace, the personas / RICE / MoSCoW depth. Each gate is an explicit
22
+ > STOP: present the questions, then WAIT FOR USER RESPONSE before proceeding.
23
+
24
+ Flow: `INITIATE -> FOUNDATION -> GROUNDING -> DEEP DIVE -> GROUNDING (technical) -> DECISIONS -> GENERATE`
25
+
26
+ 1. **INITIATE** — If `$ARGUMENTS` is empty, ask "What do you want to build?" If
27
+ provided, restate your understanding and ask the user to confirm/adjust.
28
+ **GATE: wait for the user.**
29
+ 2. **FOUNDATION** — Ask (all at once): Who has the problem? What is the observable
30
+ pain? Why can't they solve it today (and why do alternatives fail)? Why now?
31
+ How will we know it's solved? **GATE: wait for the user.**
32
+ 3. **GROUNDING (market + codebase)** — Research market/competitor context; if a
33
+ codebase exists, explore relevant patterns. Summarize findings, ask "Does this
34
+ refine your thinking?" **GATE: brief pause for the user** (may be "continue").
35
+ 4. **DEEP DIVE** — Ask: one-sentence vision, primary user, Job-to-Be-Done, explicit
36
+ non-users, constraints. **GATE: wait for the user.**
37
+ 5. **GROUNDING (technical feasibility)** — Trace how similar features are built,
38
+ map integration points, rate feasibility HIGH/MEDIUM/LOW with reasons. Summarize,
39
+ ask for unknown technical constraints. **GATE: brief pause for the user.**
40
+ 6. **DECISIONS** — Ask: MVP definition, must-have vs nice-to-have, key hypothesis
41
+ ("We believe [capability] will [solve problem] for [users]; we'll know we're
42
+ right when [measurable outcome]"), explicit out-of-scope, open questions.
43
+ **GATE: wait for the user before generating.**
44
+ 7. **GENERATE** — Only after the DECISIONS gate, run the `<process>` below and
45
+ write the output (see `<output_mapping>`).
46
+
47
+ **Anti-invention rule (MANDATORY)**: Never fill a section with plausible-sounding
48
+ fluff. If information is missing, write **`TBD - needs research`** (and name the
49
+ method to resolve it) rather than inventing an answer. Acknowledge uncertainty
50
+ honestly; list open questions instead of hiding them.
51
+ </gated_question_flow>
52
+
18
53
  <process>
19
54
  1. **Define personas**: Create 2-4 user personas relevant to the feature:
20
55
  - Name, role, and demographic summary
@@ -65,6 +100,7 @@ Knowledge: PROJECT.md, existing BRDs, market research, competitive analysis, use
65
100
  - Technical Constraints and Dependencies
66
101
  - Success Metrics (leading and lagging indicators)
67
102
  - Release Plan (milestones with dates)
103
+ - **Implementation Phases** (dependency table — see `<output_mapping>`)
68
104
  - Open Questions and Risks
69
105
 
70
106
  8. **Define success metrics**: For the feature overall:
@@ -88,3 +124,43 @@ Knowledge: PROJECT.md, existing BRDs, market research, competitive analysis, use
88
124
  - Timeline with confidence intervals
89
125
  - Request specific decisions from specific stakeholders
90
126
  </process>
127
+
128
+ <output_mapping>
129
+ > Adapted from the PRP-PRD Implementation-Phases pattern. The PRD's phase table
130
+ > is the hand-off that lets `/mindforge:plan-phase` and `/mindforge:plan-write`
131
+ > auto-select the next pending phase.
132
+
133
+ **Primary output path**: write the generated PRD to `.planning/REQUIREMENTS.md`
134
+ (create the `.planning/` directory if it does not exist). This is the file
135
+ `/mindforge:execute-phase` and `/mindforge:plan-phase` read from.
136
+
137
+ **Implementation-Phases dependency table** — include this section in
138
+ `.planning/REQUIREMENTS.md`. The `Status` / `Parallel` / `Depends` columns let
139
+ downstream commands auto-select the next eligible pending phase (a phase is
140
+ eligible when its `Status` is `pending` and every phase in `Depends` is `complete`):
141
+
142
+ ```markdown
143
+ ## Implementation Phases
144
+
145
+ <!--
146
+ STATUS: pending | in-progress | complete
147
+ PARALLEL: phases that can run concurrently (e.g., "with 4" or "-")
148
+ DEPENDS: phases that must be complete first (e.g., "1, 2" or "-")
149
+ -->
150
+
151
+ | # | Phase | Description | Status | Parallel | Depends |
152
+ |---|-------|-------------|--------|----------|---------|
153
+ | 1 | {Phase name} | {What this phase delivers} | pending | - | - |
154
+ | 2 | {Phase name} | {What this phase delivers} | pending | - | 1 |
155
+ | 3 | {Phase name} | {What this phase delivers} | pending | with 4 | 2 |
156
+ | 4 | {Phase name} | {What this phase delivers} | pending | with 3 | 2 |
157
+ | 5 | {Phase name} | {What this phase delivers} | pending | - | 3, 4 |
158
+ ```
159
+
160
+ **Anti-invention rule still applies**: any phase whose scope is not yet known
161
+ gets `TBD - needs research` in its Description rather than an invented deliverable.
162
+
163
+ **Next step to report**: tell the user to run `/mindforge:plan-phase` (or
164
+ `/mindforge:plan-write .planning/REQUIREMENTS.md`), which will read this table and
165
+ plan the next pending, dependency-satisfied phase.
166
+ </output_mapping>
@@ -1,11 +1,11 @@
1
1
  {
2
- "version": "11.4.0",
2
+ "version": "11.5.0",
3
3
  "environment": "development",
4
4
  "governance": {
5
5
  "drift_threshold": 0.75,
6
6
  "critical_drift_threshold": 0.5,
7
7
  "res_threshold": 0.8,
8
- "active_did": "did:mindforge:39723c91-8532-400f-855f-720ec0a5387c"
8
+ "active_did": "did:mindforge:f5ee24cf-f359-475e-bd76-c83e3d6fce02"
9
9
  },
10
10
  "revops": {
11
11
  "market_registry": {
@@ -20,11 +20,12 @@ Each instinct is a single JSON line in `instinct-store.jsonl`:
20
20
  "times_succeeded": 6,
21
21
  "times_failed": 2,
22
22
  "project": "mindforge",
23
+ "project_id": "a1b2c3d4e5f6",
23
24
  "tags": ["database", "documentation", "patterns"],
24
25
  "status": "active",
25
26
  "promoted_to_skill": null,
26
27
  "last_applied_at": "2026-05-25T14:20:00Z",
27
- "source_sessions": ["session-abc123", "session-def456"]
28
+ "source": "auto-capture"
28
29
  }
29
30
  ```
30
31
 
@@ -41,12 +42,13 @@ Each instinct is a single JSON line in `instinct-store.jsonl`:
41
42
  | times_applied | int | yes | Total times this instinct was applied |
42
43
  | times_succeeded | int | yes | Times application led to positive outcome |
43
44
  | times_failed | int | yes | Times application led to negative outcome or correction |
44
- | project | string | yes | Project scope (instincts never leak between projects) |
45
+ | project | string | yes | Human-readable project name (or `global`) |
46
+ | project_id | string | yes | Stable 12-char git-remote hash; the read-time scope key (instincts never leak between projects). `global` outside a git repo |
45
47
  | tags | string[] | yes | Classification tags for retrieval |
46
48
  | status | enum | yes | One of: active, promoted, deprecated, pruned |
47
- | promoted_to_skill | string|null | yes | Skill name if promoted, null otherwise |
48
- | last_applied_at | ISO-8601 | yes | When instinct was last used |
49
- | source_sessions | string[] | yes | Session IDs where this instinct was observed/reinforced |
49
+ | promoted_to_skill | string\|null | yes | Skill name if promoted, null otherwise |
50
+ | last_applied_at | ISO-8601\|null | yes | When instinct was last used (null until first applied) |
51
+ | source | string | yes | Origin: `auto-capture` (PostToolUse hook), `manual` (/mindforge:learn-instinct), `imported`, or `observer` |
50
52
 
51
53
  ## Confidence Scoring
52
54
 
@@ -56,16 +58,22 @@ confidence = (times_succeeded / times_applied) * weight_factor
56
58
  where weight_factor = min(1.0, times_applied / 10)
57
59
  ```
58
60
 
59
- - New instincts start at 0.5 confidence (neutral)
60
- - Each success: recalculate with updated counts
61
- - Each failure: recalculate with updated counts
61
+ Starting confidence depends on `source` (a new instinct has `times_applied: 0`,
62
+ so the ratio formula does not yet apply — it seeds an initial value):
63
+ - `auto-capture` (PostToolUse hook): **0.3** low trust, inferred from a single success
64
+ - `manual` (/mindforge:learn-instinct): **0.7** — user-stated, higher trust
65
+ - `imported` / `observer`: as stamped by the importer/observer (default 0.3)
66
+ - 0.5 is the neutral midpoint the ratio formula trends toward once applications accrue
67
+
68
+ Then, once `times_applied > 0`:
69
+ - Each success/failure recalculates `confidence` with updated counts
62
70
  - Weight factor prevents high confidence from single observations
63
71
  - Minimum 5 applications before promotion is considered
64
72
 
65
73
  ## Status Transitions
66
74
 
67
75
  ```
68
- [new observation] → active (confidence: 0.5)
76
+ [auto-capture] → active (confidence: 0.3) [manual] → active (0.7)
69
77
 
70
78
  confidence >= 0.85 AND times_applied >= 5
71
79
 
@@ -63,6 +63,8 @@
63
63
  {"name":"game-developer","path":"subagents/categories/07-specialized-domains/game-developer.md","category":"07-specialized-domains","model":"sonnet","description":"Use this agent when implementing game systems, optimizing graphics rendering, building multiplayer networking, or developing gameplay mechanics for games targeting specific platforms."}
64
64
  {"name":"gdpr-ccpa-compliance","path":"subagents/categories/04-quality-security/gdpr-ccpa-compliance.md","category":"04-quality-security","model":"sonnet","description":"Use when the user needs to understand GDPR or CCPA compliance, review data practices, or assess privacy requirements. Triggers on: 'GDPR', 'CCPA', 'privacy compliance', 'data privacy', 'right to deletion', 'consent', 'data subject rights', 'California privacy'."}
65
65
  {"name":"git-workflow-manager","path":"subagents/categories/06-developer-experience/git-workflow-manager.md","category":"06-developer-experience","model":"haiku","description":"Use this agent when you need to design, establish, or optimize Git workflows, branching strategies, and merge management for a project or team."}
66
+ {"name":"go-build-resolver","path":"subagents/categories/04-quality-security/go-build-resolver.md","category":"04-quality-security","model":"sonnet","description":"Go build, vet, and compilation error resolution specialist. Fixes build errors, go vet issues, and linter warnings with minimal changes. Use when Go builds fail."}
67
+ {"name":"go-reviewer","path":"subagents/categories/04-quality-security/go-reviewer.md","category":"04-quality-security","model":"sonnet","description":"Expert Go code reviewer specializing in idiomatic Go, concurrency patterns, error handling, and performance. Use for all Go code changes. MUST BE USED for Go projects."}
66
68
  {"name":"golang-pro","path":"subagents/categories/02-language-specialists/golang-pro.md","category":"02-language-specialists","model":"sonnet","description":"Use when building Go applications requiring concurrent programming, high-performance systems, microservices, or cloud-native architectures where idiomatic patterns, error handling excellence, and efficiency are critical."}
67
69
  {"name":"graphql-architect","path":"subagents/categories/01-core-development/graphql-architect.md","category":"01-core-development","model":"opus","description":"Use this agent when designing or evolving GraphQL schemas across microservices, implementing federation architectures, or optimizing query performance in distributed graphs."}
68
70
  {"name":"growth-loops","path":"subagents/categories/08-business-product/growth-loops.md","category":"08-business-product","model":"sonnet","description":"Use when the user wants to design a growth loop, understand PLG mechanics, or build sustainable acquisition. Triggers on: 'growth loop', 'flywheel', 'viral loop', 'PLG growth', 'product-led growth', 'growth mechanics', 'how do we grow', 'word of mouth'."}
@@ -112,16 +114,21 @@
112
114
  {"name":"project-manager","path":"subagents/categories/08-business-product/project-manager.md","category":"08-business-product","model":"haiku","description":"Use this agent when you need to establish project plans, track execution progress, manage risks, control budget/schedule, and coordinate stakeholders across complex initiatives."}
113
115
  {"name":"prompt-engineer-cc","path":"subagents/categories/05-data-ai/prompt-engineer-cc.md","category":"05-data-ai","model":"sonnet","description":"Use this agent when you need to design, optimize, test, or evaluate prompts for large language models in production systems."}
114
116
  {"name":"python-pro","path":"subagents/categories/02-language-specialists/python-pro.md","category":"02-language-specialists","model":"sonnet","description":"Use this agent when you need to build type-safe, production-ready Python code for web APIs, system utilities, or complex applications requiring modern async patterns and extensive type coverage."}
117
+ {"name":"python-reviewer","path":"subagents/categories/04-quality-security/python-reviewer.md","category":"04-quality-security","model":"sonnet","description":"Expert Python code reviewer specializing in PEP 8 compliance, Pythonic idioms, type hints, security, and performance. Use for all Python code changes. MUST BE USED for Python projects."}
115
118
  {"name":"qa-expert","path":"subagents/categories/04-quality-security/qa-expert.md","category":"04-quality-security","model":"sonnet","description":"Use this agent when you need comprehensive quality assurance strategy, test planning across the entire development cycle, or quality metrics analysis to improve overall software quality."}
116
119
  {"name":"quant-analyst","path":"subagents/categories/07-specialized-domains/quant-analyst.md","category":"07-specialized-domains","model":"opus","description":"Use this agent when you need to develop quantitative trading strategies, build financial models with rigorous mathematical foundations, or conduct advanced risk analytics for derivatives and portfolios. Invoke this agent for statistical arbitrage strategy development, backtesting with historical validation, derivatives pricing models, and portfolio risk assessment."}
117
120
  {"name":"rails-expert","path":"subagents/categories/02-language-specialists/rails-expert.md","category":"02-language-specialists","model":"sonnet","description":"Use when building or modernizing Rails applications requiring API development, Hotwire reactivity, real-time features, background job processing, deployment automation, or Rails-idiomatic patterns for maximum productivity. Version-aware: adapts to Rails 7.x and 8.x projects."}
121
+ {"name":"react-build-resolver","path":"subagents/categories/04-quality-security/react-build-resolver.md","category":"04-quality-security","model":"sonnet","description":"Diagnose and fix React build failures across Vite, webpack, Next.js, CRA, Parcel, esbuild, and Bun. Handles JSX/TSX compile errors, hydration mismatches, server/client component boundary failures, missing types, and bundler-specific configuration issues with minimal, surgical changes. MUST BE USED when a React build fails."}
122
+ {"name":"react-reviewer","path":"subagents/categories/04-quality-security/react-reviewer.md","category":"04-quality-security","model":"sonnet","description":"Expert React/JSX code reviewer specializing in hook correctness, render performance, server/client component boundaries, accessibility, and React-specific security. Use for any change touching .tsx/.jsx files or React component logic. MUST BE USED for React projects."}
118
123
  {"name":"react-specialist-cc","path":"subagents/categories/02-language-specialists/react-specialist-cc.md","category":"02-language-specialists","model":"sonnet","description":"Use when optimizing existing React applications for performance, implementing advanced React 18+ features, or solving complex state management and architectural challenges within React codebases."}
119
124
  {"name":"readme-generator","path":"subagents/categories/06-developer-experience/readme-generator.md","category":"06-developer-experience","model":"sonnet","description":"Use this agent when you need a maintainer-ready README built from exact repository reality, with deep codebase scanning, zero hallucination, and optional git commit/push only when explicitly requested."}
120
125
  {"name":"refactoring-specialist","path":"subagents/categories/06-developer-experience/refactoring-specialist.md","category":"06-developer-experience","model":"sonnet","description":"Use when you need to transform poorly structured, complex, or duplicated code into clean, maintainable systems while preserving all existing behavior."}
121
126
  {"name":"reinforcement-learning-engineer","path":"subagents/categories/05-data-ai/reinforcement-learning-engineer.md","category":"05-data-ai","model":"sonnet","description":"Use when designing RL environments, training agents with reward optimization, implementing policy gradient methods, or deploying decision-making systems for robotics, gaming, and autonomous operations."}
122
127
  {"name":"research-analyst","path":"subagents/categories/10-research-analysis/research-analyst.md","category":"10-research-analysis","model":"sonnet","description":"Use this agent when you need comprehensive research across multiple sources with synthesis of findings into actionable insights, trend identification, and detailed reporting."}
123
128
  {"name":"risk-manager","path":"subagents/categories/07-specialized-domains/risk-manager.md","category":"07-specialized-domains","model":"opus","description":"Use this agent when you need to identify, quantify, and mitigate enterprise-level risks across financial, operational, regulatory, and strategic domains. Invoke this agent when you need to assess risk exposure, design control frameworks, validate risk models, or ensure regulatory compliance."}
129
+ {"name":"rust-build-resolver","path":"subagents/categories/04-quality-security/rust-build-resolver.md","category":"04-quality-security","model":"sonnet","description":"Rust build, compilation, and dependency error resolution specialist. Fixes cargo build errors, borrow checker issues, and Cargo.toml problems with minimal changes. Use when Rust builds fail."}
124
130
  {"name":"rust-engineer","path":"subagents/categories/02-language-specialists/rust-engineer.md","category":"02-language-specialists","model":"sonnet","description":"Use when building Rust systems where memory safety, ownership patterns, zero-cost abstractions, and performance optimization are critical for systems programming, embedded development, async applications, or high-performance services."}
131
+ {"name":"rust-reviewer","path":"subagents/categories/04-quality-security/rust-reviewer.md","category":"04-quality-security","model":"sonnet","description":"Expert Rust code reviewer specializing in ownership, lifetimes, error handling, unsafe usage, and idiomatic patterns. Use for all Rust code changes. MUST BE USED for Rust projects."}
125
132
  {"name":"sales-engineer","path":"subagents/categories/08-business-product/sales-engineer.md","category":"08-business-product","model":"sonnet","description":"Use this agent when you need to conduct technical pre-sales activities including solution architecture, proof-of-concept development, and technical demonstrations for complex sales deals."}
126
133
  {"name":"scientific-literature-researcher","path":"subagents/categories/10-research-analysis/scientific-literature-researcher.md","category":"10-research-analysis","model":"sonnet","description":"Use when you need to search scientific literature and retrieve structured experimental data from published studies. Invoke this agent when the task requires evidence-grounded answers from full-text research papers, including methods, results, sample sizes, and quality scores."}
127
134
  {"name":"scrum-master","path":"subagents/categories/08-business-product/scrum-master.md","category":"08-business-product","model":"haiku","description":"Use when teams need facilitation, process optimization, velocity improvement, or agile ceremony management—especially for sprint planning, retrospectives, impediment removal, and scaling agile practices across multiple teams."}
@@ -129,6 +136,7 @@
129
136
  {"name":"security-auditor","path":"subagents/categories/04-quality-security/security-auditor.md","category":"04-quality-security","model":"opus","description":"Use this agent when conducting comprehensive security audits, compliance assessments, or risk evaluations across systems, infrastructure, and processes. Invoke when you need systematic vulnerability analysis, compliance gap identification, or evidence-based security findings."}
130
137
  {"name":"security-engineer","path":"subagents/categories/03-infrastructure/security-engineer.md","category":"03-infrastructure","model":"opus","description":"Use this agent when implementing comprehensive security solutions across infrastructure, building automated security controls into CI/CD pipelines, or establishing compliance and vulnerability management programs. Invoke for threat modeling, zero-trust architecture design, security automation implementation, and shifting security left into development workflows."}
131
138
  {"name":"seo-specialist-cc","path":"subagents/categories/07-specialized-domains/seo-specialist-cc.md","category":"07-specialized-domains","model":"haiku","description":"Use this agent when you need comprehensive SEO optimization encompassing technical audits, keyword strategy, content optimization, and search rankings improvement."}
139
+ {"name":"silent-failure-hunter","path":"subagents/categories/04-quality-security/silent-failure-hunter.md","category":"04-quality-security","model":"sonnet","description":"Use this agent to review code for silent failures, swallowed errors, dangerous fallbacks, and missing error propagation. Read-only diff scanner that complements code-reviewer and security-auditor in review/verify gates."}
132
140
  {"name":"slack-expert","path":"subagents/categories/06-developer-experience/slack-expert.md","category":"06-developer-experience","model":"sonnet","description":"Use this agent when developing Slack applications, implementing Slack API integrations, or reviewing Slack bot code for security and best practices."}
133
141
  {"name":"spring-boot-engineer","path":"subagents/categories/02-language-specialists/spring-boot-engineer.md","category":"02-language-specialists","model":"sonnet","description":"Use this agent when building enterprise Spring Boot 3+ applications requiring microservices architecture, cloud-native deployment, or reactive programming patterns."}
134
142
  {"name":"sql-pro","path":"subagents/categories/02-language-specialists/sql-pro.md","category":"02-language-specialists","model":"sonnet","description":"Use this agent when you need to optimize complex SQL queries, design efficient database schemas, or solve performance issues across PostgreSQL, MySQL, SQL Server, and Oracle requiring advanced query optimization, index strategies, or data warehouse patterns."}
@@ -142,7 +150,9 @@
142
150
  {"name":"test-automator","path":"subagents/categories/04-quality-security/test-automator.md","category":"04-quality-security","model":"sonnet","description":"Use this agent when you need to build, implement, or enhance automated test frameworks, create test scripts, or integrate testing into CI/CD pipelines."}
143
151
  {"name":"tooling-engineer","path":"subagents/categories/06-developer-experience/tooling-engineer.md","category":"06-developer-experience","model":"sonnet","description":"Use this agent when you need to build or enhance developer tools including CLIs, code generators, build tools, and IDE extensions."}
144
152
  {"name":"trend-analyst","path":"subagents/categories/10-research-analysis/trend-analyst.md","category":"10-research-analysis","model":"sonnet","description":"Use when analyzing emerging patterns, predicting industry shifts, or developing future scenarios to inform strategic planning and competitive positioning."}
153
+ {"name":"type-design-analyzer","path":"subagents/categories/04-quality-security/type-design-analyzer.md","category":"04-quality-security","model":"sonnet","description":"Use this agent to grade type design on whether it makes illegal states unrepresentable — scoring encapsulation, invariant expression, invariant usefulness, and enforcement. Read-only; pairs with the typescript and rust reviewers."}
145
154
  {"name":"typescript-pro","path":"subagents/categories/02-language-specialists/typescript-pro.md","category":"02-language-specialists","model":"sonnet","description":"Use when implementing TypeScript code requiring advanced type system patterns, complex generics, type-level programming, or end-to-end type safety across full-stack applications."}
155
+ {"name":"typescript-reviewer","path":"subagents/categories/04-quality-security/typescript-reviewer.md","category":"04-quality-security","model":"sonnet","description":"Expert TypeScript/JavaScript code reviewer specializing in type safety, async correctness, Node/web security, and idiomatic patterns. Use for all TypeScript and JavaScript code changes. MUST BE USED for TypeScript/JavaScript projects."}
146
156
  {"name":"ui-designer","path":"subagents/categories/01-core-development/ui-designer.md","category":"01-core-development","model":"sonnet","description":"Use this agent when designing visual interfaces, creating design systems, building component libraries, or refining user-facing aesthetics requiring expert visual design, interaction patterns, and accessibility considerations."}
147
157
  {"name":"ui-ux-tester","path":"subagents/categories/04-quality-security/ui-ux-tester.md","category":"04-quality-security","model":"sonnet","description":"Use this agent when you need exhaustive UI and UX functionality testing driven by documented user flows, with browser or desktop interaction tooling and structured defect reporting."}
148
158
  {"name":"ux-researcher","path":"subagents/categories/08-business-product/ux-researcher.md","category":"08-business-product","model":"sonnet","description":"Use this agent when you need to conduct user research, analyze user behavior, or generate actionable insights to validate design decisions and uncover user needs. Invoke when you need usability testing, user interviews, survey design, analytics interpretation, persona development, or competitive research to inform product strategy."}
@@ -0,0 +1,36 @@
1
+ {
2
+ "version": 1,
3
+ "_comment": "Optional install components for the MindForge manifest engine (INERT). A component is a named module grouping the resolver can ADD (--with) or REMOVE (--without) on top of a profile. 'family' classifies the component for listing/filtering. Module ids must exist in install-modules.json. Replaces ad-hoc flags once a driver wires this.",
4
+ "components": [
5
+ {
6
+ "id": "subagents",
7
+ "family": "capability",
8
+ "description": "The imported subagent corpus (subagents/categories). Heavy; excluded from minimal/standard, included in full.",
9
+ "modules": ["subagents"]
10
+ },
11
+ {
12
+ "id": "integrations",
13
+ "family": "capability",
14
+ "description": "Third-party integration adapters (.mindforge/integrations). Beta.",
15
+ "modules": ["integrations"]
16
+ },
17
+ {
18
+ "id": "docs",
19
+ "family": "capability",
20
+ "description": "Reference and template documentation (docs/References + docs/Templates).",
21
+ "modules": ["docs-references", "docs-templates"]
22
+ },
23
+ {
24
+ "id": "hooks",
25
+ "family": "capability",
26
+ "description": "Runtime hook scripts (.agent/hooks): TrustGate, guards, lib helpers. Drop with --without hooks for a hook-free install.",
27
+ "modules": ["hooks-runtime"]
28
+ },
29
+ {
30
+ "id": "engine",
31
+ "family": "capability",
32
+ "description": "The full engine stack: engine core, governance, intelligence, models, and engine-format skills.",
33
+ "modules": ["engine-core", "governance", "intelligence", "models", "engine-skills"]
34
+ }
35
+ ]
36
+ }
@@ -0,0 +1,193 @@
1
+ {
2
+ "version": 1,
3
+ "_comment": "MindForge install module vocabulary (INERT). Each module names a real, package.json-files[]-covered asset path the installer already copies. The adapter-factory that would CONSUME a resolved plan is deferred; this manifest + resolver ship inert (the live install() path is unchanged). 'targets' uses installer-core RUNTIMES ids. Validated by .mindforge/schemas/install-modules.schema.json.",
4
+ "modules": [
5
+ {
6
+ "id": "entry-claude",
7
+ "kind": "configs",
8
+ "description": "Claude runtime entry document (.claude/CLAUDE.md).",
9
+ "paths": [".claude/CLAUDE.md"],
10
+ "targets": ["claude", "cursor", "opencode", "copilot"],
11
+ "dependencies": [],
12
+ "defaultInstall": true,
13
+ "cost": "light",
14
+ "stability": "stable"
15
+ },
16
+ {
17
+ "id": "entry-agent",
18
+ "kind": "configs",
19
+ "description": "Agent runtime entry document (.agent/CLAUDE.md) for Antigravity/Gemini-style harnesses.",
20
+ "paths": [".agent/CLAUDE.md"],
21
+ "targets": ["antigravity", "gemini"],
22
+ "dependencies": [],
23
+ "defaultInstall": true,
24
+ "cost": "light",
25
+ "stability": "stable"
26
+ },
27
+ {
28
+ "id": "parameter-registry",
29
+ "kind": "configs",
30
+ "description": "MINDFORGE.md parameter registry (the session-start source of truth).",
31
+ "paths": ["MINDFORGE.md"],
32
+ "targets": ["claude", "antigravity", "cursor", "opencode", "gemini", "copilot"],
33
+ "dependencies": [],
34
+ "defaultInstall": true,
35
+ "cost": "light",
36
+ "stability": "stable"
37
+ },
38
+ {
39
+ "id": "commands-claude",
40
+ "kind": "commands",
41
+ "description": "Claude slash-command corpus under .claude/commands/mindforge.",
42
+ "paths": [".claude/commands/mindforge"],
43
+ "targets": ["claude", "cursor", "opencode", "copilot"],
44
+ "dependencies": ["entry-claude"],
45
+ "defaultInstall": true,
46
+ "cost": "medium",
47
+ "stability": "stable"
48
+ },
49
+ {
50
+ "id": "commands-agent",
51
+ "kind": "commands",
52
+ "description": "Agent-runtime command sets (.agent/mindforge + .agent/forge namespaces).",
53
+ "paths": [".agent/mindforge", ".agent/forge"],
54
+ "targets": ["antigravity", "gemini"],
55
+ "dependencies": ["entry-agent"],
56
+ "defaultInstall": true,
57
+ "cost": "medium",
58
+ "stability": "stable"
59
+ },
60
+ {
61
+ "id": "skills",
62
+ "kind": "skills",
63
+ "description": "Skill corpus under .agent/skills (SKILL.md definitions).",
64
+ "paths": [".agent/skills"],
65
+ "targets": ["claude", "antigravity", "cursor", "opencode", "gemini", "copilot"],
66
+ "dependencies": [],
67
+ "defaultInstall": true,
68
+ "cost": "medium",
69
+ "stability": "stable"
70
+ },
71
+ {
72
+ "id": "hooks-runtime",
73
+ "kind": "hooks",
74
+ "description": "Runtime hook scripts under .agent/hooks (TrustGate, guards, lib helpers).",
75
+ "paths": [".agent/hooks"],
76
+ "targets": ["claude", "antigravity", "cursor", "gemini", "copilot"],
77
+ "dependencies": [],
78
+ "defaultInstall": true,
79
+ "cost": "medium",
80
+ "stability": "stable"
81
+ },
82
+ {
83
+ "id": "personas",
84
+ "kind": "agents",
85
+ "description": "Persona prompt library under .mindforge/personas.",
86
+ "paths": [".mindforge/personas"],
87
+ "targets": ["claude", "antigravity", "cursor", "opencode", "gemini", "copilot"],
88
+ "dependencies": [],
89
+ "defaultInstall": true,
90
+ "cost": "light",
91
+ "stability": "stable"
92
+ },
93
+ {
94
+ "id": "subagents",
95
+ "kind": "agents",
96
+ "description": "Imported subagent corpus under subagents/categories.",
97
+ "paths": ["subagents/categories"],
98
+ "targets": ["claude", "antigravity", "cursor", "opencode", "gemini", "copilot"],
99
+ "dependencies": [],
100
+ "defaultInstall": true,
101
+ "cost": "heavy",
102
+ "stability": "stable"
103
+ },
104
+ {
105
+ "id": "engine-core",
106
+ "kind": "engine",
107
+ "description": "MindForge engine binary logic and schemas under .mindforge/engine.",
108
+ "paths": [".mindforge/engine"],
109
+ "targets": ["claude", "antigravity", "cursor", "opencode", "gemini", "copilot"],
110
+ "dependencies": [],
111
+ "defaultInstall": true,
112
+ "cost": "heavy",
113
+ "stability": "stable"
114
+ },
115
+ {
116
+ "id": "governance",
117
+ "kind": "engine",
118
+ "description": "Tier-3 governance assets under .mindforge/governance.",
119
+ "paths": [".mindforge/governance"],
120
+ "targets": ["claude", "antigravity", "cursor", "opencode", "gemini", "copilot"],
121
+ "dependencies": ["engine-core"],
122
+ "defaultInstall": true,
123
+ "cost": "medium",
124
+ "stability": "stable"
125
+ },
126
+ {
127
+ "id": "intelligence",
128
+ "kind": "engine",
129
+ "description": "Neural/intelligence assets under .mindforge/intelligence.",
130
+ "paths": [".mindforge/intelligence"],
131
+ "targets": ["claude", "antigravity", "cursor", "opencode", "gemini", "copilot"],
132
+ "dependencies": ["engine-core"],
133
+ "defaultInstall": true,
134
+ "cost": "medium",
135
+ "stability": "stable"
136
+ },
137
+ {
138
+ "id": "integrations",
139
+ "kind": "engine",
140
+ "description": "Third-party integration adapters under .mindforge/integrations.",
141
+ "paths": [".mindforge/integrations"],
142
+ "targets": ["claude", "antigravity", "cursor", "opencode", "gemini", "copilot"],
143
+ "dependencies": ["engine-core"],
144
+ "defaultInstall": false,
145
+ "cost": "medium",
146
+ "stability": "beta"
147
+ },
148
+ {
149
+ "id": "models",
150
+ "kind": "engine",
151
+ "description": "Model provider definitions under .mindforge/models.",
152
+ "paths": [".mindforge/models"],
153
+ "targets": ["claude", "antigravity", "cursor", "opencode", "gemini", "copilot"],
154
+ "dependencies": ["engine-core"],
155
+ "defaultInstall": true,
156
+ "cost": "light",
157
+ "stability": "stable"
158
+ },
159
+ {
160
+ "id": "engine-skills",
161
+ "kind": "skills",
162
+ "description": "Engine-format skills under .mindforge/skills (full schema).",
163
+ "paths": [".mindforge/skills"],
164
+ "targets": ["claude", "antigravity", "cursor", "opencode", "gemini", "copilot"],
165
+ "dependencies": ["engine-core"],
166
+ "defaultInstall": true,
167
+ "cost": "medium",
168
+ "stability": "stable"
169
+ },
170
+ {
171
+ "id": "docs-references",
172
+ "kind": "configs",
173
+ "description": "Reference documentation under docs/References.",
174
+ "paths": ["docs/References"],
175
+ "targets": ["claude", "antigravity", "cursor", "opencode", "gemini", "copilot"],
176
+ "dependencies": [],
177
+ "defaultInstall": false,
178
+ "cost": "light",
179
+ "stability": "stable"
180
+ },
181
+ {
182
+ "id": "docs-templates",
183
+ "kind": "configs",
184
+ "description": "Planning/document templates under docs/Templates.",
185
+ "paths": ["docs/Templates"],
186
+ "targets": ["claude", "antigravity", "cursor", "opencode", "gemini", "copilot"],
187
+ "dependencies": [],
188
+ "defaultInstall": false,
189
+ "cost": "light",
190
+ "stability": "stable"
191
+ }
192
+ ]
193
+ }
@@ -0,0 +1,57 @@
1
+ {
2
+ "version": 1,
3
+ "_comment": "Named install profiles for the MindForge manifest engine (INERT). Each profile is a curated module bundle resolved by bin/installer/install-manifests.js. Module ids must exist in install-modules.json; dependencies are pulled in automatically by the resolver. Replaces the two-boolean --minimal/--with-utils selectivity once a driver wires this.",
4
+ "profiles": {
5
+ "minimal": {
6
+ "description": "Smallest viable install: entry docs, parameter registry, command corpus, and skills. No heavy engine subtrees or subagent corpus.",
7
+ "modules": [
8
+ "entry-claude",
9
+ "entry-agent",
10
+ "parameter-registry",
11
+ "commands-claude",
12
+ "commands-agent",
13
+ "skills"
14
+ ]
15
+ },
16
+ "standard": {
17
+ "description": "Default install: minimal plus runtime hooks, personas, engine core, governance, intelligence, models, and engine-format skills. Excludes the heavy subagent corpus and optional docs.",
18
+ "modules": [
19
+ "entry-claude",
20
+ "entry-agent",
21
+ "parameter-registry",
22
+ "commands-claude",
23
+ "commands-agent",
24
+ "skills",
25
+ "hooks-runtime",
26
+ "personas",
27
+ "engine-core",
28
+ "governance",
29
+ "intelligence",
30
+ "models",
31
+ "engine-skills"
32
+ ]
33
+ },
34
+ "full": {
35
+ "description": "Everything: standard plus the subagent corpus, integrations, and reference/template docs.",
36
+ "modules": [
37
+ "entry-claude",
38
+ "entry-agent",
39
+ "parameter-registry",
40
+ "commands-claude",
41
+ "commands-agent",
42
+ "skills",
43
+ "hooks-runtime",
44
+ "personas",
45
+ "subagents",
46
+ "engine-core",
47
+ "governance",
48
+ "intelligence",
49
+ "integrations",
50
+ "models",
51
+ "engine-skills",
52
+ "docs-references",
53
+ "docs-templates"
54
+ ]
55
+ }
56
+ }
57
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "pattern-library.jsonl": {
3
- "lastSync": "2026-06-05T20:10:07.452Z",
3
+ "lastSync": "2026-06-11T08:14:04.496Z",
4
4
  "localCount": 1
5
5
  }
6
6
  }