mindforge-cc 2.0.0-alpha.7 → 2.0.0-alpha.9

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.
@@ -10,11 +10,10 @@ Verify that `CLAUDE.md` exists at the root of the project and `.claude/commands/
10
10
  ```bash
11
11
  mkdir -p .claude/commands/mindforge
12
12
  cp -r .agent/mindforge/* .claude/commands/mindforge/ 2>/dev/null || true
13
- cp -r agents/mindforge/* .claude/commands/mindforge/ 2>/dev/null || true
13
+ cp -r .agents/workflows/* .claude/commands/mindforge/ 2>/dev/null || true
14
14
  cp .agent/CLAUDE.md ./CLAUDE.md 2>/dev/null || true
15
- cp agents/CLAUDE.md ./CLAUDE.md 2>/dev/null || true
16
- cp ./CLAUDE.md ./.cursorrules 2>/dev/null || true
17
- cp ./CLAUDE.md ./.windsurfrules 2>/dev/null || true
15
+ cp .agent/CLAUDE.md ./.cursorrules 2>/dev/null || true
16
+ cp .agent/CLAUDE.md ./.windsurfrules 2>/dev/null || true
18
17
  ```
19
18
 
20
19
  ## Step 1 — Requirements interview
package/CHANGELOG.md CHANGED
@@ -1,17 +1,29 @@
1
1
  # Changelog
2
2
 
3
- ## [2.0.0-alpha.7] — 2026-03-23
3
+ ## [2.0.0-alpha.9] — Verified Antigravity Compatibility — 2026-03-23
4
+ ### Fixed
5
+ - Fixed critical installer regression where `files` variable was undefined during command installation.
6
+ - Fixed `resolveBaseDir` hardcoding that prevented `.agents/` relocation in non-standard environments.
7
+ - Verified end-to-end Antigravity fix for command visibility and YAML frontmatter.
4
8
 
5
- ### Standardized
6
- - **Nomenclature Normalization**: Removed all developmental "Day X" markers from `CLAUDE.md`, `README.md`, and all user-facing documentation.
7
- - **Professional Headers**: Standardized functional layer names (Intelligence, Distribution, Production, Autonomous) for a production-ready presentation.
8
- - **Sized Metrics**: Updated test suite logs to use descriptive functional names instead of development-day markers.
9
- - **Version Cleanliness**: Consolidated all version references to `v2.0.0-alpha.7`.
9
+ ## [2.0.0-alpha.8] — Antigravity Visibility Fix — 2026-03-23
10
10
 
11
11
  ### Fixed
12
- - Sanitized `bin/` runtime logs to remove developmental traces.
13
-
14
- ## [2.0.0-alpha.6] — 2026-03-22
12
+ - **Antigravity Command Visibility**: Relocated workflows to `.agents/workflows/` (from `agents/`) and injected mandatory YAML frontmatter (`description`) to ensure registration in Antigravity.
13
+ - **Zero-Config Sync**: Updated `init-project` command to reflect the new `.agents` directory standard.
14
+
15
+ ## [2.0.0-alpha.7] — Day 12: Real-time Observability Dashboard — 2026-03-22
16
+
17
+ - [v2.0.0-alpha.7 (2026-03-22)]
18
+ - [NEW] Real-time Dashboard Server (Express + SSE Bridge).
19
+ - [NEW] Premium 5-tab UI: Activity, Metrics, Approvals, Memory, Team.
20
+ - [NEW] Live Data Streaming for Audit Logs, Quality, Costs, and Team Activity.
21
+ - [NEW] Hardened Tier 3 Governance: Mandatory Plan ID typing for sensitive approvals.
22
+ - [NEW] Metrics Aggregator: Multi-source JSONL processing for observability.
23
+ - [NEW] CLI Command: `/mindforge:dashboard` for server lifecycle management.
24
+ - [NEW] ADR-033: Real-time Observability Architecture.
25
+ - [HARDENED] SSE Rotation Detection (Inode-based).
26
+ - [HARDENED] Localhost-only Security Model (Strict CORS/Binding).
15
27
 
16
28
  ## [2.0.0-alpha.4] — Day 11: Persistent Knowledge Graph (Long-Term Memory) — 2026-03-22
17
29
 
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # MindForge — Enterprise Agentic Framework (v2.0.0-alpha.7)
1
+ # MindForge — Enterprise Agentic Framework (v2.0.0-alpha.9)
2
2
 
3
3
  MindForge turns Claude Code and Antigravity into production-grade engineering
4
4
  partners with governance, observability, and a disciplined workflow engine.
@@ -215,7 +215,7 @@ See `.mindforge/production/token-optimiser.md`.
215
215
 
216
216
  ---
217
217
 
218
- ## What ships in v2.0.0-alpha.7
218
+ ## What ships in v2.0.0-alpha.9
219
219
  - **Real-time Dashboard**: `/mindforge:dashboard` and web-based observability.
220
220
  - **Persistent Knowledge Graph**: `/mindforge:remember` and long-term memory engine.
221
221
  - **Multi-Model Intelligence Layer**: `/mindforge:cross-review`, `/mindforge:research`, and `/mindforge:costs`.
package/bin/install.js CHANGED
@@ -85,7 +85,7 @@ function printHelp() {
85
85
 
86
86
  RUNTIMES (pick one or use --all)
87
87
  --claude Claude Code (~/.claude or .claude/)
88
- --antigravity Antigravity (~/.gemini/antigravity or agents/; .agent/ legacy)
88
+ --antigravity Antigravity (~/.gemini/antigravity or .agents/; .agent/ legacy)
89
89
  --all Both runtimes
90
90
 
91
91
  SCOPE
@@ -20,7 +20,7 @@ const RUNTIMES = {
20
20
  },
21
21
  antigravity: {
22
22
  globalDir: path.join(os.homedir(), '.gemini', 'antigravity'),
23
- localDir: 'agents',
23
+ localDir: '.agents',
24
24
  commandsSubdir: 'workflows',
25
25
  entryFile: 'CLAUDE.md',
26
26
  },
@@ -109,9 +109,18 @@ function resolveBaseDir(runtime, scope) {
109
109
  if (scope === 'global') return norm(cfg.globalDir);
110
110
 
111
111
  if (runtime === 'antigravity') {
112
- const agentsDir = norm(path.join(process.cwd(), 'agents'));
112
+ const agentsDir = norm(path.join(process.cwd(), '.agents'));
113
+ const legacyAgentsDir = norm(path.join(process.cwd(), 'agents'));
113
114
  const legacyAgentDir = norm(path.join(process.cwd(), '.agent'));
115
+
114
116
  if (fsu.exists(agentsDir)) return agentsDir;
117
+
118
+ // Support transition from 'agents/' to '.agents/'
119
+ if (fsu.exists(legacyAgentsDir)) {
120
+ console.log(' ℹ️ Detected legacy agents/ — installing there for compatibility');
121
+ return legacyAgentsDir;
122
+ }
123
+
115
124
  if (fsu.exists(legacyAgentDir)) {
116
125
  console.log(' ℹ️ Detected legacy .agent/ — installing there for compatibility');
117
126
  return legacyAgentDir;
@@ -228,11 +237,21 @@ async function install(runtime, scope, options = {}) {
228
237
  if (fsu.exists(cmdSrc)) {
229
238
  fsu.ensureDir(cmdsDir);
230
239
  const files = fsu.listFiles(cmdSrc).filter(f => f.endsWith('.md'));
231
-
232
240
  // Install for specific runtime
233
241
  files.forEach(f => {
234
242
  const targetName = runtime === 'antigravity' ? `mindforge:${f}` : f;
235
- fsu.copy(path.join(cmdSrc, f), path.join(cmdsDir, targetName));
243
+ const srcPath = path.join(cmdSrc, f);
244
+ const dstPath = path.join(cmdsDir, targetName);
245
+
246
+ if (runtime === 'antigravity') {
247
+ const content = fsu.read(srcPath);
248
+ const firstLine = content.split('\n')[0].trim();
249
+ // Mandatory Antigravity frontmatter metadata
250
+ const metadata = `---\ndescription: ${firstLine}\n---\n`;
251
+ fsu.write(dstPath, metadata + content);
252
+ } else {
253
+ fsu.copy(srcPath, dstPath);
254
+ }
236
255
  });
237
256
 
238
257
  // ✨ STANDARD: Mirror to .claude/commands for cross-IDE compatibility (Cursor/Windsurf/Claude Code)
@@ -0,0 +1,5 @@
1
+ #!/bin/bash
2
+ # MindForge Local Verification Wrapper
3
+ # Usage: node bin/mindforge-cc.sh [args]
4
+
5
+ node "$(dirname "$0")/install.js" "$@"
@@ -29,6 +29,7 @@ async function detect() {
29
29
  if (
30
30
  fs.existsSync(path.join(home, '.gemini', 'antigravity')) ||
31
31
  fs.existsSync(path.join(cwd, '.agent')) ||
32
+ fs.existsSync(path.join(cwd, '.agents')) ||
32
33
  fs.existsSync(path.join(cwd, 'agents'))
33
34
  ) {
34
35
  runtimes.push('antigravity');
@@ -1,4 +1,4 @@
1
- # MindForge v2.0.0-alpha.7: In-Depth Testing Guide (Antigravity)
1
+ # MindForge v2.0.0-alpha.9: 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.7`.
12
+ - *Confirmation*: Run the command with `--version`. It must show `v2.0.0-alpha.9`.
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.7". 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.9". 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.
@@ -1,4 +1,4 @@
1
- # MindForge User Guide (v2.0.0-alpha.7)
1
+ # MindForge User Guide (v2.0.0-alpha.9)
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+.
@@ -1,4 +1,4 @@
1
- # MindForge v2.0.0 — Unique Selling Points, Features, and Best Practices (v2.0.0-alpha.7)
1
+ # MindForge v2.0.0 — Unique Selling Points, Features, and Best Practices (v2.0.0-alpha.9)
2
2
 
3
3
  This document summarizes what makes MindForge v2.0.0 distinct, what features
4
4
  are included in the latest alpha release, and how to use them effectively.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mindforge-cc",
3
- "version": "2.0.0-alpha.7",
3
+ "version": "2.0.0-alpha.9",
4
4
  "description": "MindForge - Enterprise Agentic Framework for Claude Code and Antigravity",
5
5
  "bin": {
6
6
  "mindforge-cc": "bin/install.js"