Skip to main content

Module dream

Module dream 

Source
Expand description

Dream process — 4-phase background memory consolidation.

Phase 1: Orient — scan current state, build map Phase 2: Gather Signal — find patterns, auto-protect, auto-classify Phase 3: Consolidate — compress, dedupe, resolve conflicts Phase 4: Prune & Index — update ROOT, remove stale entries

Supports checkpointing for crash recovery.

Structs§

ConsolidationPlan
Consolidation plan from Phase 3.
DecayCandidate
A decay/deletion candidate.
DreamCheckpoint
Dream execution state (checkpoint for crash recovery).
DreamConfig
Configuration extracted for Dream use.
DreamProcess
The Dream process — 4-phase background memory consolidation.
DreamReport
Report from a dream (consolidation) run.
DreamState
State snapshot from Phase 1 (Orient).
MergePlan
A merge plan for duplicate entries.
PageRankUpdate
A PageRank-based importance update.
ProtectionChange
A protection level change.
ReclassifyPlan
A type reclassification plan.
TierChange
A tier change suggestion.
TypePromotion
A type promotion suggestion.

Enums§

MemorySignal
A signal detected during Dream Phase 2.