RUN v3.2.7 /tmp/circe-pr4-evidence ❯ disk-round2.test.ts (6 tests | 5 failed) 15ms × K1: an already-open clean handle preserves its next append after another handle tears the tail 9ms → expected [ { kind: 'input', …(2) } ] to deeply equal [ { kind: 'input', …(2) }, …(1) ] × K2: reject a recognized record with an invalid nested payload ('transaction-transition') 2ms → expected [Function] to throw an error × K2: reject a recognized record with an invalid nested payload ('intent-revised') 1ms → expected [Function] to throw an error × K2: reject a recognized record with an invalid nested payload ('command-outcome') 0ms → expected [Function] to throw an error × K3: malformed transaction data fails at the disk boundary with context, before recovery dereferences it 1ms → expected [Function] to throw error matching /corrupt journal line 1/ but got 'tx.effects is not iterable' ✓ K4 control: two handles opened on a torn tail preserve the first repair and both appends 1ms ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 5 ⎯⎯⎯⎯⎯⎯⎯ FAIL disk-round2.test.ts > K1: an already-open clean handle preserves its next append after another handle tears the tail AssertionError: expected [ { kind: 'input', …(2) } ] to deeply equal [ { kind: 'input', …(2) }, …(1) ] - Expected + Received @@ -9,18 +9,6 @@ }, "id": "old", "kind": "ui", }, }, - { - "at": "2026-09-23T08:00:00.000Z", - "kind": "input", - "observation": { - "at": "2026-09-23T08:00:00.000Z", - "event": { - "action": "clear-selection", - }, - "id": "acknowledged", - "kind": "ui", - }, - }, ] ❯ disk-round2.test.ts:38:29 36| expect(survivor.entries()).toEqual([entry('old')]); 37| survivor.append(entry('acknowledged')); survivor.close(); 38| expect(open(p).entries()).toEqual([entry('old'), entry('acknowledged… | ^ 39| }); 40| ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/5]⎯ FAIL disk-round2.test.ts > K2: reject a recognized record with an invalid nested payload ('transaction-transition') FAIL disk-round2.test.ts > K2: reject a recognized record with an invalid nested payload ('intent-revised') FAIL disk-round2.test.ts > K2: reject a recognized record with an invalid nested payload ('command-outcome') AssertionError: expected [Function] to throw an error - Expected: null + Received: undefined ❯ disk-round2.test.ts:47:25 45| ])('K2: reject a recognized record with an invalid nested payload ($ki… 46| const p = path(); writeFileSync(p, JSON.stringify({ ...partial, inte… 47| expect(() => open(p)).toThrow(/corrupt journal line 1/); | ^ 48| }); 49| ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/5]⎯ FAIL disk-round2.test.ts > K3: malformed transaction data fails at the disk boundary with context, before recovery dereferences it AssertionError: expected [Function] to throw error matching /corrupt journal line 1/ but got 'tx.effects is not iterable' - Expected: /corrupt journal line 1/ + Received: "tx.effects is not iterable" ❯ disk-round2.test.ts:52:44 50| it('K3: malformed transaction data fails at the disk boundary with con… 51| const p = path(); writeFileSync(p, JSON.stringify({kind:'transaction… 52| expect(() => recoverState(open(p), 'i')).toThrow(/corrupt journal li… | ^ 53| }); 54| ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[3/5]⎯ Test Files 1 failed (1) Tests 5 failed | 1 passed (6) Start at 14:31:06 Duration 488ms (transform 143ms, setup 0ms, collect 158ms, tests 15ms, environment 0ms, prepare 86ms)