Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
test(delta): cursor validation discriminates (session_id keeps master from refusing for another reason)
garrytanc9b57fe3249b
diff --git a/test/delta-cursor-integrity.test.ts b/test/delta-cursor-integrity.test.tsindex 1d99be8931..9b0ed21061 100644--- a/test/delta-cursor-integrity.test.ts+++ b/test/delta-cursor-integrity.test.ts@@ -399,7 +399,7 @@ for (const kind of testBackends()) {enc({ v: 1, p: ['2026-01-01T00:00:00Z', null], f: ['2026-01-01T00:00:00Z', 1.5] }),enc({ v: 1, p: ['2026-01-01T00:00:00Z', null], f: ['2026-01-01T00:00:00Z', -1] }),]) {- await expect(call({ cursor })).rejects.toMatchObject({ code: 'invalid_params' });+ await expect(call({ cursor, session_id: 'validation' })).rejects.toMatchObject({ code: 'invalid_params' });}});