Summary
Background agent that analyzes sessions to detect patterns and creates "instincts" — learned behaviors with confidence scores that compound over time. Builds on #99 (Persistent Project Knowledge).
Key Capabilities
- Stop hook captures observations (tool events, corrections, error resolutions)
- Background agent detects patterns: user corrections, repeated workflows, tool preferences
- Creates instincts with confidence 0.0–1.0, domain classification, scope (project vs global)
/learn — extract pattern from current session
/learn-eval — same but with quality gate (specificity, actionability, scope fit — all ≥ 3/5)
/instinct-status — view instincts grouped by domain with confidence
/evolve — cluster related instincts into higher-order structures
/promote — move project instinct to global when cross-project pattern detected
- Temporal decay, import/export for team sharing
Context
Our PROJECT-PATTERNS.md is a crude version of this. The instinct system adds: confidence scoring, temporal decay, quality gates on learning, cross-project promotion, and structured import/export for team sharing.
Identified as the single biggest differentiator in competitive analysis (#107).
Effort
Large
Dependencies
Summary
Background agent that analyzes sessions to detect patterns and creates "instincts" — learned behaviors with confidence scores that compound over time. Builds on #99 (Persistent Project Knowledge).
Key Capabilities
/learn— extract pattern from current session/learn-eval— same but with quality gate (specificity, actionability, scope fit — all ≥ 3/5)/instinct-status— view instincts grouped by domain with confidence/evolve— cluster related instincts into higher-order structures/promote— move project instinct to global when cross-project pattern detectedContext
Our
PROJECT-PATTERNS.mdis a crude version of this. The instinct system adds: confidence scoring, temporal decay, quality gates on learning, cross-project promotion, and structured import/export for team sharing.Identified as the single biggest differentiator in competitive analysis (#107).
Effort
Large
Dependencies