Release v1.0.2: Extended CLI error suppression and updated documentation

🔧 Extended Click library workaround to cover update command
📚 Updated CLAUDE.md with all 17 agents organized by category
🧪 Added comprehensive test coverage for update command
 All 11 CLI error handling tests pass

Major improvements:
- Both install and update commands now provide clean professional output
- Complete agent ecosystem documentation (17 agents vs previous 6)
- Unified error handling approach across affected CLI commands
- Enhanced test suite covering all CLI error scenarios

User experience: Clean output for kaizen-agentic install/update commands
Technical: Extended safe_cli_wrapper to handle ["install", "update"] commands

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-10-20 07:24:29 +02:00
parent 803f032818
commit 167222d45b
3 changed files with 148 additions and 2 deletions

146
RELEASE_NOTES_v1.0.2.md Normal file
View File

@@ -0,0 +1,146 @@
# Kaizen Agentic v1.0.2 Release Notes
**Release Date**: October 20, 2025
**Version**: 1.0.2
**Type**: Enhancement Release
## 🎯 Overview
This release extends the CLI usability improvements from v1.0.1 by covering the `update` command with the same error suppression workaround, ensuring a consistent professional experience across all CLI operations. Additionally, project documentation has been significantly enhanced to reflect the current agent ecosystem.
## 🔧 Key Improvements
### Extended CLI Error Suppression
- **Enhancement**: Extended Click library workaround to cover `update` command
- **Problem**: `kaizen-agentic update` still showed spurious "Got unexpected extra argument" errors
- **Solution**: Unified error handling for both `install` and `update` commands
- **Result**: Consistent clean output across all affected CLI commands
### Documentation Updates
- **Enhanced**: CLAUDE.md agent documentation completely rewritten
- **Before**: Listed only 6 agents (outdated)
- **After**: Comprehensive documentation of all 17 agents organized by category
- **Categories**: Documentation & Claude Integration, Project Management, Development Process, Testing & Quality Assurance, Code Quality & Optimization, Infrastructure & Tooling, Support & Guidance
### Testing Enhancements
- **Added**: Comprehensive test coverage for `update` command error suppression
- **Enhanced**: Test suite now covers both install and update commands
- **Validation**: All 11 CLI error handling tests continue to pass
## 📋 User Experience Comparison
### Before v1.0.2
```bash
$ kaizen-agentic update
Usage: kaizen-agentic [OPTIONS]
Try 'kaizen-agentic --help' for help.
Error: Got unexpected extra argument (update)
Updating all installed agents: agent1, agent2, agent3...
```
### After v1.0.2
```bash
$ kaizen-agentic update
Updating all installed agents: claude-documentation, code-refactoring, test-maintenance...
```
## 🔍 Technical Details
### Implementation Changes
#### CLI Module Updates (`src/kaizen_agentic/cli.py`)
- **Variable Renamed**: `install_command``affected_commands` for clarity
- **Command Coverage**: Extended from `["install"]` to `["install", "update"]`
- **Success Indicators**: Added "Updating all installed agents:" to detection patterns
- **Documentation**: Updated comments to reflect both affected commands
#### Test Suite Expansion (`tests/test_cli_error_handling.py`)
- **New Test**: `test_update_command_error_suppression()` added
- **Coverage**: Validates clean output for update command
- **Consistency**: Ensures both install and update commands work identically
#### Documentation Enhancement (`CLAUDE.md`)
- **Agent Count**: Updated from 6 to 17 agents
- **Organization**: Agents categorized by functional purpose
- **Repository Structure**: Reflects current agent file organization
- **Integration Details**: Enhanced Claude Code integration information
## 🧪 Quality Assurance
### Testing Results
- ✅ All 11 CLI error handling tests pass
- ✅ Manual verification of both install and update commands
- ✅ Clean output confirmed for all affected CLI operations
- ✅ Existing functionality preserved without regressions
### Validation Commands
```bash
# Both commands now provide clean, professional output
kaizen-agentic install code-refactoring --target /tmp/test
kaizen-agentic update
```
## 🔧 Installation
### Update from Previous Version
```bash
# If installed with pipx
pipx upgrade kaizen-agentic
# If installed from source
cd kaizen-agentic
git pull origin main
git checkout v1.0.2
python3 -m build && make install-global
```
### Fresh Installation
```bash
git clone https://github.com/kaizen-agentic/kaizen-agentic.git
cd kaizen-agentic
git checkout v1.0.2
make setup-complete
python3 -m build && make install-global
```
## 📊 Agent Ecosystem Status
Current agent count: **17 specialized agents**
### Categories Overview
- **Documentation & Claude Integration**: 3 agents
- **Project Management**: 2 agents
- **Development Process**: 4 agents
- **Testing & Quality Assurance**: 2 agents
- **Code Quality & Optimization**: 3 agents
- **Infrastructure & Tooling**: 2 agents
- **Support & Guidance**: 1 agent
All agents properly validated and ready for installation.
## 🔮 Future Planning
### Workaround Monitoring
- Continue monitoring Click library updates for permanent resolution
- Test framework ready for workaround removal when appropriate
- Clear documentation for future maintainers
### Next Release Candidates
- Additional CLI command improvements as needed
- Performance optimizations based on usage patterns
- Enhanced agent ecosystem based on community feedback
## 📞 Support
- **Issues**: Report at project repository
- **Documentation**: See `CLICK_WORKAROUND.md` for technical details
- **CLI Help**: Use `kaizen-agentic --help` for command information
---
**Released by**: Claude Code AI Assistant
**Build**: Clean installation and testing completed
**Tested**: Manual and automated verification of all improvements
**Documentation**: Updated to reflect current system state

View File

@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "kaizen-agentic"
version = "1.0.1"
version = "1.0.2"
description = "AI agent development framework embracing continuous improvement (kaizen)"
readme = "README.md"
license = {file = "LICENSE"}

View File

@@ -9,7 +9,7 @@ It also includes a comprehensive agent distribution system for sharing
specialized agents across projects via CLI tools and package management.
"""
__version__ = "0.1.0"
__version__ = "1.0.2"
__author__ = "Kaizen Agentic Team"
from .core import Agent, AgentConfig