Skip to content

feat: Continuous Learning / Instinct System #115

@dean0x

Description

@dean0x

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpost-v1.0.0Deferred to post-v1.0.0 release

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions