RUN v3.2.7 /tmp/circe-pr4-evidence ❯ disk-round3.test.ts (7 tests | 5 failed) 27ms × L1: a fully typed receipt without optional idempotencyKey stays readable and does not poison the next append 12ms → expected [Function] to not throw an error but 'Error: corrupt journal line 1 in /tmp…' was thrown × L2: invalid scopes members reject with journal context before runtime restoration 5ms → expected [Function] to throw error matching /corrupt journal line 1/ but got 'Cannot read properties of null (readi…' × L2: invalid views members reject with journal context before runtime restoration 2ms → expected [Function] to throw error matching /corrupt journal line 1/ but got 'Cannot read properties of null (readi…' × L2: invalid referents members reject with journal context before runtime restoration 2ms → expected [Function] to throw error matching /corrupt journal line 1/ but got 'Cannot read properties of null (readi…' × L3: an intent binding missing required expectations is rejected during decoding 2ms → expected [Function] to throw an error ✓ L4 control: a valid discourse snapshot restores normally 1ms ✓ L5 control: a receipt with an idempotency key round-trips and allows the next append 2ms ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 5 ⎯⎯⎯⎯⎯⎯⎯ FAIL disk-round3.test.ts > L1: a fully typed receipt without optional idempotencyKey stays readable and does not poison the next append AssertionError: expected [Function] to not throw an error but 'Error: corrupt journal line 1 in /tmp…' was thrown - Expected: undefined + Received: "Error: corrupt journal line 1 in /tmp/circe-disk-round3-gJO8uC/journal.jsonl: Error: dispatch-acknowledged.receipt.idempotencyKey is not a string" ❯ disk-round3.test.ts:24:43 22| journal.append(receiptEntry); 23| // The adapter acknowledges the valid first write, then rejects its … 24| expect(() => journal.append(input)).not.toThrow(); | ^ 25| journal.close(); 26| expect(open(p).entries()).toEqual([receiptEntry,input]); ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/5]⎯ FAIL disk-round3.test.ts > L2: invalid scopes members reject with journal context before runtime restoration FAIL disk-round3.test.ts > L2: invalid views members reject with journal context before runtime restoration FAIL disk-round3.test.ts > L2: invalid referents members reject with journal context before runtime restoration AssertionError: expected [Function] to throw error matching /corrupt journal line 1/ but got 'Cannot read properties of null (readi…' - Expected: /corrupt journal line 1/ + Received: "Cannot read properties of null (reading 'id')" ❯ disk-round3.test.ts:40:26 38| const p=path(); 39| writeFileSync(p,JSON.stringify({kind:'discourse-snapshot',interactio… 40| expect(()=>runtime(p)).toThrow(/corrupt journal line 1/); | ^ 41| }); 42| ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/5]⎯ FAIL disk-round3.test.ts > L3: an intent binding missing required expectations is rejected during decoding AssertionError: expected [Function] to throw an error - Expected: null + Received: undefined ❯ disk-round3.test.ts:52:23 50| void omitted; 51| writeFileSync(p,JSON.stringify({kind:'intent-revised',interactionId:… 52| expect(()=>open(p)).toThrow(/corrupt journal line 1/); | ^ 53| }); 54| ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[3/5]⎯ Test Files 1 failed (1) Tests 5 failed | 2 passed (7) Start at 14:44:28 Duration 520ms (transform 150ms, setup 0ms, collect 172ms, tests 27ms, environment 0ms, prepare 86ms)