Files
PaperClipAI/server/src/__tests__
DottaandPaperclip 256cc756d2 Merge qualified retention first-materialization guard
Co-Authored-By: Paperclip <noreply@paperclip.ing>

* commit 'b448320a5e5683956e83d5400cfc3a9c933fcc18':
  Validate eligibility before first attention retention materialization
2026-10-31 01:57:19 -05:00
..
…

Server Tests

Server tests that need a real PostgreSQL process must use ./helpers/embedded-postgres.ts instead of constructing embedded-postgres directly.

The shared helper creates a throwaway data directory and a reserved-safe loopback port for each test database. This protects the live Paperclip control-plane Postgres from server vitest runs; see PAP-2033 for the incident that introduced this guard.