Consolidation

Every 6 hours, your brain sleeps. And gets smarter.

NREM sleep

During NREM-style consolidation, the brain strengthens important memories. It replays recent patterns, reinforces strong connections, promotes high-importance nodes. What you used frequently becomes permanent. What you didn't fades.

REM sleep

REM-style consolidation is where creativity happens. The brain explores unlikely connections between unrelated knowledge — "dream edges." Maybe your authentication pattern connects to that caching strategy. Maybe your CSS naming convention relates to your API design. These unexpected links often surface the most useful insights.

Schema Formation

After enough sessions, individual facts merge into schemas — high-level patterns. Instead of 50 separate nodes about your TypeScript preferences, the brain distills them into one rich schema: "how you write TypeScript." Retrieval becomes instant.

Reconsolidation

When you recall a memory, it becomes briefly malleable. This is how the brain updates old knowledge without losing the original context. You changed your mind about a library? The brain doesn't just add a contradiction — it reconsolidates, updating the existing memory.

Manual trigger

bash
$ brainbase consolidate

Normally runs automatically every 6 hours via the watcher. You can trigger it manually anytime.

Like waking up with clarity

You've had those moments where you wake up and suddenly understand something you struggled with yesterday. That's consolidation. Your BrainBase does the same — problems that seemed disconnected become clear after a sleep cycle.