Skip to content

feat: schema detection during sleep cycles — crystallize repeated patterns #75

@salishforge

Description

@salishforge

Path 1: Active Knowledge Management

Detect repeated event patterns (A→B→C occurs 5+ times) during sleep cycle reflection and crystallize them as schemas. New events matching existing schemas are stored more efficiently (only the deviation). Based on Complementary Learning Systems theory (McClelland et al., 1995) — schema acceleration.

Design

  • Phase 5 reflection: identify recurring temporal sequences across memories
  • Store schemas as a new type in the knowledge graph (entity_type='schema')
  • New memories matching a schema reference it rather than storing full context
  • Reduces storage while preserving fidelity for anomalies

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfeatureNew functionality

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions