mindforge-cc 1.0.5 β 2.0.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agent/CLAUDE.md +83 -0
- package/.agent/mindforge/auto.md +22 -0
- package/.agent/mindforge/browse.md +26 -0
- package/.agent/mindforge/costs.md +11 -0
- package/.agent/mindforge/cross-review.md +17 -0
- package/.agent/mindforge/dashboard.md +98 -0
- package/.agent/mindforge/execute-phase.md +5 -3
- package/.agent/mindforge/init-project.md +12 -0
- package/.agent/mindforge/qa.md +16 -0
- package/.agent/mindforge/remember.md +14 -0
- package/.agent/mindforge/research.md +11 -0
- package/.agent/mindforge/steer.md +13 -0
- package/.agent/workflows/publish-release.md +36 -0
- package/.claude/CLAUDE.md +83 -0
- package/.claude/commands/mindforge/auto.md +22 -0
- package/.claude/commands/mindforge/browse.md +26 -0
- package/.claude/commands/mindforge/costs.md +11 -0
- package/.claude/commands/mindforge/cross-review.md +17 -0
- package/.claude/commands/mindforge/dashboard.md +98 -0
- package/.claude/commands/mindforge/execute-phase.md +5 -3
- package/.claude/commands/mindforge/qa.md +16 -0
- package/.claude/commands/mindforge/remember.md +14 -0
- package/.claude/commands/mindforge/research.md +11 -0
- package/.claude/commands/mindforge/steer.md +13 -0
- package/.mindforge/MINDFORGE-V2-SCHEMA.json +47 -0
- package/.mindforge/browser/daemon-protocol.md +24 -0
- package/.mindforge/browser/qa-engine.md +16 -0
- package/.mindforge/browser/session-manager.md +18 -0
- package/.mindforge/browser/visual-verify-spec.md +31 -0
- package/.mindforge/dashboard/api-reference.md +122 -0
- package/.mindforge/dashboard/dashboard-spec.md +96 -0
- package/.mindforge/engine/autonomous/auto-executor.md +266 -0
- package/.mindforge/engine/autonomous/headless-adapter.md +66 -0
- package/.mindforge/engine/autonomous/node-repair.md +190 -0
- package/.mindforge/engine/autonomous/progress-reporter.md +58 -0
- package/.mindforge/engine/autonomous/steering-manager.md +64 -0
- package/.mindforge/engine/autonomous/stuck-detector.md +89 -0
- package/.mindforge/memory/MEMORY-SCHEMA.md +155 -0
- package/.mindforge/memory/decision-library.jsonl +0 -0
- package/.mindforge/memory/engine/capture-protocol.md +36 -0
- package/.mindforge/memory/engine/global-sync-spec.md +42 -0
- package/.mindforge/memory/engine/retrieval-spec.md +44 -0
- package/.mindforge/memory/knowledge-base.jsonl +7 -0
- package/.mindforge/memory/pattern-library.jsonl +1 -0
- package/.mindforge/memory/team-preferences.jsonl +4 -0
- package/.mindforge/models/model-registry.md +48 -0
- package/.mindforge/models/model-router.md +30 -0
- package/.mindforge/personas/research-agent.md +24 -0
- package/.planning/approvals/v2-architecture-approval.json +15 -0
- package/.planning/browser-daemon.log +32 -0
- package/.planning/decisions/ADR-021-autonomy-boundary.md +17 -0
- package/.planning/decisions/ADR-022-node-repair-hierarchy.md +19 -0
- package/.planning/decisions/ADR-023-gate-3-timing.md +15 -0
- package/CHANGELOG.md +81 -0
- package/MINDFORGE.md +26 -3
- package/README.md +70 -18
- package/bin/autonomous/auto-runner.js +95 -0
- package/bin/autonomous/headless.js +36 -0
- package/bin/autonomous/progress-stream.js +49 -0
- package/bin/autonomous/repair-operator.js +213 -0
- package/bin/autonomous/steer.js +71 -0
- package/bin/autonomous/stuck-monitor.js +77 -0
- package/bin/browser/browser-daemon.js +139 -0
- package/bin/browser/daemon-manager.js +91 -0
- package/bin/browser/qa-engine.js +47 -0
- package/bin/browser/qa-report-writer.js +32 -0
- package/bin/browser/regression-writer.js +27 -0
- package/bin/browser/screenshot-store.js +49 -0
- package/bin/browser/session-manager.js +93 -0
- package/bin/browser/visual-verify-executor.js +89 -0
- package/bin/change-classifier.js +86 -0
- package/bin/dashboard/api-router.js +198 -0
- package/bin/dashboard/approval-handler.js +134 -0
- package/bin/dashboard/frontend/index.html +511 -0
- package/bin/dashboard/metrics-aggregator.js +296 -0
- package/bin/dashboard/server.js +135 -0
- package/bin/dashboard/sse-bridge.js +178 -0
- package/bin/dashboard/team-tracker.js +0 -0
- package/bin/governance/approve.js +60 -0
- package/bin/install.js +4 -4
- package/bin/installer-core.js +91 -35
- package/bin/memory/cli.js +99 -0
- package/bin/memory/global-sync.js +107 -0
- package/bin/memory/knowledge-capture.js +278 -0
- package/bin/memory/knowledge-indexer.js +172 -0
- package/bin/memory/knowledge-store.js +319 -0
- package/bin/memory/session-memory-loader.js +137 -0
- package/bin/migrations/0.1.0-to-0.5.0.js +2 -3
- package/bin/migrations/0.5.0-to-0.6.0.js +1 -1
- package/bin/migrations/0.6.0-to-1.0.0.js +3 -3
- package/bin/migrations/migrate.js +15 -11
- package/bin/mindforge-cli.js +87 -0
- package/bin/models/anthropic-provider.js +77 -0
- package/bin/models/cost-tracker.js +118 -0
- package/bin/models/gemini-provider.js +79 -0
- package/bin/models/model-client.js +98 -0
- package/bin/models/model-router.js +111 -0
- package/bin/models/openai-provider.js +78 -0
- package/bin/research/research-engine.js +115 -0
- package/bin/review/cross-review-engine.js +81 -0
- package/bin/review/finding-synthesizer.js +116 -0
- package/bin/review/review-report-writer.js +49 -0
- package/bin/updater/self-update.js +13 -13
- package/bin/wizard/setup-wizard.js +5 -1
- package/docs/adr/ADR-024-browser-localhost-only.md +17 -0
- package/docs/adr/ADR-025-visual-verify-failure-treatment.md +19 -0
- package/docs/adr/ADR-026-session-persistence-security.md +20 -0
- package/docs/architecture/README.md +6 -2
- package/docs/ci-cd.md +92 -0
- package/docs/commands-reference.md +1 -0
- package/docs/feature-dashboard.md +52 -0
- package/docs/publishing-guide.md +43 -0
- package/docs/reference/commands.md +17 -2
- package/docs/reference/sdk-api.md +6 -1
- package/docs/testing-current-version.md +130 -0
- package/docs/user-guide.md +115 -9
- package/docs/usp-features.md +70 -8
- package/docs/workflow-atlas.md +57 -0
- package/package.json +7 -3
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
# MindForge
|
|
1
|
+
# MindForge v2.0.0 β Complete Commands Reference
|
|
2
2
|
|
|
3
|
-
## All
|
|
3
|
+
## All 40+ commands
|
|
4
4
|
|
|
5
5
|
### Lifecycle commands (core workflow)
|
|
6
|
+
|
|
6
7
|
| Command | Usage | Description | Added |
|
|
7
8
|
|---|---|---|---|
|
|
8
9
|
| `/mindforge:init-project` | `init-project` | Guided project setup β creates all `.planning/` files | Day 1 |
|
|
@@ -11,9 +12,15 @@
|
|
|
11
12
|
| `/mindforge:execute-phase` | `execute-phase [N]` | Wave-based parallel execution of all phase plans | Day 1+2 |
|
|
12
13
|
| `/mindforge:verify-phase` | `verify-phase [N]` | Automated + human acceptance testing pipeline | Day 1 |
|
|
13
14
|
| `/mindforge:ship` | `ship [N]` | Create PR, write release notes, push to remote | Day 1 |
|
|
15
|
+
| `/mindforge:auto` | `auto [--phase N] [--milestone M]` | Walk-away autonomous execution with stuck detection | Day 8 |
|
|
16
|
+
| `/mindforge:steer` | `steer "instruction"` | Inject guidance into a running autonomous session | Day 8 |
|
|
14
17
|
| `/mindforge:next` | `next` | Auto-detect and execute the correct next workflow step | Day 2 |
|
|
18
|
+
| `/mindforge:cross-review` | `cross-review` | Adversarial multi-model code review and synthesis | Day 10 |
|
|
19
|
+
| `/mindforge:research` | `research "query"` | Deep research using Gemini 1.5 Pro 1M context | Day 10 |
|
|
20
|
+
| `/mindforge:remember` | `remember [--add X|--search Y|--promote ID|--stats]` | Persistent knowledge graph management | Day 11 |
|
|
15
21
|
|
|
16
22
|
### Project setup & discovery
|
|
23
|
+
|
|
17
24
|
| Command | Usage | Description | Added |
|
|
18
25
|
|---|---|---|---|
|
|
19
26
|
| `/mindforge:map-codebase` | `map-codebase` | Brownfield onboarding: infer stack and seed docs | Day 6 |
|
|
@@ -24,6 +31,7 @@
|
|
|
24
31
|
| `/mindforge:debug` | `debug [plan-id]` | Debug a failed plan with root-cause workflow | Day 5 |
|
|
25
32
|
|
|
26
33
|
### Governance & compliance
|
|
34
|
+
|
|
27
35
|
| Command | Usage | Description | Added |
|
|
28
36
|
|---|---|---|---|
|
|
29
37
|
| `/mindforge:approve` | `approve [--tier 2|3]` | Process approvals and emergency overrides | Day 4 |
|
|
@@ -34,6 +42,7 @@
|
|
|
34
42
|
| `/mindforge:retrospective` | `retrospective [N]` | Phase retrospective and improvement actions | Day 5 |
|
|
35
43
|
|
|
36
44
|
### Skills & plugins
|
|
45
|
+
|
|
37
46
|
| Command | Usage | Description | Added |
|
|
38
47
|
|---|---|---|---|
|
|
39
48
|
| `/mindforge:skills` | `skills [list|validate|refresh]` | Manage core/org/project skills | Day 3 |
|
|
@@ -42,6 +51,7 @@
|
|
|
42
51
|
| `/mindforge:plugins` | `plugins [list|install|uninstall|validate]` | Manage plugin lifecycle | Day 7 |
|
|
43
52
|
|
|
44
53
|
### Intelligence & metrics
|
|
54
|
+
|
|
45
55
|
| Command | Usage | Description | Added |
|
|
46
56
|
|---|---|---|---|
|
|
47
57
|
| `/mindforge:metrics` | `metrics [--phase N]` | Compute quality and throughput metrics | Day 5 |
|
|
@@ -50,6 +60,7 @@
|
|
|
50
60
|
| `/mindforge:tokens` | `tokens [--profile] [--summary]` | Token usage profiling and optimisation | Day 7 |
|
|
51
61
|
|
|
52
62
|
### Integrations & distribution
|
|
63
|
+
|
|
53
64
|
| Command | Usage | Description | Added |
|
|
54
65
|
|---|---|---|---|
|
|
55
66
|
| `/mindforge:init-org` | `init-org` | Org-wide MindForge setup | Day 6 |
|
|
@@ -57,8 +68,11 @@
|
|
|
57
68
|
| `/mindforge:sync-confluence` | `sync-confluence [--page ...]` | Publish docs to Confluence | Day 4 |
|
|
58
69
|
| `/mindforge:pr-review` | `pr-review [--range A..B]` | AI PR review with context | Day 6 |
|
|
59
70
|
| `/mindforge:workspace` | `workspace [detect|plan|test]` | Monorepo workspace management | Day 6 |
|
|
71
|
+
| `/mindforge:browse` | `browse [--navigate URL] [--command]` | Control persistent browser daemon and sessions | Day 9 |
|
|
72
|
+
| `/mindforge:qa` | `qa [--diff] [--all]` | Run systematic visual QA and regression tests | Day 9 |
|
|
60
73
|
|
|
61
74
|
### Release & maintenance
|
|
75
|
+
|
|
62
76
|
| Command | Usage | Description | Added |
|
|
63
77
|
|---|---|---|---|
|
|
64
78
|
| `/mindforge:update` | `update [--apply] [--force] [--check]` | Check for and apply framework updates | Day 7 |
|
|
@@ -66,6 +80,7 @@
|
|
|
66
80
|
| `/mindforge:release` | `release [--tag vX]` | Framework release pipeline (core team) | Day 7 |
|
|
67
81
|
|
|
68
82
|
### Utility
|
|
83
|
+
|
|
69
84
|
| Command | Usage | Description | Added |
|
|
70
85
|
|---|---|---|---|
|
|
71
86
|
| `/mindforge:help` | `help` | Show all available commands and current project status | Day 1 |
|
|
@@ -1,18 +1,23 @@
|
|
|
1
|
-
# MindForge SDK API β Reference (
|
|
1
|
+
# MindForge SDK API β Reference (v2.0.0-alpha.4)
|
|
2
2
|
|
|
3
3
|
## Package
|
|
4
|
+
|
|
4
5
|
`@mindforge/sdk`
|
|
5
6
|
|
|
6
7
|
## Exports
|
|
8
|
+
|
|
7
9
|
From `sdk/src/index.ts`:
|
|
10
|
+
|
|
8
11
|
- `MindForgeClient`
|
|
9
12
|
- `MindForgeEventStream`
|
|
10
13
|
- `commands`
|
|
14
|
+
- `MindForgeMemory` (Day 11)
|
|
11
15
|
- Types: `MindForgeConfig`, `PhaseResult`, `TaskResult`, `SecurityFinding`,
|
|
12
16
|
`GateResult`, `HealthReport`, `HealthIssue`, `MindForgeEvent`, `CommandOptions`
|
|
13
17
|
- `VERSION`
|
|
14
18
|
|
|
15
19
|
## MindForgeClient
|
|
20
|
+
|
|
16
21
|
High-level API for reading local project state.
|
|
17
22
|
|
|
18
23
|
Methods:
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
# MindForge v2.0.0-alpha.6: In-Depth Testing Guide (Antigravity)
|
|
2
|
+
|
|
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
|
+
|
|
5
|
+
## π Phase 0: Isolated Setup
|
|
6
|
+
1. Create a new empty directory (e.g., `Mind-Forge-Test`): `mkdir Mind-Forge-Test && cd Mind-Forge-Test`
|
|
7
|
+
2. **Linked Alpha Testing** (Simulated Live Publish):
|
|
8
|
+
- Use the **Absolute Binary Path** to bypass shell PATH configuration issues:
|
|
9
|
+
```bash
|
|
10
|
+
/Users/sairamugge/.vite-plus/js_runtime/node/24.14.0/bin/mindforge-cc --antigravity --local
|
|
11
|
+
```
|
|
12
|
+
- *Confirmation*: Run the command with `--version`. It must show `v2.0.0-alpha.6`.
|
|
13
|
+
3. Verify the local binary exists: `ls agents/bin/install.js` (or `.agent/bin/install.js` if legacy)
|
|
14
|
+
|
|
15
|
+
## π Phase 1: Registry & Integrity
|
|
16
|
+
**Objective**: Verify that MindForge correctly registers the project and mirrors commands.
|
|
17
|
+
|
|
18
|
+
**Command**:
|
|
19
|
+
```bash
|
|
20
|
+
./mindforge:init-project
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
**Post-Init Verification**:
|
|
24
|
+
- Check `.claude/commands/mindforge/` and `.agent/commands/mindforge/`. They should be identical.
|
|
25
|
+
- Verify the project is in the global registry (optional):
|
|
26
|
+
```bash
|
|
27
|
+
cat ~/.mindforge/registry.json
|
|
28
|
+
```
|
|
29
|
+
**Prompt to Agent**:
|
|
30
|
+
> "Initialize this project for me. I am building a simple 'Weather Proxy API' in Node.js. Please set up the `.planning/` directory and registry."
|
|
31
|
+
|
|
32
|
+
**Success Criteria**:
|
|
33
|
+
- `.planning/PROJECT.md` is created with the Weather Proxy brief.
|
|
34
|
+
- `.mindforge/` metadata directory is populated.
|
|
35
|
+
|
|
36
|
+
## π Phase 2: Workflow & Planning
|
|
37
|
+
**Objective**: Test the planning engine and dependency mapping.
|
|
38
|
+
|
|
39
|
+
**Prompt to Agent**:
|
|
40
|
+
> "I need a plan to implement the weather service. Phase 1 should handle the API structure, Phase 2 should handle the weather fetching logic, and Phase 3 should add caching. Generate a detailed plan for Phase 1."
|
|
41
|
+
|
|
42
|
+
**Command**:
|
|
43
|
+
```bash
|
|
44
|
+
/mindforge:plan-phase 1
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
**Success Criteria**:
|
|
48
|
+
- `.planning/phases/phase-1/PLAN.md` is generated.
|
|
49
|
+
- Plan status is set to `[ ]` in `task.md`.
|
|
50
|
+
|
|
51
|
+
## π€ Phase 3: Autonomous Execution (The "Walk-Away" Test)
|
|
52
|
+
**Objective**: Test the `/mindforge:auto` engine and state management.
|
|
53
|
+
|
|
54
|
+
**Command**:
|
|
55
|
+
```bash
|
|
56
|
+
/mindforge:auto --phase 1
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
**Success Criteria**:
|
|
60
|
+
- MindForge iterates through tasks without human intervention.
|
|
61
|
+
- Code is written to the project (e.g., `index.js`, `routes/`).
|
|
62
|
+
- `.planning/AUDIT.jsonl` is logging every execution step.
|
|
63
|
+
|
|
64
|
+
## π Phase 4: Observability (Dashboard)
|
|
65
|
+
**Objective**: Test the Real-time Dashboard and SSE Bridge.
|
|
66
|
+
|
|
67
|
+
**Command**:
|
|
68
|
+
```bash
|
|
69
|
+
/mindforge:dashboard --start --open
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
**Testing Steps**:
|
|
73
|
+
1. Keep the dashboard open at `http://localhost:7339`.
|
|
74
|
+
2. Run another command (e.g., `/mindforge:health`).
|
|
75
|
+
3. Verify that the "Activity Feed" in the browser updates instantly.
|
|
76
|
+
4. Check the "Metrics" tab for token spend data.
|
|
77
|
+
|
|
78
|
+
## π§ Phase 5: Persistent Memory
|
|
79
|
+
**Objective**: Test the Knowledge Graph retrieval.
|
|
80
|
+
|
|
81
|
+
**Command**:
|
|
82
|
+
```bash
|
|
83
|
+
/mindforge:remember --search "api structure"
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
**Success Criteria**:
|
|
87
|
+
- MindForge returns findings from the earlier `/mindforge:init-project` or `/mindforge:plan-phase` steps.
|
|
88
|
+
|
|
89
|
+
## βοΈ Phase 6: Multi-Model Hardening
|
|
90
|
+
**Objective**: Test the adversarial cross-review system.
|
|
91
|
+
|
|
92
|
+
**Command**:
|
|
93
|
+
```bash
|
|
94
|
+
/mindforge:cross-review
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
**Success Criteria**:
|
|
98
|
+
- MindForge invokes secondary models (GPT/Gemini) to critique the code generated in Phase 3.
|
|
99
|
+
- Review results are logged in `review_results.md`.
|
|
100
|
+
|
|
101
|
+
## π’ Phase 7: Verification & Shipping
|
|
102
|
+
**Objective**: Test the quality gates and release automation.
|
|
103
|
+
|
|
104
|
+
**Commands**:
|
|
105
|
+
```bash
|
|
106
|
+
/mindforge:verify-phase 1
|
|
107
|
+
/mindforge:ship 1
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
**Success Criteria**:
|
|
111
|
+
- `CHANGELOG.md` is updated.
|
|
112
|
+
- A PR-ready diff is generated.
|
|
113
|
+
|
|
114
|
+
---
|
|
115
|
+
|
|
116
|
+
## π‘ Phase 8: Framework Conflict Check
|
|
117
|
+
**Objective**: Ensure MindForge is isolated from other frameworks.
|
|
118
|
+
|
|
119
|
+
1. **Port Check**: Verify the dashboard is on `7339` and not conflicting with common framework ports (e.g., 8000, 8080).
|
|
120
|
+
2. **Directory Check**: Ensure no other framework is writing to `.planning/` or `.mindforge/`.
|
|
121
|
+
3. **Process Check**: Run `ps aux | grep mindforge` to ensure only one instance of the SSE bridge is active.
|
|
122
|
+
|
|
123
|
+
## π Logging for Review
|
|
124
|
+
All Antigravity sessions are logged. To share your results for review, zip and send:
|
|
125
|
+
- `.planning/AUDIT.jsonl` (Full execution history)
|
|
126
|
+
- `CHANGELOG.md` (Outcome summary)
|
|
127
|
+
## π‘ Troubleshooting
|
|
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.6". If it shows "v1.0.5", your installation failed or you are using the global `npx` version.
|
|
130
|
+
- **Registry Error**: Check `~/.mindforge/registry.json` exists; it is now automatically created by the v2 installer.
|
package/docs/user-guide.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# MindForge User Guide (
|
|
1
|
+
# MindForge User Guide (v2.0.0-alpha.6)
|
|
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+.
|
|
@@ -68,7 +68,113 @@ This generates `.planning/ARCHITECTURE.md` and an inferred conventions file.
|
|
|
68
68
|
/mindforge:ship 1
|
|
69
69
|
```
|
|
70
70
|
|
|
71
|
-
## 6.
|
|
71
|
+
## 6. Autonomous Execution (v2)
|
|
72
|
+
For complex phases that require no human intervention, use the autonomous engine.
|
|
73
|
+
|
|
74
|
+
### Start autonomous phase
|
|
75
|
+
```bash
|
|
76
|
+
/mindforge:auto --phase 1
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
### Steering mid-execution
|
|
80
|
+
If you need to guide the agent while it is running in another terminal:
|
|
81
|
+
```bash
|
|
82
|
+
/mindforge:steer "Focus on bug fixes in the auth module"
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## 7. Browser Runtime & Visual QA (v2)
|
|
88
|
+
MindForge can now control a persistent browser for visual verification and QA.
|
|
89
|
+
|
|
90
|
+
### Navigate and interact
|
|
91
|
+
```bash
|
|
92
|
+
/mindforge:browse --navigate https://example.com
|
|
93
|
+
/mindforge:browse --click "#login-btn"
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
### Run visual QA
|
|
97
|
+
To scan for UI bugs and generate regression tests:
|
|
98
|
+
```bash
|
|
99
|
+
/mindforge:qa --diff
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
## 8. Multi-Model Intelligence (v2)
|
|
105
|
+
MindForge v2 can route tasks between Claude, GPT, and Gemini for the best balance of context, cost, and quality.
|
|
106
|
+
|
|
107
|
+
### Cross-Model Review
|
|
108
|
+
To get an adversarial review from multiple high-tier models:
|
|
109
|
+
```bash
|
|
110
|
+
/mindforge:cross-review
|
|
111
|
+
```
|
|
112
|
+
This will aggregate findings, detect consensus, and generate a `CROSS-REVIEW-[N].md` report.
|
|
113
|
+
|
|
114
|
+
### Deep Research
|
|
115
|
+
To leverage Gemini 1.5 Pro's huge context window for codebase-wide research:
|
|
116
|
+
```bash
|
|
117
|
+
/mindforge:research "How does the governance layer handle emergency overrides?"
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
### Cost Tracking
|
|
121
|
+
Monitor your daily spend and model-specific usage:
|
|
122
|
+
```bash
|
|
123
|
+
/mindforge:costs --summary
|
|
124
|
+
```
|
|
125
|
+
MindForge will block further calls if `MODEL_COST_HARD_LIMIT_USD` is reached.
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
## 9. Persistent Knowledge Graph (v2)
|
|
130
|
+
MindForge now has long-term memory. It captures architectural decisions, bug patterns, and team preferences, making them available across project sessions.
|
|
131
|
+
|
|
132
|
+
### Manual Memory entry
|
|
133
|
+
To explicitly record a project-wide preference:
|
|
134
|
+
```bash
|
|
135
|
+
/mindforge:remember --add "preference: Use direct imports for internal modules" --tags "#nodejs"
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
### Search and retrieval
|
|
139
|
+
To find related knowledge manually:
|
|
140
|
+
```bash
|
|
141
|
+
/mindforge:remember --search "Tailwind best practices"
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
### Global Promotion
|
|
145
|
+
To make a specific project insight available across ALL your MindForge projects on this machine:
|
|
146
|
+
```bash
|
|
147
|
+
/mindforge:remember --promote [ENTRY_ID]
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
### Automatic Loading
|
|
151
|
+
Relevant memories are automatically loaded at the start of every session, providing context about past decisions and patterns.
|
|
152
|
+
|
|
153
|
+
---
|
|
154
|
+
|
|
155
|
+
## 10. Real-time Dashboard (v2)
|
|
156
|
+
MindForge provides a premium web-based dashboard for real-time observability of your agent waves, metrics, and team activity.
|
|
157
|
+
|
|
158
|
+
### Start the Dashboard
|
|
159
|
+
```bash
|
|
160
|
+
/mindforge:dashboard --start --open
|
|
161
|
+
```
|
|
162
|
+
This will start the Express-based SSE bridge and open `http://localhost:7339` in your default browser.
|
|
163
|
+
|
|
164
|
+
### Features
|
|
165
|
+
- **Live Activity**: Real-time stream of audit logs and agent status.
|
|
166
|
+
- **Metrics & Costs**: Live visualization of token spend and session quality.
|
|
167
|
+
- **Browser Governance**: Approve or reject Tier 2/3 changes directly from the UI.
|
|
168
|
+
- **Team Feed**: See what other agents are doing in a multi-agent environment.
|
|
169
|
+
|
|
170
|
+
### Stop the Dashboard
|
|
171
|
+
```bash
|
|
172
|
+
/mindforge:dashboard --stop
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
---
|
|
176
|
+
|
|
177
|
+
## 11. Update and migration
|
|
72
178
|
### Check for updates
|
|
73
179
|
```
|
|
74
180
|
/mindforge:update
|
|
@@ -84,7 +190,7 @@ This generates `.planning/ARCHITECTURE.md` and an inferred conventions file.
|
|
|
84
190
|
/mindforge:migrate --from v0.6.0 --to v1.0.0
|
|
85
191
|
```
|
|
86
192
|
|
|
87
|
-
##
|
|
193
|
+
## 11. Plugins
|
|
88
194
|
### List / validate
|
|
89
195
|
```
|
|
90
196
|
/mindforge:plugins list
|
|
@@ -96,7 +202,7 @@ This generates `.planning/ARCHITECTURE.md` and an inferred conventions file.
|
|
|
96
202
|
/mindforge:plugins install mindforge-plugin-<name>
|
|
97
203
|
```
|
|
98
204
|
|
|
99
|
-
##
|
|
205
|
+
## 12. Skills
|
|
100
206
|
```
|
|
101
207
|
/mindforge:skills list
|
|
102
208
|
/mindforge:skills validate
|
|
@@ -104,7 +210,7 @@ This generates `.planning/ARCHITECTURE.md` and an inferred conventions file.
|
|
|
104
210
|
|
|
105
211
|
To publish or install a skill, see `docs/skills-publishing-guide.md`.
|
|
106
212
|
|
|
107
|
-
##
|
|
213
|
+
## 13. Token usage profiling
|
|
108
214
|
```
|
|
109
215
|
/mindforge:tokens --profile
|
|
110
216
|
/mindforge:tokens --summary
|
|
@@ -113,7 +219,7 @@ To publish or install a skill, see `docs/skills-publishing-guide.md`.
|
|
|
113
219
|
Token optimization policies are defined in:
|
|
114
220
|
- `.mindforge/production/token-optimiser.md`
|
|
115
221
|
|
|
116
|
-
##
|
|
222
|
+
## 14. Configuration (MINDFORGE.md)
|
|
117
223
|
Key settings live in `MINDFORGE.md`. See:
|
|
118
224
|
- `docs/reference/config-reference.md`
|
|
119
225
|
|
|
@@ -123,18 +229,18 @@ Common settings:
|
|
|
123
229
|
- `TOKEN_WARN_THRESHOLD`, `TOKEN_LEAN_MODE`
|
|
124
230
|
- `MINDFORGE_AUTO_CHECK_UPDATES`
|
|
125
231
|
|
|
126
|
-
##
|
|
232
|
+
## 15. Troubleshooting
|
|
127
233
|
- Health issues: run `/mindforge:health --repair`
|
|
128
234
|
- Schema drift: run `/mindforge:migrate --dry-run` then apply
|
|
129
235
|
- Installer issues: re-run with `--force`
|
|
130
236
|
- CI mode: set `CI=true` and check `.mindforge/ci/` docs
|
|
131
237
|
|
|
132
|
-
##
|
|
238
|
+
## 16. Security
|
|
133
239
|
MindForge never stores credentials in files. See:
|
|
134
240
|
- `docs/security/SECURITY.md`
|
|
135
241
|
- `docs/security/threat-model.md`
|
|
136
242
|
|
|
137
|
-
##
|
|
243
|
+
## 17. Reference docs
|
|
138
244
|
- Commands: `docs/reference/commands.md`
|
|
139
245
|
- SDK: `docs/reference/sdk-api.md`
|
|
140
246
|
- Skills: `docs/reference/skills-api.md`
|
package/docs/usp-features.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# MindForge
|
|
1
|
+
# MindForge v2.0.0 β Unique Selling Points, Features, and Best Practices (v2.0.0-alpha.6)
|
|
2
2
|
|
|
3
|
-
This document summarizes what makes MindForge
|
|
4
|
-
are included in the
|
|
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.
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -31,6 +31,21 @@ are included in the first stable release, and how to use them effectively.
|
|
|
31
31
|
7. **Extensible with plugins and skills**
|
|
32
32
|
- Plugins add commands and skills without changing core files, keeping upgrades safe.
|
|
33
33
|
|
|
34
|
+
8. **Autonomous βWalk-Awayβ Execution (v2)**
|
|
35
|
+
- `/mindforge:auto` allows for full phase/milestone completion with intelligent stuck detection and node repair (RETRY β DECOMPOSE β ESCALATE).
|
|
36
|
+
|
|
37
|
+
9. **Persistent Visual QA (v2)**
|
|
38
|
+
- Headful/headless browser runtime with named session persistence and systematic visual diff verification.
|
|
39
|
+
|
|
40
|
+
10. **Multi-Model Intelligence Layer (v2)**
|
|
41
|
+
- Dynamic routing between Anthropic, OpenAI, and Gemini based on task persona and security tier. Adversarial code reviews ensure maximum coverage.
|
|
42
|
+
|
|
43
|
+
11. **Persistent Knowledge Graph (v2)**
|
|
44
|
+
- Captures and ranks engineering context (decisions, bug patterns, preferences) across project sessions using TF-IDF and confidence reinforcement.
|
|
45
|
+
|
|
46
|
+
12. **Real-time Observability Dashboard (v2)**
|
|
47
|
+
- High-fidelity web interface for live audit streams, metrics visualization, and browser-based governance with zero performance overhead.
|
|
48
|
+
|
|
34
49
|
---
|
|
35
50
|
|
|
36
51
|
## Feature Set (v1.0.0)
|
|
@@ -141,18 +156,65 @@ preserving scope (local vs global).
|
|
|
141
156
|
|
|
142
157
|
---
|
|
143
158
|
|
|
144
|
-
###
|
|
145
|
-
**What it does:**
|
|
159
|
+
### 11. Autonomous Execution (v2)
|
|
160
|
+
**What it does:** Enables handoff-free execution of complex phases and milestones.
|
|
146
161
|
|
|
147
162
|
**How to use:**
|
|
163
|
+
```bash
|
|
164
|
+
/mindforge:auto --phase 1
|
|
165
|
+
/mindforge:steer "Focus on security hardening next"
|
|
148
166
|
```
|
|
149
|
-
|
|
150
|
-
|
|
167
|
+
|
|
168
|
+
---
|
|
169
|
+
|
|
170
|
+
### 12. Browser Runtime & Visual QA (v2)
|
|
171
|
+
**What it does:** Playwright-powered browser control with session persistence and automated UI bug detection.
|
|
172
|
+
|
|
173
|
+
**How to use:**
|
|
174
|
+
```bash
|
|
175
|
+
/mindforge:browse --navigate https://example.com
|
|
176
|
+
/mindforge:qa --diff
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
---
|
|
180
|
+
|
|
181
|
+
### 13. Multi-Model Intelligence (v2)
|
|
182
|
+
**What it does:** Unified API client for Anthropic, OpenAI, and Gemini with persona-based routing and automated cost tracking.
|
|
183
|
+
|
|
184
|
+
**How to use:**
|
|
185
|
+
```bash
|
|
186
|
+
/mindforge:cross-review # Adversarial multi-model review
|
|
187
|
+
/mindforge:research "Deep search query" # 1M context research
|
|
188
|
+
/mindforge:costs # Usage and budget summary
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
---
|
|
192
|
+
|
|
193
|
+
### 14. Persistent Knowledge Graph (v2)
|
|
194
|
+
**What it does:** Long-term memory system that ensures architectural decisions and bug patterns are never forgotten. Supports TF-IDF search, confidence scoring, and global promotion.
|
|
195
|
+
|
|
196
|
+
**How to use:**
|
|
197
|
+
```bash
|
|
198
|
+
/mindforge:remember --add "insight" # Manual capture
|
|
199
|
+
/mindforge:remember --search "query" # Manual retrieval
|
|
200
|
+
/mindforge:remember --promote [ID] # Promote to machine-wide global store
|
|
201
|
+
/mindforge:remember --stats # View memory health
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
---
|
|
205
|
+
|
|
206
|
+
### 16. Real-time Dashboard (v2)
|
|
207
|
+
**What it does:** Web-based control plane for observing agent waves, costs, and quality metrics in real-time.
|
|
208
|
+
|
|
209
|
+
**How to use:**
|
|
210
|
+
```bash
|
|
211
|
+
/mindforge:dashboard --start --open
|
|
151
212
|
```
|
|
213
|
+
Access at `http://localhost:7339` (Localhost-only for security).
|
|
152
214
|
|
|
153
215
|
---
|
|
154
216
|
|
|
155
|
-
###
|
|
217
|
+
### 15. SDK (TypeScript)
|
|
156
218
|
**What it does:** Programmatic access to health, audit log, event stream, and commands.
|
|
157
219
|
|
|
158
220
|
**How to use:**
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# πΊοΈ MindForge Workflow Atlas
|
|
2
|
+
|
|
3
|
+
This document classifies every workflow and action in the MindForge `.github/` directory, explaining their triggers, roles, and governance tiers.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## ποΈ The 5-Layer Plane Architecture (v2.0.0 β Recommended)
|
|
8
|
+
|
|
9
|
+
These workflows form the modular "Beast" architecture implemented for enterprise-grade autonomy.
|
|
10
|
+
|
|
11
|
+
### 1. Control Plane (`control-plane.yml`)
|
|
12
|
+
- **Primary Trigger**: `push` or `pull_request` to `main` or `develop`.
|
|
13
|
+
- **Role**: The Central Nervous System. It runs the `change-classifier.js` to assign a **Governance Tier (1-3)**. It enforces security gates and routes execution to other planes.
|
|
14
|
+
- **Priority**: High. This is the non-bypassable entry point.
|
|
15
|
+
|
|
16
|
+
### 2. Execution Plane (`execution-plane.yml`)
|
|
17
|
+
- **Primary Trigger**: `workflow_call` (Exclusively invoked by the Control Plane).
|
|
18
|
+
- **Role**: The Muscle. It handles the environment setup, project health checks (`mindforge-cli.js health`), and executes the agent in `--headless` mode.
|
|
19
|
+
- **Verification**: Runs `npm test` and `npm run lint`.
|
|
20
|
+
|
|
21
|
+
### 3. AI Intelligence Layer (`ai-intelligence.yml`)
|
|
22
|
+
- **Primary Trigger**: `workflow_call` (Invoked by Control Plane specifically on Pull Requests).
|
|
23
|
+
- **Role**: The Brain. Performs adversarial code reviews using **Claude** and **GPT-4o**. Posts a combined architectural review as a PR comment.
|
|
24
|
+
|
|
25
|
+
### 4. Release Plane (`release-plane.yml`)
|
|
26
|
+
- **Primary Trigger**: `push` of a version tag (e.g., `git push origin v1.2.3`).
|
|
27
|
+
- **Role**: The Logistics. Automates building the package, publishing to **npm**, and drafting a GitHub Release with changelogs.
|
|
28
|
+
|
|
29
|
+
### 5. Observability Plane (`observability-plane.yml`)
|
|
30
|
+
- **Primary Trigger**: `workflow_run` (Auto-runs whenever the "MindForge Control Plane" completes).
|
|
31
|
+
- **Role**: The Memory. Collects metrics on token costs, success rates, and audit logs to generate a summary of CI effectiveness.
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## ποΈ Maintenance & Legacy Workflows
|
|
36
|
+
|
|
37
|
+
These are existing workflows that provide secondary check-points or manual controls.
|
|
38
|
+
|
|
39
|
+
| Workflow | Trigger | Role | Status |
|
|
40
|
+
| :--- | :--- | :--- | :--- |
|
|
41
|
+
| `mindforge-ci.yml` | `push` to `main` or `feat/**` | Basic health/test check for feature branches. | **Active** |
|
|
42
|
+
| `mindforge-autonomous.yml` | `schedule` (Daily) or Manual | Runs deep maintenance or long-running tasks. | **Active** |
|
|
43
|
+
| `mindforge-ai-review.yml` | PR Label: `needs-review` | Label-triggered deep AI review. | **Fallback** |
|
|
44
|
+
| `mindforge-release.yml` | Tag: `v*` | Original release script. | **Redundant** |
|
|
45
|
+
| `mindforge-observability.yml`| `workflow_run` of "Core CI" | Original observability collector. | **Redundant** |
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## π¦ Trigger Logic Summary
|
|
50
|
+
|
|
51
|
+
| Event | Workflow Triggered | Primary Action |
|
|
52
|
+
| :--- | :--- | :--- |
|
|
53
|
+
| **New PR** | `control-plane.yml` | Classify β Security Scan β AI PR Review |
|
|
54
|
+
| **Commit to main** | `control-plane.yml` | Governance check β Execution |
|
|
55
|
+
| **Push Tag (v*)** | `release-plane.yml` | Publish to npm β Create GitHub Release |
|
|
56
|
+
| **Manual Reset** | `mindforge-autonomous.yml` | Run /mindforge:auto on specific phase |
|
|
57
|
+
| **Midnight** | `mindforge-autonomous.yml` | Daily health & autonomous cleanup |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mindforge-cc",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-alpha.6",
|
|
4
4
|
"description": "MindForge - Enterprise Agentic Framework for Claude Code and Antigravity",
|
|
5
5
|
"bin": {
|
|
6
6
|
"mindforge-cc": "bin/install.js"
|
|
@@ -39,9 +39,13 @@
|
|
|
39
39
|
"@eslint/js": "^9.0.0",
|
|
40
40
|
"@types/node": "^20.0.0",
|
|
41
41
|
"eslint": "^9.0.0",
|
|
42
|
-
"globals": "^15.0.0"
|
|
42
|
+
"globals": "^15.0.0",
|
|
43
|
+
"playwright": "^1.40.0"
|
|
43
44
|
},
|
|
44
45
|
"engines": {
|
|
45
46
|
"node": ">=18.0.0"
|
|
47
|
+
},
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"express": "^4.19.2"
|
|
46
50
|
}
|
|
47
|
-
}
|
|
51
|
+
}
|