Default Dream Loop Orchestrator
Default DreamLoopOrchestrator: runs a list of ConsolidationPasses as a single cycle.
Each cycle fetches the ACTIVE snapshot once, runs every pass over it in registration order, then aggregates all the saves into a single PropositionRepository.saveAll. Hard deletes are off by default — they only happen when allowHardDelete is explicitly enabled.
The consolidate trigger is best-effort: it tracks the ACTIVE count after each cycle and fires when the delta since the last cycle reaches changeVolumeThreshold. Use consolidateNow to bypass the threshold and run unconditionally.
Parameters
Storage backend; the orchestrator is the sole writer per cycle.
Passes executed in registration order.
When false (default), delete-intents from passes are silently ignored. When true, each aggregated delete id is removed from the repository.
Minimum active-count delta since the last cycle for consolidate to fire.
Constructors
Functions
Run a consolidation cycle only if enough has changed since the last cycle.
Run a consolidation cycle unconditionally, regardless of how much has changed.
Satisfies the MemoryMaintenanceOrchestrator contract by running a full cycle, but the result is always empty in the legacy-shaped MaintenanceResult — the real output is a DreamLoopReport from consolidateNow. For the full consolidation/abstraction/retire pipeline, use DefaultMemoryMaintenanceOrchestrator instead.
Enable or disable irreversible hard deletes (default disabled — soft STALE only).
Set the active-count delta required for the threshold-gated consolidate to run.
Add a pass and return a new orchestrator with it appended. Registration order is execution order.