
> cpcn-e03-e04@0.1.0 test
> node --test --test-concurrency=1 --test-force-exit

Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'common'
python: can't open file 'C:\\Users\\Administrator\\Documents\\Codex\\2026-10-30\\referenced-chatgpt-conversation-this-is-an-3\\outputs\\cpcn\\src\\register_synthetic.py': [Errno 2] No such file or directory
▶ E01 TLS -> signed admission -> real Semaphore -> revocation/backup recovery
  ✖ actual three-party MPC accepts unique and denies duplicate/near synthetic vectors (116.8232ms)
  ✖ persistent synthetic registry blocks same subject using a fresh identity commitment (175.5218ms)
  ✖ forged, expired, replayed and second parallel memberships rejected (88.3232ms)
  ✔ real proofs verify; separate apps have different public nullifiers (1251.7942ms)
  ✔ wrong application/action/message/root and tampered Groth16 points rejected (20.3472ms)
  ✔ racing replay accepts once; other application independently accepts (817.3087ms)
(node:24188) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 18 unpipe listeners added to [Socket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit
(Use `node --trace-warnings ...` to show where the warning was created)
  ✔ revocation rejects pre-generated proof and prevents new membership proof (331.9734ms)
  ✖ restart preserves revocation; backup restores same secret without resetting nullifier (69.735ms)
✖ E01 TLS -> signed admission -> real Semaphore -> revocation/backup recovery (3053.0995ms)
▶ E03/E04 real Groth16, SQLite and synthetic authority baseline
  ✔ real Semaphore: valid member accepted by Groth16 verifier (686.2315ms)
  ✔ domain separation: application, action, epoch, ambiguous tuple and missing context (1377.3048ms)
  ✔ public transcript regression: no identity commitment or stable per-user public field (2.966ms)
  ✔ forged points, message/root/nullifier tampering and numeric aliases rejected (133.1285ms)
  ✔ four independent processes: atomic UNIQUE(scope,nullifier) accepts exactly one (3562.9527ms)
  ✔ same identity: fresh proof and changed message cannot reset spent nullifier; other app/epoch accepts (419.3281ms)
  ✔ async revocation race, stale root and suspended member rejected (346.4269ms)
  ✔ restart + same-secret backup recovery rotates token and preserves all spent records (388.796ms)
(node:27460) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 18 unpipe listeners added to [Socket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit
(Use `node --trace-warnings ...` to show where the warning was created)
  ✔ permanent revocation cannot be undone with recovery token, after restart too (339.4195ms)
  ✔ synthetic issuer seam: signature, expiry, duplicate and receipt replay fail closed (134.6555ms)
✔ E03/E04 real Groth16, SQLite and synthetic authority baseline (7790.617ms)
ℹ tests 20
ℹ suites 0
ℹ pass 15
ℹ fail 5
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 14423.0842

✖ failing tests:

test at baseline\e02\test\integration.test.js:20:38
✖ actual three-party MPC accepts unique and denies duplicate/near synthetic vectors (116.8232ms)
  Error: Command failed: python -c import sys;sys.path.insert(0,sys.argv[1]);from common import deal;from tls_lab import provision;deal(sys.argv[2],4,sys.argv[3]);provision(sys.argv[2]) C:\Users\Administrator\Documents\Codex\2026-10-30\referenced-chatgpt-conversation-this-is-an-3\outputs\e01 C:\Users\ADMINI~1\AppData\Local\Temp\cpcn-6F2UGm unique
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
  ModuleNotFoundError: No module named 'common'
  
      at genericNodeError (node:internal/errors:986:15)
      at wrappedFn (node:internal/errors:540:14)
      at checkExecSyncError (node:child_process:942:11)
      at execFileSync (node:child_process:978:15)
      at file:///C:/Users/Administrator/Documents/Codex/2026-10-30/referenced-chatgpt-conversation-this-is-an-3/outputs/cpcn/baseline/e02/test/integration.test.js:26:9
      at TestContext.<anonymous> (file:///C:/Users/Administrator/Documents/Codex/2026-10-30/referenced-chatgpt-conversation-this-is-an-3/outputs/cpcn/baseline/e02/test/integration.test.js:20:69)
      at Test.runInAsyncScope (node:async_hooks:227:14)
      at Test.run (node:internal/test_runner/test:1397:25)
      at Test.start (node:internal/test_runner/test:1257:17)
      at TestContext.test (node:internal/test_runner/test:399:20) {
    status: 1,
    signal: null,
    output: [ null, <Buffer >, <Buffer 54 72 61 63 65 62 61 63 6b 20 28 6d 6f 73 74 20 72 65 63 65 6e 74 20 63 61 6c 6c 20 6c 61 73 74 29 3a 0d 0a 20 20 46 69 6c 65 20 22 3c 73 74 72 69 6e ... 73 more bytes> ],
    pid: 25376,
    stdout: <Buffer >,
    stderr: <Buffer 54 72 61 63 65 62 61 63 6b 20 28 6d 6f 73 74 20 72 65 63 65 6e 74 20 63 61 6c 6c 20 6c 61 73 74 29 3a 0d 0a 20 20 46 69 6c 65 20 22 3c 73 74 72 69 6e ... 73 more bytes>
  }

test at baseline\e02\test\integration.test.js:20:38
✖ persistent synthetic registry blocks same subject using a fresh identity commitment (175.5218ms)
  Error: Command failed: python src/register_synthetic.py C:\Users\ADMINI~1\AppData\Local\Temp\cpcn-6F2UGm\registry.db 111 11111123853394036552351799163353840444944768117289934782410170946255248807252
  python: can't open file 'C:\\Users\\Administrator\\Documents\\Codex\\2026-10-30\\referenced-chatgpt-conversation-this-is-an-3\\outputs\\cpcn\\src\\register_synthetic.py': [Errno 2] No such file or directory
  
      at genericNodeError (node:internal/errors:986:15)
      at wrappedFn (node:internal/errors:540:14)
      at checkExecSyncError (node:child_process:942:11)
      at execFileSync (node:child_process:978:15)
      at gate (file:///C:/Users/Administrator/Documents/Codex/2026-10-30/referenced-chatgpt-conversation-this-is-an-3/outputs/cpcn/baseline/e02/test/integration.test.js:39:45)
      at file:///C:/Users/Administrator/Documents/Codex/2026-10-30/referenced-chatgpt-conversation-this-is-an-3/outputs/cpcn/baseline/e02/test/integration.test.js:41:20
      at TestContext.<anonymous> (file:///C:/Users/Administrator/Documents/Codex/2026-10-30/referenced-chatgpt-conversation-this-is-an-3/outputs/cpcn/baseline/e02/test/integration.test.js:20:69)
      at Test.runInAsyncScope (node:async_hooks:227:14)
      at Test.run (node:internal/test_runner/test:1397:25)
      at Test.start (node:internal/test_runner/test:1257:17) {
    status: 2,
    signal: null,
    output: [ null, '', "python: can't open file 'C:\\\\Users\\\\Administrator\\\\Documents\\\\Codex\\\\2026-10-30\\\\referenced-chatgpt-conversation-this-is-an-3\\\\outputs\\\\cpcn\\\\src\\\\register_synthetic.py': [Errno 2] No such file or directory\r\n" ],
    pid: 26544,
    stdout: '',
    stderr: "python: can't open file 'C:\\\\Users\\\\Administrator\\\\Documents\\\\Codex\\\\2026-10-30\\\\referenced-chatgpt-conversation-this-is-an-3\\\\outputs\\\\cpcn\\\\src\\\\register_synthetic.py': [Errno 2] No such file or directory\r\n"
  }

test at baseline\e02\test\integration.test.js:20:38
✖ forged, expired, replayed and second parallel memberships rejected (88.3232ms)
  AssertionError [ERR_ASSERTION]: Missing expected exception.
      at file:///C:/Users/Administrator/Documents/Codex/2026-10-30/referenced-chatgpt-conversation-this-is-an-3/outputs/cpcn/baseline/e02/test/integration.test.js:55:14
      at TestContext.<anonymous> (file:///C:/Users/Administrator/Documents/Codex/2026-10-30/referenced-chatgpt-conversation-this-is-an-3/outputs/cpcn/baseline/e02/test/integration.test.js:20:69)
      at Test.runInAsyncScope (node:async_hooks:227:14)
      at Test.run (node:internal/test_runner/test:1397:25)
      at Test.start (node:internal/test_runner/test:1257:17)
      at TestContext.test (node:internal/test_runner/test:399:20)
      at step (file:///C:/Users/Administrator/Documents/Codex/2026-10-30/referenced-chatgpt-conversation-this-is-an-3/outputs/cpcn/baseline/e02/test/integration.test.js:20:38)
      at TestContext.<anonymous> (file:///C:/Users/Administrator/Documents/Codex/2026-10-30/referenced-chatgpt-conversation-this-is-an-3/outputs/cpcn/baseline/e02/test/integration.test.js:49:11)
      at async Test.run (node:internal/test_runner/test:1404:7)
      at async startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3) {
    generatedMessage: false,
    code: 'ERR_ASSERTION',
    actual: undefined,
    expected: undefined,
    operator: 'throws',
    diff: 'simple'
  }

test at baseline\e02\test\integration.test.js:20:38
✖ restart preserves revocation; backup restores same secret without resetting nullifier (69.735ms)
  TypeError: Cannot read properties of undefined (reading 'recoveryToken')
      at file:///C:/Users/Administrator/Documents/Codex/2026-10-30/referenced-chatgpt-conversation-this-is-an-3/outputs/cpcn/baseline/e02/test/integration.test.js:101:62
      at TestContext.<anonymous> (file:///C:/Users/Administrator/Documents/Codex/2026-10-30/referenced-chatgpt-conversation-this-is-an-3/outputs/cpcn/baseline/e02/test/integration.test.js:20:69)
      at Test.runInAsyncScope (node:async_hooks:227:14)
      at Test.run (node:internal/test_runner/test:1397:25)
      at Test.start (node:internal/test_runner/test:1257:17)
      at TestContext.test (node:internal/test_runner/test:399:20)
      at step (file:///C:/Users/Administrator/Documents/Codex/2026-10-30/referenced-chatgpt-conversation-this-is-an-3/outputs/cpcn/baseline/e02/test/integration.test.js:20:38)
      at TestContext.<anonymous> (file:///C:/Users/Administrator/Documents/Codex/2026-10-30/referenced-chatgpt-conversation-this-is-an-3/outputs/cpcn/baseline/e02/test/integration.test.js:97:11)
      at async Test.run (node:internal/test_runner/test:1404:7)
      at async startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3)
