From a114d6a9dbefd43338eafb3e5aa9801c76581644 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Wed, 14 Oct 2026 04:24:12 +0200 Subject: [PATCH] cultmesh-ts tests: drop the bare-id-string snapshot handle assertion Main's documentFromPeerSnapshot takes a definition only, so the string-handle read (first record at the key) that C2a held for Eve Electron cannot be expressed; the assertion and requestCultNetRawSnapshotDocument's firstRecordAtKey option went with it. Co-Authored-By: Claude Opus 5.5 --- packages/cultmesh-ts/test/cultmesh.test.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packages/cultmesh-ts/test/cultmesh.test.ts b/packages/cultmesh-ts/test/cultmesh.test.ts index a302ffbe..9d953b1c 100644 --- a/packages/cultmesh-ts/test/cultmesh.test.ts +++ b/packages/cultmesh-ts/test/cultmesh.test.ts @@ -3293,12 +3293,6 @@ test("CultMesh TS peer snapshots never take another type's record at the key", a } // The failed sync of a note at "note:b" left the local record of the other type there untouched. assert.deepEqual(target.getRequired(incompatibleNoteDocument, "note:b"), { nope: "local b" }); - // HELD for the schema-naming fork: a handle named by a bare id string still takes the first record at the key, which - // is how Eve Electron reads the C# daemon's hash-stamped records. - assert.deepEqual( - await CultMesh.documentFromPeerSnapshot(peer, "cultmesh.note.v0", "note:c", { timeoutMs: 1_000 }).latest(), - { noteId: "note:c", body: "remote c, note-shaped" }, - ); // Its own type's record under its own id still syncs. assert.deepEqual( await target.syncDocumentFromPeerSnapshot(peer, incompatibleNoteDocument, "note:b", { timeoutMs: 1_000 }),