๐ช Hooks System
/docs/core-features/hooks-system
| Component | Description | Performance |
|---|---|---|
| ReasoningBank | Pattern storage with HNSW indexing | 150x faster retrieval |
| GuidanceProvider | Context-aware development guidance | Real-time suggestions |
| PatternLearning | Automatic strategy extraction | Continuous improvement |
| QualityTracking | Success/failure rate per pattern | Performance metrics |
| DomainDetection | Auto-categorization of patterns | Security, testing, etc. |
| AgentRouting | Task-to-agent optimization | Historical performance |
| Consolidation | Prune low-quality, promote high-quality | Memory optimization |
| Phase | Hooks | Purpose |
|---|---|---|
| Pre-Edit | pre-edit | Context gathering, security checks |
| Post-Edit | post-edit | Outcome recording, pattern learning |
| Pre-Command | pre-command | Risk assessment, validation |
| Post-Command | post-command | Success/failure tracking |
| Pre-Task | pre-task | Setup, resource allocation |
| Post-Task | post-task | Cleanup, learning |
| Session | session-end, session-restore | State management |