NomenAK da0a356eec feat: Implement YAML-first declarative intelligence architecture
Revolutionary transformation from hardcoded Python intelligence to hot-reloadable
YAML patterns, enabling dynamic configuration without code changes.

## Phase 1: Foundation Intelligence Complete

### YAML Intelligence Patterns (6 files)
- intelligence_patterns.yaml: Multi-dimensional pattern recognition with adaptive learning
- mcp_orchestration.yaml: Server selection decision trees with load balancing
- hook_coordination.yaml: Parallel execution patterns with dependency resolution
- performance_intelligence.yaml: Resource zones and auto-optimization triggers
- validation_intelligence.yaml: Health scoring and proactive diagnostic patterns
- user_experience.yaml: Project detection and smart UX adaptations

### Python Infrastructure Enhanced (4 components)
- intelligence_engine.py: Generic YAML pattern interpreter with hot-reload
- learning_engine.py: Enhanced with YAML intelligence integration
- yaml_loader.py: Added intelligence configuration helper methods
- validate_system.py: New YAML-driven validation with health scoring

### Key Features Implemented
- Hot-reload intelligence: Update patterns without code changes or restarts
- Declarative configuration: All intelligence logic expressed in YAML
- Graceful fallbacks: System works correctly even with missing YAML files
- Multi-pattern coordination: Intelligent recommendations from multiple sources
- Health scoring: Component-weighted validation with predictive diagnostics
- Generic architecture: Single engine consumes all intelligence pattern types

### Testing Results
 All components integrate correctly
 Hot-reload mechanism functional
 Graceful error handling verified
 YAML-driven validation operational
 Health scoring system working (detected real system issues)

This enables users to modify intelligence behavior by editing YAML files,
add new pattern types without coding, and hot-reload improvements in real-time.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-06 13:26:04 +02:00

70 lines
1.6 KiB
YAML

# SuperClaude-Lite Logging Configuration
# Simple logging configuration for hook execution monitoring
# Core Logging Settings
logging:
enabled: false
level: "ERROR" # ERROR, WARNING, INFO, DEBUG
# File Settings
file_settings:
log_directory: "cache/logs"
retention_days: 30
rotation_strategy: "daily"
# Hook Logging Settings
hook_logging:
log_lifecycle: false # Log hook start/end events
log_decisions: false # Log decision points
log_errors: false # Log error events
log_timing: false # Include timing information
# Performance Settings
performance:
max_overhead_ms: 1 # Maximum acceptable logging overhead
async_logging: false # Keep simple for now
# Privacy Settings
privacy:
sanitize_user_content: true
exclude_sensitive_data: true
anonymize_session_ids: false # Keep for correlation
# Hook-Specific Configuration
hook_configuration:
pre_tool_use:
enabled: true
log_tool_selection: true
log_input_validation: true
post_tool_use:
enabled: true
log_output_processing: true
log_integration_success: true
session_start:
enabled: true
log_initialization: true
log_configuration_loading: true
pre_compact:
enabled: true
log_compression_decisions: true
notification:
enabled: true
log_notification_handling: true
stop:
enabled: true
log_cleanup_operations: true
subagent_stop:
enabled: true
log_subagent_cleanup: true
# Development Settings
development:
verbose_errors: false
include_stack_traces: false # Keep logs clean
debug_mode: false