Add API-proxy steering event aggregation to gh aw logs and gh aw audit#36968
Merged
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
Count API proxy steering events in audit/logs CLI output
Add API-proxy steering event aggregation to Jun 4, 2026
gh aw logs and gh aw audit
Copilot created this pull request from a session on behalf of
pelikhan
June 4, 2026 18:00
View session
Collaborator
|
@copilot review gh-aw-firewall awf specification for specific format of steering messages |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Contributor
Author
Updated in |
Copilot stopped reviewing on behalf of
pelikhan due to an error
June 4, 2026 19:23
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
gh aw logsandgh aw auditdid not report how often the API proxy emitted steering signals, even though those events are present in proxy logs. This change adds a run-level steering-event aggregate and surfaces it in both commands’ existing token-usage views.Token usage model + parsing
TokenUsageSummarywithtotal_steering_events.api-proxy-logs/events.jsonl(primary and legacy firewall artifact layouts).event,type,event_name,eventName.token_steering+[AWF TOKEN WARNING]...timeout_steering+[AWF TIME WARNING]...CLI reporting surfaces
gh aw logsaggregate summary (total_steering_events).gh aw auditcompact token line output.Behavioral coverage