feat(assistant): align resource tool visibility with read audiences
This commit is contained in:
@@ -106,6 +106,8 @@ Reasoning:
|
||||
- assistant tool visibility must never widen the audience of the backing router
|
||||
- router audience is the source of truth; assistant gating mirrors it
|
||||
- when a route becomes narrower, update assistant visibility in the same hardening slice
|
||||
- `search_resources` must follow `resourceOverviewProcedure`, not broad authenticated access
|
||||
- `search_by_skill` must follow `controllerProcedure`, not broad authenticated or planning-only access
|
||||
- if `assistant-tools.ts` already has unrelated local edits, prefer updating `packages/api/src/router/assistant.ts` and parity tests first instead of mixing concerns into the tool implementation file
|
||||
|
||||
## Rollout Discipline
|
||||
|
||||
Reference in New Issue
Block a user