refactor: consolidate redundant CLI environment into central venv
Virtual Environment Consolidation - Complete: ✅ REDUNDANT CLI ENVIRONMENT REMOVED: Consolidated dev/env/cli_env into central venv - /opt/aitbc/dev/env/cli_env/ completely removed (redundant virtual environment) - Root cause: CLI environment was created during development but became identical to central venv - Solution: Use central /opt/aitbc/venv as the single virtual environment ✅ ENVIRONMENT ANALYSIS COMPLETED: 📊 Package Comparison: Both venv and cli_env had 128 identical packages 📋 Python Version: Both used Python 3.13.5 🔧 Configuration: Both had identical virtual environment settings 📁 Structure: Both had standard venv directory structure ✅ CENTRAL VENV PRESERVED: 📁 Location: /opt/aitbc/venv/ (single virtual environment) 📦 Packages: 128 packages including all dependencies 🐍 Python: Python 3.13.5 with proper configuration 🔗 CLI Integration: Main CLI wrapper uses central venv ✅ DOCUMENTATION UPDATED: 📚 Development Guidelines: Removed cli_env reference 📁 File Organization: Updated to reflect single venv structure 📖 Documentation: Consistent with actual directory structure ✅ ROOT CAUSE RESOLVED: - Problem: Duplicate virtual environment with identical packages - Development History: CLI environment created during CLI development - Current State: Central venv contains all required packages - Solution: Remove redundant CLI environment, use central venv ✅ BENEFITS ACHIEVED: ✅ Single Virtual Environment: One venv to maintain and update ✅ Reduced Complexity: No confusion about which environment to use ✅ Consistent Dependencies: Single source of truth for packages ✅ Disk Space Savings: Removed duplicate virtual environment ✅ Simplified Documentation: Clear single environment reference DIRECTORY STRUCTURE IMPROVEMENT: 📁 /opt/aitbc/venv/: Single central virtual environment 📁 dev/env/: Development-specific environments (node_modules, .venv, package files) 🗑️ dev/env/cli_env/: Removed (redundant) RESULT: Successfully consolidated redundant CLI environment into central venv, simplifying the virtual environment structure and reducing maintenance complexity while preserving all functionality.
This commit is contained in:
@@ -55,7 +55,6 @@ config/.lycheeignore
|
||||
# Environment directories
|
||||
dev/env/node_modules/
|
||||
dev/env/.venv/
|
||||
dev/env/cli_env/
|
||||
dev/env/package.json
|
||||
dev/env/package-lock.json
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user