| name | continuous-learning-v2 |
| description | Instinct-based learning system that observes sessions, creates atomic instincts with confidence scoring, and evolves them into skills/commands. |
Continuous Learning v2
An advanced learning system based on atomic "instincts" with confidence scoring that evolve into skills and commands over time.
Philosophy
v2 improves on the original continuous learning with:
- Atomic instincts instead of full skills
- Confidence scoring (0.3-0.9 weighted)
- Observation hooks for reliable pattern detection
- Evolution path from instincts to skills/commands
Key Concepts
Instincts
Small, atomic learned behaviors with confidence scores:
{
"id": "inst_abc123",
"trigger": "typescript type error with 'any'",
"behavior": "Suggest explicit typing instead of 'any' type",
"confidence": 0.7,
"domain": "code-style",
"occurrences": 15,
"last_used": "2025-01-15"
}
Confidence Scoring
- 0.3-0.4: New instinct, few observations
- 0.5-0.6: Moderate confidence, useful pattern
- 0.7-0.8: High confidence, consistently helpful
- 0.9: Ready for promotion to skill/command
Confidence increases with:
- Successful application
- User positive feedback
- Repeated occurrence
Confidence decreases with:
- User corrections
- Contradicting observations
- Disuse over time (decay)
Domain Tags
Instincts are tagged by domain:
code-style - Formatting, naming, structure
testing - Test patterns, coverage
git - Version control workflows
debugging - Error resolution
performance - Optimization patterns
security - Security practices
Evolution Path
Observation → Instinct → Cluster → Skill/Command
1. Observe: Hook captures pattern
2. Create: New instinct with low confidence
3. Reinforce: Confidence increases with use
4. Cluster: Related instincts group together
5. Promote: High-confidence clusters become skills/commands
Workflow
Creating Instincts
When a useful pattern is observed:
- Check if similar instinct exists
- If yes: increase confidence and update
- If no: create new instinct with 0.4 confidence
Using Instincts
When working on a task:
- Match active instincts to current context
- Apply high-confidence instincts (>0.6)
- Track success/failure of application
Promoting to Skills
When instinct cluster reaches threshold:
- Group related instincts
- Generate skill definition
- Request user approval
- Save as skill file
Best Practices
- Start conservative - Low initial confidence prevents false positives
- Let confidence build - Don't force promotion
- Review periodically - Prune low-confidence instincts
- Domain separation - Keep instincts focused
- Export/share - High-confidence instincts benefit teams