Files
PaperClipAI/server/src/__tests__
Dotta d6b4491a24 Merge commit 'cfa4e96ad44514d6f39ba785457c5b85ccf9fe89' into codex/sleep-09-final-reviewed-assembly
* commit 'cfa4e96ad44514d6f39ba785457c5b85ccf9fe89':
  fix(retention): wake blocker retention after no-run workspace export
  Bound blocker workspace history reads by candidate workspace
  Validate eligibility before first attention retention materialization
  fix(retention): exclude finalized blockers before graph bounds
  test: hold lifecycle verification before retry identity assertions
  Exercise saved legacy input through its eligibility producer
  Park unchanged shutdown cleanup refusals without self-waking
  fix: cancel merge confirmation acceptance under lock
  Bound repeated external-object eligibility reconstruction
2026-10-31 02:03:32 -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.