Skip to content

Implement initial PostgreSQL-backed Memory REST service - #5

Merged
sfloess merged 16 commits into
mainfrom
memory-rest-postgres-service
Oct 23, 2026
Merged

sfloess merged 16 commits into
mainfrom
memory-rest-postgres-service

Conversation

@sfloess

@sfloess sfloess commented Oct 23, 2026

Copy link
Copy Markdown
Member

Summary

  • Add an initial PostgreSQL-backed REST service with health/readiness endpoints.
  • Expose direct record retrieval and paginated enumeration/export independently of lexical search.
  • Preserve stored content, metadata, provenance, scope, revision, and timestamps.
  • Add project-bound bearer-token configuration, global-scope administrative writes, idempotency keys, structured errors, and project isolation.
  • Add PostgreSQL-backed REST contract tests and setup documentation.

Deliberate scope

  • No messaging or event publication.
  • No model calls, generated summaries, chunks, or vectors. This service exposes only representations actually persisted.
  • Export is paginated but does not yet provide a cross-page immutable snapshot.

Validation

The integration tests require a disposable PostgreSQL database configured through MEMORY_TEST_DATABASE_URL. They have been added but have not been run in this environment. Please run the documented tests and review the transaction/idempotency behavior before merging.

@sfloess
sfloess merged commit abea7f2 into main Oct 23, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant