Files
supabase/apps
Claude dbb83caa13 fix(studio): keep the assistant tool registry lists in sync
`filterToolsByOptInLevel` drops any tool that has no `TOOL_CATEGORY_MAP`
entry rather than erroring, so a tool registered in only one of the two
lists disappears from the assistant with no failing build and no log line.

`get_active_incidents` was categorized but missing from the
`toolSetValidationSchema` enum. That enum is currently only applied to MCP
tools, so nothing was broken today — but it is meant to be the registry of
legal tool names, and the gap would bite the first time the schema is
applied more widely.

Add the missing name and assert both directions in a test, so adding a tool
to one list and not the other fails there instead of in production.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W6mnnbNim7jLKot5vmPpcx
2026-08-21 05:08:44 +00:00
..
2026-08-20 20:05:35 +10:00