You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
Fidelia Nawar
authored and
Fidelia Nawar
committed
[patch] [tests]: Prove tool denial is enforced, not merely refused
The previous assertion grepped for the CLI's "Disabled tools:" notice, which
is not emitted on stdout under --output-format json, so it failed spuriously
while the actual control was fine. More importantly it could not distinguish
an enforced denial from the model simply declining -- which is model
behaviour, not a security control. Now inspects tool requests in the JSONL
transcript and asserts the canary never appears anywhere in the raw
transcript, not just the final reply.
0 commit comments