Skip to content

Only expose permission_denials count in sanitized output#993

Merged
OctavianGuzu merged 1 commit intomainfrom
dworken/sanitize-permission-denials-count
Mar 2, 2026
Merged

Only expose permission_denials count in sanitized output#993
OctavianGuzu merged 1 commit intomainfrom
dworken/sanitize-permission-denials-count

Conversation

@ddworken
Copy link
Collaborator

@ddworken ddworken commented Mar 2, 2026

When show_full_output: false (default), replace the full permission_denials array with just a count. The full details (including tool_input) are still available when show_full_output: true.

This makes the sanitized output more consistent with the intent of hiding tool call details by default.

@ddworken ddworken marked this pull request as ready for review March 2, 2026 07:37
@OctavianGuzu OctavianGuzu merged commit 64c7a0e into main Mar 2, 2026
38 checks passed
@OctavianGuzu OctavianGuzu deleted the dworken/sanitize-permission-denials-count branch March 2, 2026 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants