mindforge-cc 2.0.0-alpha.4 β 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 +30 -0
- package/.agent/mindforge/dashboard.md +98 -0
- package/.agent/mindforge/init-project.md +12 -0
- package/.claude/CLAUDE.md +30 -0
- package/.claude/commands/mindforge/dashboard.md +98 -0
- package/.mindforge/dashboard/api-reference.md +122 -0
- package/.mindforge/dashboard/dashboard-spec.md +96 -0
- package/.planning/approvals/v2-architecture-approval.json +15 -0
- package/CHANGELOG.md +13 -0
- package/README.md +18 -2
- 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/installer-core.js +68 -12
- package/bin/mindforge-cli.js +87 -0
- package/bin/wizard/setup-wizard.js +5 -1
- package/docs/architecture/README.md +2 -0
- 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 +16 -51
- package/docs/testing-current-version.md +130 -0
- package/docs/user-guide.md +24 -2
- package/docs/usp-features.md +15 -1
- package/docs/workflow-atlas.md +57 -0
- package/package.json +5 -2
|
@@ -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": "2.0.0-alpha.
|
|
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"
|
|
@@ -44,5 +44,8 @@
|
|
|
44
44
|
},
|
|
45
45
|
"engines": {
|
|
46
46
|
"node": ">=18.0.0"
|
|
47
|
+
},
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"express": "^4.19.2"
|
|
47
50
|
}
|
|
48
|
-
}
|
|
51
|
+
}
|