Skip to content

v0.22.0

Choose a tag to compare

@coredipper coredipper released this 23 Mar 15:20
· 250 commits to main since this release
966c8e9

Cognitive Modes + Sleep Consolidation

Phase 5: the cognitive architecture layer.

CognitiveMode

  • OBSERVATIONAL (System A) / ACTION_ORIENTED (System B) enum on SkillStage
  • resolve_cognitive_mode() infers from mode when not explicitly set
  • Watcher detects mode mismatches, mode_balance() reports A/B distribution

SleepConsolidation

  • 5-step post-batch cycle: prune → replay → compress → counterfactual → promote
  • Replays successful PatternRunRecords into EpisodicMemory with tier promotion
  • Compresses recurring high-success patterns into consolidated PatternTemplates
  • counterfactual_replay() diffs bi-temporal corrections to detect outcome-changing facts
  • Promotes frequently-accessed ACETYLATION histone marks to permanent METHYLATION

Also included

  • 18 new tests (1071 total)
  • Examples 76 (cognitive modes) and 77 (sleep consolidation)
  • Consolidation Space
  • Article: cognitive modes (§6), consolidation implementation (§8)