Single SearchTarget must intersect document whitelists with tag scope instead of treating tags as an independent authorization path. SQL scope filters now AND document and tag constraints; Agent tools use an explicit scopeEnforced flag so empty targets fail closed. Also add missing built-in tool handle policies with drift tests, cache handle regexes at registration, encode tool error text, and avoid wikiKBIDs slice aliasing. |
||
|---|---|---|
| .. | ||
| repository | ||
| service | ||