# proof: suggest-and-report date: 2026-11-07T23:37:10Z commit: c250d64cb564f1d1d4758ed8700613c87c037cda command: npm run test:forum-pg -- --verbose database: throwaway postgres:17-alpine (PG_VERSION=17.11), podman version 5.7.0, bound to 127.0.0.1, removed on exit; no Neon, no shared database node: v26.13.0 limit: OPENROUTER_API_KEY is removed for this run, so the AI pre-check path that calls OpenRouter is not exercised; only the 'not checked' path is. Transport is a local WebSocket proxy, not Neon HTTP 127.0.0.1:5432 - accepting connections PASS __tests__/forum-postgres.integration.test.ts forum on a real Postgres ✓ db/schema.sql applies, and applying it again changes nothing (65 ms) ✓ stores one vote per browser under a hash, and a second vote replaces the first (17 ms) ✓ the database itself refuses a vote other than agree, disagree or pass (3 ms) ✓ 'Clear my votes' deletes this browser's votes and no one else's (29 ms) ✓ votes flow through the results route into 'where groups agree' (396 ms) ✓ a suggestion can be voted on only once approved, and rejecting it removes its votes (34 ms) ✓ the database refuses a suggestion over 140 characters (2 ms) ✓ the submit route saves a suggestion as pending and, with no AI key, unchecked; contact details and other sites are turned back unsaved (18 ms) ✓ the report route stores only the statement, reason and language, and refuses reports on suggestions not yet approved (35 ms) Test Suites: 1 passed, 1 total Tests: 9 passed, 9 total Snapshots: 0 total Time: 0.908 s, estimated 1 s Ran all test suites matching /__tests__\/forum-postgres.integration.test.ts/i. exit: 0