# Changelog

All notable changes to `klieo-memory-pgvector` are documented here.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## [Unreleased]

### Added

- Initial `PgvectorLongTerm` implementing `klieo_core::memory::LongTermMemory`
  and `klieo_memory_graph::FilterableLongTermMemory` over PostgreSQL + pgvector.
  - One `<prefix>_v1` table: `vector(dim)` column (HNSW, cosine) +
    `scope_kind` / `scope_value` filter columns + `jsonb` metadata.
  - Table provisioned lazily on first `remember`; reads that race ahead map the
    `undefined_table` (42P01) error to an empty result.
  - `MemoryPgvector::connect` / `::new` factory; `PgvectorConfig` with table
    prefix (validated SQL identifier), embedder id, and pool size.
  - Embeddings are model-agnostic via the shared `Embedder` trait.
