From 4761b5c12dc0bc2a9e784d4f34e630eebb6850f9 Mon Sep 17 00:00:00 2001 From: Jeroen Schweitzer Date: Sat, 30 May 2026 12:47:45 +0200 Subject: [PATCH] escape the NUL in the Other-choice sentinel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit _kOther carried a literal NUL byte so a real option labelled "other" could never collide with the sentinel. The raw byte made the source read as binary: git showed a binary diff and grep/file treated it as data. Write it as a unicode escape instead — identical runtime value, plain-text source again. Co-Authored-By: Claude --- lib/builtin/claude/src/prompt_card.dart | Bin 18429 -> 18434 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/lib/builtin/claude/src/prompt_card.dart b/lib/builtin/claude/src/prompt_card.dart index 9b2fa0d322e043631cceafd8c729e15f91307144..197842a1f2571a5a97c343806d76c64d88c5182e 100644 GIT binary patch delta 21 bcmey{&)779af2NTTTH0|5Nx(*+2;%ZRdoj; delta 16 XcmZpg!1%YHaf2NTBg1AFmVM3uGt~u<