# proof: common-ground date: 2026-11-08T03:06:47Z commit: 3b0db4086c3ca464f939d4e0757d08b3ed775274 command: npm run test:forum-pg -- --verbose && npm run build && npm run proof:common-ground target: (1) a throwaway postgres:17-alpine on 127.0.0.1 (podman), real vote and results routes; (2) local production build (next start -H localhost) of this commit, Google Chrome; not the live site claim: README 'Common ground first' (a statement counts as broad agreement only when every language group supports it); Forum.consensus.lead in 8 locales (2+ groups, 20+ votes each, every one at 60%+, passes not counted) limit: in part 2 the browser is served the rows part 1 asserted the real results route returns (stubbed /api/forum/results, no database). The part 1 case is 'the common-ground rule holds at its edges'; the other tests in the file run because they create the schema. Live vote counts are not judged. Planted-fault run in proof/common-ground-mutation.log ## Part 1: real Postgres 17 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 (63 ms) ✓ stores one vote per browser under a hash, and a second vote replaces the first (18 ms) ✓ the voter cookie a real vote sets matches the privacy page: scripts can't read it, forum addresses only, 180 days (11 ms) ✓ the database itself refuses a vote other than agree, disagree or pass (2 ms) ✓ 'Clear my votes' deletes this browser's votes and no one else's (33 ms) ✓ votes flow through the results route into 'where groups agree' (403 ms) ✓ the common-ground rule holds at its edges (scripts/common-ground-cases.json) (1661 ms) ✓ a suggestion can be voted on only once approved, and rejecting it removes its votes (36 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 (21 ms) ✓ the report route stores only the statement, reason and language, and refuses reports on suggestions not yet approved (29 ms) Test Suites: 1 passed, 1 total Tests: 11 passed, 11 total Snapshots: 0 total Time: 2.554 s Ran all test suites matching /__tests__\/forum-postgres.integration.test.ts/i. exit: 0 ## Part 2: Chrome, 8 languages server: next start on http://localhost:3251 (local production build), DATABASE_URL at db.invalid browser: Chrome/157.0.8103.38; node: v26.13.0 rules (lib/forum/consensus.ts): {"threshold":60,"minVotes":20,"minGroups":2} served rows: 16 (scripts/common-ground-cases.json); expected listed: t1-disclose, t2-reasons, t3-optin, t3-clear; expected hidden: t1-credentials, t2-person, t4-together /en/forum results fetched once ok | rule sentence = RULES ok | progress 404 votes, 7 languages ok | 4/4 statements listed ok | t1-disclose at 60% ok | t1-disclose groups en 60%/20 fr 60%/20 ok | t2-reasons at 100% ok | t2-reasons groups en 100%/20 de 100%/20 ok | t3-optin at 60% ok | t3-optin groups en 60%/20 pt-BR 60%/20 ok | t3-clear at 68% ok | t3-clear groups en 68%/60 hi 68%/29 ok | 3 hidden ok | 37 requests, none off-site or non-GET ok /es/forum results fetched once ok | rule sentence = RULES ok | progress 404 votes, 7 languages ok | 4/4 statements listed ok | t1-disclose at 60% ok | t1-disclose groups en 60%/20 fr 60%/20 ok | t2-reasons at 100% ok | t2-reasons groups en 100%/20 de 100%/20 ok | t3-optin at 60% ok | t3-optin groups en 60%/20 pt-BR 60%/20 ok | t3-clear at 68% ok | t3-clear groups en 68%/60 hi 68%/29 ok | 3 hidden ok | 16 requests, none off-site or non-GET ok /pt/forum results fetched once ok | rule sentence = RULES ok | progress 404 votes, 7 languages ok | 4/4 statements listed ok | t1-disclose at 60% ok | t1-disclose groups en 60%/20 fr 60%/20 ok | t2-reasons at 100% ok | t2-reasons groups en 100%/20 de 100%/20 ok | t3-optin at 60% ok | t3-optin groups en 60%/20 pt-BR 60%/20 ok | t3-clear at 68% ok | t3-clear groups en 68%/60 hi 68%/29 ok | 3 hidden ok | 16 requests, none off-site or non-GET ok /pt-BR/forum results fetched once ok | rule sentence = RULES ok | progress 404 votes, 7 languages ok | 4/4 statements listed ok | t1-disclose at 60% ok | t1-disclose groups en 60%/20 fr 60%/20 ok | t2-reasons at 100% ok | t2-reasons groups en 100%/20 de 100%/20 ok | t3-optin at 60% ok | t3-optin groups en 60%/20 pt-BR 60%/20 ok | t3-clear at 68% ok | t3-clear groups en 68%/60 hi 68%/29 ok | 3 hidden ok | 16 requests, none off-site or non-GET ok /it/forum results fetched once ok | rule sentence = RULES ok | progress 404 votes, 7 languages ok | 4/4 statements listed ok | t1-disclose at 60% ok | t1-disclose groups en 60%/20 fr 60%/20 ok | t2-reasons at 100% ok | t2-reasons groups en 100%/20 de 100%/20 ok | t3-optin at 60% ok | t3-optin groups en 60%/20 pt-BR 60%/20 ok | t3-clear at 68% ok | t3-clear groups en 68%/60 hi 68%/29 ok | 3 hidden ok | 16 requests, none off-site or non-GET ok /fr/forum results fetched once ok | rule sentence = RULES ok | progress 404 votes, 7 languages ok | 4/4 statements listed ok | t1-disclose at 60% ok | t1-disclose groups en 60%/20 fr 60%/20 ok | t2-reasons at 100% ok | t2-reasons groups en 100%/20 de 100%/20 ok | t3-optin at 60% ok | t3-optin groups en 60%/20 pt-BR 60%/20 ok | t3-clear at 68% ok | t3-clear groups en 68%/60 hi 68%/29 ok | 3 hidden ok | 16 requests, none off-site or non-GET ok /de/forum results fetched once ok | rule sentence = RULES ok | progress 404 votes, 7 languages ok | 4/4 statements listed ok | t1-disclose at 60% ok | t1-disclose groups en 60%/20 fr 60%/20 ok | t2-reasons at 100% ok | t2-reasons groups en 100%/20 de 100%/20 ok | t3-optin at 60% ok | t3-optin groups en 60%/20 pt-BR 60%/20 ok | t3-clear at 68% ok | t3-clear groups en 68%/60 hi 68%/29 ok | 3 hidden ok | 16 requests, none off-site or non-GET ok /hi/forum results fetched once ok | rule sentence = RULES ok | progress 404 votes, 7 languages ok | 4/4 statements listed ok | t1-disclose at 60% ok | t1-disclose groups en 60%/20 fr 60%/20 ok | t2-reasons at 100% ok | t2-reasons groups en 100%/20 de 100%/20 ok | t3-optin at 60% ok | t3-optin groups en 60%/20 pt-BR 60%/20 ok | t3-clear at 68% ok | t3-clear groups en 68%/60 hi 68%/29 ok | 3 hidden ok | 16 requests, none off-site or non-GET ok ## Result PASS: every check above held. exit: 0