The operation catalog refused routes under a list of forbidden prefixes,
matched as "<prefix>" or "<prefix>/". Areas whose names only extend a
listed one passed: /sandbox-configs, /storage-backends,
/web-search-providers and /im-channels. Areas nobody listed passed too,
including /agent/tool-approvals and /agent/prompts, where an annotated
operation would let the assistant answer its own approval prompts.
Nothing reachable is annotated today, so this closes the gap before an
annotation can open it.
The check is now an allow-list of first path segments (knowledge bases,
knowledge, Wiki, chunks, FAQ). Anything else, including APIs added
later, is refused until listed on purpose. Inside those areas, "shares"
is refused: who can reach a knowledge base is the user's decision.