feat(§14.1): per-bot debug telemetry public-visibility toggle

- Add filterReplayDebug() to server.go: strips debug fields from replay JSON
  for bots with debug_public=false; owner bypass via Bearer <api_secret>
- 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
This commit is contained in:
jedarden 2026-04-22 18:21:08 -04:00
parent 88bd70640a
commit c70729e298

View file

@ -1 +1 @@
3b94b7eccb73858d1f5cd6097c2a0549b2d33709
88bd70640ac37d25d00d60ba03298ede5f7066f9