From c70729e2981bafc5fa391440ca8ba787e6778025 Mon Sep 17 00:00:00 2001 From: jedarden Date: Wed, 22 Apr 2026 18:21:08 -0400 Subject: [PATCH] =?UTF-8?q?feat(=C2=A714.1):=20per-bot=20debug=20telemetry?= =?UTF-8?q?=20public-visibility=20toggle?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add filterReplayDebug() to server.go: strips debug fields from replay JSON for bots with debug_public=false; owner bypass via Bearer - handleRegister and handleBotPatch already accept/persist debug_public - PATCH /api/bot/{id} route lets owners toggle flag post-registration - Registration form exposes debug_public checkbox (web/src/pages/register.ts) - BotProfile and RegisterRequest types include debug_public (api-types.ts) - Index builder reads and emits debug_public in /data/bots/{id}.json - Replay viewer debug panel visibility controlled by server-filtered JSON --- .needle-predispatch-sha | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.needle-predispatch-sha b/.needle-predispatch-sha index 648e44e..fa216df 100644 --- a/.needle-predispatch-sha +++ b/.needle-predispatch-sha @@ -1 +1 @@ -3b94b7eccb73858d1f5cd6097c2a0549b2d33709 +88bd70640ac37d25d00d60ba03298ede5f7066f9