# Consolidator

**Kind:** Class

**Source:** [`atloria-monorepo/libs/agent-core/src/memory/consolidator.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/libs/agent-core/src/memory/consolidator.ts#L33)

## Methods

| Method | Signature | Returns |
|---|---|---|
| `consolidate` | `consolidate(store: MemoryStore, projectId: string)` | `ConsolidationReport` |

## Where it refuses work

- `Consolidator` stops the work with an early return when `confDiff !== 0`.
- `Consolidator` stops the work with an early return when `a.accessCount !== b.accessCount`.
- `Consolidator` stops the work with an early return when `absorbedConf > keeperConf`.
