From 41d24e37c33478afddc78182635d576c030ec93c Mon Sep 17 00:00:00 2001 From: NomenAK Date: Thu, 14 Aug 2025 20:07:09 +0200 Subject: [PATCH] Remove duplicate SuperClaude/Config directory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Deleted SuperClaude/Config/ directory and all its contents - This was a duplicate of the root /config/ directory - Installation system only uses /config/, not SuperClaude/Config/ - Eliminates configuration inconsistencies and reduces confusion - Root /config/ directory remains as the single source of truth Files removed: - SuperClaude/Config/__init__.py - SuperClaude/Config/claude-code-settings-template.json - SuperClaude/Config/features.json (had stale hooks enabled=true) - SuperClaude/Config/hooks-config.json - SuperClaude/Config/requirements.json - SuperClaude/Config/superclaude-config-template.json 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- SuperClaude/Config/__init__.py | 0 .../Config/claude-code-settings-template.json | 65 ---- SuperClaude/Config/features.json | 49 --- SuperClaude/Config/hooks-config.json | 367 ------------------ SuperClaude/Config/requirements.json | 54 --- .../Config/superclaude-config-template.json | 161 -------- 6 files changed, 696 deletions(-) delete mode 100644 SuperClaude/Config/__init__.py delete mode 100644 SuperClaude/Config/claude-code-settings-template.json delete mode 100644 SuperClaude/Config/features.json delete mode 100644 SuperClaude/Config/hooks-config.json delete mode 100644 SuperClaude/Config/requirements.json delete mode 100644 SuperClaude/Config/superclaude-config-template.json diff --git a/SuperClaude/Config/__init__.py b/SuperClaude/Config/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/SuperClaude/Config/claude-code-settings-template.json b/SuperClaude/Config/claude-code-settings-template.json deleted file mode 100644 index baf14ee..0000000 --- a/SuperClaude/Config/claude-code-settings-template.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "hooks": { - "PreToolUse": [ - { - "matcher": "*", - "hooks": [ - { - "type": "command", - "command": "python \"${CLAUDE_PROJECT_DIR}/.claude/SuperClaude/Hooks/framework_coordinator/hook_wrapper.py\" pre", - "timeout": 5 - }, - { - "type": "command", - "command": "python \"${CLAUDE_PROJECT_DIR}/.claude/SuperClaude/Hooks/performance_monitor/hook_wrapper.py\" pre", - "timeout": 1 - } - ] - } - ], - "PostToolUse": [ - { - "matcher": "*", - "hooks": [ - { - "type": "command", - "command": "python \"${CLAUDE_PROJECT_DIR}/.claude/SuperClaude/Hooks/framework_coordinator/hook_wrapper.py\" post", - "timeout": 5 - }, - { - "type": "command", - "command": "python \"${CLAUDE_PROJECT_DIR}/.claude/SuperClaude/Hooks/session_lifecycle/hook_wrapper.py\" post", - "timeout": 3 - }, - { - "type": "command", - "command": "python \"${CLAUDE_PROJECT_DIR}/.claude/SuperClaude/Hooks/performance_monitor/hook_wrapper.py\" post", - "timeout": 1 - } - ] - }, - { - "matcher": "Write|Edit|MultiEdit|NotebookEdit", - "hooks": [ - { - "type": "command", - "command": "python \"${CLAUDE_PROJECT_DIR}/.claude/SuperClaude/Hooks/quality_gates/hook_wrapper.py\" post", - "timeout": 4 - } - ] - } - ], - "SessionStart": [ - { - "matcher": "*", - "hooks": [ - { - "type": "command", - "command": "python \"${CLAUDE_PROJECT_DIR}/.claude/SuperClaude/Hooks/session_lifecycle/hook_wrapper.py\" session_start", - "timeout": 3 - } - ] - } - ] - } -} \ No newline at end of file diff --git a/SuperClaude/Config/features.json b/SuperClaude/Config/features.json deleted file mode 100644 index 4672de7..0000000 --- a/SuperClaude/Config/features.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "components": { - "core": { - "name": "core", - "version": "3.0.0", - "description": "SuperClaude framework documentation and core files", - "category": "core", - "dependencies": [], - "enabled": true, - "required_tools": [] - }, - "commands": { - "name": "commands", - "version": "3.0.0", - "description": "SuperClaude slash command definitions", - "category": "commands", - "dependencies": ["core"], - "enabled": true, - "required_tools": [] - }, - "mcp": { - "name": "mcp", - "version": "3.0.0", - "description": "MCP server integration (Context7, Sequential, Magic, Playwright, Morphllm, Serena)", - "category": "integration", - "dependencies": ["core"], - "enabled": true, - "required_tools": ["node", "claude_cli"] - }, - "serena": { - "name": "serena", - "version": "3.0.0", - "description": "Semantic code analysis and intelligent editing with project-aware context management", - "category": "integration", - "dependencies": ["core", "mcp"], - "enabled": true, - "required_tools": ["uvx", "python3", "claude_cli"] - }, - "hooks": { - "name": "hooks", - "version": "2.0.0", - "description": "Enhanced Task Management System - Hook Infrastructure", - "category": "integration", - "dependencies": ["core"], - "enabled": true, - "required_tools": ["python3"] - } - } -} \ No newline at end of file diff --git a/SuperClaude/Config/hooks-config.json b/SuperClaude/Config/hooks-config.json deleted file mode 100644 index 22ea796..0000000 --- a/SuperClaude/Config/hooks-config.json +++ /dev/null @@ -1,367 +0,0 @@ -{ - "version": "1.0.0", - "description": "SuperClaude Hooks Configuration - Enhanced Task Management System v2.0", - - "general": { - "enabled": true, - "verbosity": "verbose", - "auto_load": true, - "performance_monitoring": true, - "security_level": "standard", - "max_concurrent_hooks": 5, - "default_timeout_ms": 100, - "log_level": "INFO" - }, - - "security": { - "input_validation": true, - "path_sanitization": true, - "execution_sandboxing": true, - "max_input_size_bytes": 10000, - "max_memory_usage_mb": 50, - "allowed_file_extensions": [ - ".txt", ".json", ".yaml", ".yml", ".md", - ".py", ".js", ".ts", ".html", ".css", - ".log", ".conf", ".config", ".ini" - ], - "blocked_file_extensions": [ - ".exe", ".dll", ".so", ".dylib", ".bat", - ".cmd", ".ps1", ".sh", ".bash", ".zsh" - ] - }, - - "performance": { - "profiling_enabled": true, - "metrics_collection": true, - "warning_threshold_ms": 80, - "critical_threshold_ms": 100, - "memory_monitoring": true, - "benchmark_tracking": true, - "history_retention_count": 100 - }, - - "storage": { - "persistence_enabled": true, - "auto_save": true, - "save_interval_seconds": 30, - "backup_enabled": true, - "cleanup_completed_hours": 24, - "max_task_history": 1000 - }, - - "compatibility": { - "claude_code_integration": true, - "backward_compatibility": true, - "native_tools_priority": true, - "fallback_enabled": true - }, - - "task_management": { - "cross_session_persistence": true, - "dependency_tracking": true, - "priority_scheduling": true, - "progress_monitoring": true, - "automatic_cleanup": true, - "session_isolation": false - }, - - "hooks": { - "task_validator": { - "enabled": true, - "priority": "high", - "timeout_ms": 50, - "triggers": ["task_create", "task_update", "task_execute"], - "description": "Validates task data and execution context" - }, - - "execution_monitor": { - "enabled": true, - "priority": "normal", - "timeout_ms": 25, - "triggers": ["hook_start", "hook_complete"], - "description": "Monitors hook execution performance and compliance" - }, - - "state_synchronizer": { - "enabled": true, - "priority": "high", - "timeout_ms": 75, - "triggers": ["task_state_change", "session_start", "session_end"], - "description": "Synchronizes task states across sessions" - }, - - "dependency_resolver": { - "enabled": true, - "priority": "normal", - "timeout_ms": 100, - "triggers": ["task_schedule", "dependency_update"], - "description": "Resolves task dependencies and scheduling" - }, - - "integration_bridge": { - "enabled": true, - "priority": "critical", - "timeout_ms": 50, - "triggers": ["command_execute", "tool_call"], - "description": "Bridges hooks with Claude Code native tools" - }, - - "map_update_checker": { - "enabled": true, - "priority": "medium", - "timeout_ms": 100, - "triggers": ["post_tool_use"], - "tools": ["Write", "Edit", "MultiEdit"], - "script": "map-update-checker.py", - "description": "Detects file changes that affect CodeBase.md sections", - "config": { - "check_codebase_md": true, - "track_changes": true, - "suggestion_threshold": 1 - } - }, - - "map_session_check": { - "enabled": true, - "priority": "low", - "timeout_ms": 50, - "triggers": ["session_start"], - "script": "map-session-check.py", - "description": "Checks CodeBase.md freshness at session start", - "config": { - "freshness_hours": 24, - "stale_hours": 72, - "cleanup_tracking": true - } - }, - - "quality_gate_trigger": { - "enabled": true, - "priority": "high", - "timeout_ms": 50, - "triggers": ["post_tool_use"], - "tools": ["Write", "Edit", "MultiEdit"], - "script": "quality_gate_trigger.py", - "description": "Automated quality gate validation with workflow step tracking", - "config": { - "enable_syntax_validation": true, - "enable_type_analysis": true, - "enable_documentation_patterns": true, - "quality_score_threshold": 0.7, - "intermediate_checkpoint": true, - "comprehensive_checkpoint": true - } - }, - - "mcp_router_advisor": { - "enabled": true, - "priority": "medium", - "timeout_ms": 30, - "triggers": ["pre_tool_use"], - "tools": "*", - "script": "mcp_router_advisor.py", - "description": "Intelligent MCP server routing with performance optimization", - "config": { - "context7_threshold": 0.4, - "sequential_threshold": 0.6, - "magic_threshold": 0.3, - "playwright_threshold": 0.5, - "token_efficiency_target": 0.25, - "performance_gain_target": 0.35 - } - }, - - "cache_invalidator": { - "enabled": true, - "priority": "high", - "timeout_ms": 100, - "triggers": ["post_tool_use"], - "tools": ["Write", "Edit", "MultiEdit"], - "script": "cache_invalidator.py", - "description": "Intelligent project context cache invalidation when key files change", - "config": { - "key_files": [ - "package.json", "pyproject.toml", "Cargo.toml", "go.mod", - "requirements.txt", "composer.json", "pom.xml", "build.gradle", - "tsconfig.json", "webpack.config.js", "vite.config.js", - ".env", "config.json", "settings.json", "app.config.js" - ], - "directory_patterns": [ - "src/config/", "config/", "configs/", "settings/", - "lib/", "libs/", "shared/", "common/", "utils/" - ], - "cache_types": ["project_context", "dependency_cache", "config_cache"] - } - }, - - "evidence_collector": { - "enabled": true, - "priority": "medium", - "timeout_ms": 20, - "triggers": ["post_tool_use"], - "tools": "*", - "script": "evidence_collector.py", - "description": "Real-time evidence collection and documentation system", - "config": { - "evidence_categories": { - "file_operations": 0.25, - "analysis_results": 0.20, - "test_outcomes": 0.20, - "quality_metrics": 0.15, - "performance_data": 0.10, - "error_handling": 0.10 - }, - "claudedocs_integration": true, - "real_time_updates": true, - "cross_reference_threshold": 0.3, - "validation_score_target": 0.95 - } - }, - - "hook_coordinator": { - "enabled": true, - "priority": "critical", - "timeout_ms": 100, - "triggers": ["pre_tool_use", "post_tool_use"], - "tools": "*", - "script": "hook_coordinator.py", - "description": "Central coordination system for all SuperClaude automation hooks", - "config": { - "coordinate_hooks": true, - "parallel_execution": true, - "performance_monitoring": true, - "error_recovery": true, - "max_execution_time_ms": 100, - "quality_improvement_target": 0.15, - "validation_success_target": 0.95, - "token_efficiency_target": 0.25 - } - } - }, - - "platforms": { - "windows": { - "supported": true, - "specific_settings": { - "file_locking": "windows_style", - "path_separator": "\\", - "temp_directory": "%TEMP%\\superclaude" - } - }, - - "macos": { - "supported": true, - "specific_settings": { - "file_locking": "unix_style", - "path_separator": "/", - "temp_directory": "/tmp/superclaude" - } - }, - - "linux": { - "supported": true, - "specific_settings": { - "file_locking": "unix_style", - "path_separator": "/", - "temp_directory": "/tmp/superclaude" - } - } - }, - - "directories": { - "config_dir": "~/.config/superclaude/hooks", - "data_dir": "~/.local/share/superclaude/hooks", - "temp_dir": "/tmp/superclaude/hooks", - "log_dir": "~/.local/share/superclaude/logs", - "backup_dir": "~/.local/share/superclaude/backups" - }, - - "integration": { - "installer_compatibility": true, - "existing_infrastructure": true, - "platform_modules": [ - "installer-platform", - "installer-performance", - "installer-migration" - ], - "required_dependencies": [ - "pathlib", - "json", - "threading", - "asyncio" - ], - "optional_dependencies": [ - "psutil", - "resource" - ] - }, - - "development": { - "debug_mode": false, - "verbose_logging": false, - "performance_profiling": true, - "test_mode": false, - "mock_execution": false - }, - - "monitoring": { - "health_checks": true, - "performance_alerts": true, - "error_reporting": true, - "metrics_export": false, - "dashboard_enabled": false - }, - - "profiles": { - "minimal": { - "description": "Essential hooks for basic functionality", - "hooks": ["map_session_check", "task_validator", "integration_bridge"], - "target_users": ["beginners", "light_usage"] - }, - - "developer": { - "description": "Productivity hooks for active development", - "hooks": [ - "map_update_checker", "map_session_check", "quality_gate_trigger", - "mcp_router_advisor", "cache_invalidator", "task_validator", - "execution_monitor", "integration_bridge" - ], - "target_users": ["developers", "power_users"] - }, - - "enterprise": { - "description": "Complete automation suite for enterprise use", - "hooks": [ - "map_update_checker", "map_session_check", "quality_gate_trigger", - "mcp_router_advisor", "cache_invalidator", "evidence_collector", - "hook_coordinator", "task_validator", "execution_monitor", - "state_synchronizer", "dependency_resolver", "integration_bridge" - ], - "target_users": ["teams", "enterprise", "production"] - } - }, - - "installation_targets": { - "performance_expectations": { - "quality_improvement": "15-30%", - "performance_gains": "20-40%", - "validation_success": "95%+", - "execution_time": "<100ms" - }, - - "claude_code_integration": { - "settings_file": "~/.claude/settings.json", - "hooks_directory": "~/.claude/SuperClaude/Hooks/", - "backup_enabled": true, - "validation_required": true - }, - - "installer_compatibility": { - "installer_core": true, - "installer_wizard": true, - "installer_profiles": true, - "installer_platform": true, - "cross_platform": true - } - } -} \ No newline at end of file diff --git a/SuperClaude/Config/requirements.json b/SuperClaude/Config/requirements.json deleted file mode 100644 index b6133fb..0000000 --- a/SuperClaude/Config/requirements.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "python": { - "min_version": "3.8.0" - }, - "node": { - "min_version": "16.0.0", - "required_for": ["mcp"] - }, - "disk_space_mb": 500, - "external_tools": { - "claude_cli": { - "command": "claude --version", - "min_version": "0.1.0", - "required_for": ["mcp"], - "optional": false - }, - "git": { - "command": "git --version", - "min_version": "2.0.0", - "required_for": ["development"], - "optional": true - } - }, - "installation_commands": { - "python": { - "linux": "sudo apt update && sudo apt install python3 python3-pip", - "darwin": "brew install python3", - "win32": "Download Python from https://python.org/downloads/", - "description": "Python 3.8+ is required for SuperClaude framework" - }, - "node": { - "linux": "sudo apt update && sudo apt install nodejs npm", - "darwin": "brew install node", - "win32": "Download Node.js from https://nodejs.org/", - "description": "Node.js 16+ is required for MCP server integration" - }, - "claude_cli": { - "all": "Visit https://claude.ai/code for installation instructions", - "description": "Claude CLI is required for MCP server management" - }, - "git": { - "linux": "sudo apt update && sudo apt install git", - "darwin": "brew install git", - "win32": "Download Git from https://git-scm.com/downloads", - "description": "Git is recommended for development workflows" - }, - "npm": { - "linux": "sudo apt update && sudo apt install npm", - "darwin": "npm is included with Node.js", - "win32": "npm is included with Node.js", - "description": "npm is required for installing MCP servers" - } - } -} \ No newline at end of file diff --git a/SuperClaude/Config/superclaude-config-template.json b/SuperClaude/Config/superclaude-config-template.json deleted file mode 100644 index 42b6cc2..0000000 --- a/SuperClaude/Config/superclaude-config-template.json +++ /dev/null @@ -1,161 +0,0 @@ -{ - "superclaude": { - "version": "3.1.0", - "hooks_system": { - "enabled": true, - "version": "1.0.0", - "performance_target_ms": 100, - "graceful_degradation": true, - "logging": { - "enabled": true, - "level": "INFO", - "file": "${CLAUDE_HOME}/superclaude-hooks.log" - } - }, - "framework_coordination": { - "enabled": true, - "auto_activation": { - "enabled": true, - "confidence_threshold": 0.7, - "mcp_server_suggestions": true - }, - "compliance_validation": { - "enabled": true, - "rules_checking": true, - "warnings_only": false - }, - "orchestrator_routing": { - "enabled": true, - "pattern_matching": true, - "resource_zone_awareness": true - } - }, - "session_lifecycle": { - "enabled": true, - "auto_load": { - "enabled": true, - "new_projects": true - }, - "checkpoint_automation": { - "enabled": true, - "time_based": { - "enabled": true, - "interval_minutes": 30 - }, - "task_based": { - "enabled": true, - "high_priority_tasks": true - }, - "risk_based": { - "enabled": true, - "major_operations": true - } - }, - "session_persistence": { - "enabled": true, - "cross_session_learning": true - } - }, - "quality_gates": { - "enabled": true, - "validation_triggers": { - "write_operations": true, - "edit_operations": true, - "major_changes": true - }, - "validation_steps": { - "syntax_validation": true, - "type_analysis": true, - "lint_rules": true, - "security_assessment": true, - "performance_analysis": true, - "documentation_check": true - }, - "quality_thresholds": { - "minimum_score": 0.8, - "warning_threshold": 0.7, - "auto_fix_threshold": 0.9 - } - }, - "performance_monitoring": { - "enabled": true, - "metrics": { - "execution_time": true, - "resource_usage": true, - "framework_compliance": true, - "mcp_server_efficiency": true - }, - "targets": { - "hook_execution_ms": 100, - "memory_operations_ms": 200, - "session_load_ms": 500, - "context_retention_percent": 90 - }, - "alerting": { - "enabled": true, - "threshold_violations": true, - "performance_degradation": true - } - }, - "mcp_coordination": { - "enabled": true, - "intelligent_routing": true, - "server_selection": { - "context7": { - "auto_activate": ["library", "framework", "documentation"], - "complexity_threshold": 0.3 - }, - "sequential": { - "auto_activate": ["analysis", "debugging", "complex"], - "complexity_threshold": 0.7 - }, - "magic": { - "auto_activate": ["ui", "component", "frontend"], - "complexity_threshold": 0.3 - }, - "serena": { - "auto_activate": ["files>10", "symbol_ops", "multi_lang"], - "complexity_threshold": 0.6 - }, - "morphllm": { - "auto_activate": ["pattern_edit", "token_opt", "simple_edit"], - "complexity_threshold": 0.4 - }, - "playwright": { - "auto_activate": ["testing", "browser", "e2e"], - "complexity_threshold": 0.6 - } - } - }, - "hook_configurations": { - "framework_coordinator": { - "name": "superclaude-framework-coordinator", - "description": "Central intelligence for SuperClaude framework coordination", - "priority": "critical", - "retry": 2, - "enabled": true - }, - "session_lifecycle": { - "name": "superclaude-session-lifecycle", - "description": "Automatic session management and checkpoints", - "priority": "high", - "retry": 1, - "enabled": true - }, - "quality_gates": { - "name": "superclaude-quality-gates", - "description": "Systematic quality validation enforcement", - "priority": "high", - "retry": 1, - "enabled": true - }, - "performance_monitor": { - "name": "superclaude-performance-monitor", - "description": "Real-time performance tracking", - "priority": "medium", - "retry": 1, - "enabled": true - } - } - } -} \ No newline at end of file