mindforge-cc 2.0.0-alpha.9 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. package/.agent/CLAUDE.md +26 -0
  2. package/.agent/mindforge/add-backlog.md +32 -0
  3. package/.agent/mindforge/agent.md +31 -0
  4. package/.agent/mindforge/do.md +31 -0
  5. package/.agent/mindforge/execute-phase.md +23 -0
  6. package/.agent/mindforge/install-skill.md +20 -11
  7. package/.agent/mindforge/learn.md +142 -0
  8. package/.agent/mindforge/marketplace.md +120 -0
  9. package/.agent/mindforge/new-runtime.md +19 -0
  10. package/.agent/mindforge/note.md +35 -0
  11. package/.agent/mindforge/plant-seed.md +31 -0
  12. package/.agent/mindforge/remember.md +16 -4
  13. package/.agent/mindforge/review-backlog.md +34 -0
  14. package/.agent/mindforge/session-report.md +39 -0
  15. package/.agent/mindforge/ui-phase.md +34 -0
  16. package/.agent/mindforge/ui-review.md +36 -0
  17. package/.agent/mindforge/validate-phase.md +31 -0
  18. package/.agent/mindforge/workstreams.md +35 -0
  19. package/.claude/CLAUDE.md +26 -0
  20. package/.claude/commands/mindforge/add-backlog.md +32 -0
  21. package/.claude/commands/mindforge/agent.md +31 -0
  22. package/.claude/commands/mindforge/approve.md +27 -15
  23. package/.claude/commands/mindforge/audit.md +30 -26
  24. package/.claude/commands/mindforge/auto.md +29 -18
  25. package/.claude/commands/mindforge/benchmark.md +26 -29
  26. package/.claude/commands/mindforge/browse.md +24 -22
  27. package/.claude/commands/mindforge/complete-milestone.md +28 -14
  28. package/.claude/commands/mindforge/costs.md +26 -9
  29. package/.claude/commands/mindforge/cross-review.md +27 -13
  30. package/.claude/commands/mindforge/dashboard.md +35 -98
  31. package/.claude/commands/mindforge/debug.md +34 -126
  32. package/.claude/commands/mindforge/discuss-phase.md +36 -138
  33. package/.claude/commands/mindforge/do.md +31 -0
  34. package/.claude/commands/mindforge/execute-phase.md +37 -167
  35. package/.claude/commands/mindforge/health.md +27 -17
  36. package/.claude/commands/mindforge/help.md +25 -19
  37. package/.claude/commands/mindforge/init-org.md +37 -131
  38. package/.claude/commands/mindforge/init-project.md +40 -155
  39. package/.claude/commands/mindforge/install-skill.md +32 -15
  40. package/.claude/commands/mindforge/learn.md +36 -0
  41. package/.claude/commands/mindforge/map-codebase.md +36 -298
  42. package/.claude/commands/mindforge/marketplace.md +33 -0
  43. package/.claude/commands/mindforge/metrics.md +29 -18
  44. package/.claude/commands/mindforge/migrate.md +33 -40
  45. package/.claude/commands/mindforge/milestone.md +35 -12
  46. package/.claude/commands/mindforge/new-runtime.md +29 -0
  47. package/.claude/commands/mindforge/next.md +34 -105
  48. package/.claude/commands/mindforge/note.md +35 -0
  49. package/.claude/commands/mindforge/plan-phase.md +34 -125
  50. package/.claude/commands/mindforge/plant-seed.md +31 -0
  51. package/.claude/commands/mindforge/plugins.md +30 -36
  52. package/.claude/commands/mindforge/pr-review.md +32 -41
  53. package/.claude/commands/mindforge/profile-team.md +26 -19
  54. package/.claude/commands/mindforge/publish-skill.md +28 -17
  55. package/.claude/commands/mindforge/qa.md +27 -12
  56. package/.claude/commands/mindforge/quick.md +35 -135
  57. package/.claude/commands/mindforge/release.md +27 -8
  58. package/.claude/commands/mindforge/remember.md +25 -10
  59. package/.claude/commands/mindforge/research.md +27 -9
  60. package/.claude/commands/mindforge/retrospective.md +28 -22
  61. package/.claude/commands/mindforge/review-backlog.md +34 -0
  62. package/.claude/commands/mindforge/review.md +37 -157
  63. package/.claude/commands/mindforge/security-scan.md +34 -233
  64. package/.claude/commands/mindforge/session-report.md +39 -0
  65. package/.claude/commands/mindforge/ship.md +34 -100
  66. package/.claude/commands/mindforge/skills.md +36 -141
  67. package/.claude/commands/mindforge/status.md +30 -104
  68. package/.claude/commands/mindforge/steer.md +25 -10
  69. package/.claude/commands/mindforge/sync-confluence.md +28 -9
  70. package/.claude/commands/mindforge/sync-jira.md +32 -12
  71. package/.claude/commands/mindforge/tokens.md +25 -6
  72. package/.claude/commands/mindforge/ui-phase.md +34 -0
  73. package/.claude/commands/mindforge/ui-review.md +36 -0
  74. package/.claude/commands/mindforge/update.md +33 -42
  75. package/.claude/commands/mindforge/validate-phase.md +31 -0
  76. package/.claude/commands/mindforge/verify-phase.md +30 -62
  77. package/.claude/commands/mindforge/workspace.md +28 -25
  78. package/.claude/commands/mindforge/workstreams.md +35 -0
  79. package/.mindforge/distribution/marketplace.md +53 -0
  80. package/.mindforge/org/skills/MANIFEST.md +1 -0
  81. package/.mindforge/personas/advisor-researcher.md +89 -0
  82. package/.mindforge/personas/analyst.md +112 -52
  83. package/.mindforge/personas/architect.md +100 -67
  84. package/.mindforge/personas/assumptions-analyzer-extend.md +87 -0
  85. package/.mindforge/personas/assumptions-analyzer.md +109 -0
  86. package/.mindforge/personas/codebase-mapper-extend.md +93 -0
  87. package/.mindforge/personas/codebase-mapper.md +770 -0
  88. package/.mindforge/personas/coverage-specialist.md +104 -0
  89. package/.mindforge/personas/debug-specialist.md +118 -52
  90. package/.mindforge/personas/debugger.md +97 -0
  91. package/.mindforge/personas/decision-architect.md +102 -0
  92. package/.mindforge/personas/developer.md +97 -85
  93. package/.mindforge/personas/executor.md +88 -0
  94. package/.mindforge/personas/integration-checker.md +92 -0
  95. package/.mindforge/personas/nyquist-auditor.md +84 -0
  96. package/.mindforge/personas/phase-researcher.md +107 -0
  97. package/.mindforge/personas/plan-checker.md +92 -0
  98. package/.mindforge/personas/planner.md +105 -0
  99. package/.mindforge/personas/project-researcher.md +99 -0
  100. package/.mindforge/personas/qa-engineer.md +113 -61
  101. package/.mindforge/personas/release-manager.md +102 -64
  102. package/.mindforge/personas/research-agent.md +108 -24
  103. package/.mindforge/personas/research-synthesizer.md +101 -0
  104. package/.mindforge/personas/roadmapper-extend.md +100 -0
  105. package/.mindforge/personas/roadmapper.md +103 -0
  106. package/.mindforge/personas/security-reviewer.md +114 -91
  107. package/.mindforge/personas/tech-writer.md +118 -51
  108. package/.mindforge/personas/ui-auditor.md +94 -0
  109. package/.mindforge/personas/ui-checker.md +89 -0
  110. package/.mindforge/personas/ui-researcher.md +99 -0
  111. package/.mindforge/personas/user-profiler.md +93 -0
  112. package/.mindforge/personas/verifier.md +101 -0
  113. package/.mindforge/production/production-checklist.md +34 -123
  114. package/.mindforge/skills-builder/auto-capture-protocol.md +88 -0
  115. package/.mindforge/skills-builder/learn-protocol.md +161 -0
  116. package/.mindforge/skills-builder/quality-scoring.md +120 -0
  117. package/.planning/AUDIT.jsonl +1 -0
  118. package/.planning/decisions/ADR-036-learn-command-docs-as-skill-source.md +26 -0
  119. package/.planning/decisions/ADR-037-auto-capture-frequency-threshold.md +26 -0
  120. package/.planning/decisions/ADR-038-skill-quality-minimum-60.md +27 -0
  121. package/CHANGELOG.md +78 -0
  122. package/MINDFORGE.md +11 -0
  123. package/README.md +80 -6
  124. package/bin/autonomous/auto-runner.js +12 -0
  125. package/bin/install.js +8 -2
  126. package/bin/installer-core.js +129 -26
  127. package/bin/migrations/1.0.0-to-2.0.0.js +115 -0
  128. package/bin/migrations/schema-versions.js +12 -0
  129. package/bin/mindforge-cli.js +35 -0
  130. package/bin/review/cross-review-engine.js +11 -0
  131. package/bin/skill-registry.js +167 -0
  132. package/bin/skill-validator.js +144 -0
  133. package/bin/skills-builder/learn-cli.js +57 -0
  134. package/bin/skills-builder/marketplace-cli.js +54 -0
  135. package/bin/skills-builder/marketplace-client.js +198 -0
  136. package/bin/skills-builder/pattern-detector.js +144 -0
  137. package/bin/skills-builder/skill-generator.js +258 -0
  138. package/bin/skills-builder/skill-registrar.js +107 -0
  139. package/bin/skills-builder/skill-scorer.js +263 -0
  140. package/bin/skills-builder/source-loader.js +268 -0
  141. package/docs/Context/Master-Context.md +6 -13
  142. package/docs/PERSONAS.md +611 -0
  143. package/docs/architecture/README.md +6 -1
  144. package/docs/architecture/adr-039-multi-runtime-support.md +20 -0
  145. package/docs/architecture/adr-040-additive-schema-migration.md +21 -0
  146. package/docs/architecture/adr-041-stable-runtime-interface-contract.md +20 -0
  147. package/docs/architecture/decision-records-index.md +3 -0
  148. package/docs/commands-reference.md +3 -0
  149. package/docs/mindforge-md-reference.md +4 -0
  150. package/docs/reference/commands.md +53 -43
  151. package/docs/skills-authoring-guide.md +29 -0
  152. package/docs/skills-publishing-guide.md +3 -2
  153. package/docs/testing-current-version.md +3 -3
  154. package/docs/upgrade.md +16 -2
  155. package/docs/user-guide.md +57 -8
  156. package/docs/usp-features.md +21 -6
  157. package/package.json +1 -1
@@ -24,3 +24,6 @@ All 20 ADRs in chronological order.
24
24
  | ADR-018 | Installer detects and handles self-install | Accepted | Installer running inside its own repo = no-op for framework files |
25
25
  | ADR-019 | Self-update preserves original install scope | Accepted | Update local→local, global→global |
26
26
  | ADR-020 | v1.0.0 stable interface contract | Accepted | Defines what "stable" means for plugins and SDK consumers |
27
+ | ADR-039 | Multi-runtime platform support | Accepted | Native support for Cursor, Gemini, Copilot, etc. |
28
+ | ADR-040 | Additive schema migration strategy | Accepted | Non-destructive, backup-first backfill logic |
29
+ | ADR-041 | Stable runtime interface contract | Accepted | Exported RUNTIMES and adapters for extensibility |
@@ -9,4 +9,7 @@
9
9
  | `/mindforge:verify-phase [N]` | Human acceptance testing + automated checks |
10
10
  | `/mindforge:ship [N]` | Generate changelog, run quality gates, create PR |
11
11
  | `/mindforge:dashboard` | Manage the real-time web observability dashboard |
12
+ | `/mindforge:learn [SRC]` | Automatically capture skills from Docs, Sessions, or npm |
13
+ | `/mindforge:marketplace [SEARCH]`| Search, install, and publish community skills |
14
+ | `/mindforge:new-runtime` | Scaffold custom runtime configurations for any AI agent |
12
15
 
@@ -28,6 +28,10 @@ Unavailable value -> fallback to `inherit` with warning.
28
28
  - `VERIFY_PASS_RATE_WARNING_THRESHOLD`
29
29
  - `COMPACTION_THRESHOLD_PCT`
30
30
  - `MAX_TASKS_PER_PHASE`
31
+ - `AUTONOMOUS_MODE_ENABLED`
32
+ - `NODE_REPAIR_ENABLED`
33
+ - `STUCK_DETECTION_TIMEOUT_MS`
34
+ - `STEERING_CHECK_INTERVAL_MS`
31
35
 
32
36
  ### Quality and governance
33
37
  - `MIN_TEST_COVERAGE_PCT`
@@ -1,89 +1,99 @@
1
1
  # MindForge v2.0.0 — Complete Commands Reference
2
2
 
3
- ## All 40+ commands
3
+ ## All 50+ commands
4
4
 
5
5
  ### Lifecycle commands (core workflow)
6
6
 
7
7
  | Command | Usage | Description | Added |
8
8
  |---|---|---|---|
9
- | `/mindforge:init-project` | `init-project` | Guided project setup — creates all `.planning/` files |
10
- | `/mindforge:discuss-phase` | `discuss-phase [N] [--batch|--auto]` | Pre-planning interview to capture implementation decisions |
11
- | `/mindforge:plan-phase` | `plan-phase [N]` | Research, decompose, and create atomic task plans |
9
+ | `/mindforge:init-project` | `init-project` | Guided project setup — creates all `.planning/` files | |
10
+ | `/mindforge:discuss-phase` | `discuss-phase [N] [--batch|--auto]` | Pre-planning interview to capture implementation decisions | |
11
+ | `/mindforge:ui-phase` | `ui-phase [N]` | Generate UI design contract (UI-SPEC.md) | v2.0.0 |
12
+ | `/mindforge:plan-phase` | `plan-phase [N]` | Research, decompose, and create atomic task plans | |
12
13
  | `/mindforge:execute-phase` | `execute-phase [N]` | Wave-based parallel execution of all phase plans | Day 1+2 |
13
- | `/mindforge:verify-phase` | `verify-phase [N]` | Automated + human acceptance testing pipeline |
14
- | `/mindforge:ship` | `ship [N]` | Create PR, write release notes, push to remote |
15
- | `/mindforge:auto` | `auto [--phase N] [--milestone M]` | Walk-away autonomous execution with stuck detection |
16
- | `/mindforge:steer` | `steer "instruction"` | Inject guidance into a running autonomous session |
17
- | `/mindforge:next` | `next` | Auto-detect and execute the correct next workflow step |
18
- | `/mindforge:cross-review` | `cross-review` | Adversarial multi-model code review and synthesis |
19
- | `/mindforge:research` | `research "query"` | Deep research using Gemini 1.5 Pro 1M context |
20
- | `/mindforge:remember` | `remember [--add X|--search Y|--promote ID|--stats]` | Persistent knowledge graph management |
14
+ | `/mindforge:ui-review` | `ui-review [N]` | Retroactive 6-pillar visual audit | v2.0.0 |
15
+ | `/mindforge:verify-phase` | `verify-phase [N]` | Automated + human acceptance testing pipeline | |
16
+ | `/mindforge:validate-phase` | `validate-phase [N]` | Requirement coverage and test gap audit | v2.0.0 |
17
+ | `/mindforge:ship` | `ship [N]` | Create PR, write release notes, push to remote | |
18
+ | `/mindforge:auto` | `auto [--phase N] [--milestone M]` | Walk-away autonomous execution with stuck detection | |
19
+ | `/mindforge:steer` | `steer "instruction"` | Inject guidance into a running autonomous session | |
20
+ | `/mindforge:next` | `next` | Auto-detect and execute the correct next workflow step | |
21
+ | `/mindforge:cross-review` | `cross-review` | Adversarial multi-model code review and synthesis | |
22
+ | `/mindforge:research` | `research "query"` | Deep research using Gemini 1.5 Pro 1M context | |
23
+ | `/mindforge:remember` | `remember [--add X|--search Y|--promote ID|--stats]` | Persistent knowledge graph management | |
24
+ | `/mindforge:workstreams` | `workstreams [list|create|switch|status|complete]` | Manage parallel feature tracks with isolated state | v2.0.0 |
21
25
 
22
26
  ### Project setup & discovery
23
27
 
24
28
  | Command | Usage | Description | Added |
25
29
  |---|---|---|---|
26
- | `/mindforge:map-codebase` | `map-codebase` | Brownfield onboarding: infer stack and seed docs |
27
- | `/mindforge:quick` | `quick` | Run a small, single-task plan without a full phase |
28
- | `/mindforge:status` | `status` | Show current phase, plan status, and next action |
29
- | `/mindforge:health` | `health [--repair]` | Validate installation and repair drift |
30
- | `/mindforge:review` | `review [N]` | Run a structured review pass for a phase |
31
- | `/mindforge:debug` | `debug [plan-id]` | Debug a failed plan with root-cause workflow |
30
+ | `/mindforge:map-codebase` | `map-codebase` | Brownfield onboarding: infer stack and seed docs | |
31
+ | `/mindforge:do` | `do <text>` | Smart dispatcher for natural language intent | v2.0.0 |
32
+ | `/mindforge:note` | `note <text> [list|promote N]` | Zero-friction idea capture and todo promotion | v2.0.0 |
33
+ | `/mindforge:quick` | `quick` | Run a small, single-task plan without a full phase | |
34
+ | `/mindforge:status` | `status` | Show current phase, plan status, and next action | |
35
+ | `/mindforge:health` | `health [--repair]` | Validate installation and repair drift | |
36
+ | `/mindforge:review` | `review [N]` | Run a structured review pass for a phase | |
37
+ | `/mindforge:debug` | `debug [plan-id]` | Debug a failed plan with root-cause workflow | |
38
+ | `/mindforge:add-backlog` | `add-backlog <desc>` | Park ideas in 999.x "parking lot" | v2.0.0 |
39
+ | `/mindforge:review-backlog` | `review-backlog` | Review and promote backlog items to active phases | v2.0.0 |
40
+ | `/mindforge:plant-seed` | `plant-seed <idea>` | Capture speculative ideas with triggers | v2.0.0 |
32
41
 
33
42
  ### Governance & compliance
34
43
 
35
44
  | Command | Usage | Description | Added |
36
45
  |---|---|---|---|
37
- | `/mindforge:approve` | `approve [--tier 2|3]` | Process approvals and emergency overrides |
38
- | `/mindforge:audit` | `audit [--phase N] [--event X] [--since DATE]` | Query `AUDIT.jsonl` history |
39
- | `/mindforge:security-scan` | `security-scan [--deep] [--secrets] [--deps]` | Security scan with OWASP classification |
40
- | `/mindforge:milestone` | `milestone [name]` | Create or update milestone definitions |
41
- | `/mindforge:complete-milestone` | `complete-milestone [name]` | Archive milestone and generate release report |
42
- | `/mindforge:retrospective` | `retrospective [N]` | Phase retrospective and improvement actions |
46
+ | `/mindforge:approve` | `approve [--tier 2|3]` | Process approvals and emergency overrides | |
47
+ | `/mindforge:audit` | `audit [--phase N] [--event X] [--since DATE]` | Query `AUDIT.jsonl` history | |
48
+ | `/mindforge:security-scan` | `security-scan [--deep] [--secrets] [--deps]` | Security scan with OWASP classification | |
49
+ | `/mindforge:milestone` | `milestone [name]` | Create or update milestone definitions | |
50
+ | `/mindforge:complete-milestone` | `complete-milestone [name]` | Archive milestone and generate release report | |
51
+ | `/mindforge:retrospective` | `retrospective [N]` | Phase retrospective and improvement actions | |
43
52
 
44
53
  ### Skills & plugins
45
54
 
46
55
  | Command | Usage | Description | Added |
47
56
  |---|---|---|---|
48
- | `/mindforge:skills` | `skills [list|validate|refresh]` | Manage core/org/project skills |
49
- | `/mindforge:install-skill` | `install-skill <name> [--version]` | Install skill from registry |
50
- | `/mindforge:publish-skill` | `publish-skill <path>` | Publish a skill to the registry |
51
- | `/mindforge:plugins` | `plugins [list|install|uninstall|validate]` | Manage plugin lifecycle |
57
+ | `/mindforge:skills` | `skills [list|validate|refresh]` | Manage core/org/project skills | |
58
+ | `/mindforge:install-skill` | `install-skill <name> [--version]` | Install skill from registry | |
59
+ | `/mindforge:publish-skill` | `publish-skill <path>` | Publish a skill to the registry | |
60
+ | `/mindforge:plugins` | `plugins [list|install|uninstall|validate]` | Manage plugin lifecycle | |
52
61
 
53
62
  ### Intelligence & metrics
54
63
 
55
64
  | Command | Usage | Description | Added |
56
65
  |---|---|---|---|
57
- | `/mindforge:metrics` | `metrics [--phase N]` | Compute quality and throughput metrics |
58
- | `/mindforge:profile-team` | `profile-team` | Generate team skill and ownership profile |
59
- | `/mindforge:benchmark` | `benchmark [--skill X]` | Measure skill effectiveness |
60
- | `/mindforge:tokens` | `tokens [--profile] [--summary]` | Token usage profiling and optimisation |
66
+ | `/mindforge:metrics` | `metrics [--phase N]` | Compute quality and throughput metrics | |
67
+ | `/mindforge:profile-team` | `profile-team` | Generate team skill and ownership profile | |
68
+ | `/mindforge:benchmark` | `benchmark [--skill X]` | Measure skill effectiveness | |
69
+ | `/mindforge:tokens` | `tokens [--profile] [--summary]` | Token usage profiling and optimisation | |
61
70
 
62
71
  ### Integrations & distribution
63
72
 
64
73
  | Command | Usage | Description | Added |
65
74
  |---|---|---|---|
66
- | `/mindforge:init-org` | `init-org` | Org-wide MindForge setup |
67
- | `/mindforge:sync-jira` | `sync-jira [--project KEY]` | Sync phases and plans to Jira |
68
- | `/mindforge:sync-confluence` | `sync-confluence [--page ...]` | Publish docs to Confluence |
69
- | `/mindforge:pr-review` | `pr-review [--range A..B]` | AI PR review with context |
70
- | `/mindforge:workspace` | `workspace [detect|plan|test]` | Monorepo workspace management |
71
- | `/mindforge:browse` | `browse [--navigate URL] [--command]` | Control persistent browser daemon and sessions |
72
- | `/mindforge:qa` | `qa [--diff] [--all]` | Run systematic visual QA and regression tests |
75
+ | `/mindforge:init-org` | `init-org` | Org-wide MindForge setup | |
76
+ | `/mindforge:sync-jira` | `sync-jira [--project KEY]` | Sync phases and plans to Jira | |
77
+ | `/mindforge:sync-confluence` | `sync-confluence [--page ...]` | Publish docs to Confluence | |
78
+ | `/mindforge:pr-review` | `pr-review [--range A..B]` | AI PR review with context | |
79
+ | `/mindforge:workspace` | `workspace [detect|plan|test]` | Monorepo workspace management | |
80
+ | `/mindforge:browse` | `browse [--navigate URL] [--command]` | Control persistent browser daemon and sessions | |
81
+ | `/mindforge:qa` | `qa [--diff] [--all]` | Run systematic visual QA and regression tests | |
73
82
 
74
83
  ### Release & maintenance
75
84
 
76
85
  | Command | Usage | Description | Added |
77
86
  |---|---|---|---|
78
- | `/mindforge:update` | `update [--apply] [--force] [--check]` | Check for and apply framework updates |
79
- | `/mindforge:migrate` | `migrate [--from vX] [--to vY] [--dry-run]` | Run schema migrations |
80
- | `/mindforge:release` | `release [--tag vX]` | Framework release pipeline (core team) |
87
+ | `/mindforge:update` | `update [--apply] [--force] [--check]` | Check for and apply framework updates | |
88
+ | `/mindforge:migrate` | `migrate [--from vX] [--to vY] [--dry-run]` | Run schema migrations | |
89
+ | `/mindforge:session-report` | `session-report` | Generate post-session summary and resource profiling | v2.0.0 |
90
+ | `/mindforge:release` | `release [--tag vX]` | Framework release pipeline (core team) | |
81
91
 
82
92
  ### Utility
83
93
 
84
94
  | Command | Usage | Description | Added |
85
95
  |---|---|---|---|
86
- | `/mindforge:help` | `help` | Show all available commands and current project status |
96
+ | `/mindforge:help` | `help` | Show all available commands and current project status | |
87
97
 
88
98
  ## Command interface contract (v1.0.0 stable)
89
99
 
@@ -15,6 +15,28 @@ Write a new skill when:
15
15
  - Your team has standards that aren't captured in CONVENTIONS.md
16
16
  - An existing core skill doesn't match your organisation's approach
17
17
 
18
+ ## Automated Skill Generation (New in v2)
19
+ MindForge can now generate skills automatically. Instead of writing `SKILL.md` from scratch, use the intelligent learning engine:
20
+
21
+ ### 1. Learn from Documentation
22
+ ```bash
23
+ /mindforge:learn https://react.dev/learn "react-best-practices"
24
+ ```
25
+ The agent will research the URL, extract high-value engineering patterns, and generate a high-quality `SKILL.md` with examples and triggers.
26
+
27
+ ### 2. Learn from Project History
28
+ ```bash
29
+ /mindforge:learn ./src/modules/auth "auth-patterns"
30
+ ```
31
+ This analyzes your codebase and session history to capture project-specific expertise.
32
+
33
+ ### 3. Community Marketplace
34
+ ```bash
35
+ /mindforge:marketplace search "performance"
36
+ /mindforge:marketplace install mindforge-skill-latency-optimizer
37
+ ```
38
+ Discover and install verified skills from the MindForge community.
39
+
18
40
  ## Skill file structure
19
41
 
20
42
  ```
@@ -103,6 +125,13 @@ After creating SKILL.md:
103
125
  # Commit the manifest update
104
126
  ```
105
127
 
128
+ ### Quality Scoring
129
+ All skills (automated or manual) are passed through the **7-Dimension Scorer**. To manually score a skill:
130
+ ```bash
131
+ /mindforge:skills validate .mindforge/skills/[your-skill]
132
+ ```
133
+ A minimum score of **60** is required for registration.
134
+
106
135
  ## Tier guidance
107
136
 
108
137
  | Tier | Use when | Location |
@@ -10,11 +10,12 @@ Skills are distributed as npm packages with the `mindforge-skill-` prefix.
10
10
  - `CHANGELOG.md`
11
11
 
12
12
  ## Publish checklist
13
- 1. Run `npx mindforge-cc validate-skill ./SKILL.md --quality`
13
+ 1. Run `/mindforge:skills validate ./SKILL.md --quality`
14
14
  2. Verify `package.json` metadata is complete
15
15
  3. Ensure `CHANGELOG.md` includes the current version
16
16
  4. Run `npm pack --dry-run` to inspect files
17
- 5. Publish with `npm publish --access public`
17
+ 5. Publish with `/mindforge:marketplace publish` (handles pre-flight scoring)
18
+ - Or manually via `npm publish --access public`
18
19
 
19
20
  ## Private registries
20
21
  Set `MINDFORGE_SKILL_REGISTRY` in `.mindforge/org/integrations/INTEGRATIONS-CONFIG.md`
@@ -1,4 +1,4 @@
1
- # MindForge v2.0.0-alpha.9: In-Depth Testing Guide (Antigravity)
1
+ # MindForge v2.0.0-alpha.10: In-Depth Testing Guide (Antigravity)
2
2
 
3
3
  This document provides a step-by-step rigorous testing flow to validate the entire MindForge framework from a blank project state. It is designed to be shared and logged for architectural review.
4
4
 
@@ -9,7 +9,7 @@ This document provides a step-by-step rigorous testing flow to validate the enti
9
9
  ```bash
10
10
  /Users/sairamugge/.vite-plus/js_runtime/node/24.14.0/bin/mindforge-cc --antigravity --local
11
11
  ```
12
- - *Confirmation*: Run the command with `--version`. It must show `v2.0.0-alpha.9`.
12
+ - *Confirmation*: Run the command with `--version`. It must show `v2.0.0-alpha.10`.
13
13
  3. Verify the local binary exists: `ls agents/bin/install.js` (or `.agent/bin/install.js` if legacy)
14
14
 
15
15
  ## 🏗 Phase 1: Registry & Integrity
@@ -126,5 +126,5 @@ All Antigravity sessions are logged. To share your results for review, zip and s
126
126
  - `CHANGELOG.md` (Outcome summary)
127
127
  ## 💡 Troubleshooting
128
128
  - **Command not found**: Ensure you are using `./mindforge:command` or `/mindforge:command` within the agent.
129
- - **Wrong Version**: Run `/mindforge:health` and check for "v2.0.0-alpha.9". If it shows "v1.0.5", your installation failed or you are using the global `npx` version.
129
+ - **Wrong Version**: Run `/mindforge:health` and check for "v2.0.0-alpha.10". If it shows "v1.0.5", your installation failed or you are using the global `npx` version.
130
130
  - **Registry Error**: Check `~/.mindforge/registry.json` exists; it is now automatically created by the v2 installer.
package/docs/upgrade.md CHANGED
@@ -1,6 +1,6 @@
1
- # MindForge Upgrade Guide (v1.0.0)
1
+ # MindForge Upgrade Guide (v2.0.0)
2
2
 
3
- This guide covers upgrades from v0.6.0 to v1.0.0.
3
+ This guide covers upgrades from v0.6.0 to v2.0.0.
4
4
 
5
5
  ## 1. Check version
6
6
  ```bash
@@ -19,10 +19,18 @@ npx mindforge-cc@latest --claude --local --force
19
19
  ```
20
20
 
21
21
  ## 3. Migrate schema files
22
+
23
+ ### v0.6.0 to v1.0.0
22
24
  ```
23
25
  /mindforge:migrate --from v0.6.0 --to v1.0.0
24
26
  ```
25
27
 
28
+ ### v1.0.0 to v2.0.0
29
+ ```
30
+ /mindforge:migrate --from v1.0.0 --to v2.0.0
31
+ ```
32
+ MindForge v2 uses an **additive-only** migration strategy. Existing data is never deleted; only new fields (like `runtime`, `agent_id`, and `model_group`) are backfilled into your `AUDIT.jsonl` and `token-usage.jsonl` files.
33
+
26
34
  ## 4. Verify
27
35
  ```
28
36
  /mindforge:health
@@ -30,10 +38,16 @@ npx mindforge-cc@latest --claude --local --force
30
38
  ```
31
39
 
32
40
  ## 5. Known breaking changes
41
+
42
+ ### v1.0.0
33
43
  - `VERIFY_PASS_RATE_WARNING_THRESHOLD` now uses 0.0–1.0 (was 0–100)
34
44
  - `AUDIT.jsonl` now requires `session_id` (auto-backfilled)
35
45
  - `HANDOFF.json` now requires `plugin_api_version`
36
46
 
47
+ ### v2.0.0
48
+ - **Multi-Runtime Entry Points**: If installing for Cursor or Copilot, ensure you use the correct `--local` flag to generate `.cursorrules` or `copilot-instructions.md`.
49
+ - **Preambles**: Non-slash runtimes now have a mandatory preamble in their entry files.
50
+
37
51
  ## 6. Rollback
38
52
  If anything goes wrong, restore the migration backup:
39
53
  ```
@@ -1,4 +1,4 @@
1
- # MindForge User Guide (v2.0.0-alpha.9)
1
+ # MindForge User Guide (v2.0.0)
2
2
 
3
3
  This guide gets you from install to productive, with the minimum needed to run
4
4
  MindForge in a real project. It assumes Node.js 18+.
@@ -32,9 +32,34 @@ npx mindforge-cc@latest --antigravity --global
32
32
  npx mindforge-cc@latest --antigravity --local
33
33
  ```
34
34
 
35
- ### Both runtimes
35
+ ### Cursor
36
36
  ```bash
37
- npx mindforge-cc@latest --all --global
37
+ npx mindforge-cc@latest --cursor --local
38
+ ```
39
+
40
+ ### Gemini CLI
41
+ ```bash
42
+ npx mindforge-cc@latest --gemini --global
43
+ ```
44
+
45
+ ### GitHub Copilot
46
+ ```bash
47
+ npx mindforge-cc@latest --copilot --local
48
+ ```
49
+
50
+ ### OpenCode
51
+ ```bash
52
+ npx mindforge-cc@latest --opencode --global
53
+ ```
54
+
55
+ ### Specific Runtime (Universal)
56
+ ```bash
57
+ npx mindforge-cc@latest --runtime <name>
58
+ ```
59
+
60
+ ### Multiple runtimes
61
+ ```bash
62
+ npx mindforge-cc@latest --runtime claude,cursor --local
38
63
  ```
39
64
 
40
65
  ## 2. Verify installation
@@ -187,7 +212,10 @@ This will start the Express-based SSE bridge and open `http://localhost:7339` in
187
212
 
188
213
  ### Run schema migrations manually
189
214
  ```
190
- /mindforge:migrate --from v0.6.0 --to v1.0.0
215
+ ### Run schema migrations manually
216
+ ```
217
+ /mindforge:migrate --from v1.0.0 --to v2.0.0
218
+ ```
191
219
  ```
192
220
 
193
221
  ## 11. Plugins
@@ -202,13 +230,34 @@ This will start the Express-based SSE bridge and open `http://localhost:7339` in
202
230
  /mindforge:plugins install mindforge-plugin-<name>
203
231
  ```
204
232
 
205
- ## 12. Skills
233
+ ## 12. Custom Runtimes (v2)
234
+ MindForge v2 allows you to scaffold support for any AI agent runtime by generating the necessary instruction files and directory structures.
235
+
236
+ ### Scaffold a New Runtime
237
+ ```bash
238
+ /mindforge:new-runtime
206
239
  ```
207
- /mindforge:skills list
208
- /mindforge:skills validate
240
+ This command will interview you about the runtime's name, entry file (e.g., `INSTRUCTIONS.md`), and whether it supports slash commands. It then scaffolds the standard MindForge preamble and directory structure for that agent.
241
+
242
+ ## 12. Self-Building Skills (v2)
243
+ MindForge can now learn new skills automatically from documentation, project history, or the community marketplace.
244
+
245
+ ### Learn from Source
246
+ To create a new skill from a URL, local file, or npm package:
247
+ ```bash
248
+ /mindforge:learn https://docs.prisma.io "prisma-best-practices"
249
+ ```
250
+ This triggers a 7-step generation pipeline that researches, extracts patterns, and scores the resulting skill.
251
+
252
+ ### Skills Marketplace
253
+ Discover and install community-authored skills:
254
+ ```bash
255
+ /mindforge:marketplace search "tailwind"
256
+ /mindforge:marketplace install mindforge-skill-react-patterns
209
257
  ```
210
258
 
211
- To publish or install a skill, see `docs/skills-publishing-guide.md`.
259
+ ### Auto-Capture
260
+ MindForge automatically detects recurring patterns in your phase outputs. After a successful `/mindforge:execute-phase`, the agent may suggest capturing a new skill if it identifies high-value engineering patterns.
212
261
 
213
262
  ## 13. Token usage profiling
214
263
  ```
@@ -1,7 +1,7 @@
1
- # MindForge v2.0.0 — Unique Selling Points, Features, and Best Practices (v2.0.0-alpha.9)
1
+ # MindForge v2.0.0 — Unique Selling Points, Features, and Best Practices (v2.0.0)
2
2
 
3
3
  This document summarizes what makes MindForge v2.0.0 distinct, what features
4
- are included in the latest alpha release, and how to use them effectively.
4
+ are included in the official release, and how to use them effectively.
5
5
 
6
6
  ---
7
7
 
@@ -46,9 +46,12 @@ are included in the latest alpha release, and how to use them effectively.
46
46
  12. **Real-time Observability Dashboard (v2)**
47
47
  - High-fidelity web interface for live audit streams, metrics visualization, and browser-based governance with zero performance overhead.
48
48
 
49
+ 13. **Self-Building Skills Platform (v2)**
50
+ - Automatically capture and score engineering patterns from docs, npm, or session history into high-quality `SKILL.md` files with non-bypassable quality gates.
51
+
49
52
  ---
50
53
 
51
- ## Feature Set (v1.0.0)
54
+ ## Feature Set (v2.0.0)
52
55
 
53
56
  ### 1. Installation & Distribution
54
57
  **What it does:** Production‑grade installer with update, uninstall, and CI support.
@@ -214,6 +217,18 @@ Access at `http://localhost:7339` (Localhost-only for security).
214
217
 
215
218
  ---
216
219
 
220
+ ### 17. Self‑Building Skills Platform (v2)
221
+ **What it does:** Automatically captures engineering knowledge into high-quality `SKILL.md` files. Features a 7-dimension quality scorer and npm-based marketplace integration.
222
+
223
+ **How to use:**
224
+ ```bash
225
+ /mindforge:learn https://docs.example.com "my-skill"
226
+ /mindforge:marketplace search "auth"
227
+ /mindforge:marketplace install mindforge-skill-example
228
+ ```
229
+
230
+ ---
231
+
217
232
  ### 15. SDK (TypeScript)
218
233
  **What it does:** Programmatic access to health, audit log, event stream, and commands.
219
234
 
@@ -226,7 +241,7 @@ const report = await client.health();
226
241
 
227
242
  ---
228
243
 
229
- ## Best Practices for v1.0.0
244
+ ## Best Practices for v2.0.0
230
245
 
231
246
  1. **Always run health after install**
232
247
  - `/mindforge:health --repair` fixes drift immediately.
@@ -271,6 +286,6 @@ const report = await client.health();
271
286
  ---
272
287
 
273
288
  ## Summary
274
- MindForge v1.0.0 combines governance, observability, and execution rigor into a
275
- single workflow engine that works across Claude Code and Antigravity. Its core
289
+ MindForge v2.0.0 combines governance, observability, and autonomous execution rigor into a
290
+ single workflow engine that works across 6 major AI runtimes. Its core
276
291
  value is consistent, repeatable quality in long‑running AI development sessions.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mindforge-cc",
3
- "version": "2.0.0-alpha.9",
3
+ "version": "2.1.0",
4
4
  "description": "MindForge - Enterprise Agentic Framework for Claude Code and Antigravity",
5
5
  "bin": {
6
6
  "mindforge-cc": "bin/install.js"