From cb4d98545ff3d09aa8cab684fcabd0d4074d2409 Mon Sep 17 00:00:00 2001 From: Chase Cichorz Date: Fri, 6 Nov 2026 14:42:04 -0600 Subject: [PATCH] Expect typed remote.braille validation in the lifecycle conformance test remote.braille is now implemented, so malformed parameters return the invalid-parameters error. The unimplemented-operation check moves to an operation that still does not exist. Co-Authored-By: Claude Opus 5.5 --- internal/tentacle/remote_test.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/internal/tentacle/remote_test.go b/internal/tentacle/remote_test.go index 746acb7..d55f1c4 100644 --- a/internal/tentacle/remote_test.go +++ b/internal/tentacle/remote_test.go @@ -218,7 +218,10 @@ func TestSessionSDKLifecycleConformance(t *testing.T) { if _, code := remoteCall(t, session, "remote.key", map[string]any{}); code != -32602 { t.Fatal("malformed typed key operation accepted", code) } - if _, code := remoteCall(t, session, "remote.braille", map[string]any{}); code != -32601 { + if _, code := remoteCall(t, session, "remote.braille", map[string]any{}); code != -32602 { + t.Fatal("malformed typed Braille operation accepted", code) + } + if _, code := remoteCall(t, session, "remote.mouse", map[string]any{}); code != -32601 { t.Fatal("unimplemented desktop operation accepted", code) } // One blocked handler cannot block the endpoint receive loop or lifecycle calls.