Releases: joryeugene/calmhive-cli
v15.2.0: Streamlined Consciousness Architecture
🐝 Calmhive v15.2.0
Streamlined consciousness protocols with enhanced evaluation
Major Changes
🧠 Streamlined CLAUDE.md Architecture
- Simplified: 9-stage → 6-stage consciousness validation
- Focused: Removed verbose examples and redundant sections
- Cleaner: Consolidated trigger detection patterns
🚫 Real Evaluations Only
- Removed: Mock evaluation system (
MockClaudeEvaluator) - Enhanced: JSON output support in
afk-evaluator - Principle: Real data or nothing
📊 Behavioral Quality Evaluator
- New: Advanced behavioral compliance assessment
- Features: Evaluates CLAUDE.md pattern adherence
- Scoring: 0-100% with confidence levels
Breaking Changes
- Mock evaluation system removed
USE_MOCK_CLAUDEenvironment variable no longer supported
Installation
npm install -g @calmhive/[email protected]v15.1.0: Intelligent Tool Resilience & Solution-First Development
🚀 Major Features
🛠️ Tool Resilience Protocol
AI no longer gives up when primary tools fail. Now explores:
- MCP tool alternatives
- Command line equivalents (gh, curl, etc.)
- Creative workarounds before declaring impossible
- Result: Dramatically improved problem-solving persistence
🔍 Solution-First Development Mandate
Prevents wheel reinvention through mandatory research:
- Package/library research before custom implementations
- Multiple solution evaluation with trade-off analysis
- 10-line threshold triggers solution research
- Result: Reduced technical debt, better architecture decisions
🧠 Enhanced Consciousness Buffer
- 9 validation stages (up from 4)
- Systematic AI failure pattern prevention
- Evidence-based decision making
- Root cause analysis integration
📈 Impact
- Prevents "give up" behavior when tools fail
- Eliminates unnecessary custom code through research mandates
- Improves collaboration with enhanced partnership model
- Maintains focus on actual problems vs symptoms
🔄 Migration
No breaking changes. Update your CLAUDE.md to v15.1.0 to enable these enhancements.
📚 Documentation
- Updated README with v15.1.0 features
- Enhanced CLAUDE-DESKTOP.md for web interfaces
- Comprehensive examples in configuration files
🔧 Technical Details
Stage 4: CLI Excellence Engine (Enhanced)
- Primary tool failure triggers alternative exploration
- MCP tool availability checked before giving up
- Command line equivalents considered (gh, curl, etc.)
- Creative workarounds attempted before declaring impossible
- Tool resilience demonstrates adaptability and persistence
Stage 9: Solution-First Validation (New)
- No custom implementation detected without solution research
- Research performed for existing solutions (libraries, frameworks, services, tools)
- Multiple solution options evaluated before implementing custom code
- Solution quality assessed (community support, maintenance, documentation)
- Custom implementation justified only if no suitable solutions exist
- 10-line threshold respected for mandatory solution research
Enhanced Human Partnership
- Constructive debate encouraged in good faith
- Disagree and commit principle integrated
- Trust colleagues enough to challenge ideas constructively
- Seek feedback actively, not defensively
🐝 Philosophy Update
Updated closing covenant emphasizes our ecosystem service:
- We help teams thrive through evidence and action
- We measure our impact with clarity and purpose
- We pollinate progress across the ecosystem we serve
📦 Installation
npm install -g @calmhive/[email protected]🎯 What's Next
v15.1.0 establishes the foundation for intelligent tool resilience and solution-first development. Future releases will build on these consciousness protocols to further prevent AI failure patterns.
Full Changelog: v15.0.0...v15.1.0
v15.0.0: Architectural Transformation
🚀 v15.0.0: Major Architectural Transformation
⚡ Critical Fixes
- Fixed AFk status command - Resolved "sessions.slice is not a function" error
- Fixed health monitoring - Resolved JavaScript crash on startup
- Both commands now work reliably for production use
🏗️ Architectural Changes
Consolidated Architecture
- Removed 15 utility files → 3 focused modules
- Eliminated redundant logging/utility/validation files
- Created cohesive modular structure
New Production Components
- Health Monitor - CPU/memory thresholds with real-time monitoring
- Error Framework - 20+ specialized error classes for better debugging
- ProcessManager V2 - Modular, resilient process orchestration
- Quality Evaluator - Claude-powered code quality assessment
- Work Complexity Analyzer - Intelligent task assessment
New Commands
calmhive health- System health monitoring with HTTP endpoints- Enhanced AFk commands with better status reporting
📊 Impact
- 73 files changed with 14,243 insertions, 8,857 deletions
- Production ready - All critical functionality verified
- Breaking changes - Major version bump reflects architectural shifts
🧪 Verification
All smoke tests pass:
- ✅ AFk status command works correctly
- ✅ Health monitoring loads without errors
- ✅ Version display shows v15.0.0
- ✅ TUI functionality maintained
This release represents a fundamental shift toward production readiness with improved reliability, monitoring, and error handling.
v14.2.11: Final Bug Fix Release
🐝 v14.2.11: Final Bug Fix Release
Release Date: July 7, 2025
Type: Bug Fix Release
Critical Fixes: 4 major issues resolved
🔧 Critical Bug Fixes
1. 🖥️ Fixed TUI Log Viewer Crash
Problem: Blessed.js tag parsing crashes when encountering malformed tags in log content
Solution:
- ✅ Implemented safe tag escaping with
escapeBlessedTags()method - ✅ Added
safeRender()with double setTimeout for blessed.js timing issues - ✅ Replaced blessed tag coloring with safer ANSI escape codes
- ✅ Added
parseTags: falseoption to prevent parser crashes - ✅ Comprehensive error handling in
displayLogs()method
Impact: Eliminates TUI crashes when viewing logs with special characters
2. 🧹 Fixed Test Session Pollution
Problem: Test sessions contaminating production session database
Solution:
- ✅ Enhanced session cleanup with better test vs real session detection
- ✅ Checks for
worker.logpresence to identify real sessions - ✅ Improved
cleanupOldSessions()with explicit time calculations - ✅ Added constants for time calculations improving readability
- ✅ Enhanced session validation and metadata handling
Impact: Cleaner database with proper separation of test and production data
3. 🔍 Synced Lint Fixes from v14.2.10
Problem: Regex escaping inconsistencies in utility files
Solution:
- ✅ Fixed
string-utils.jsline 131: removed unnecessary forward slash escape - ✅ Fixed
validation-utils.jsline 265: removed unnecessary bracket and slash escapes - ✅ Synchronized with fixes made in v14.2.10 for consistency
Impact: Improved code quality and consistent linting across codebase
4. 📦 Added Comprehensive Utility Modules
New Additions:
-
✅
id-utils.js: ID generation utilities (316 lines)- UUID generation, session IDs, nano IDs, human-readable IDs
- Validation methods for various ID formats
- Batch generation and ID manipulation tools
-
✅
performance-utils.js: Timing and benchmarking tools (269 lines)- High-precision timing with nanosecond accuracy
- Benchmarking functions for performance analysis
- Memory usage monitoring and formatting
-
✅
safe-async-utils.js: Robust async operation patterns (287 lines)- Timeout protection for async operations
- Retry logic with exponential backoff
- Parallel execution with controlled concurrency
- Debouncing and throttling utilities
-
✅
url-utils.js: URL manipulation and validation (292 lines)- URL building, parsing, and normalization
- Path joining and query parameter handling
- Validation and safety checks
-
✅
auto-recovery-manager.js: Automatic error recovery system (117 lines)- Circuit breaker pattern implementation
- Strategy-based error recovery
- Integration with adaptive retry logic
Impact: Robust utility foundation for future development and error resilience
📈 Enhanced Code Quality
Documentation & Comments
- ✅ Added extensive JSDoc comments throughout codebase
- ✅ Improved inline documentation for complex functions
- ✅ Better error message context and debugging information
Error Handling & Reliability
- ✅ Enhanced AFk worker with proper stream cleanup
- ✅ Improved process manager with timeout protection
- ✅ Better logging and stream management
- ✅ Graceful shutdown handling
Performance & Monitoring
- ✅ Memory usage tracking and formatting
- ✅ High-precision timing utilities
- ✅ Benchmarking tools for performance analysis
🎯 Technical Achievements
| Area | Improvement | Impact |
|---|---|---|
| TUI Stability | Eliminated blessed.js crashes with safe tag escaping | Zero crashes during log viewing |
| Database Hygiene | Fixed test session contamination | Clean production database |
| Code Quality | Synchronized lint fixes and added robust utilities | Consistent, maintainable codebase |
| Error Recovery | New auto-recovery system for production resilience | Improved uptime and reliability |
| Documentation | Extensive JSDoc comments and inline docs | Better developer experience |
📊 Release Statistics
- Files Changed: 23 files
- Lines Added: 1,761 lines
- Lines Removed: 294 lines
- New Utility Modules: 5 modules (1,281 total lines)
- Critical Bugs Fixed: 4 major issues
- Lint Errors Resolved: All critical errors fixed
🚀 Installation & Upgrade
# Update to latest version
npm install -g @calmhive/[email protected]
# Verify installation
calmhive --version🔗 Important Links
🙏 Credits
This release represents a significant stability improvement for the Calmhive CLI. All critical production issues have been resolved, making this the most stable release to date.
Ready for production use with confidence! 🎉
v14.2.10: Calmbee Mascot & Enhanced Architecture
This was a documentation-only release. For bug fixes, please upgrade to v14.2.11.
Original Release Notes:
v14.2.10: Calmbee Mascot & Enhanced Architecture
🐝 Calmhive v14.2.9 - Critical Spam & Crash Fixes
TUI crashes were not fully resolved in this version. All issues are fixed in v14.2.11.
Original Release Notes:
🐝 Calmhive v14.2.9 - Critical Spam & Crash Fixes
🐝 Calmhive CLI v14.2.8 - Smart Injection Intelligence
This release has incomplete fixes. All issues are resolved in v14.2.11.
Original Release Notes:
🐝 Calmhive CLI v14.2.8 - Smart Injection Intelligence
🐝 Calmhive CLI v14.2.2 - Injection Logic Improvements
This release has incomplete fixes. All issues are resolved in v14.2.11.
Original Release Notes:
🐝 Calmhive CLI v14.2.2 - Injection Logic Improvements
v14.2.1: Smart Injection System - Zero Spam Fix
This release has incomplete fixes. All issues are resolved in v14.2.11.
Original Release Notes:
v14.2.1: Smart Injection System - Zero Spam Fix
v14.2.0: Critical AFk fixes + Rule Injection System
This release has critical bugs that were fixed in later versions.
Original Release Notes:
v14.2.0: Critical AFk fixes + Rule Injection System