mirror of
https://github.com/SuperClaude-Org/SuperClaude_Framework.git
synced 2025-12-29 16:16:08 +00:00
refactor: Complete V4 Beta framework restructuring
Major reorganization of SuperClaude V4 Beta directories: - Moved SuperClaude-Lite content to Framework-Hooks/ - Renamed SuperClaude/ directories to Framework/ for clarity - Created separate Framework-Lite/ for lightweight variant - Consolidated hooks system under Framework-Hooks/ This restructuring aligns with the V4 Beta architecture: - Framework/: Full framework with all features - Framework-Lite/: Lightweight variant - Framework-Hooks/: Hooks system implementation Part of SuperClaude V4 Beta development roadmap. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
174
Framework-Hooks/patterns/learned/project_optimizations.yaml
Normal file
174
Framework-Hooks/patterns/learned/project_optimizations.yaml
Normal file
@@ -0,0 +1,174 @@
|
||||
# Learned Project Optimizations Pattern
|
||||
# Project-specific adaptations that improve over time
|
||||
|
||||
project_profile:
|
||||
id: "superclaude_framework"
|
||||
type: "python_framework"
|
||||
created: "2025-01-31"
|
||||
last_analyzed: "2025-01-31"
|
||||
optimization_cycles: 0
|
||||
|
||||
learned_optimizations:
|
||||
file_patterns:
|
||||
high_frequency_files:
|
||||
- "/SuperClaude/Commands/*.md"
|
||||
- "/SuperClaude/Core/*.md"
|
||||
- "/SuperClaude/Modes/*.md"
|
||||
frequency_weight: 0.9
|
||||
cache_priority: "high"
|
||||
|
||||
structural_patterns:
|
||||
- "markdown documentation with YAML frontmatter"
|
||||
- "python scripts with comprehensive docstrings"
|
||||
- "modular architecture with clear separation"
|
||||
optimization: "maintain full context for these patterns"
|
||||
|
||||
workflow_optimizations:
|
||||
effective_sequences:
|
||||
- sequence: ["Read", "Edit", "Validate"]
|
||||
success_rate: 0.95
|
||||
context: "documentation updates"
|
||||
|
||||
- sequence: ["Glob", "Read", "MultiEdit"]
|
||||
success_rate: 0.88
|
||||
context: "multi-file refactoring"
|
||||
|
||||
- sequence: ["Serena analyze", "Morphllm execute"]
|
||||
success_rate: 0.92
|
||||
context: "large codebase changes"
|
||||
|
||||
mcp_server_effectiveness:
|
||||
serena:
|
||||
effectiveness: 0.9
|
||||
optimal_contexts:
|
||||
- "framework documentation analysis"
|
||||
- "cross-file relationship mapping"
|
||||
- "memory-driven development"
|
||||
performance_notes: "excellent for project context"
|
||||
|
||||
sequential:
|
||||
effectiveness: 0.85
|
||||
optimal_contexts:
|
||||
- "complex architectural decisions"
|
||||
- "multi-step problem solving"
|
||||
- "systematic analysis"
|
||||
performance_notes: "valuable for thinking-intensive tasks"
|
||||
|
||||
morphllm:
|
||||
effectiveness: 0.8
|
||||
optimal_contexts:
|
||||
- "pattern-based editing"
|
||||
- "documentation updates"
|
||||
- "style consistency"
|
||||
performance_notes: "efficient for text transformations"
|
||||
|
||||
compression_learnings:
|
||||
effective_strategies:
|
||||
framework_content:
|
||||
strategy: "complete_preservation"
|
||||
reason: "high information density, frequent reference"
|
||||
effectiveness: 0.95
|
||||
|
||||
session_metadata:
|
||||
strategy: "aggressive_compression"
|
||||
ratio: 0.7
|
||||
effectiveness: 0.88
|
||||
quality_preservation: 0.96
|
||||
|
||||
symbol_system_adoption:
|
||||
technical_symbols: 0.9 # High adoption rate
|
||||
status_symbols: 0.85 # Good adoption rate
|
||||
flow_symbols: 0.8 # Good adoption rate
|
||||
effectiveness: "significantly improved readability"
|
||||
|
||||
quality_gate_refinements:
|
||||
validation_priorities:
|
||||
- "markdown syntax validation"
|
||||
- "YAML frontmatter validation"
|
||||
- "cross-reference consistency"
|
||||
- "documentation completeness"
|
||||
|
||||
custom_rules:
|
||||
- rule: "SuperClaude framework paths preserved"
|
||||
enforcement: "strict"
|
||||
violation_action: "immediate_alert"
|
||||
|
||||
- rule: "session lifecycle compliance"
|
||||
enforcement: "standard"
|
||||
violation_action: "warning_with_suggestion"
|
||||
|
||||
performance_insights:
|
||||
bottleneck_identification:
|
||||
- area: "large markdown file processing"
|
||||
impact: "medium"
|
||||
optimization: "selective reading with targeted edits"
|
||||
|
||||
- area: "cross-file reference validation"
|
||||
impact: "low"
|
||||
optimization: "cached reference mapping"
|
||||
|
||||
acceleration_opportunities:
|
||||
- opportunity: "pattern-based file detection"
|
||||
potential_improvement: "40% faster file processing"
|
||||
implementation: "regex pre-filtering"
|
||||
|
||||
- opportunity: "intelligent caching"
|
||||
potential_improvement: "60% faster repeated operations"
|
||||
implementation: "content-aware cache keys"
|
||||
|
||||
error_pattern_learning:
|
||||
common_issues:
|
||||
- issue: "path traversal in framework files"
|
||||
frequency: 0.15
|
||||
resolution: "automatic path validation"
|
||||
prevention: "framework exclusion patterns"
|
||||
|
||||
- issue: "markdown syntax in code blocks"
|
||||
frequency: 0.08
|
||||
resolution: "improved syntax detection"
|
||||
prevention: "context-aware parsing"
|
||||
|
||||
recovery_strategies:
|
||||
- strategy: "graceful fallback to standard tools"
|
||||
effectiveness: 0.9
|
||||
context: "MCP server unavailability"
|
||||
|
||||
- strategy: "partial result delivery"
|
||||
effectiveness: 0.85
|
||||
context: "timeout scenarios"
|
||||
|
||||
adaptive_rules:
|
||||
mode_activation_refinements:
|
||||
task_management:
|
||||
threshold: 0.85 # Raised due to project complexity
|
||||
reason: "framework development benefits from structured approach"
|
||||
|
||||
token_efficiency:
|
||||
threshold: 0.7 # Standard due to balanced content types
|
||||
reason: "mixed documentation and code content"
|
||||
|
||||
mcp_coordination_rules:
|
||||
- rule: "always activate serena for framework operations"
|
||||
confidence: 0.95
|
||||
effectiveness: 0.92
|
||||
|
||||
- rule: "use morphllm for documentation pattern updates"
|
||||
confidence: 0.88
|
||||
effectiveness: 0.87
|
||||
|
||||
continuous_improvement:
|
||||
learning_velocity: "high" # Framework actively evolving
|
||||
pattern_stability: "medium" # Architecture still developing
|
||||
optimization_frequency: "per_session"
|
||||
|
||||
success_metrics:
|
||||
operation_speed: "+25% improvement target"
|
||||
quality_preservation: "98% minimum"
|
||||
user_satisfaction: "90% target"
|
||||
|
||||
next_optimization_cycle:
|
||||
focus_areas:
|
||||
- "cross-file relationship mapping"
|
||||
- "intelligent pattern detection"
|
||||
- "performance monitoring integration"
|
||||
target_date: "next_major_session"
|
||||
119
Framework-Hooks/patterns/learned/user_preferences.yaml
Normal file
119
Framework-Hooks/patterns/learned/user_preferences.yaml
Normal file
@@ -0,0 +1,119 @@
|
||||
# Learned User Preferences Pattern
|
||||
# Adaptive patterns that evolve based on user behavior
|
||||
|
||||
user_profile:
|
||||
id: "example_user"
|
||||
created: "2025-01-31"
|
||||
last_updated: "2025-01-31"
|
||||
sessions_analyzed: 0
|
||||
|
||||
learned_preferences:
|
||||
communication_style:
|
||||
verbosity_preference: "balanced" # minimal, balanced, detailed
|
||||
technical_depth: "high" # low, medium, high
|
||||
symbol_usage_comfort: "high" # low, medium, high
|
||||
abbreviation_tolerance: "medium" # low, medium, high
|
||||
|
||||
workflow_patterns:
|
||||
preferred_thinking_mode: "--think-hard"
|
||||
mcp_server_preferences:
|
||||
- "serena" # Most frequently beneficial
|
||||
- "sequential" # High success rate
|
||||
- "context7" # Frequently requested
|
||||
mode_activation_frequency:
|
||||
task_management: 0.8 # High usage
|
||||
token_efficiency: 0.6 # Medium usage
|
||||
brainstorming: 0.3 # Low usage
|
||||
introspection: 0.4 # Medium usage
|
||||
|
||||
project_type_expertise:
|
||||
python: 0.9 # High proficiency
|
||||
react: 0.7 # Good proficiency
|
||||
javascript: 0.8 # High proficiency
|
||||
documentation: 0.6 # Medium proficiency
|
||||
|
||||
performance_preferences:
|
||||
speed_vs_quality: "quality_focused" # speed_focused, balanced, quality_focused
|
||||
compression_tolerance: 0.7 # How much compression user accepts
|
||||
context_size_preference: "medium" # small, medium, large
|
||||
|
||||
learning_insights:
|
||||
effective_patterns:
|
||||
- pattern: "serena + morphllm hybrid"
|
||||
success_rate: 0.92
|
||||
context: "large refactoring tasks"
|
||||
|
||||
- pattern: "sequential + context7"
|
||||
success_rate: 0.88
|
||||
context: "complex debugging"
|
||||
|
||||
- pattern: "magic + context7"
|
||||
success_rate: 0.85
|
||||
context: "UI component creation"
|
||||
|
||||
ineffective_patterns:
|
||||
- pattern: "playwright without setup"
|
||||
success_rate: 0.3
|
||||
context: "testing without proper configuration"
|
||||
improvement: "always check test environment first"
|
||||
|
||||
optimization_opportunities:
|
||||
- area: "context compression"
|
||||
current_efficiency: 0.6
|
||||
target_efficiency: 0.8
|
||||
strategy: "increase abbreviation usage"
|
||||
|
||||
- area: "mcp coordination"
|
||||
current_efficiency: 0.7
|
||||
target_efficiency: 0.85
|
||||
strategy: "better server selection logic"
|
||||
|
||||
adaptive_thresholds:
|
||||
mode_activation:
|
||||
brainstorming: 0.6 # Lowered from 0.7 due to user preference
|
||||
task_management: 0.9 # Raised from 0.8 due to frequent use
|
||||
token_efficiency: 0.65 # Adjusted based on tolerance
|
||||
introspection: 0.5 # Lowered due to user comfort with meta-analysis
|
||||
|
||||
mcp_server_confidence:
|
||||
serena: 0.65 # Lowered due to high success rate
|
||||
sequential: 0.75 # Standard
|
||||
context7: 0.7 # Slightly lowered due to frequent success
|
||||
magic: 0.85 # Standard
|
||||
morphllm: 0.7 # Lowered due to hybrid usage success
|
||||
playwright: 0.9 # Raised due to setup issues
|
||||
|
||||
personalization_rules:
|
||||
communication:
|
||||
- "Use technical terminology freely"
|
||||
- "Provide implementation details"
|
||||
- "Include performance considerations"
|
||||
- "Balance symbol usage with clarity"
|
||||
|
||||
workflow:
|
||||
- "Prefer serena for analysis tasks"
|
||||
- "Use sequential for complex problems"
|
||||
- "Always validate with quality gates"
|
||||
- "Optimize for long-term maintainability"
|
||||
|
||||
error_handling:
|
||||
- "Provide detailed error context"
|
||||
- "Suggest multiple solutions"
|
||||
- "Include learning opportunities"
|
||||
- "Track error patterns for prevention"
|
||||
|
||||
continuous_learning:
|
||||
feedback_integration:
|
||||
explicit_feedback: true
|
||||
implicit_feedback: true # Based on user actions
|
||||
outcome_tracking: true
|
||||
|
||||
pattern_evolution:
|
||||
refinement_frequency: "weekly"
|
||||
adaptation_rate: 0.1
|
||||
stability_threshold: 0.95
|
||||
|
||||
quality_metrics:
|
||||
user_satisfaction_score: 0.0 # To be measured
|
||||
task_completion_rate: 0.0 # To be measured
|
||||
efficiency_improvement: 0.0 # To be measured
|
||||
Reference in New Issue
Block a user