Package at.aimon.memory.postgres
package at.aimon.memory.postgres
PostgreSQL-backed implementations of the memory-layer storage interfaces
defined in
at.aimon.core.memory. Maps mem_workspace,
mem_observation, mem_representation, mem_active_work_unit,
and mem_outbox (KnowledgeStore embedding-sync outbox per design §5.2).
Vector data lives in the at.aimon.core.knowledge.KnowledgeStore
backend — this module only persists metadata + the outbox queue.
Schema is operator-applied via Flyway from
src/main/resources/db/postgres/V1__init.sql; production code never
executes DDL.
-
ClassesClassDescriptionOutcome of one
KnowledgeStoreOutboxRelay.drainOnce()pass.Polling worker that drainsmem_outboxand dispatches each claimed row to aKnowledgeStore— the read side of the outbox pattern from design doc §5.2.Postgres-coordinatedDerivationQueueManager.Postgres-backedObservationStoreimplementing the metadata side of the C3 split (design doc §5.2).Postgres-backedRepresentationStoreper design §5.3 / §5.5.Postgres-backedWorkspaceStoreper design §5.1 / §5.5.Immutable configuration forKnowledgeStoreOutboxRelay.Builder forRelayOptions.