Commit Graph
3 Commits
Author SHA1 Message Date
rUvandClaude c468fee8de [fix] ReasoningBank process exit issue - v2.7.0-alpha.9
Critical Fix: CLI commands now exit properly after execution

Problem:
- Commands would hang indefinitely after successful execution
- Root cause: agentic-flow embedding cache setTimeout timers kept event loop alive

Solution:
- Added clearEmbeddingCache() call in cleanup function
- Added explicit process.exit(0) after database cleanup
- Applied to all ReasoningBank commands (store, query, list, status, init)

Changes:
- src/reasoningbank/reasoningbank-adapter.js: Enhanced cleanup()
- src/cli/simple-commands/memory.js: Added cleanup + process.exit
- package.json: Version 2.7.0-alpha.8 → 2.7.0-alpha.9

Testing:
✅ All commands exit cleanly (store, query, list, status, init)
✅ Real data persistence confirmed (42MB SQLite, 29 patterns)
✅ Cross-session memory working
✅ No memory leaks

Documentation:
- docs/reports/validation/PROCESS-EXIT-FIX-v2.7.0-alpha.9.md

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-13 21:09:43 +00:00
rUvandClaude db9e94bdc6 [release] v2.7.0-alpha.7 - WASM integration complete
**Key Changes:**
- ✅ Fixed ReasoningBank WASM integration (agentic-flow@1.5.12 ESM)
- ✅ Added --experimental-wasm-modules flag to CLI
- ✅ All memory commands working (store, query, status, init)
- ✅ Performance validated: 3ms storage, <5s queries
- ✅ Docker validation passed
- 🧹 Cleaned up outdated documentation (23KB removed)
- 📚 Added organized docs structure (integrations/, reports/, technical/, setup/)

**Root Cause Fixed:**
The issue was CommonJS/ESM module mismatch in agentic-flow@1.5.11.
User published agentic-flow@1.5.12 with pure ESM WASM bindings.

**Performance:**
- Storage: 3ms (WASM-powered)
- Query: <5s (SQL fallback with timeout protection)
- No more >60s timeout issues

**Production Ready:**
Published to npm as claude-flow@2.7.0-alpha.7

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-13 18:28:28 +00:00
rUvandClaude 57f911979d 🔧 Fix plugin structure and repository references
## Changes

### Repository References
- Fixed all references from `ruvnet/claude-code-flow` to `ruvnet/claude-flow`
- Updated 6 files in `.claude-plugin/`:
  - plugin.json
  - README.md
  - docs/STRUCTURE.md
  - docs/PLUGIN_SUMMARY.md
  - docs/INSTALLATION.md
  - docs/QUICKSTART.md

### Added marketplace.json
- Created `.claude-plugin/marketplace.json` with complete marketplace metadata
- Includes plugin features, requirements, and MCP server configuration
- Follows official Claude Code marketplace specification

### Fixed hooks structure
- Created `hooks/hooks.json` at root level (correct location per docs)
- Implements 7 hook events:
  - PreToolUse (Task, Write|Edit)
  - PostToolUse (Task, Write|Edit, Bash)
  - UserPromptSubmit
  - SessionStart
  - SessionEnd
  - Notification
  - SubagentStop
- Integrates with claude-flow coordination system

## Plugin Structure (Now Correct)
```
claude-flow/
├── .claude-plugin/
│   ├── plugin.json          ✓ Plugin metadata
│   ├── marketplace.json     ✓ Marketplace distribution
│   ├── README.md            ✓ Documentation
│   └── docs/                ✓ Additional docs
├── commands/                 ✓ Slash commands (root)
├── agents/                   ✓ Custom agents (root)
└── hooks/                    ✓ Event handlers (root)
    └── hooks.json
```

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-09 20:53:19 +00:00