Files
PaperClipAI/server/src/__tests__
DottaandPaperclip 97217c5313 Integrate reviewed rich ACP instruction and startup fixes
Co-Authored-By: Paperclip <noreply@paperclip.ing>

* codex/runner-pi-acp:
  Bind Cursor instructions to native rules and gate every ACP connection
  fix(copilot): refresh instructions under provider lifetime ownership
  fix(copilot): deliver native instructions with v4 session identity
  docs(runner): retain Pi native prompt delivery proof
  fix(runner): refresh trusted system instructions before ACPX restore
  fix(runner): refresh runtime context when restoring ACPX sessions
  test(copilot): record native system instruction delivery evidence
  fix(runner): refresh trusted system instructions before ACPX restore
  perf(runner): hash Pi runtime inventory with bounded workers
  perf(runner): bound native snapshot copy concurrency at 32
  perf(runner): bound native snapshot copy concurrency at 32
  test(copilot): preserve final question failure and offline recovery proof
  fix(runner): refresh runtime context when restoring ACPX sessions
  feat: return completed handoffs to Agent Chat (#14408)
  fix(adapters): preserve ACP terminal failure diagnostics (#14573)
  fix(runner): honor Codex effort selected in composer (#14568)
  fix: grade Codex clarification and refusal outcomes from evidence (#14570)
  fix(inbox): keep other users’ failed runs out of Mine (#14572)
2026-09-29 11:33:49 -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.