Files
PaperClipAI/server/src/__tests__
DottaandPaperclip 99c0eaba01 feat(security): enforce scoped board API keys
Add the revision-4 scope contract, safe migration, fresh owner authority checks, default-deny route inventory, audit controls, and focused regression coverage.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-08-19 19:43:55 +00: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.